Operating System - OpenVMS
1827809 Members
2085 Online
109969 Solutions
New Discussion

Re: How to monitor a LAN failover device...if o.k.

 
deleted05.10
Occasional Contributor

How to monitor a LAN failover device...if o.k.

We have some Cluster configured with LAN failover Devices ( LLA0 = EWA0,EWB0 ). Normaly one Device ( EWA0 or EWB0 ) is active.
How can I check the other Device (EWB0), with Scripts or Commands that it is o.k.
For Shadow-Disk I have a Monitor-Script which tell me if one member fails.
Is there a command to check the second device?

Thanks in advance. Greetings, Werner
6 REPLIES 6
Heinz W Genhart
Honored Contributor

Re: How to monitor a LAN failover device...if o.k.

Hi Werner

You can use

$ MC LANCP SHO DEV eia0/char
(substitute eia0 with your device name)

There you can see if the device is active.
Another possibility is

ifconfig -a

(You have to execute @sys$startup:tcpip$define_commands to define the symbol ifconfig)

Regards

Heinz
Wim Van den Wyngaert
Honored Contributor

Re: How to monitor a LAN failover device...if o.k.

Just unplugged my network from my AS500.
Nothing changes in lancp.

May be monitor another protocol that is active on it (e.g. if packets are received/sent). E.g. AMDS ?

Wim
Wim
Volker Halle
Honored Contributor

Re: How to monitor a LAN failover device...if o.k.

Werner,

you can use the command LANCP SET DEVICE/SWITCH LLA0 to switch the active device in a LAN failover set. If the other device wouldn't work, LLDRIVER will switch back to the working LAN device.

A better way to check is:

$ MC LANCP SHOW DEV/INTERNAL EWA0 (or EWB0)
...
LinkUp Link state
...
--- Driver Messages ---
11-FEB-2006 18:35:20.16 Link state change: UP
11-FEB-2006 18:35:17.68 Full Duplex 100BaseTX connection selected
11-FEB-2006 18:35:17.68 FastFD mode set by console

Check for the Link State information and maybe also check, that the most recent event was a 'Link state change: UP'

Volker.
Ian Miller.
Honored Contributor

Re: How to monitor a LAN failover device...if o.k.

sounds like a case for an enhancement to GETDVI to be - cue Rob Brooks to enter :-)
____________________
Purely Personal Opinion
deleted05.10
Occasional Contributor

Re: How to monitor a LAN failover device...if o.k.

Hi Volker,

yes this command helps me.

I write a script, which check the "Link state" and the "Link state change" and if a link goes down, a E-Mail or OP-Com is generated.
Very good...

Thanks Werner
deleted05.10
Occasional Contributor

Re: How to monitor a LAN failover device...if o.k.

It was a good command ....thanks