Author |
Message
|
lwl |
Posted: Wed Mar 31, 2004 11:13 pm Post subject: change data path of MQ queue manager |
|
|
Apprentice
Joined: 30 Mar 2004 Posts: 41
|
Hi all,
I use MQ Series V5.2 in solario. After I create a queue manager, the data path is default created at /var/mqm/qmgrs/<queue manager name>. I would like to know if I can use another directory for the data path.?
Thank you very much.
lwl |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 01, 2004 6:09 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Not that I know of.
But you can change /var/mqm to be a symbolic link to a different mount point.
If you read through the Quick Beginnings guide for your platform, it should talk about different installation configurations, including why you would or would not put /var/mqm and /var/mqm/logs on different file systems. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Apr 01, 2004 6:13 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
You can't change the directory. You'll have to do as Jeff says and trick it with the symbolic link. |
|
Back to top |
|
 |
sanvij |
Posted: Thu Apr 01, 2004 9:13 pm Post subject: |
|
|
Novice
Joined: 21 Mar 2003 Posts: 24
|
Yes you can define your own data path my setting a env variable MQSPREFIX and then execute your crtmqm cmd with -ld as the log path
for eg: If you need the qmgr data path as /var/mqm/data
all you need to do is :
MQSPREFIX=/var/mqm/data
export MQSPREFIX
crtmqm -ld /var/mqm/data/log _________________ Sanvij
IBM Certified MQSeries Specialist
IBM Certified WebSphere MQ Solution Designer |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Apr 02, 2004 6:09 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Well, I just learned something. The MQSPREFIX is used to override the value of the DefaultPrefix in the mqs.ini file. |
|
Back to top |
|
 |
|