Operating System - HP-UX
1843939 Members
2092 Online
110226 Solutions
New Discussion

Re: how to create package?

 
SOLVED
Go to solution
wish_1
Frequent Advisor

how to create package?

Dear all
I have HP rp7400 and HP-UX 11i OS. There are two servers in MC/ServiceGuard cluster mode having 4 live packages. Now I want to add one more packages in it(after installing disks) , So where can i find inforamtion about how to add package considering all the risks involved. Also plz send step-by-step process and links for better explaination. I want to know is there any parameter describing limit how much packages can be created.
Regards,
Wish
6 REPLIES 6

Re: how to create package?

Hoang Chi Cong_1
Honored Contributor

Re: how to create package?

Hi
Can download the document from here:
http://docs.hp.com/en/ha.html#Serviceguard
Choose the correct MC-SG version. Support in two format: PDF and HTML

Hope this helps
Regard,
HoangChiCong
Looking for a special chance.......
Rajeev  Shukla
Honored Contributor

Re: how to create package?

to create a new package you'll need 3 commands
cmmakepkg (to create package control script and package ascii file)
cmcheckconf (to check the package configuration file)
cmapplyconf (to apply the package configuration to the cluster)
Have a look at the man pages of all these 3 commands before you proceed.
Also the number of package that a cluster handles is defined in cluster configuration file.
Also have a look at this manual
Below are the steps in brief
http://docs.hp.com/en/B3936-90065/ch06.html
#mkdir /etc/cmcluster/
#cd /etc/cmcluster/
#cmmakepkg -v -s pkg.sh
#cmmakepkg -v -p pkg.ascii
edit both the files to make the required changes like, add the filesystem and vg you want to activate, assign the package name and assign the primary and secondary node etc..
after this check the configuration using
#cmcheckconf -v -P pkg.ascii
if you dont get any errors then run
#cmapplyconf -v -P pkg.ascii
#cmviewcl
you should see the new package as down
now to test start the package
#cmrunpkg -v pkg
Naveej.K.A
Honored Contributor
Solution

Re: how to create package?

Hi,

The attached doc is very good one for MCSG

Regards,
Naveej
practice makes a man perfect!!!
Geoff Wild
Honored Contributor

Re: how to create package?

Wish - all above are good answers...

Have a look at:

http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1237332&listType=unassigned&forumId=1

As well as http://forums1.itrc.hp.com/service/forums/helptips.do?#overview - in particular the info on points.

Welcome to the forums!

Thanks...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.
wish_1
Frequent Advisor

Re: how to create package?

Thax alot