Author |
Message
|
Bichu |
Posted: Wed Jul 27, 2016 5:42 am Post subject: How to specify log path and data path for a new QM |
|
|
Centurion
Joined: 16 Oct 2011 Posts: 124 Location: London
|
Hi Guys,
I would like to create a new queue manager and would like to have the data files and logs associated with this queue manager to be in a seperate directory.
I have two options,
1. Specify the data path in mqs.ini file and log path in qm.ini file. But this can be done once the queue manager is created. Its fine for me.
2. Specify the attributes -ld and -md for logpath and datapath in crtmqm command.
Which one is the best practise? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 27, 2016 5:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
2. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Jul 27, 2016 6:09 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
And...
If your platform supports it, you can even move them with the hamvmqm command _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Bichu |
Posted: Wed Jul 27, 2016 6:13 am Post subject: |
|
|
Centurion
Joined: 16 Oct 2011 Posts: 124 Location: London
|
Thanks all.
Is there any similar configuration files for broker?
Thanks,
Abhi |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 27, 2016 6:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Bichu wrote: |
Is there any similar configuration files for broker? |
No, but there are equivalent parameters on the create broker command. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Bichu |
Posted: Wed Jul 27, 2016 6:19 am Post subject: |
|
|
Centurion
Joined: 16 Oct 2011 Posts: 124 Location: London
|
Thanks Vitor. You are always helpful |
|
Back to top |
|
 |
JosephGramig |
Posted: Wed Jul 27, 2016 12:44 pm Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
smdavies99 wrote: |
And...
If your platform supports it, you can even move them with the hamvmqm command |
If you create a tmpQM using the -ld -md and compare it to the Qmgr create without those parameters, you can work out what should move. Probably even write a script.
MS is the only OS I know supports the hamvmqm command. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jul 28, 2016 5:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
And remember if you move the data files at any time to check the SSL setup for the queue manager as the location of the key ring does not change when you move the files...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|