Video Screencast Help

changing mount point under VCS

Created: 26 Jun 2014 • Updated: 10 Jul 2014 | 5 comments
This issue has been solved. See solution.

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

Operating Systems:
Discussion Filed Under:

Comments 5 CommentsJump to latest comment

mikebounds's picture

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

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

SOLUTION
Marianne's picture

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.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Sumeet_Pushpam's picture

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's picture

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

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below