Operating System - HP-UX
1836265 Members
3909 Online
110096 Solutions
New Discussion

can i add a package with a new vg online?

 
SOLVED
Go to solution
ljp_1
Occasional Contributor

can i add a package with a new vg online?

I have a cluser running.
now I insert new disk and create a new vg
and I want to add a new package to the cluster using the new vg.

can i do this withou halt the cluster?

thanks a lot
ljp
6 REPLIES 6
Bernhard Mueller
Honored Contributor

Re: can i add a package with a new vg online?

Yes you can.

just cmcheckconf and cmapplyconf and you are done.

Regards,
Bernhard
Geoff Wild
Honored Contributor

Re: can i add a package with a new vg online?

The answer is Yes.

BTW - there is some good documentation here:

http://docs.hp.com/hpux/ha/index.html

In particular, the "Managing MC/ServiceGuard".

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Michael Steele_2
Honored Contributor
Solution

Re: can i add a package with a new vg online?

Once the cluster is up and running with additional packages already started then the only additional step is the last, cmmodpkg. Else, its all the same.

For example:

cluster up and running, cmviewcl -v
Additional LVM work for new vg's.
cmmakepkg -p package.conf (* vi and modify *)
cmmakepkg -s package.cntl (* vi and modify *)
cmcheckconf -P package.conf
cmapplyconf -P package.conf

cmmodpkg -e -n node1 -n node2 package
Support Fatherhood - Stop Family Law
Stuart Abramson_2
Honored Contributor

Re: can i add a package with a new vg online?

Correct me if I'm wrong, but:
o I thought the cluster had to be down to run the "cmapplyconf".
o ALL VGs in the cluster must be listed in the "cluster ascii file".
o The cmapplyconf must have one entry for each package:

# The cluster must be stopped on all nodes prior to running
# this script
cmapplyconf -v -C /etc/cmcluster/asia.ascii -P /etc/cmcluster/cipkg/ci.cfg -P /etc/cmcluster/dbpkg/db.cfg
melvyn burnard
Honored Contributor

Re: can i add a package with a new vg online?

Stuart
That has changed dramatically since SG version 10.10, and above.
There are a lot of things that can be done with the cluster running.
check the latest Managing MC/ServiceGuard manual for what can and what cannot be changed while the cluster is running.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Stuart Abramson_2
Honored Contributor

Re: can i add a package with a new vg online?

Melvyn:

Thanks.

Stuart