This defined type is used to manage the user and group ownership of a target directory.
While IBM Installation Manager does allow installing as a non-root user, this module does not support that use-case. When installing as non-root, package metadata is located in a non-predictable location, and ultimately, this data could be located in several locations. That said, this module will install packages as root. However, it's often desirable to modify the ownership of the installation post-install.
websphere::ihs::server { 'josh_test':
target => "${ibm_base_dir}/HTTPServer85",
log_dir => "/opt/log/websphere/httpserver",
plugin_dir => "${ibm_base_dir}/Plugins85/config/josh_test",
plugin_base => "${ibm_base_dir}/Plugins85",
cell => $dmgr_cell,
config_file => '/opt/was/IBM/HTTPServer85/conf/httpd_josh_test.conf',
access_log => '/opt/log/websphere/httpserver/access_log',
error_log => '/opt/log/websphere/httpserver/error_log',
listen_port => '10080',
}
Required. Specifies the full path to the IHS installation that this server
should belong to. For example, /opt/IBM/HTTPServer
Specifies the full path to the HTTP configuration file to manage.
Defaults to ${target}/conf/httpd_${title}.conf
The user that should "own" and run this server instance. The service will be managed as this user. This also corresponds to the "User" option in the HTTP configuration.
The group that should "own" and run this server instance. This also corresponds to the "Group" option in the HTTP configuration.
Specifies the full path to the document root for this server instance.
Defaults to ${target}/htdocs
This currently doesn't do anything. It defaults to the resource's title.
Specifies a Puppet-readable location for a template to use for the HTTP configuration. One is provided, but this allows you to use your own custom template.
Defaults to ${module_name}/ihs/httpd.conf.erb
Specifies the value for Timeout
Defaults to 300
Specifies the value for MaxKeepAliveRequests
Defaults to 100
Specifies the value for KeepAlive
Valid values are On
or Off
Defaults to On
Specifies the value for KeepAliveTimeout
Defaults to 10
Specifies the value for ThreadLimit
Defaults to 25
Specifies the value for ServerLimit
Defaults to 64
Specifies the value for StartServers
Defaults to 1
Specifies the value for MaxClients
Defaults to 600
Specifies the value for MinSpareThreads
Defaults to 25
Specifies the value for MaxSpareThreads
Defaults to 75
Specifies the value for ThreadsPerChild
Defaults to 25
Specifies the value for MaxRequestsPerChild
Defaults to 25
Specifies the value for LimitRequestFieldsize
Defaults to 12392
Specifies the address for the Listen
HTTP option. Can be an asterisk to
listen on everything.
Defaults to $::fqdn
Specifies the port for the Listen
HTTP option.
Defaults to 10080
Specifies the value for the ServerAdmin
e-mail address.
Defaults to [email protected]
Specifies the value for the ServerName
HTTP option. Typically, an HTTP
ServerName option will look like:
ServerName host:port
This specifies the host part of that.
Defaults to $::fqdn
Specifies the port value for the ServerName
HTTP option. Typically, an
HTTP ServerName option will look like:
ServerName host:port
This specifies the port part of that. Often, this will be the same as the
listen_port
, but there are cases where this would differ. For example, if
this server instance is behind a load balancer or VIP.
Specifies the operating system for this server. This is used for the DMGR to create an unmanaged node for this server.
By default, this will be figured out based on the $::kernel
fact.
We currently only support "aix" and "linux"
Specifies the base filename for a PID file. Defaults to the resource's title.
This isn't the full path - just the filename.
Boolean. Specifies whether Puppet should replace this server's HTTP
configuration once it's present. Basically, if the file doesn't exist, Puppet
will create it. If this parameter is set to true
, Puppet will also make
sure that configuration file matches what we describe. If this value is
false
, Puppet will ignore the file's contents.
You should probably leave this set to true
and manage the config file through
Puppet exclusively.
Specifies the DirectoryIndex
for this instance.
Should be a string that has space-separated filenames.
Defaults to index.html index.html.var
Specifies the full path to where access/error logs should be stored.
Defaults to ${target}/logs
The filename for the access log. Defaults to access_log
The filename for the error log. Defaults to error_log
Boolean. Specifies whether a websphere_node
resource should be exported.
This is intended to be used for DMGRs to collect to create an unmanaged
node.
Defaults to true
Boolean. Specifies whether a websphere_web_server
resource should be
exported for this server.
This is intended to be used for a DMGR to collect to create a web server instance.
Defaults to true
Specifies the node name to use for creation on a DMGR.
Defaults to $::fqdn
Required if export_node
is true
Specifies the resolvable address for this server for creating the node.
The DMGR host needs to be able to reach this server at this address.
Defaults to $::fqdn
The cell that this node should be a part of.
Required if export_node
is true
Specifies the administrator username that a DMGR can query and manage this server with.
Defaults to httpadmin
This is required if export_server
is true.
Specifies the administrator password that a DMGR can query and manage this server with.
Defaults to password
This is required if export_server
is true.
Specifies the full path to the plugin base directory.
Defaults to /opt/IBM/Plugins
Boolean. Specifies whether the plugin keyring should be propagated from the DMGR to this server once the web server instance is created on the DMGR.
Defaults to true
This is only relevant if export_server
is true
The DMGR host to add this server to.
This is required if you're exporting the server for a DMGR to collect. Otherwise, it's optional.