Author |
Message
|
sebastia |
Posted: Tue Jan 02, 2007 6:43 am Post subject: CRTMQM creates LOG at /QMGRNAME.000/ directory |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
We are using MQ version 6.0.2.0 on Unix.
We have to place the LOGS here :
dx0609-2:/MQHA/QMDESA01/log # dir
total 0
drwxr-xr-x 4 mqm mqm 256 Jan 02 15:31 .
drwxr-xr-x 4 mqm mqm 256 Sep 04 15:09 ..
drwxr-xr-x 2 root system 256 Dec 19 14:49 lost+found
So our Script is this one :
crtmqm -lc -lf 1024 -ld "/MQHA/QMDESA01/log/" -u DLQ QMDESA01
Surprisingly, the filesystem now is like this :
dx0609-2:/MQHA/QMDESA01/log # dir
total 0
drwxr-xr-x 4 mqm mqm 256 Jan 02 15:31 .
drwxr-xr-x 4 mqm mqm 256 Sep 04 15:09 ..
drwxrwx--- 3 mqm mqm 256 Jan 02 15:31 QMDESA01.000
drwxr-xr-x 2 root system 256 Dec 19 14:49 lost+found
WHERE DOES THIS ".000" come from ???
Yes, in MQS.INI the line looks "ok" :
QueueManager:
Name=QMDESA01
Prefix=/var/mqm
Directory=QMDESA01.000
but I DID NOT specify to use such a "sufix" ....
Any clue ?
Sebastian. |
|
Back to top |
|
 |
markt |
Posted: Tue Jan 02, 2007 6:49 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
If you want to create queue managers for an HA system, which I assume you are from the "MQHA" reference, then use the scripts and documentation in MC91 to do it.
As you have found out, you cannot use arbitrary pre-existing directories as the mount-points. Hint: it's the "lost+found" that is stopping you. |
|
Back to top |
|
 |
JosephGramig |
Posted: Tue Jan 02, 2007 6:49 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
It is doing this in case you put other QMGRs in the same log space.
It was asking for the generic place. _________________ Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3 |
|
Back to top |
|
 |
sebastia |
Posted: Tue Jan 02, 2007 7:01 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
MarkT : in the Pre-Production environment where I am now, we are only "simulating" an HACMP environment .... so I did not use "hacrtmqm"
But you are right : maybe I have to use it !!!
Only one problem : I HAVE TO USE THE GIVEN DIRECTORY struct !!!
(are you proposing to delete "lost+found" ? )
Joseph : my directory structure will not allow this.
At the end, it will be like this :
/dev/mq01desadatalv /MQHA/QMDESA01/data
/dev/mq01desaloglv /MQHA/QMDESA01/log
/dev/mq02desaloglv /MQHA/QMDESA02/log
/dev/mq02desadatalv /MQHA/QMDESA02/data
/dev/mq03desadatalv /MQHA/QMDESA03/data
/dev/mq03desaloglv /MQHA/QMDESA03/log
/dev/mq04desaloglv /MQHA/QMDESA04/log
/dev/mq05desaloglv /MQHA/QMDESA05/log
/dev/mq06desaloglv /MQHA/QMDESA06/log
/dev/mq06desadatalv /MQHA/QMDESA06/data
/dev/mq05desadatalv /MQHA/QMDESA05/data
/dev/mq04desadatalv /MQHA/QMDESA04/data
Thanks a lot. Sebastian. |
|
Back to top |
|
 |
markt |
Posted: Tue Jan 02, 2007 7:05 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
Quote: |
I HAVE TO USE THE GIVEN DIRECTORY struct !!! |
Well, in that case, it won't work as you've seen. You need to change the requirements. You cannot specify non-empty directories. |
|
Back to top |
|
 |
sebastia |
Posted: Tue Jan 02, 2007 7:15 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Markt : I said I have to use the given directory structure,
but I did NOT say it is filled up !
They give me the structure
/MQHA/QMDESA01/log/QMDESA01
/MQHA/QMDESA02/log/QMDESA02
/MQHA/QMDESA03/log/QMDESA03
/MQHA/QMDESA04/log/QMDESA04
etc
BUT THE DISK is completely EMPTY !!!!!!!
( or it will be ..... if you confirm me that "lost+found" is to be erased and all will WORK )
( ) THANKS A LOT ! |
|
Back to top |
|
 |
|