Forum Discussion

Sumeet_Pushpam's avatar
11 years ago

changing mount point under VCS

Hi Experts

How can we change the mount point for shared external volume under the veritas cluster online.

specs:

1) OS: Solaris

2) No of nodes in cluster: 10

 

e,g.

currently we have: /dev/vx/dsk/abcd1dg/vol01  mounted on  /var/opt/ABCD1

We need to make it like:  /dev/vx/dsk/abcd1dg/vol01  mounted on  /var/opt/abcd1

 

Thanks for your time and help.

 

BR//Sumeet

  • You can make this change in VCS online, but obviously you will need to umount filesystem to remount in different mount point.  Procedure is:

    1. Offline resource in VCS using "hares -offline res_name -sys sys_name" or use GUI
    2. Modify MountPoint attribute in VCS using "hares -modify mnt_res_name MountPoint "/var/opt/abcd1" or use GUI
    3. Online resource in VCS using  "hares -online res_name -sys sys_name" or use GUI

    Mike

5 Replies

  • You can make this change in VCS online, but obviously you will need to umount filesystem to remount in different mount point.  Procedure is:

    1. Offline resource in VCS using "hares -offline res_name -sys sys_name" or use GUI
    2. Modify MountPoint attribute in VCS using "hares -modify mnt_res_name MountPoint "/var/opt/abcd1" or use GUI
    3. Online resource in VCS using  "hares -online res_name -sys sys_name" or use GUI

    Mike

  • In addition to Mike's excellent post - you will have to offline all resources depending on this mount as well.
    Understand that this may mean Application downtime.

    Remember to create the new mountpoint (mkdir) on all cluster nodes.

  • Thanks a lot guys!

    Just one query.

    Can there be an alternate solution like-

    1) Stop the cluster services on all the nodes.

    2) create the new directory on all the cluster nodes.

    3) make the modification in the mount point name in main.cf file.

    4) start the cluster.

    Would this work?

    BR//Sumeet

  • This would work, but you would need to run "hastop -all" which would bring down application (as oppose to "hastop -all -force" which leaves your application running) as you need to umount the old mount point (unless you offlined the mount resource before stopping VCS), so this is an offline method.

    Mike