The was cookbook installs and configures the WebSphere MQ. Current version of cookbook installs MQ binaries, creates queue manager and creates a listener.
CentOS
RedHat
Note: This cookbook was tested only on CentOS release 6.4
Key | Type | Description | Default |
---|---|---|---|
['wmq']['version'] | int | default wmq version | 7.5 |
['wmq'][:package][:location] | string | default wmq package location | /opt/software/wmq |
['wmq'][:package][:name][:runtime] | string | default wmq runtime package name | MQSeriesRuntime-7.5.0-2.x86_64 |
['wmq'][:package][:name][:jre] | string | default wmq jre package name | MQSeriesJRE-7.5.0-2.x86_64 |
['wmq'][:package][:name][:java] | string | default wmq java package name | MQSeriesJava-7.5.0-2.x86_64 |
['wmq'][:package][:name][:gskit] | string | default wmq gskit package name | MQSeriesGSKit-7.5.0-2.x86_64 |
['wmq'][:package][:name][:man] | string | default wmq man package name | MQSeriesMan-7.5.0-2.x86_64 |
['wmq'][:package][:name][:samples] | string | default wmq samples package name | MQSeriesSamples-7.5.0-2.x86_64 |
[:wmq][:installation][:root] | string | default installation location | /opt/mqm |
[:wmq][:log][:primary] | int | default primary log files | 3 |
[:wmq][:log][:secondary] | int | default secondary log files | 2 |
[:wmq][:log][:filesize] | int | default primary log filesize | 1024 |
[:wmq][:log][:type] | string | default primary log type | lc |
[:wmq][:user] | string | default wmq user | mqm |
[:wmq][:group] | string | default wmq group | mqm |
[:wmq][:group] | string | default wmq group | mqm |
[:wmq][:qmgr][:name] | string | default qmgr name | TECHISH.QUEUE.MANAGER |
[:wmq][:qmgr][:listener][:name] | string | default qmgr listener name | TECHISH.LISTENER |
[:wmq][:qmgr][:listener][:port] | int | default qmgr listener port | 1414 |
This cookbook contains the queue
custom resorce and provider.
:create
: create a local queue
type
: Type of the queue, only 'local' is supported at the moment. Default is localmaxdepth
: Maximum depth of queue. Default is 5000.descr
: Description of of queue. Default is emptyinstallation_root
: MQ installation location. Default is value of node attribute default[:wmq][:installation][:root]qmgr_name
: Queue manager name. Default is value of node attribute default[:wmq][:qmgr][:name]user
: User under which queue manager is running. Default is value of node attribute default[:wmq][:user]
#Creates queue named TEST.LOCAL.QUEUE
queue "TEST.LOCAL.QUEUE" do
action :create
end
Include wmq
in your node's run_list
:
{
"run_list": [
"recipe[wmq::default]"
]
}
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
Author:: Ishtiaq Ahmed ([email protected])