Create an LPAR with specific WWPNs

By the command below an LPAR can be created with specific WWPNs, of course if you use NPIV adapters. It can be useful for LPARS migration between servers. It is extremely dangerous command, therefore it should be used only by people who knows what is for.I used this command to create LPARs on new POWER8 servers with exactly the same configuration what existed on old POWER7. Therefore, the entire migration process to the new hardware was about to power off an LPAR on POWER7, and power on at POWER8 machine. We may say that I did inactive Live Partition Mobility migration, but I don’t need the PowerVM Enterprise license for it.

This entire process must be done very careful, because YOU CANNOT login to a fabric switch two hosts with the same WWPNs at the same time. I believe you would kill SAN if you would do it. Therefore, be very careful if you decide to do it. To create an LPAR use the command below against the HMC CLI.