|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ directory structure change |
« View previous topic :: View next topic » |
Author |
Message
|
gearys |
Posted: Sun Jan 09, 2005 11:54 pm Post subject: MQ directory structure change |
|
|
Novice
Joined: 15 Nov 2004 Posts: 14 Location: UK
|
Hi,
I've inherited a 5.3 cd05 Qmgr, on Solaris 8, and have noticed non-default directory structure - eg
/var/mqm/<qmgrname> instead of /var/mqm/qmgrs/<qmgrname>
yet the logs are still:-
/var/mqm/log/<qmgrname>
Checked the mountpoints/understand the separate disks for log & queues etc., but I want to add more qmgrs to this box and so need to tidy up this structure beforehand.
My question is this: is it just a case of adjusting the path in MQS.INI to tell mq where to find stuff?
Could it really be that simple?
(circular logging)
Many thanks
Steve |
|
Back to top |
|
 |
vennela |
Posted: Mon Jan 10, 2005 6:23 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Quote: |
/var/mqm/<qmgrname> |
This doesn't look right.
Can you start/stop the QMGR? |
|
Back to top |
|
 |
gearys |
Posted: Tue Jan 11, 2005 12:41 am Post subject: |
|
|
Novice
Joined: 15 Nov 2004 Posts: 14 Location: UK
|
Hi,
Yes Qmgr running fine - the structure ties up with what's currently in the mqs.ini file, its just that whoever built it has put the qmgr a directory level up in the first place and the wholoe thing just looks non-standard and messy.
This is my mqs.ini file
DefaultPrefix=/var/mqm
ClientExitPath:
ExitsDefaultPath=/var/mqm/exits
LogDefaults:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=1024
LogType=CIRCULAR
LogBufferPages=0
LogDefaultPath=/var/mqm/log
QueueManager:
Name=LONDON_QM
Prefix=/var/mqm/london_qm
Directory=LONDON_QM
Which puts the qmgr directory NOT under /var/mqm/qmgrs but in
/var/mqm
Anyways, just wondered if I manually change the structure, all I have to do is tell it in the MQS.ini the new path..............
Many thanks for your response
Steve |
|
Back to top |
|
 |
Tibor |
Posted: Tue Jan 11, 2005 2:28 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
Steve,
The simplest way on a Unix is the soft linking. Your mqs.ini can stay in /var/mqm and the additional qmgr in /var/mqm/qmgrs/<qmname> but you can link this directory anywhere you want with ln -s.
Tibor |
|
Back to top |
|
 |
Nigelg |
Posted: Tue Jan 11, 2005 3:02 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Quote: |
Name=LONDON_QM
Prefix=/var/mqm/london_qm
Directory=LONDON_QM
|
These entries in mqs.ini should result in the qmgr data being under the directory /var/mqm/london_qm/qmgrs/LONDON_QM.
Anway, to move a qmgr all you have to do is to edit mqs.ini and move the Directory to Prefix/qmgrs. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|