Author |
Message
|
rdubey |
Posted: Mon Aug 28, 2006 4:01 pm Post subject: moving qmgr on a different file system |
|
|
Novice
Joined: 11 Jul 2006 Posts: 17 Location: USA
|
I have qmgr running from /var/mqm where /var/mqm is a directory
on /var filesystem which has 2 gb of space . I want to move the
qmgr on a separate filesystem /var/mqm with 30gb of space .
now will simply a tar of the existing mqm and then untaring it after the move will work ? or I will have to first remove the qmgr from cluster then
delete it and then recreate it after mounting the new file system ? |
|
Back to top |
|
 |
wschutz |
Posted: Mon Aug 28, 2006 5:06 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
No, you just need to SUSPEND the qmgr from the cluster.
Ensure the qmgr is stopped and all processes related (like listeners) are stopped.
Backup the qmgr definintions (saveqmgr) just in case.
Make sure you preserve the ownership and attributes of all the /var/mqm/ files. _________________ -wayne |
|
Back to top |
|
 |
rdubey |
Posted: Mon Aug 28, 2006 6:43 pm Post subject: |
|
|
Novice
Joined: 11 Jul 2006 Posts: 17 Location: USA
|
Thanks Wayne for your quick and valuable answer .
just to make sure : when you said NO that was in reference to my question about deleting the qm . correct
i need to
1) suspend the qmanager from cluster
2) run saveqmgr to backup def .
3) stop qmgr and listeners
4) tar the mqm directory and preserve the permissions
5) mount the filesystem
6) untar it
how about the OAM authorizations ? will i lose them ?
I think they should be preserved since they are also stored
within filesystem just like queue objects ? |
|
Back to top |
|
 |
wbimb |
Posted: Mon Aug 28, 2006 10:43 pm Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
How do i do the same things on window
is there a saveqgmr utility for windows too....i searched for the same in this forum and all are for unix flavours |
|
Back to top |
|
 |
elvis_gn |
Posted: Mon Aug 28, 2006 11:15 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
|
Back to top |
|
 |
wbimb |
Posted: Mon Aug 28, 2006 11:55 pm Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
Hey thanks elvis
do i follow the same steps on windows tooo
1) suspend the qmanager from cluster
2) run saveqmgr to backup def .
3) stop qmgr and listeners
4) ZIP the directory where MQSeries has been installed to preserve teh permission
5.) unzip in another folder |
|
Back to top |
|
 |
wschutz |
Posted: Tue Aug 29, 2006 1:41 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
5.) unzip in another folder |
Careful here ... in UNIX, the end result is having the qmgr in the SAME directories as before (ie, /var/mqm), just using a different filesystem.
I don't know enought about windows storage mgmt to know whether there is the same concept...but I do you that if you put the mqm runtime files into a DIFFERENT directory, its likely not to work _________________ -wayne |
|
Back to top |
|
 |
|