1828656 Members
8472 Online
109983 Solutions
New Discussion

Re: LAN failover

 
SOLVED
Go to solution
Wim Van den Wyngaert
Honored Contributor

LAN failover

I have a GS160 with double everything. Except double network connection. I would like to plan the activation of the 2nd card (on a 2nd switch). I have VMS 7.3 and I am unable to upgrade (even install patches).

For decnet, I can enable the 2nd card and decnet will use both cards.

For LAT, I can create a link for the 2nd card.

For IP, I can assign a second IP address. AND I don't want to do that because my clients are unable to use it.

Is there a way to let IP use 2 cards with 1 IP address ? My IP version is 5.3 ECO 2.

And for those who know DSM/MUMPS : how will DDP use the second card ?
Wim
26 REPLIES 26
Mobeen_1
Esteemed Contributor

Re: LAN failover

Wim,
Thats a good one. What we have been doing is, having 2 cards configured to 2 different IPs, one for production use and the other for backup network (for carrying out backups without clogging the production network).

It would be interesting for me to see if we could have one IP assigned to 2 n/w cards and know what benefits one could get in such a configuration.

regards
Mobeen
Wim Van den Wyngaert
Honored Contributor

Re: LAN failover

Mobeen,

FYI : 7.3-2 has LAN failover. 1 card can fail and the other takes over. But I don't know if this would also work if the switch behind it fails. But this is another subject.
Wim
Antoniov.
Honored Contributor

Re: LAN failover

Hello Wim,
I think you can't use same IP on two different cards; main problem is not in software but it's inside TCP/IP techinal characteristics.
When any host send a socket into network, this soccket have to reach the destination host; IP address tell to all network device where socket have to go; low level network, however doesn't use IP addres but use MAC (Medium Address Card), the hex number stored in every network device; two specific part of TCP/IP standard determine how IP address is associated to MAC and theese feature have named ARP and RARP.
If you assign same IP to 2 different NIC, some network device (mainly the routers and bridges) can be confused and can't deliver the socket.
This means, if can assign same IP to 2 different NIC you have disable one fo two devices.
I hope I can explain in simple way.

@Antoniov
Antonio Maria Vigliotti
Ian Miller.
Honored Contributor

Re: LAN failover

TCPIP V5.4 has failover for ip if you can upgrade tcpip.

Why the restrictions on upgrading?
____________________
Purely Personal Opinion
Mobeen_1
Esteemed Contributor

Re: LAN failover

Wim,
Yup, i am aware that 7.3-2 supports n/w failover, but i thought thats assuming that the 2 cards have different IP addresses and not a single IP assigned to your 2 network cards

regards
Mobeen
Wim Van den Wyngaert
Honored Contributor

Re: LAN failover

Ian,

I don't upgrade because "on paper" all applications must approve the new system.

We need to keep the platform as stable as possible. The migration of 6.2 -> 7.3 took 2 years !!!
Wim
Jan van den Ende
Honored Contributor

Re: LAN failover

Ha Wim,

there is a recent thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=385987
that is mainly concerned with IP cluster alias stuff.
The thread also discusses DNS round-robin (kind of poor-mans cluster alias, or maybe more exactly: as close as Unix can get to cluster aliasing). Using this mechanism it IS possible use both cards (we are doing it, over 2 cards each of 4 nodes).
The way it works: any existing connection is to MAC address and stays where it is. After a round-robin step the service name (functional analogous to DECnet cluster adddress, but NOT the IP cluster alias!) is changed to the next MAC address, and new connections (IF using DNS, not router-cache!) get connected to the other NIC. No real load-balance, but more or less even connection-time based spread.

hth.

Jan
Don't rust yours pelled jacker to fine doll missed aches.
Wim Van den Wyngaert
Honored Contributor

Re: LAN failover

Jan,

I found that one too. But DNS is a too big change for us. We are still using host files.

It is rather strange that since years redundant machines are sold while the network protocols are not able to use it.

Also : it would like that when the network goes down on 1 card that IP retransmits the packets on the other card.

Did someone test all this (network failure, card failure) ?

Excellent would be that in case of failure, all connections stay up and act as if the packets were lost.

Btw : how is decnet/lat reacting in case of a failure ? Is something lost ?
Wim
Antoniov.
Honored Contributor

Re: LAN failover

Wim,
I understand my answer don't like you but TCP/IP suite is based on MAC (physical address of card) so, today is not possible use a secondary network card to backup a primary card :-(
Every change of card require a manual modify or else require some minutes (from 1 to max 30 minutes, depending network complex) to upgrade all ARP table of network device.
You can use DNS to solve or you have ready to accept some minutes of waiting for activation of new card.
Ortherwise don't use TCP/IP (but I think also other protocol have same limitation).
Sorry for unhappy news.

@Antoniov
Antonio Maria Vigliotti
Wim Van den Wyngaert
Honored Contributor

Re: LAN failover

Antoniov,

Correct me if I'm wrong.

The network cards both have a an ethernet address. When decnet starts, it corrects this address to the well known AA. IP starts after decnet.

If decnet is using both cards with the same decnet address, all communications use the same ethernet address. The other nodes don't know that there are 2 cards.

So, for IP it should be possible to use either card too. Not ?
Wim
Uwe Zessin
Honored Contributor

Re: LAN failover

You typically use the DECnet end-node license. Last time I checked it used only one active circuit at a time. When that one went down it used the next.

Many networks are switched. If you put two NICs with the same MAC address on the same switch he at least stops traffic on one port - I have seen it and could diagnose it thanks to extensive counters within DECnet-Plus. If you put them on different switches you will screw up the internal tables, because they suddenly will see frames with the same MAC address comming in from different ports.

In that case you need to separate the segments by DECnet routers. Nothing new.

