Operating System - HP-UX
1752810 Members
5668 Online
108789 Solutions
New Discussion юеВ

Re: Doubt in Package Creation

 
vjta
Regular Advisor

Doubt in Package Creation

Hi all,

I m using 2 nodes Cluster .
Nodes are Running with HP-UX 11.31 with SG Cluster 11.18

In my cluster already 2 Packages are running now i want to add one more package my doubt is
Can package be created by just making PKG directory & simply copying cntl files & PKG config files of existing PKG to this newly created PKG directory & making appropriate changes for the respective Package like VGs LVs & PKG IP.
Or by cmmakepkg is better.

regards
vjta

Vijeta Bhedi
14 REPLIES 14
Ivan Krastev
Honored Contributor

Re: Doubt in Package Creation

cmmakepkg does exactly the same - generate package files.

If youcopy package files from another - carefully change the settings to avoid mistakes.

regards,
ivan
Kenan Erdey
Honored Contributor

Re: Doubt in Package Creation

Hi,

yes you can do the way you said. just be sure you changed every line that is needed. then apply the package.
Computers have lots of memory but no imagination
vjta
Regular Advisor

Re: Doubt in Package Creation

Thanks to both of u.

If i am assigning SAN storage ,then what are the steps involved like
shall i run insf cmd to both nodes or in single node it will do.
Actually i m using the steps like:
Assigning LUNs to Nodes,it will appers in both the nodes.
Create VGs for Package.
Exporting VGs by
vgexport -p -s -v -m /tmp/VGNAME.map /dev/VGNAME

transfer these map files to 2nd NOde thru FTP

In 2nd Node importing VGs by
vgimport -s -m /tmp/VGNAME.map /dev/VGNAME

& after that PKG creation by changing appropriate changes in PKG.cfg & PKG.cntl files.

My doubt is in VG cration steps.

Pls put some light.

Thanks & regards

vjta
Vijeta Bhedi
Kenan Erdey
Honored Contributor

Re: Doubt in Package Creation

Hi,

i am attaching a demo that will be very useful.Please follow the steps there.
Computers have lots of memory but no imagination
vjta
Regular Advisor

Re: Doubt in Package Creation

hi kenan,
Thanks!

Like Oracle RAC do u have for MC SG cluster demo document.

regards
vjta
Vijeta Bhedi
Ganesan R
Honored Contributor

Re: Doubt in Package Creation

Hi,

running insf on single node is not enough. how the device files get created on other node?
Once you assigned the LUNS, run ioscan on both nodes to verify these LUNS are visible.
run insf on both nodes to create device files for the new LUNS.
Also make sure that the device files are identical. otherwise you will have to import with respective device files.

Follow these steps:

Create cluster VG in node1(exp: vg02)
# pvcreate ├в f /dev/rdsk/cxtydz
#mkdir /dev/vg02
#mknod /dev/vg02/group c 64 0x020000 (use unassigned minor number)
#vgcreate /dev/vg02 /dev/dsk/cxtydz
Create the logical volumes as per the customer requirement.
create file systems then mount and check
#lvcreate ├в n - L /dev/vg02
#newfs ├в F vxfs /dev/vg02/
#mount
#umount
#vgchange ├в a n /dev/vg02
#vgexport -p ├в s ├в m /tmp/vg02.map /dev/vg02
# rcp /tmp/vg02.map node2:/tmp/vg02.map

Create cluster VG on node2

#mkdir /dev/vg02
#mknod /dev/vg02/group c 64 0x020000
#vgimport ├в m /tmp/vg02.map
#vgchange ├в a y /dev/vg02
Mount the logical volumes and check then unmount
#vgchange ├в a n /dev/vg02


Hope this helps
Best wishes,

Ganesh.
Kenan Erdey
Honored Contributor

Re: Doubt in Package Creation

here is the cluster document..
Computers have lots of memory but no imagination
vjta
Regular Advisor

Re: Doubt in Package Creation

Hi all,

Is there any demo doc for Package creation in Running Cluster.


Thanks & regards
vjta
Vijeta Bhedi
Vihang.
Trusted Contributor

Re: Doubt in Package Creation

Hi VJTA,

I suggest you refer to the package creation steps in the serviceguard manual. It has all the info you need.


Regards,
Vihang.