Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a create only option to the queue manager module. #115

Open
martinevansibm opened this issue Nov 8, 2024 · 1 comment
Open

Add a create only option to the queue manager module. #115

martinevansibm opened this issue Nov 8, 2024 · 1 comment

Comments

@martinevansibm
Copy link
Contributor

When setting up a queue manager you might need to create the queue manager, and then modify its qm.ini or other files before starting it. The state 'present' creates and starts the queue manager which means you have to add a task immediately afterwards to stop the queue manager, copy files etc. and then add another 'present' task to start the queue manager before running MQSC etc.

Add a new states to the queue manager module called 'create' and 'start'. the 'create' state will only create and not start a queue manager, it should also allow parameters to be passed to the crtmqm command. The 'start' state will only start a queue manager if it exists - unlike 'present' which will create and start a queue manager, this will facilitate a non-breaking change for existing playbooks.

Alternatives, use the 'present', 'stopped' and then 'present' tasks in sequence.

@marianavillarp
Copy link
Contributor

We can address this issue by adding a flag to 'present' to identify whether we want:

  • Create a QMGR and start it
  • Just create a QMGR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants