Solved

Custom updates to vCenter via VMTools

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

707 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

14 Experts available now in Live!

Get 1:1 Help Now