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 » General IBM MQ Support » Move QMGR logs on AIX

Post new topic  Reply to topic
 Move QMGR logs on AIX « View previous topic :: View next topic » 
Author Message
pfarrel
PostPosted: Thu Oct 06, 2005 5:39 am    Post subject: Move QMGR logs on AIX Reply with quote

Centurion

Joined: 16 Mar 2004
Posts: 120
Location: Kansas City

I want to move my Queue Manager logs on my AIX platform. Here is what I thought I would need to do:
1. Shut QMGR down.
2. Copy files from existing location /var/mqm/log/<QMGR>/ to my new location /mqlogs.
3. Edit /var/mqm/qmgrs/<QMGR>/qm.ini to reflect the new location.
4. Restart the queue manager.
Location /mqlogs would contain file amqhlctl.lfh and folder active, together with all the logs in this folder, copied from the old location.

Have I missed anything ?
Back to top
View user's profile Send private message
hopsala
PostPosted: Thu Oct 06, 2005 6:05 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

Yes. Don't do this.

there's a command called hamvmqm, use it. (search this forum, or the manual, to see how it works)
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Thu Oct 06, 2005 6:25 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

hopsala wrote:
there's a command called hamvmqm, use it. (search this forum, or the manual, to see how it works)


Maybe this question is a bit ignorant but why would you use hamvmqm if you don't implement HACMP?

pfarrel's steps don't look wrong to me.
Back to top
View user's profile Send private message
hopsala
PostPosted: Thu Oct 06, 2005 6:42 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

I agree, his steps seem right on. However, I always prefer using a built-in command rather than editing files...

A good question would be - does hamvmqm do anything except move the logs (this command is so poorly documented, no official answer) - I don't think it does, so why not use it?

You know what, I take it all back, he should probably do it his way, it's safest. Sorry
Back to top
View user's profile Send private message
pfarrel
PostPosted: Thu Oct 06, 2005 6:42 am    Post subject: Reply with quote

Centurion

Joined: 16 Mar 2004
Posts: 120
Location: Kansas City

My platform is AIX ( UNIX ).
Will hamvmqm work on AIX ? It looks like a Windows type of command.
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Thu Oct 06, 2005 6:48 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

hopsala wrote:
I agree, his steps seem right on. However, I always prefer using a built-in command rather than editing files...


Well I agree completely with you... Always prefer build in commands.

Quote:
A good question would be - does hamvmqm do anything except move the logs (this command is so poorly documented, no official answer) - I don't think it does, so why not use it?


Maybe one of our IBM friends can comment on what hamvmqm is doing?!
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Oct 06, 2005 8:36 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
1. Shut QMGR down.
2. Copy files from existing location /var/mqm/log/<QMGR>/ to my new location /mqlogs.
3. Edit /var/mqm/qmgrs/<QMGR>/qm.ini to reflect the new location.
4. Restart the queue manager.

I would add:
0. back everytinhg up (saveqmgr + amqoamd)
2a. give mqm ownership to /mqlogs.

afaik hamvmqm is a windows command, I don't see it on my linux or aix systems here ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
csmith28
PostPosted: Thu Oct 06, 2005 8:38 am    Post subject: Re: Move QMGR logs on AIX Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

pfarrel wrote:
Have I missed anything ?


Why move them? Just define /var/mqm/log as a filesystem.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
hopsala
PostPosted: Thu Oct 06, 2005 9:07 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

pfarrel wrote:
My platform is AIX ( UNIX ).
Will hamvmqm work on AIX ? It looks like a Windows type of command.

Yes yes, it's a windows-only command... I already admitted error, what do you want me to do, bleed?
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 » General IBM MQ Support » Move QMGR logs on AIX
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.