Skip to content

techish-io/wmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wmq-cookbook

The was cookbook installs and configures the WebSphere MQ. Current version of cookbook installs MQ binaries, creates queue manager and creates a listener.

Supported Platforms

CentOS

RedHat

Note: This cookbook was tested only on CentOS release 6.4

Attributes

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

Resources/Providers

This cookbook contains the queue custom resorce and provider.

Actions

  • :create: create a local queue

Attribute Parameters

  • type: Type of the queue, only 'local' is supported at the moment. Default is local
  • maxdepth: Maximum depth of queue. Default is 5000.
  • descr: Description of of queue. Default is empty
  • installation_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]

Examples

#Creates queue named TEST.LOCAL.QUEUE
queue "TEST.LOCAL.QUEUE" do
	action :create
end

Usage

wmq::default

Include wmq in your node's run_list:

{
  "run_list": [
    "recipe[wmq::default]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License and Authors

Author:: Ishtiaq Ahmed ([email protected])

About

The wmq cookbook installs and configures the WebSphere MQ

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages