ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » How to specify log path and data path for a new QM

Post new topic  Reply to topic
 How to specify log path and data path for a new QM « View previous topic :: View next topic » 
Author Message
Bichu
PostPosted: Wed Jul 27, 2016 5:42 am    Post subject: How to specify log path and data path for a new QM Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Jul 27, 2016 5:58 am    Post subject: Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Wed Jul 27, 2016 6:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Bichu
PostPosted: Wed Jul 27, 2016 6:13 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2011
Posts: 124
Location: London

Thanks all.

Is there any similar configuration files for broker?


Thanks,
Abhi
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 27, 2016 6:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Bichu
PostPosted: Wed Jul 27, 2016 6:19 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2011
Posts: 124
Location: London

Thanks Vitor. You are always helpful
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Wed Jul 27, 2016 12:44 pm    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1231
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
View user's profile Send private message AIM Address
fjb_saper
PostPosted: Thu Jul 28, 2016 5:14 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to specify log path and data path for a new QM
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.