I have got myself into an issue when trying to remove a Cluster from my DC.
Because the last host in the cluster host the VCSA on its local storage and I am unable to put the host in maintenance mode.
What I would like to do is migrate the VCSA onto another host outside of the cluster.
What can I do?
Another option is through ESX CLI console, using scp.
Procedure looks like this:
1. Enable ESXi console and SSH on both hosts.
2. Shut down VCSA VM
3. Switch to ESX console and log in (Alt+F1)
3.1 Unregister your VCSA:
3.1.1 run: vim-cmd vmsvc/getallvms
3.1.2 run: vim-cmd vmsvc/unregister ###
4. change dir to your datastore (cd /vmfs/volumes/datastore_name)
5. run scp to copy your VCSA to second host (scp -r your-vcsa-folder root@new-host-ip:/vmfs/volumes/new-host-datastore)
6. register VCSA on a new host, either through WEB GUI or by using vim-cmd (vim-cmd solo/registervm path-to-vcsa-vmx-file)
Woaahh I am fairly new to vSphere and the cli is all new to me lol.
I tired exporting the VM as an ovf and it failed to deploy.
I tried cloning it and it got some and got an error message about Quiescenting and to look in the logs.
I'm not having much luck here but i'm going to try out some more methods todays.
Dont use the CLI from above because you may will lose the state of your thin provisioning vDisks (assumed you have one).
Ignore the Quiescing error or does it prevent cloning? Cloning will create a normal VM Snapshot with the default Quiescing Option with the help of the installed VMware Tools. What is the state of the Tools? (Running, Managed)
I can successfully clone on of my VCSA to another Cluster without a error.
How does you backup your VCSA VM in the past?
Veeam B&R Community Edition is free for up to 10 VMs and contains "Replication".