Restore vfchost map data

After you replace physical components on your blade server, you must review the virtual Fibre Channel vfchost mapping. If the vfchost mapping has changed after component replacement, you must restore the mapping.

To restore vfchost data, you must have first saved the original vfchost data and the physical Fibre Channel adapter (fcs) location code information. For information, see Save vfchost map data.

To restore the vfchost mapping data, use the third field of the Fibre Channel adapter (fcs) location codes, which is the serial number field, and compare the new Fibre Channel adapter (fcs) location codes to the original location codes. Perform a vfcmap of the new Fibre Channel adapter (fcs) to the appropriate vfchost.

To restore the vfchost mapping data, complete the following steps by using the padmin user account:

  1. To save the new Fibre Channel adapter (fcs) location codes, use the lsdev –vpd command as follows. Enter the command from the command-line interface on the source Virtual I/O Server (VIOS):
    lsdev -vpd | grep fcs | tee LSDEV_OUTPUT_after1
    The output might look like the following example:
    fcs0  U78AF.001.startSN-P1-C35-L1-T1  Dual Port 8Gb FC Mezzanine Card (7710322577107501)
    fcs1  U78AF.001.startSN-P1-C35-L1-T2  Dual Port 8Gb FC Mezzanine Card (7710322577107501)
  2. To associate the new fcsx adapter to the old fcsx adapter use the adapter slot number. Enter the grep command as shown in the example below:
    grep "P1-C35-L1-T1" LSDEV_OUTPUT_before  LSDEV_OUTPUT_after
    The output might look like the following example:
    LSDEV_OUTPUT_before:
     fcs0  U78AF.001.startSN-P1-C35-L1-T1 Dual Port 8Gb FC Mezzanine Card (7710322577107501)
    LSDEV_OUTPUT_after1:
     fcs0  U78AF.001.newSN99-P1-C35-L1-T1 Dual Port 8Gb FC Mezzanine Card (7710322577107501)
    In this example, the original serial number is represented as startSN, the new serial number is represented as newSN99, and the fcsx remained fcs0; therefore, fcs0 will be mapped to the vfchost.
  3. To restore the new fcsx device to the correct vfchost, enter the vfcmap command as follows:
    vfcmap -vadapter vfchost0 -fcp fcs0
  4. To check the vfchost mapping, enter the lsmap command as follows:
    lsmap -vadapter vfchost2 -npiv
    The output might look like the following example:
    Name            Physloc                                  ClntID  ClntName   ClntOS
    --------------- ---------------------------------------- ------- ---------- ------
    vfchost2        U7895.42X.9999999-V1-C33                       4
    
    Status          NOT_LOGGED_IN
    FC name         fcs0                    FC loc code:U78AF.001.newSN99-P1-C35-L1-T1
    Ports logged in 0
    Flags           4<NOT_LOGGED>
    VFC client name                         VFC client DRC
    In this example, the new serial number is represented as newSN99.


Notices | Terms of use | Privacy | Support