Author |
Message
|
KAKOZ |
Posted: Fri Feb 13, 2004 7:51 am Post subject: Can we move /var/mqm & /opt/mqm contents after installat |
|
|
Voyager
Joined: 26 Jan 2004 Posts: 90 Location: FRANCE
|
Hi,
on Unix platform (Sun) the mqseries installation has been made in other directories than the standard ones using symlinks as:
/var/mqm->/exp/mq1
/opt/mqm->/exp/mq2
we now want to create new file systems to contain the mqseries files copied on disk by the install operation - say we want to move the contents of
/exp/mq1 to /new_var_exp and
/exp/mq2 to /new_opt_exp
- is it possible to simply copy the contents of the old directories to the new ones after having
1) deleted the links
/var/mqm->/exp/mq1
/opt/mqm->/exp/mq2
then
2) having created the new links
/var/mqm->/new_var_exp
/opt/mqm->/new_opt_exp
thanks for help & advices concerning this operation
Jack |
|
Back to top |
|
 |
bduncan |
Posted: Fri Feb 13, 2004 3:11 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
That sounds like it'll work to me.
The queue manager will be unaware that anything has change since the location of the directories has been made transparent thanks to the symlinks. Of course you'll need to stop your queue manager while you do this  _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
bduncan |
Posted: Fri Feb 13, 2004 3:13 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Of course, to play it safe, you can just copy the directories, rather than move them - so if something goes wrong, you can just point the symlinks back to the original directories. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
KAKOZ |
Posted: Mon Feb 16, 2004 12:01 am Post subject: |
|
|
Voyager
Joined: 26 Jan 2004 Posts: 90 Location: FRANCE
|
thanks Brandon,
- i am now confident with that operation
- did you already have to do such change?
Jack |
|
Back to top |
|
 |
leongor |
Posted: Tue Feb 17, 2004 2:57 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
I'm wondering about symbolic link for /var/mqm. Do you have IBM support for this ?
Because we always got an answer that it cannot be changed.
In Quick Beginnings there is a option to create symbolic link for /opt/mqm, but not for /var/mqm. _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
bduncan |
Posted: Tue Feb 17, 2004 12:47 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
I believe that is an option to have the installer create the /opt/mqm link for you as part of the installation process. I'm talking about creating the link after the installation is done.
I have personally installed a queue manager with /var/mqm located somewhere else, and using a symbolic link to mask this from the queue manager. Because links are implemented at the file system level, the application (MQSeries) will never know the difference. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
|