cancel
Showing results for 
Search instead for 
Did you mean: 

changing mount point under VCS

Sumeet_Pushpam
Level 2

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

1 ACCEPTED SOLUTION

Accepted Solutions

mikebounds
Level 6
Partner Accredited

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

View solution in original post

5 REPLIES 5

mikebounds
Level 6
Partner Accredited

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

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

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.

Sumeet_Pushpam
Level 2

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

mikebounds
Level 6
Partner Accredited

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

Sumeet_Pushpam
Level 2

Thanks Mike.