VMware Cloud Community
tl42
Contributor
Contributor

How to disable VM time synchronization via the API

Untitled.pngHow do I disable VM time synchronization via the API?  I can't seem to find this anywhere: not the API guide, not the VMware Code API Explorer Beta, VM API query contents, et cetera.

???

3 Replies
mhampto
VMware Employee
VMware Employee

Hello,

I was not able to find an API that fully disables time sync.  This blog does have some ways to do it that could work: Completely Disable Time Synchronization for your VM - Virtualize Business Critical Applications - VM...

tl42
Contributor
Contributor

I tested and found that vCD will pick up the change from vSphere, so parts of the recommendation in that article are sufficient.

Reply
0 Kudos
mjha
Hot Shot
Hot Shot

I had a look into API calls and I did not found any section which tells about disabling/enabling/changing time settings.

I made API call against top of the VM and was hoping to get something for time settings, but did not found any.

curl -sik -H "Accept:application/*+xml;version=5.6" -H "x-vcloud-authorization:Auth" -X GET https://vCD-FQDN/api/compute/api/vApp/vapp-87ec9f6d-75e1-4556-b5e9-3a2ac10a7228

Also I checked API Admin and User guide and did not find any mention of this feature.

Please consider marking this answer "correct" or "helpful" if you think your query have been answered correctly. Manish Jha | Operations Support Engineer | vCloud Air Operations vExpert 2015-17 | vExpert-NSX | vExpert-Cloud | VCAP6-DCV | VCP6-DCV | RHCE-7 Website : http://vstellar.com
Reply
0 Kudos