Operating System - HP-UX
1833682 Members
4667 Online
110062 Solutions
New Discussion

Re: Two Node Cluster Configuration HP-UX

 
SOLVED
Go to solution
Ajin_1
Valued Contributor

Two Node Cluster Configuration HP-UX

Dear Sir

please help us to configure Two Node Cluster Configuration HP-UX .Step by Step .Though Iam going to configure it first time please help.

Thanks in Advance
JIN
Thanks & Regards
Ajin.S
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.
6 REPLIES 6
g3jza
Esteemed Contributor

Re: Two Node Cluster Configuration HP-UX

Hi,
what cluster lock mechanism are you going to use? Quorum server / Lock disk / Lock LUN?

You should read first the user guide:

http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&prodClassId=10008&contentType=SupportManual&docIndexId=64255&prodTypeId=18964&prodSeriesId=4162060

There's user guide for each SG version.
Ajin_1
Valued Contributor

Re: Two Node Cluster Configuration HP-UX


Wat is Lock Mechanism?
What is the Difference between the following

Quorum server / Lock disk / Lock LUN?

Thanks in Advance
Thanks & Regards
Ajin.S
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.
g3jza
Esteemed Contributor

Re: Two Node Cluster Configuration HP-UX

Cluster lock is crucial in 2-node clusters. It prevents split-brain syndrom, i.e. in the event of loss of communication between these 2 nodes, this cluster lock eliminates the risk of creating 2 sub-clusters of equal size ( so 1 cluster on 1 node an 2nd cluster on the 2nd node) and possibly data-corruption.

You know it's not that simple to write here the complete steps, if you don't even understand the concepts.

But basically:

A) Create SG cluster using a quorum server:
1. Install the QS software
2. Configure the QS
3. Configure, Startup, and Test your SG cluster:
a) On both nodes, edit the /etc/lvmrc and set AUTO_VG_ACTIVATE=0
b) On both nodes, set up /etc/cmcluster/cmclnodelist (all nodes in the cluster must be listed in this file). The file is identical on all nodes. # chmod 444 cmclnodelist
c) Create the cluster ASCII file â cmquerycl â v â q qs_host â C cmclconfig.ascii â n node1 â n node2
d) Edit the cluster ASCII file to change some of the values
e) Check the cluster ASCII file for errors â cmcheckconf â v â C cmclconfig.ascii
f) Apply the cluster configuration â cmapplyconf â v â C cmclconfig.ascii
g) Start cluster services on all nodes (start the cluster) â cmruncl â v
h) View the complete status of the cluster â cmviewcl â v
i) Test your SG cluster (nodes joining / rejoining the cluster ; halting clusterâ ¦)

B) Create SG cluster using LVM Disks: If using LVM Lock Disk, it is important to build the shared VG first before building the cluster:
1. Configure, Startup, and Test your SG cluster:
a) On both nodes, edit the /etc/lvmrc and set AUTO_VG_ACTIVATE=0
b) On both nodes, set up /etc/cmcluster/cmclnodelist (all nodes in the cluster must be listed in this file). The file is identical on all nodes. # chmod 444 cmclnodelist
c) Create the cluster ASCII file â cmquerycl â v â C cmclconfig.ascii â n node1 â n node2
d) Edit the cluster ASCII file to change some of the values (FIRST_CLUSTER_LOCK_VG / FIRST_CLUSTER_LOCK_PV )
e) Check the cluster ASCII file for errors â cmcheckconf â v â C cmclconfig.ascii
f) Apply the cluster configuration. The first time cmapplyconf is executed in a cluster with a lock disk, the VG must be active on the node on which you execute the command.
# vgchange â a y vg01
# cmapplyconf â v â C cmclconfig.ascii
# vgchange â a n vg01
g) Start cluster services on all nodes (start the cluster) â cmruncl â v
h) View the complete status of the cluster â cmviewcl â v
i) Test your SG cluster (nodes joining / rejoining the cluster ; halting clusterâ ¦)


g3jza
Esteemed Contributor

Re: Two Node Cluster Configuration HP-UX

Don't know whether the steps showed up correctly, I see some garbage. I included those steps in the attachment.
melvyn burnard
Honored Contributor
Solution

Re: Two Node Cluster Configuration HP-UX

I suggest you start by reading:
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02056095/c02056095.pdf

Then read the manual Managinf Serviceguard:
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02437444/c02437444.pdf

Or even better, book yourself on a Serviceguard training course.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Ajin_1
Valued Contributor

Re: Two Node Cluster Configuration HP-UX

melvyn's PDF's are useful.
Thanks & Regards
Ajin.S
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.