1833323 Members
2990 Online
110051 Solutions
New Discussion

cluster in hp-ux

 
taouw
Frequent Advisor

cluster in hp-ux

can anyone help me to create a cluster in hp-ux(11iv3) thank y.
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: cluster in hp-ux

Hi:

That's a pretty broad request. You might start by looking at:

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

http://www.docs.hp.com/en/T1906-90024/index.html

Regards!

...JRF...
Basheer_2
Trusted Contributor

Re: cluster in hp-ux

These steps will help you get started in creating a basic cluster.

Assuming you have carved the SAN LUNS.

Node 1
1) pvcreate -f /dev/rdks/c1t1d0 ( Assume this is a SAN LUN vdisk)
2) mkdir /vg01
3) mknod /dev/vg01/group c 64 0x010000
4) vgcreate /dev/vg01 /dev/dsk/c1t1d0
5) lvcreate -L 2048 -n mcsg /dev/vg01
6) newfs -F vxfs /dev/vg01/mcsg
7) mkdir /mcsg
8) mount -F vxfs /dev/vg01/mcsg /mcsg
9) vgexport -v -s -p -m /tmp/vg01.map /dev/vg01
10) scp /tmp/vg01.map node2:/tmp

Node 2
1) mkdir /dev/vg01
2) mknod /dev/vg01/group c 64 0x010000
3) vgimport -v -s -m /tmp/vg01.map /dev/vg01
4) vgchange -a r /dev/vg01
5) vgcfgbackup /dev/vg01
6) vgchange -a n /dev/vg01

in node 1 and node 2

vi /etc/lvmrc
VG_AUTO_ACTIVATE=0
customer_vgactivation
{
/usr/sbin/vgchange -a y /dev/vglocal-not-cluster-vg
}

vi /etc/rc.config.d/cmcluster
AUTOSTART_CMCLD=1

node1

lan0 heartbeat 192.168.1.2
lan1 primary A.B.C.101
lan2 standby

node2
lan0 heartbeat 192.168.1.2
lan1 primary A.B.C.102
lan2 standby

add lan0 and lan1 to /etc/hosts


cmquerycl -v -C /etc/cmcluster/cmclconfig.ascii -n node1 -n node2
this will create /etc/cmcluster/cmclconfig.ascii

edit this file and change
CLUSTER_NAME psoft
and other parameters


cmcheckconf -v -C /etc/cmcluster/cmclconfig.ascii
cmapplyconf -v -C /etc/cmcluster/cmclconfig
cmruncl -v

now a basic cluster is up.

now start creating the packages.
Suraj K Sankari
Honored Contributor

Re: cluster in hp-ux

Hi,

Download the latest pdf file of Managing Serviceguard Sixteenth Edition

http://www.docs.hp.com/en/B3936-90140/B3936-90140.pdf

Suraj
taouw
Frequent Advisor

Re: cluster in hp-ux

thank you for yr help.
hf
Sajjad Sahir
Honored Contributor

Re: cluster in hp-ux


Dear Friend

u can see the all manuals of service guard
here

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

thanks and regards

Sajjad sahir
Basheer_2
Trusted Contributor

Re: cluster in hp-ux

download FREE serviceguard manager

sgmgr

its gui.
sujit kumar singh
Honored Contributor

Re: cluster in hp-ux

Hi,

basic cluster creation example as in 11iv3 Service guard.

This is a good document.
http://thomasvogt.wordpress.com/2008/08/26/mcserviceguard-cluster-installation-on-hp-ux-1131/

regards
sujit