Operating System - HP-UX
1755908 Members
3094 Online
108839 Solutions
New Discussion юеВ

Re: Doubt in Package Creation

 
sreekanthtm
Trusted Contributor

Re: Doubt in Package Creation

While creating VG please take care of the minor number. It should be same in both the nodes.....

Cheers
Deepak Kr
Respected Contributor

Re: Doubt in Package Creation

Vita,

Yes, you need to run ioscan and insf on both nodes as both nodes must be aware of same luns comming from storage box.


If you have already configured existing cluster packages then you better go with same process here as time you will be consuming for searching n updating will be more i believe.


Follow the steps for Package creation

#mkdir /etc/cmcluster/PKG
#cmmakepkg ├в p /etc/cmcluster/PKG/pkg.conf---
This will create package template
edit and save this file

#cmmakepkg ├в s /etc/cmcluster/PKG/pkgname.cntl
This will create controle file to control the behaviour of start and stop of package
--------- edit and save this file

Copy pkgname.cntl to all other node

#cmcheckconf ├в v ├в C /etc/clcluster/ori.config ├в k ├в p /etc/cmcluster/PKG/pkgname.conf

#cmapplyconf ├в k ├в v ├в C /etc/clcluster/ori.config ├в p /etc/cmcluster/ PKG/pkgname.conf


Disable the vgactivation while system boots in /etc/lvmrc . Make it 0

start the cluster on primary node
cmruncl and get the new package running :-)

"There is always some scope for improvement"
vjta
Regular Advisor

Re: Doubt in Package Creation

Hi Deepak,
Thanks!

is it required to make VG activation to Zero in cluster.

regards
vjta
Vijeta Bhedi
Rita C Workman
Honored Contributor

Re: Doubt in Package Creation

Vita,

Folks are working hard to try and give you a step-by-step instruction for you do create a package. But is is fairly clear that before you do this you need to start reading the manuals.

Here's where you can read about SG & packages: http://docs.hp.com/en/ha.html

Rgrds,
Rita
vjta
Regular Advisor

Re: Doubt in Package Creation

Thanks to All!!

Vijeta Bhedi