1832760 Members
2899 Online
110045 Solutions
New Discussion

Proper Way

 
Danny Baldono
Frequent Advisor

Proper Way

I have a two node cluster having service guard. How to unmount a mountpoint on the alternate node before the cluster halt on primary node. I have read that the command should be placed on the customer defined function of package.sh I would like to know
command to be used, the command that I need to insert on the customer defined function.
Don't fix a good machine or you will end up fixing it.
2 REPLIES 2
Mustafa Gulercan
Respected Contributor

Re: Proper Way

Deactive the /dev/vg_example volume group from shared mode on alternate nodes in the cluster with the command :
root-2> vgchange -a n /dev/vg_example

Ps:before halting the cluster from any node you should deactive the volume groups from shared mode on all the nodes in the cluster.
and here is the the command for halting the cluster:
root-1>cmhaltcl -v

checking the cluster status:
root-1>cmviewcl -v

regards;
mustafa
Thayanidhi
Honored Contributor

Re: Proper Way

Hi,
Is the file system mounted across? (NFS?).
Is the file system exported is part of package?
You may do it with remsh. (enable access with .rhosts).

E.g. In the start fuction run remsh to other node to mount exported FS.
In the halt fuction run remsh to other node to umount mounted NFS.

Note: I was doing this for Oracle RAC nodes to have archive log appear in both nodes.

Regds
TT
Attitude (not aptitude) determines altitude.