msgbartop
Tips and Tricks site for advanced HP-UX Engineers
msgbarbottom

21 Jun 16 Removing a serviceguard package from a cluster.

First stop package

umount any filesysytem

Pull back vg’s and disk.

Then:
sglabn2:root > cmviewcl

CLUSTER STATUS
sglabn_cluster up

NODE STATUS STATE
sglabn1 up running
sglabn2 up running

PACKAGE STATUS STATE AUTO_RUN NODE
test_pkg up running enabled sglabn2

UNOWNED_PACKAGES

PACKAGE STATUS STATE AUTO_RUN NODE
dbciLP1 down failed disabled unowned
sglabn2:root > cmdeleteconf -v -p dbciLP1
Maximum configured packages parameter is 300.
Configuring 0 new packages.
Total number of packages configured in the cluster is 2.

Modify the package configuration ([y]/n)? y
Completed the package deletion
sglabn2:root > cmviewcl

CLUSTER STATUS
sglabn_cluster up

NODE STATUS STATE
sglabn1 up running
sglabn2 up running

PACKAGE STATUS STATE AUTO_RUN NODE
test_pkg up running enabled sglabn2
sglabn2:root >

Tags: ,

20 Apr 15 Serviceguard cluster creation:tip of the day

The following command conducts a cleanup and preparation step for any nodes named in a serviceguard cluster.

It is something I should have known, but learned recently:

cmpreparecl -n sgnode0 -n sgnode1

It does all the steps that would normally be done by hand.

Tags: , ,