LAT works differently. It build multiple virtual circits and can cope with different MAC addresses.
.
Antoniov.
Honored Contributor

Re: LAN failover

I hope I can explain in simple way using my broken english.

All the network devices send data togheter using MAC (you have called AA). Theorically doesn't exist 2 NIC (Network Interface Card) with same MAC. All lowset network protocols use this information.
IP address is an abtraction of network to permit eterogeneous machines exchange information; however, socket need physical network to reach destination host and need MAC to make this. Conversion between IP address and MAC is automatic and is called ARP; you can see this table of conversion on your host typing
$ arp -a
if you have define unix like command or else
TCPIP>SHOW ARP
where MAC is called physical address.
ARP tables of all network device are dynamically updated, so your problem may be theorically solved; the trouble is the time-out of ARP table; using short time-out you can substitute a card with another but increase network traffic.
Usually the ARP table are valid ffor few minutes (from 1 until 30) and this is the time for complete substitution of NIC in network.

@Antoniov
Antonio Maria Vigliotti
Antoniov.
Honored Contributor

Re: LAN failover

Wim,
found this page can explain better than my post
http://members.cox.net/~ndav1/self_published/The_ARP_cache.doc

@Antoniov
Antonio Maria Vigliotti
Wim Van den Wyngaert
Honored Contributor

Re: LAN failover

Antoniov,

There is a 2nd feature : arp broadcast. When there is a change in network setup, a node can broadcast the new arp settings. In UCX 4.2 it was used in the cluster alias context.

Wim
Wim Van den Wyngaert
Honored Contributor

Re: LAN failover

Uwe,

If this causes problems, can it also cause problems on 7.3-2 ?

We use decnet PLUS. Last time I checked, decnet used the 2 ports simulaniously.

Is anyone using a solution that is not DNS based ?
Wim
Antoniov.
Honored Contributor

Re: LAN failover


There is a 2nd feature : arp broadcast. When there is a change in network setup, a node can broadcast the new arp settings. In UCX 4.2 it was used in the cluster alias context.


ARP tables of all network device are dynamically updated, so your problem may be theorically solved [...] increase network traffic.

Antonio Maria Vigliotti
Uwe Zessin
Honored Contributor

Re: LAN failover

Hello Wim,
it's been some years since I worked with this, but I recall that one could disable PHASE IV addressing within DECnet-Plus and then it did not alter the physical address of the interface.

Unfortunately I don't have the commands handy to check the counters and as I don't run DECnet-Plus I cannot find out easily, sorry.
.
Wim Van den Wyngaert
Honored Contributor

Re: LAN failover

OK.

I'm going to install a 2nd card in my station and test it. To be continued ...
Wim
Steve Reece
Advisor

Re: LAN failover

"We use decnet PLUS. Last time I checked, decnet used the 2 ports simulaniously."

For a Phase IV installation, the two network interfaces would have to be on entirely separate physical networks.

For a Phase V (a.k.a. DECnet-Plus) installation, only ONE network interface will have the Phase IV compatible address running on it. The other network interface would either be on a completely separate network (as with Phase IV) or would not be running with a Phase IV compatible address and so probably wouldn't have the MAC address of the interface changed.

As a side issue, can LAT run on two network interfaces? I assumed it couldn't after a system that I have here used the wrong one for LAT when initially configured. Only one interface was used by default.
"Try not! Do, or Do not. There is no try!"
Uwe Zessin
Honored Contributor

Re: LAN failover

Steve,
LAT can work on two different interfaces. See:
$ mcr latcp help create link example

If you have multiple interfaces and want to use only on of them, but LAT selects the wrong one by default, I think you can control this with the logical name LAT$DEVICE
.
Martin P.J. Zinser
Honored Contributor

Re: LAN failover

Hello Wim,

you really should consider the DNS path. Since your network setup must be pretty static (else the solution with the hosts file would not work at all ;-), setting up DNS is mostly a one time effort with very low maitenance. This should be easier to achieve than to re certify all your applications for another release. You can easily run the DNS server on one of your VMS boxes, but also for VMS to act as a client only works fine.

Greetings, Martin
Bob Kortlandt
Occasional Advisor

Re: LAN failover

Hi Wim,

Maybe a little late, but what the heck...

TCPIP 5.4 has FailSAFE IP in it, which does exactly what you want to. If you can't install it, maybe you can use the principle to build something yourself.

Failsafe IP compares the send and receive buffers. If the send buffers are increasing, and the receive buffers are not, (wihtin -default- 5 sec) the interface is disabled, and the spare interface is enabled.

Hope this helps..

Bob.
Anton van Ruitenbeek
Trusted Contributor
Solution

Re: LAN failover

Wim,

The easiest way is to create a clusteralias over both networkcards. So every card has it's own IP adres, and create a IP clusteralias over both NIC-cards. The user connects to the clusteralias and if one card fails (the impersonator) the otherone is without notice taking over the conrtol. This is supported on youre versions. So you can implement this very easaly whitout upgrading anything ! I've tested this. When you're connected to the machine over IP, and remove the networkcable to the impersonator(to make sure this card creates a failure :-) ! ) you don't even know there was a failure because everything works fine and you do not lose youre connect (even by moving to another NIC !!). So every node on my cluster has 2 NIC-cards, an every node has a cluster alias. Sounds wheard, but is working fine. I do not have a cluste alias for the whole cluster. This is done by round-robin over the clusteraliasses.

AvR
NL: Meten is weten, maar je moet weten hoe te meten! - UK: Measuremets is knowledge, but you need to know how to measure !
Wim Van den Wyngaert
Honored Contributor

Re: LAN failover

I'm going to test it too. Thanks Anton.

Wim
Wim