How to configure NIC failover using HP-APA software on hp-ux?



  • The NIC failover is called LAN Monitor on hpux.

    To configure LAN Monitor (NIC failover) on hpux perform the following steps:

    1. Cable up the server ports to the switch or switches. For redundancy you would have more than on switch on the same subnet.

    2. Check connectivity with the command "linkloop"; normally just linkloop -i then Ethernet address of the switch.

    # linkloop -i 
    
    1. Edit the /etc/rc.config.d/hp_apaportconf, add entries for the Primary and Standby ports

    HP_APAPORT_INTERFACE_NAME[0]=lan1
    HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR

    HP_APAPORT_INTERFACE_NAME[1]=lan2
    HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR
    .
    .
    .

    1. Activate the configuration; ignore any cannot open errors.
    # /sbin/init.d/hplm stop
    # /sbin/init.d/hpapa stop
    # /sbin/init.d/hpapa start
    # /sbin/init.d/hplm start
    
    1. If you have not assigned the Primary IP address add it to /etc/rc.config.d/netconf. This will configure it after every reboot

    2. Query the system for failover groups by running lanqueryconf, the command overwrites the /etc/lanmon/lanconfig.ascii file:

    # lanqueryconf -s 
    
    1. The /etc/lanmon/lanconfig.ascii can be changed to adjust the parameters, then run lancheckconf to verify.
    # lancheckconf
    
    1. Apply the configuration, make it active.
    # lanapplyconf
    
    1. Verify the configuration with lanscan -q and netstat -in
    # lanscan -q
    # netstat -in
    

Log in to reply
 

© Lightnetics 2024