Solved

Custom updates to vCenter via VMTools

Posted on 2010-08-23
1
436 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now