Solved

Custom updates to vCenter via VMTools

Posted on 2010-08-23
1
439 Views
Last Modified: 2012-05-10
Already VMTools updates important information to vCenter via VMTools such as the operating system.

Is there a way to have it update other information that may be important in my settings?

For example I have a custom field in vCenter for versions of a particular app. I also have a script that reports the version of the app running. I would like to have VMTools populate that information to vCenter so that it is always up to date. As of now there is now guarantee that the app owners update vCenter when they update the App.

I understand that I could have an application update it directly to the SQL database, but my servers have no connections through the firewall to the SQL Database. This is by design and will not be changed.

Thanks.
0
Comment
Question by:brittonv
1 Comment
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
ID: 33505014
I don't know that you will be able to do that directly with VMware Tools. However you could leverage the VMware vSphere Web Services SDK 4.1 (http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/index.html) in a custom program to do what you wish. You would have to leverage the Windows task scheduler or Linux cron facility to make it run every so often to update whatever it is you are updating.

Tale a look under Data Object Types, the object type would be VirtualMachineConfigInfo, in that schema there is a extraConfig entry that takes Option/Value pairs, where you can specify key and value to update on the vCenter server. Here is the link for that structure: http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.option.OptionValue.html

Good Luck
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
should I enable deduplication in this case? 4 58
Disjoin vCenter Server Appliance From Domain 5 50
Offsite Replication Solution 7 62
The better OS Architecture 13 67
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question