How to test failover of a PrivNIC resource

Problem

The customer needs to understand how the PrivNIC resource works and how to test it

Cause

The PrivNIC agent does a check using lltstat on the interface and if it sees that the LLT is running without any issue on that interface then privnic assumes that the interface is up and plumbs the IP as it is supposed to do. The ifconfig down command works at Network layer (layer 3) of OSI model , however LLT works at Datalink layer (layer 2 of OSI model).So it is not an obvious step to test with ifconfig down for the interface (since ifconfig down is not going to change the state of interface as "DOWN" in #lltstat -nvv output).

Solution

The good test for privnic agent is to involve network administrator, and to bring down a connection from the switch (disable the port), and check if the interconnect fails over.


Applies To

Here is the sample configuration ...

MultiPrivNIC multi_priv (
Critical = 0
Device @galaxy = {bge1= 0, bge2 = 1}
Device @nebula = {bge1= 0, bge2 = 1}
Address @galaxy = {"192.168.12.1" =0, "192.168.2.1" =1}
Address @nebula = {"192.168.12.2" =0, "192.168.2.2" =1}
NetMask = "255.255.255.0"
)

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)