Operating System - HP-UX
1752580 Members
3118 Online
108788 Solutions
New Discussion юеВ

Re: package add in cluster

 
SOLVED
Go to solution
himacs
Super Advisor

package add in cluster

Hi admins,

m using B.11.23 servers and using MCservice guard. I want exact steps to add new package in to cluster.Please help me on this.

regards
himacs
8 REPLIES 8
Sajjad Sahir
Honored Contributor
Solution

Re: package add in cluster

Dear Himacs

first create a dir

#mkdir /etc/cmcluster/pkgname
move to the dir
#cd /etc/cmcluster/pkgname
make pakges
#cmmakepkg -v -s pkg.sh
#cmmakepkg -v -p pkg.ascii
edit both the files to make the required changes like, add the filesystem and volumegroup 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

thanks and regards

Sajjad Sahir
johnsonpk
Honored Contributor

Re: package add in cluster

Hi Himacs

You can refer the doc

http://docs.hp.com/en/B3936-90140/ch06.html


Rgds
Johnson
himacs
Super Advisor

Re: package add in cluster

Hi sajjad,

Thanx for quick response.i have to create new VG for this package and import to passive node.

thanks for ur reply..i will prepare a POA and send it for approval.

regards,
himacs
himacs
Super Advisor

Re: package add in cluster

HI admins,

I want to create new VG and add to cluster.M confused and not going further.After importing the vg in node 2,wwhats the next step.I have folloewd below steps.

In Server A

step 1
-------
#pvcreate /dev/rdsk/c2t1d5

step2
----

#mkdir /dev/vg04
#mknod /dev/vg04/group c 64 0x050000
#vgcreate -s 16 vg05 /dev/dsk/c2t1d5
#lvcreate ├в n oracle ├в L vg04
#newfs ├в F vxfs ├в o largefiles /dev/vg04/roracle

step 3
-------
create mount point /oracle on bith the nodes.

mkdir oracle

step 4
------

#vgexport -v -s -p -m /tmp/vg05.tmp /dev/vg05

Copy map file to Server B

#scp /tmp/vg05.map serverB:/tmp/

step 5
------

IMprt the newly created VG in Server B.

#mkdir /dev/vg05
#mknod /dev/vg05 group c 64 0x050000
#vgimport -v -s -m /tmp/vg05.map /dev/vg05





please help me on this


regards,
himacs



Sunny123_1
Esteemed Contributor

Re: package add in cluster

Hi

Check below link it might be helpful for you.

http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00937251-2

Regards
Sunny
Sunny123_1
Esteemed Contributor

Re: package add in cluster

Hi

After imorting your VG in second node copy the ctrl file as well as configuration file of your package from primary node to secondary node.I am assuming that you have make changes in ctrl file and conf file after adding your new package in primary node.

Regards
Sunny
himacs
Super Advisor

Re: package add in cluster

Hi sunny,

Thanx for the reply.Nut m not able to open that link


regards,
himacs
Sunny123_1
Esteemed Contributor

Re: package add in cluster

Hi

Check below link you will get all

http://docs.hp.com/en/ha.html#Serviceguard

Also follow the procedure that i have given you already in my previous reply.


Regards
Sunny