This operation is to be executed as last resort to assist software licenses tied up to MAC addresses that might be changed during migration, network adapter addition or network type change (i.e.: from e1000 to vmxnet3)
Note: VM Server need to power-off and vCD Powershell API Module should be setup
Steps:
- Open Powershell ISE run as admin
- Run command to connect to vCloud Director ( connect-ciserver vCDLINK.vmware.test )
- The login pop out window just use username and password, no domain needed
- Run command to capture VM object ( $vm = get-civm "vmname" )
- Run command to update VM address ( $vm.ExtensionData.Section[2].NetworkConnection[0].MACAddress = "00:50:56:11:11:f1" )
- Run command to commit change ( $vm.ExtensionData.Section[2].UpdateServerData() )
- Login to vCD and check if new MAC is applied to the VM server
Commenti