Hi Henrik,
HMC is the orchestrator of the LPM operations and with default settings, it needs to configure the LPAR on the target frame with exact configuration from source managed system. If some of the resources are not available on the target machine, the validation will fail. HMC is not designed to make decisions on admin(s) behalf and pick one of the available SEA bridges on the target.
However, there is a flag in migrlpar command that you would find useful for validation operations: --vlanbridge (1|2)
default value is 1, which means if source config VLAN-ID & vSwitch combination doesn't exist on the target system, the validation will fail.
Other value:2 means, virtual ethernet adapters should be bridged on the target system if possible. If not, the migration will NOT fail but your partition won't be connected to the correct vSwitch(es) if you carry on with actual migrations.
Another important option is: vswitch_mappings where you can specify which vSwitches you will be using on the target machine. This is exactly what you are looking for in your scripts. The syntax is "6/srcSwitch/dstSwitch" and you can comma separate your multiple Virtual Ethernet adapters like this (assuming your target virtual switch is ETHERNET0): "vswitch_mappings=vlanid1/switch1/ETHERNET0,vlanid2/switch2/ETHERNET0,vlanid3/switch3/ETHERNET0"
Finally, if you are looking for a tool to automate and simplify your LPM operations, you may want to check out our (IBM Systems Lab Services) LPM & SRR Automation Tool v9, which does all of these (and a lot more) for you with a few simple clicks with a nice GUI where you can create evacuation plans, validate many LPM operations in one go, save or schedule or execute your validated plans. In fact I had introduced this tool to Phil in 2018, though that version is outdated and not usable with HMC v9 or POWER9 Processor based systems. Please send me an email if you are interested in having a chat about this tool. You can find more info in here: http://ibm.biz/lpm_srr_tool
and my recent session in PowerVUG covering entire Lab Services tools (with some demos) here: https://www.youtube.com/watch?v=wAALYrgTDew
Cheers,
Turgut
------------------------------
Turgut Genc
Senior Lab Services Consultant
IBM UKI
London
------------------------------