Replacing HBA in the VIO server

Hi Experts, Kind of embarrassed to ask this , it's been a while I've done this . Can anyone verify below procedure to replace HBA in the VIO server. Many client LPARs are using this HBA for NPIV . Please correct me if I am wrong . Thanks in Advanced

  1. Identify the HBA (did that)
  2. Unconfigure the mappings for each vfchost one by one : vfchost0 , vfchost1 etc.
    text $ rmdev -dev vfchost0 -ucfg vfchost0 Define $ rmdev -dev vfchost0 -ucfg vfchost0 Define
    and so on
  3. FC adapters and their child devices removal
    $ rmdev -dev fcsx -recursive -ucfg or do oem_setup_env and rmdev -Rdl fcsx
  4. Replace HBA after shutting down the VIO server:
    DIAGNOSTIC OPERATING INSTRUCTIONS -> Task Selection -> Hot Plug Task -> PCI Hot Plug Manager -> Replace/Remove a PCI Hot Plug Adapter.

-----------------
Now re-configure everything , this is the part I am really confused about :

  1. Discover the new devices cfgdev
  2. Get the new WWN and do the SAN Zoning .
  3. Do vfcmap for each of ther vfchost (vfchost0 , vfchost1 etc.)
    text vfcmap -vadapter vfchost0 -fcp fcsx vfcmap -vadapter vfchost1 -fcp fcsx

I am not sure if the wwpn in the client LPAR will change after the vfcmap ? or all the paths will come back live after that .

Please help me correct the above procedure . Thank you in advanced .

Instead of step 2, you can do:

vfcmap -vadapter vfchostX -fcp

Thank you agent. You are so helpful