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 » CRTMQM creates LOG at /QMGRNAME.000/ directory

Post new topic  Reply to topic
 CRTMQM creates LOG at /QMGRNAME.000/ directory « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Tue Jan 02, 2007 6:43 am    Post subject: CRTMQM creates LOG at /QMGRNAME.000/ directory Reply with quote

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
View user's profile Send private message Visit poster's website
markt
PostPosted: Tue Jan 02, 2007 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message
JosephGramig
PostPosted: Tue Jan 02, 2007 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
sebastia
PostPosted: Tue Jan 02, 2007 7:01 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
markt
PostPosted: Tue Jan 02, 2007 7:05 am    Post subject: Reply with quote

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

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

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » CRTMQM creates LOG at /QMGRNAME.000/ directory
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.