Operating System - HP-UX
1832791 Members
2909 Online
110045 Solutions
New Discussion

help configuring heartbeat

 
SOLVED
Go to solution
tam1
Occasional Contributor

help configuring heartbeat

Hi everyone

I'm looking for some advice regarding configuring heartbeats. Hopefully I’m going along the correct path.

Our 2 cluster members each have 5 network cards each.
i would like to have -
1 primary
1 standby
and 2 as dedicated heartbeats.

Details of the cards are :

# ioscan -fnC lan
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 0 0/1/2/0 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 1 0/1/2/1 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 2 0/2/1/0 igelan CLAIMED INTERFACE HP A6825-60101 PCI 1000Base-T Adapter
lan 3 0/5/2/0 igelan CLAIMED INTERFACE HP A6825-60101 PCI 1000Base-T Adapter
lan 4 0/6/1/0 igelan CLAIMED INTERFACE HP A6825-60101 PCI 1000Base-T Adapter

I have so far configured the primary card Lan0, the standby card Lan3is unconfigured.
I have given the 2 heartbeat cards an IP address each.

# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan2 1500 192.168.104.0 192.168.104.5 181 0 192 0 0
lan0 1500 172.25.80.0 172.25.81.98 3324897 0 4596985 0 0
lo0 4136 127.0.0.0 127.0.0.1 752220 0 752220 0 0
lan4 1500 192.168.104.0 192.168.104.6 12612 0 192 0 0

/etc/rc.config.d/netconf
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=172.25.81.98
SUBNET_MASK[0]=255.255.252.0
ROUTE_GATEWAY[0]=172.25.80.1

IP_ADDRESS[2]=192.168.104.5
SUBNET_MASK[2]=255.255.255.0
INTERFACE_NAME[2]=lan2

IP_ADDRESS[4]=192.168.104.6
SUBNET_MASK[4]=255.255.255.0
INTERFACE_NAME[4]=lan4

Do I need to put the heartbeat information in /etc/hosts.
Also should my cluster file look like this :

NETWORK_INTERFACE lan0
HEARTBEAT_IP 192.168.104.5
HEARTBEAT_IP 192.168.104.6
NETWORK_INTERFACE lan3

Your advice is greatly appreciated
5 REPLIES 5
Richard.Brown
Regular Advisor

Re: help configuring heartbeat

Cluster file doesn't look right, does it not contain lan2 and lan4?

netconf looks correct
Richard.Brown
Regular Advisor
Solution

Re: help configuring heartbeat

Sorry that was a little vague, cluster file should look like

NETWORK_INTERFACE lan2
HEARTBEAT_IP 192.168.104.5

NETWORK_INTERFACE lan4
HEARTBEAT_IP 192.168.104.6

Enter into /etc/hosts as required
tam1
Occasional Contributor

Re: help configuring heartbeat

Hi Richard

does this mean that lan2 and lan4 would be used for data as well as heartbeat?

I would prefer to keep them as dedicated heartbeats only.

Thanks
Richard.Brown
Regular Advisor

Re: help configuring heartbeat

I agree with you on dedicated heartbeats, which they should be as they are on different subnets.

Are you connecting the heartbeats via a hub or xover ?
tam1
Occasional Contributor

Re: help configuring heartbeat

Hi Richard

the heartbeats are connected into cisco switches

Thanks