1

We have a couple of Linux Red Hat virtual machines running on top of the VMware ESXi cluster.

We aren't sure is vMotion configured or not.

Is it possible to identify if vMotion is configured or activated, from within the guest Linux Red Hat OS itself?

  • I'm pretty sure you can't query cluster settings directly within a VM, therefore whether DRS is configured, or the host settings to see if vMotion is configured, but you used to be able to find out the name of the host a VM was running on and if you captured this over a period of time and saw that the host name changed then you can be sure that either a manual or automatic vMotion happened. – Chopper3 Nov 18 '19 at 11:31
  • you said "ut you used to be able to find out the name of the host a VM was running on and if you captured this over a period of time" , please let me know how to capture the name? – shalom Nov 18 '19 at 12:03
  • I've not tried it for several versions – Chopper3 Nov 18 '19 at 14:50
0

No, I don't think live migration settings are exposed to VMware guests. The easy way would be with vmware-toolbox-cmd, and I do not see anything relevant there.

Rather, write automation scripts to check this using the vSphere API. If live migration configuration is important to you, you can ask for a read only user to verify.

  • can you maybe you help me to understand why vmotion change the date on the machine – shalom Nov 18 '19 at 17:11
  • second if this is the real case then what is the solution from redhat side? – shalom Nov 18 '19 at 17:11
  • Time sync is a different question, but see vmware.com/files/pdf/Timekeeping-In-VirtualMachines.pdf. I already gave an answer: it is not easy on the guest, so don't and use the vSphere API. – John Mahowald Nov 19 '19 at 7:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.