I have a new vSphere two-node cluster that will host RedHat8 VMs. The storage array is HP Alletra.
The goal is to automate taking a snap image of a LUN that has been mounted on one VM, then mount the snap onto a second VM -- in order to run a backup against it.
I've got taking the snap image scripted, and that works. And I can manually mount the snap to the second VM through the vCenter menus. However, I am told there is a way to create WWNs for the VM, so that the Alletra array can alias them, and I can reference them in a script. But the only instructions I have found are these (and one is from 2011):
https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-74DDA7F7-84AC-4251-8749-552A2678A33C.html?hWord=N4IghgNiBcIHIAUCSA1EBfIA
https://blogs.vmware.com/vsphere/2011/11/npiv-n-port-id-virtualization.html
My storage tech is having trouble seeing the WWNs, so I suspect the instructions are incomplete.
I have gone into the config for the VM, and under "VM Options" I have had it generate 1 Node WWN and 4 Port WWNs under "Fiber Channel NPIV".
Can anyone provide more complete instructions?