Author |
Message
|
WayneRooney |
Posted: Tue Nov 07, 2006 4:51 am Post subject: Can I move /var/mqm and use a link file instead ? |
|
|
Newbie
Joined: 07 Nov 2006 Posts: 1
|
Hi, all
The /var Filesystem is full, I want to move /var/mqm to /bigdisk/mqm, and ln -s /bigdisk/mqm /var/mqm, Can MQ restart and find data and log correctlly ? |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 07, 2006 4:54 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
This is generally how HA solutions handle this, by symlinking stuff under /var/mqm/ to /shared_disk/mqm
But you should try and avoid a symlink in this case if possible and do a hard mount of /bigdisk/mqm as /var/mqm/. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Nov 07, 2006 5:23 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi Jeff,
Will you please explanin us why we should avoid the symlink
it help full to me too
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 07, 2006 5:25 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Because the documentation for configuring MQ recommends using a mount point instead of a symlink.
It explicitly recommends creating /var/mqm/ on a different filesystem than /var, and specifically recommends using a mount point instead of ln -s. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Nov 07, 2006 5:29 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
Thanks Jeff,
I got the point.
Thanks and Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 07, 2006 5:32 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I'm sure there is a better reason - I just don't know what it is. The documentation is generally all I have to work from. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bbburson |
Posted: Tue Nov 07, 2006 7:47 am Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
jefflowrey wrote: |
Because the documentation for configuring MQ recommends using a mount point instead of a symlink.
It explicitly recommends creating /var/mqm/ on a different filesystem than /var, and specifically recommends using a mount point instead of ln -s. |
Really? SupportPac MC91 specifically says to set up symlinks to the queue manager directories. Documentation from Sun re: Suncluster and from Veritas re: VCS for WMQ support specifically say to set up symlinks.
Symlinks are all we have used on our high-availability queue managers for years. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 07, 2006 8:13 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
bbburson |
Posted: Tue Nov 07, 2006 11:45 am Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
My bad. My mind immediately shifted to HA when I thought about moving /var/mqm because HA systems are the only ones where we have anything other than mounted /var/mqm and /var/mqm/log filesystems.
As usual the Grand Poobah sets the rest of us straight!  |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 07, 2006 12:12 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I'm not saying it won't work - although there are comments that "/var/mqm and /var/mqm/log *must* be local filesystems" - but the docs recommend using a mount. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Nov 07, 2006 8:14 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jefflowrey wrote: |
I'm not saying it won't work - although there are comments that "/var/mqm and /var/mqm/log *must* be local filesystems" - but the docs recommend using a mount. |
I believe that comment was mostly for the obvious performance and reliability reasons... _________________ MQ & Broker admin |
|
Back to top |
|
 |
|