Disabling the cluster 11.20 (137 Views)
Reply
Super Advisor
himacs
Posts: 611
Registered: ‎01-27-2009
Message 1 of 3 (137 Views)

Disabling the cluster 11.20

Hi Admins,

OS - 11.31
SG cluster - 11.20

We are running a single node cluster.Second node is removed from cluster due to hardware issue.
Now as per application owner's request, we need to disable this cluster and run as stand alone.As per my
knowledge we can disable the cluster service by commenting the hacl in inetd.conf.
How the volume groups can be reconfigured to use in standalone system.

Please guide me.

Regards
himacs
Honored Contributor
Patrick Wallek
Posts: 13,777
Registered: ‎06-21-2000
Message 2 of 3 (92 Views)

Re: Disabling the cluster 11.20

To stop the cluster services, you need to run:

 

/sbin/init.d/cmcluster stop

 

If you do NOT want them to restart if/when the system reboots next, then you need to modify the file /etc/rc.config.d cmcluster make sure the following like is:

 

AUTOSTART_CMCLD=0

 

If it is 1, it will try to start SG, if it is 0, it will not.

 

As far as the cluster volume groups go, you will need to do the following for each VG:

 

1) 

# vgchange -c n /dev/vg??

To make the VG NOT be cluster aware

 

2) 

# vgchange -a y /dev/vg??

Activate the VG

 

3) Modify /etc/fstab so that all of your filesystems get mounted automatically.

 

4) Modify /etc/lvmrc and set:

 

AUTO_VG_ACTIVATE=1

 

So that all  VGs will be automatically activated and mounted if/when the system reboots.

 

Once that is done you should be able to start your application.

 

Super Advisor
himacs
Posts: 611
Registered: ‎01-27-2009
Message 3 of 3 (82 Views)

Re: Disabling the cluster 11.20

Hi Patrick,

 

Thanks for the info.

 

Now cluster is running with single node.But packages are halted.Now customers wanted to mount some mountpoints outside the cluster.But no need to stop the cluster.Below are my plans to achieve that.

 

#vgchange -c n <vg name>  -- To make VG cluster unaware.

#vgchange -a y <vg name>  -- Activate the VG without cluster lock

#mount the filesystem associated with that VG

 

Can we do the same when cluster service is running.Please note that packages are already down.

 

Thanks

himacs

 

 

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.