Operating System - HP-UX
1828979 Members
2468 Online
109986 Solutions
New Discussion

how to config a dual-network cluster

 
SOLVED
Go to solution
Fred.Wu
Frequent Advisor

how to config a dual-network cluster

A server have two 10/100M network interface adapters connected to two switches separately to make network high available.
What steps should I follow on these two network adapters,and how to bind a single IP address on them.

many thanks
fred
1 REPLY 1
Stuart Abramson_2
Honored Contributor
Solution

Re: how to config a dual-network cluster

A. Configure basic NIC failover

1. In and MC/SG configuration you may have two NIC cards which connect
to the SAME LAN IP SEGMENT (or a "bridged network")! If one NIC card
fails, MC/SG automatically switches to the other one with the SAME
IP ADDRESS.

2. Set up both NIC card hardware on same LAN segment, or on the bridged
networks. Connect network cables. Verify blinking light.

Only configure the PRIMARY NIC card in /etc/rc.config.d/netconf.

2'. vi .rhosts
make sure that your own hostname is in your .rhosts.

You really have two choices here:

a. Put all node names in .rhosts.

b. Put all node names in:

/etc/cmcluster/cmclnodelist

3. cd /etc/cmcluster
cmquerycl -C gbo330-d.ascii -n gbo330-d
Query the node "gbo330-d" and create a configuration file,
"gbo330-d.ascii". The cluster name will be "cluster1". It
will only have one node in it and no LVs. No packages have
been created yet.

Verify that he got all the LAN cards, and that the primary
and failover NIC cards are listed in the comments as "bridged".
cp gbo330-d.ascii gbo330-d.ascii.orig
vi gbo330-d.ascii
Change the cluster name to "gbo330-d".
Put the heartbeat on both LANs (10BT and 100BT).
cmcheckconf -C gbo330-d.ascii
Verify the cluster configuration file is correct.
cmapplyconf -C gbo330-d.ascii
Verify (compile) and create "cluster binary configuration file",
/etc/cmcluster/cmclconfig, and distributes it to all nodes.
cmviewcl
cmruncl
Run the cluster. Since we have only created the one node, the
cluster will be initiated on node "gbo330-d".
cmviewcl