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 » IBM MQ Installation/Configuration Support » MQ directory structure change

Post new topic  Reply to topic
 MQ directory structure change « View previous topic :: View next topic » 
Author Message
gearys
PostPosted: Sun Jan 09, 2005 11:54 pm    Post subject: MQ directory structure change Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Mon Jan 10, 2005 6:23 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
gearys
PostPosted: Tue Jan 11, 2005 12:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Tibor
PostPosted: Tue Jan 11, 2005 2:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Nigelg
PostPosted: Tue Jan 11, 2005 3:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ directory structure change
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.