VCS Main Configuration File :-
/etc/VRTSvcs/conf/config/main.cf
How to get read-write(rw) mode to main.cf :-
haconf -makerw
To get Read-only (ro) :-
haconf -dump -makero
How to stop the cluster /vcs:-
hastop -all > To stop on all nodes
hastop -local > To stop just on local node
hastop -all -force > To stop Forcefully
How to offline a Service group :-
hagrp -offline <SG> -any
How to online a Service group :-
hagrp -online <sg> -sys <sysname>
How to switch a Service group :-
hagrp -switch <sg> -to -sys <nodename>
How to Freeze/Unfreeze Service Groups in VCS :-
we have 2 options :- Persistent and temporary
The option
-persistent
enables the freeze to be remembered when the cluster is rebooted.The option -Temporary is just for temporary change . it wont apply after reboot .
To freeze a service group :-
hagrp -freeze
service_group
[-persistent]
hagrp -unfreeze
service_group
[-persistent]
No comments:
Post a Comment