System Administration Guide: IP Services

ProcedureHow to Recover a Physical Interface That Was Not Present at System Boot

You must complete the following procedure before you recover a physical interface that was not present at system boot. The example in this procedure has the following configuration:

Note –

The failback of IP addresses during the recovery of a failed physical interface takes up to three minutes. This time might vary, depending on network traffic. The time also depends on the stability of the incoming interface to fail back the failed-over interfaces by the in.mpathd daemon.

  1. On the system with the IPMP group configuration, assume the Primary Administrator role or become superuser.

    The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. Retrieve the failed network information from the failure error message of the console log.

    See the syslog(3C)man page. The error message might be similar to the following:

    moving addresses from failed IPv4 interfaces:
    hme1 (moved to hme0)

    This message indicates that the IPv4 addresses on the failed interface hme1 have failed over to the hme0 interface.

    Alternatively, you might receive the following similar message:

    moving addresses from failed IPv4 interfaces:
    hme1 (couldn't move, no alternative interface)

    This message indicates that no active interface could be found in the same group as failed interface hme1. Therefore, the IPv4 addresses on hme1 could not fail over.

  3. Attach the physical interface to the system.

    Refer to the following for instructions on how to replace the physical interface:

    • cfgadm(1M) man page

    • Sun Enterprise 10000 DR Configuration Guide

    • Sun Enterprise 6x00, 5x00, 4x00, and 3x00 Systems Dynamic Reconfiguration User's Guide

  4. Refer to the message content from Step 2. If the addresses could not be moved, go to Step 6. If the addresses were moved, continue to Step 5.

  5. Unplumb the logical interfaces that were configured as part of the failover process.

    1. Review the contents of the /etc/hostname.moved-from-interface file to determine what logical interfaces were configured as part of the failover process.

    2. Unplumb each failover IP address.

      # ifconfig moved-to-interface removeif moved-ip-address

      Note –

      Failover addresses are marked with the failover parameter, or are not marked with the -failover parameter. You do not need to unplumb IP addresses that are marked -failover.

      For example, assume that the contents of the /etc/hostname.hme0 file contains the following lines:

      inet -failover up group one
      addif failover up
      addif failover up

      To unplumb each failover IP address, you would type the following commands:

      # ifconfig hme0 removeif
      # ifconfig hme0 removeif
  6. Reconfigure the IPv4 information for the replaced physical interface by typing the following command for each interface that was removed:

    # ifconfig removed-from-NIC <parameters>

    For example, you would type the following commands:

    # ifconfig hme1 inet plumb
    # ifconfig hme1 inet -failover up group one
    # ifconfig hme1 addif failover up
    # ifconfig hme1 addif failover up