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 Discussion » mounting local filesystems

Post new topic  Reply to topic
 mounting local filesystems « View previous topic :: View next topic » 
Author Message
mav2u2
PostPosted: Fri Mar 23, 2007 11:50 am    Post subject: mounting local filesystems Reply with quote

Newbie

Joined: 14 Mar 2007
Posts: 4
Location: California

As a beginner as I am, I installed MQ (v6.0.2) on local filesystem (created directories as oppose to mount them) on an AIX platform. This is a new installation so there are no new objects created (no MQmgr, queues, channels, etc) - Now we need to mount the filesystem (/var/mqm/log and /var/mqm/errors) - Is this a "big/risky" job?
_________________
Thanks!
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Fri Mar 23, 2007 3:31 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

no, it's not big or risky.

Uninstall, remount the file systems, reinstall.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mav2u2
PostPosted: Fri Mar 23, 2007 3:35 pm    Post subject: Reply with quote

Newbie

Joined: 14 Mar 2007
Posts: 4
Location: California

But I was hoping that we could mount the filesystem without any need to uninstall. Is that necessary?
_________________
Thanks!
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Fri Mar 23, 2007 3:41 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

No, it's not entirely necessary.

But when you mount a new filesystem on a particular location, like /var/mqm, then the old contents on the local disk are no longer available.

So you have to do something to save the old contents, mount the new file system, restore the old contents, unmount the file system, delete the old contents, and remount the new file system.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Sat Mar 24, 2007 3:56 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

jefflowrey wrote:
No, it's not entirely necessary.

But when you mount a new filesystem on a particular location, like /var/mqm, then the old contents on the local disk are no longer available.

So you have to do something to save the old contents, mount the new file system, restore the old contents, unmount the file system, delete the old contents, and remount the new file system.


There is another (easier) way, to move the contents from directories /var/mqm/log and /var/mqm/errors:

- Mount the new volumes to a different mount mpoint (e. g. /var/mqm/log1 and /var/mqm/errors1).

- Move the contents to the new volumes with the commands "mv /var/mqm/log/* /var/mqm/log1" and "mv /var/mqm/errors/* /var/mqm/errors1".

- Re-mount the volumes to /var/mqm/log and /var/mqm/errors.

ALL QMgrs (if one is created) must be stopped, during the procedure above.
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
mav2u2
PostPosted: Sat Mar 24, 2007 4:04 am    Post subject: Reply with quote

Newbie

Joined: 14 Mar 2007
Posts: 4
Location: California

Thank you guys for great prompt help - Option 2 sounds fairly easier ..I will try that first...
_________________
Thanks!
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » mounting local filesystems
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.