Operating System - HP-UX
1820401 Members
3422 Online
109624 Solutions
New Discussion юеВ

how would I configure serial port as heart beat

 
SOLVED
Go to solution
Salm
Frequent Advisor

how would I configure serial port as heart beat

I have 2 D class servers . each has only one network card. My 1st question is : how would I configure serial port as heart beat. these system is only for practice . so I'm not worried about system performence issue.

2nd Questione is. both servers connected with jbod.Whenever I run ioscan either one also displays internal Hard drive of 2nd server.
any body can help me???

7 REPLIES 7
Matti_Kurkela
Honored Contributor
Solution

Re: how would I configure serial port as heart beat

1.)
Too bad you did not tell your OS and ServiceGuard version. I think the capability for serial heartbeat was obsoleted in the newest versions of ServiceGuard. If you're not using the latest version, it might be possible.

Look into the cluster ASCII file that is generated using cmquerycl when preparing to set up the cluster.

If the ServiceGuard version can use serial heartbeat, there is a commented example like this after each node's network interface information:

# List of serial device file names
# For example:
# SERIAL_DEVICE_FILE /dev/tty0p0

Just connect the serial cable between the servers, find out the device file name of the serial ports, write the correct SERIAL_DEVICE_FILE lines into the cluster configuration ASCII file and you're done. To see if it works, try to start the cluster (cmruncl).

2.)
A more detailed description of your SCSI configuration would have been needed to understand your problem fully. "Connected with jbod" does not reveal many details.

But if you have connected the SCSI buses of the servers together, both servers will see all the disks on the shared bus. This is supposed to happen, and if you want to create filesystems for your ServiceGuard packages, you'll need this.

When the ServiceGuard is running, it will ensure that the volume groups on the package disks can be activated on one of the cluster hosts at a time only, unless you specifically configure for shared mode.

If there is only one SCSI bus in your servers, your system disks need to be on that bus as well as the package disks. You cannot configure the system disks into cluster mode, because the system must be able to access them even if the cluster is down or the cluster state is unknown. So you must *know* which disks are the system disks and always remember to access them *only* from the server they belong to.

MK
MK
Stephen Doud
Honored Contributor

Re: how would I configure serial port as heart beat

Serviceguard requires at least 1 LAN for heartbeat. If you don't have that, you will not be able to also use a serial connection for heartbeat.

If you have at least two heartbeat LANs, or one heartbeat LAN and one standby LAN, a serial heartbeat SHOULD NOT BE USED.

Not all serial ports on HP servers will work as a serial heartbeat connection. I have heard of some success with the UPS serial HB (if that is your intention), but only with some servers.

The "Managing Serviceguard" manual located here http://docs.hp.com/en/ha.html#Serviceguard
may be of some help to configure it.
Peter Godron
Honored Contributor

Re: how would I configure serial port as heart beat

Torsten.
Acclaimed Contributor

Re: how would I configure serial port as heart beat

Hi,

regarding 2)

in a very minimal configuration (like yours?) the SCSI controller in a D-class will serve the internal disks and has an external port.
In this case this is important:

each disk must have a unique ID
(0,1,2,3,4,5,8,9,10,11,12,13,14 or 15)
each Controller must have a unique ID
(6 or 7)

The internal disk slots are fixed to the IDs, so be carefull.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Salm
Frequent Advisor

Re: how would I configure serial port as heart beat

Thanks all you guys . realy appreciate.

My OS 11i and Service Guard is 11.09 .

MY 1st HP box model is 9000/813/D330

2nd Box model is 9000/821/D250
I'm using HP JBOD model A3312A
each machine has only one network card.

As your suggestions.let me figure out and will come to see you again

Salm
Frequent Advisor

Re: how would I configure serial port as heart beat

Hi ,

I posted my servers models and os and serviceguard versions earlier. can you tell that this hW and OS versions able to build cluster ???

how would I check How many SCSI buses in my servers??

Above models support serial port as hearbeat??

melvyn burnard
Honored Contributor

Re: how would I configure serial port as heart beat

>:My OS 11i and Service Guard is 11.09 .
This SG version is way out of support

>:MY 1st HP box model is 9000/813/D330
>:2nd Box model is 9000/821/D250
These machines should be ok

>:I'm using HP JBOD model A3312A
Disks should be good PROVIDED ytou setup teh scsi addressing and terminations correctly.

>:each machine has only one network card.
VERY poor design.
The serial heartbeat is being removed from newer versions of SG, and is NOT a full heartbeat. Some of the servers serial ports did not support the Serial Heartbeat as it uses a fixed 9600baud speed, and some of these ran at 19200 only.
You would be far better off getting two additional network cards, second hand they should be cheap.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!