How to get the ID of a single data centre and the Cluster

Hello

We have a product we need get the detail of data centers, Clusters, the Esx host and all Virtual Machines of a Virtual Center. And keep it in sync with the VCenter. I use a thread that queries the VCenter every 5 minutes and retrieves the data.

We use Java VI SDK 4.0 for this.

At the present time I am able to read all the details using PropertyCollector. But once a data center is renowned for my application, it is similar to a fact that a data center with the old name has been deleted and a data center with the new name has been added. For this reason, when data center is renamed, I remove entities for the former my application Esx host and adding new features to the ESX hosts in new data center. It causes a lot of unwanted things.

So, I want to go get some unique Id of the dataCenter and Cluster, so that when a cluster/datacenter is renamed, uniqueId is always the same and my app will be able to know that it is just a change of name. And entities for ESX/VirtualMachine will be kept.

Please, help me to know the unique id of the cluster/datacenter.

Thank you

Deepak

Yes, there are supposed to be unique UUID generated by vCenter or ESX (i) and if you have not manually mux with values. The UUID is guaranteed to be unique within a given instance of vCenter.

=========================================================================

William Lam

VMware vExpert 2009

Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

Twitter: @lamw

repository scripts vGhetto

Introduction to the vMA (tips/tricks)

Getting started with vSphere SDK for Perl

VMware Code Central - Scripts/code samples for developers and administrators

150 VMware developer

If you find this information useful, please give points to "correct" or "useful".

Tags: VMware

Similar Questions

  • I have a single open for Exchange 2007 Standard how license get the product key

    I have a single open for Exchange 2007 Standard how license get the product key

    For assistance, please contact the administrator of your Open License program.

  • How to get the Subvi (the virtual path is in .exe) reference in Run Time System

    Hello world

    The problem is how to get the reference of the Sub - VI in run time system, when the Subvi is in .exe after construction.

    More details:

    Top of page vi called the Subvi dynamically, so that the Subvi is always included, and the source object is the application.exe.

    After the above configuration, the Sub - VI will be the application.exe. For example, the path of Subvi est...\application.exe\SubVI.vi

    So, how to get the reference of the Subvi in Run Time System?

    I can't do it when you use 'open reference VI' with le...\application.exe\SubVI.vi path in the run time system.

    In fact, I can create a file to include the Subvi, rather than build the Subvi in application.exe, then I can get the convenintly reference. But this isn't my favourate average.

    Thank you

    chenyin

    That is the problem. Call a Subvi dynamic means users could change, but it is also very attractive.

    The dynamic call should be used in a user control, but some parade can avoid problems.

    It depends on why you use dynamic calls...-online 2 main ways:

    -Dynamic call are used to maintain a scalable framework for the code without acting on the executable file-online a single VI distribution managed by the administrator/developer

    -Dynamic call are used to provide a collection of "external" characteristic that could be enriched by the administrator/developer. For example, you provide your customers a set of selectable custom signal filters in the executable.

    In 2 cases, you are only able to assess the skills of the users to know if there is a risk of damage, if there is a change.

    So to stay only master a parade might be to provide dynamic VI without a schema, but with the problem of maintenance, since no in-place editing and more attention to manage distribution.

    Another way is to hide the actual distribution to user-online call dynamic VI but it without name as *.vi but others (a repellent name as system of OS name ) or simply without extension in order to attract not user... but that's debatable...

    Another more difficult but more secure method is to create a consistency check before your routine (version, user, modified date,...)

  • How to get the names of the table columns in the quick dashboard

    How to get the names of the table columns in the quick dashboard


    Thanks and greetings
    ------------------------
    Kishore P

    Make a prompt like:

    SELECT case when 1 = 0 then 'D0 time. " "" T02 by month name "other" 'D2 market' '. "" M04 region' ' the end 'Sample Sales' UNION ALL SELECT case when 1 = 0 then 'D0 Time. " "" T02 by month name ' else ' 'Time D0. "" T02 by month name ' ' the end 'Sample Sales.

    Put the name of column in single quotes.

    Make your rank as a function:
    Rank ('F1 income'. "" Recipes 1-01 (after all) "by @{pColumn} {'D0 time'. ({"" T05 annually name '})

    It works fine for me

    concerning

    John

    http://obiee101.blogspot.com

  • How to get the text have the same effect as the video?

    Hello

    For the first time post here, but I wonder how to get the text of the titles have the same effect as the video behind her.

    For my video, I use 'bad tv' and other effects such as Gaussian that obviously changes the appearance of video, creating the look of VHS. However, I then inserted text via the title, but it normally appears. How can I make this text have the same effects as the video behind it?

    A friend told me I might need to add text to the video first, then do the effects, I have not tried, but wonder if there is an easier way, as this would require me to restart.

    EDIT: That's what I'm looking for. https://youtu.be/7_2PHQI89dI?t=24s The text has the same effect as the video.

    Thank you

    One way is to create a clip made up based on the title and the original clip. Then apply the effect.

    Another way is to use an adjustment layer.

    Good luck.

    Russ

  • How to get the podcast of the website on the phone

    I was told to put that feed into the PODCASTING app on your iOS device.

    The site in question is https://randirhodes.com/how-to-get-the-podcast/

    I paid for a premium podcast, now how o I get this podcast to appear on my iphone 6 s more in the podcast app?

    Podcasts > select my Podcasts > press the '+' > Add Podcast > paste the URL that you got on the site.

  • How to get the video intro off my google home screen I already saw it, where is the firefox logo used to be.

    How to get the video intro off my google home screen I already saw it, where is the firefox logo used to be. I started with the last update that I rebooted.

    Hello
    to change the homepage when opening firefox-press 'Alt' and click on tools-> Options.

    Main menu, you can change the URL.

    If the problem persists, you can follow these simple steps:

    Enter about: config in the address bar and press ENTER. Accept the message of 'dragons' to see the Advanced preferences screen. Use the above search box to enter the below pref.

    You can assign an empty string to stop your Firefox to retrieve "extracts" and brandLogo changes the browser.aboutHomeSnippets.updateUrl pref. Right-click this pref and select Edit then clear the value as pref in the box that appears, and then click OK. Who will also disable "snippets" that appear under the container of the research on the default home page.

    Then you must open the folder of your profile, via help > Troubleshooting Information > profile folder > > button view folder. Then close Firefox. Your profile file open with Firefox closed (Firefox '3-bar' menu key > exit/Quit), wait or two minutes, then remove the storage\moz-safe-about + home folder in the Firefox profile folder to remove the brandLogo and stored in IndexedDB code snippets to make Firefox use the default brandLogo and a defined default code snippet.

    If you later change your mind about these changes, you can reset the pref browser.aboutHomeSnippets.updateUrl via the context menu and Reset allows to retrieve the default value using the storage\moz-chest-fort-about + home folder again.

  • where and how to get the new Firefox add - one of who is spying on us. Please mail to...

    Heard speak adds the new on Fire Fox. Where and how to get the new Firefox add - one of who is spying on us. Please mail to maheshubhayakar at rediffmail.com

    edited by email address - moderator

    It is helpful if you provide a link to the article you were reading.

  • Re: How to get the Tempo to work properly?

    Hello

    I have problems with the service of Tempo.

    I don't get updates via this application (all the settings of this application are accurate, i.e. "full control"). I know this because there are updates available online to my laptop via the pilot site of toshiba.

    When I installed first Tempo, updates for about a month, I received, and then all of a sudden, no update came through. My firewall is blocking either of this application.

    I tried to reinstall the application, but no change in the situation.

    Does anyone know if ALL updates are available via the website of driver toshiba out tempo? Because, in the month that this service worked, I got an update of the bios, but I recently saw a bios update online and Tempo has not always reports that it is available.

    Any ideas on how to get the Tempo to work properly?

    Thank you.

    I saw in your other thread you have installed SP1 on your Vista laptop.
    There may be some compatibility problems between SP1 and Tempo

    And Yes, as far as I know Tempo bring all available updates!

  • I rolled again Firefox 4.0 to 3.6 and now my navigation bar still looks like instead of 3.6 4.0 how to get the old layout back?

    I rolled again Firefox 4.0 to 3.6 and now my navigation bar still looks like instead of 3.6 4.0 how to get the old layout back?

    The fastest way is to use the option 'Restore the default toolbar set' as shown here - https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • How to get the physical credit iTunes gift card?

    How to get the physical gift card iTunes on your iTunes store account balance?

    • You cannot buy an iTunes gift with in-store credit.

    See the link below to buy physical gift cards for iTunes.

    http://www.Apple.com/shop/gift-cards

  • Satellite Pro M50 with Vista: how to get the S-video on the job?

    Hi all

    I have a vista equipped Satellite Pro M50. Does anyone know how to get the S-video on the job? I can't understand.

    Inadvance, see you soon

    Phil

    Did you look in the user manual?
    This doc is always pre-installed on laptop and provides useful information. Also how to connect a TV and use simple notebooks ports.

    A hint; You must use an s-video cable to connect the laptop to the TV.
    Then use the FN + F5 key combination to switch between display devices.
    Sometimes the special s-video option must be enabled on the TV.

    I would recommend consulting the manual of the TV also.

    Good bye

  • How to get the manual for Satellite Pro 4200?

    How to get the manual for Pro 4200. I have download olm_up and setup.exe (72 kt) of http://eu.computers-toshiba-europe.com?.

    Hello

    Please visit this link:
    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_manuals.jsp

    I m you will find a good manual of your device.

    Good bye

  • How to get the card working on Tecra M1 WLAN?

    I just bought a 2nd hand Tecra M1. Great! It has installed XP but no Toshiba tool. I can't access my WLAN router. Seems like if WIFI connection is not yet installed. As I know from my Satellite Pro M30, there are Toshiba tools for this, they work smarter.

    Maybe I need drivers - WXP is material unknown when starting up - might be the WLAN device - who knows.
    When I check the network connections, I find 1934 and LAN adapter, but no WLAN device. I have already run the XP Wizard for WLAN connections, SSID and hexagonal key; but no WLAN device presents itself.

    Then, someone a idea how to get the job of WLAN?
    Is it possible to get the Toshiba M1 software or can I use my software SatPro?

    Thank you Jan so far

    It's good that you will find yourself, I think most of us would point on your ad when you have users with a similar problem. Sometimes it s really useful to have users like you who will investigate their cases.

    I'm now long enough a Member here, but every time I have met people who have solved problems like that, then I must say how much I appreciate it. :)

    Welcome and good weekend

  • Satellite A200-AH7 - how to get the camera program?

    I installed Windows 7 today and now the Chicony Webcam does not work. I've updated the drivers and the software for the Toshiba for Windows 7 download site, but nothing happens when I click on camera assistant. I tried to run the compatibility program, and he tells me that the program is not compatible even tought that the software is for Windows 7.

    Any ideas on how to get the camera to run program?

    Thank you
    Gary

    Sorry my mistake, the camera assistant was hidden.
    Of work.

    Post edited by: gary blainville

    > Sorry my mistake, the camera assistant was hidden.
    > Work.
    This means that your webcam working properly now?

    If so it of great and thanks for your comments! :)

Maybe you are looking for

  • Attack of the kernel after upgrading to El Capitan

    I need help and fashionable of despair. I get an error Kernel attack (such as published in full below) and can rule out a hardware malfunction. My situation is unique in the sense that I had a MacBook 2011 Pro - I upgraded to El Capitan and began to

  • Presario 2000/xp

    PFN list corrupt, info please?

  • NI-CAN 8464 with database in the RT!

    Hello together, I have a normal office PC cards Xnet with other PXI NI-CAN 8464 card operation real time sysmte. It's easy using the file of a dbc with my XNET (deploy it and call the signal), but I have problem calling my dbc with my 8464 file! I ma

  • compatibility with windows xp

    my software games are any edition of windows xp.  How can I download and play using windows vista

  • Aspire V3-572 dolby digital more stopped working

    Description of the problem: Dolby digital more no longer works as it used to. Description of the actions: I got chrome two windows open, and I was watching a show in one. I stopped to watch something in the other window, and when I returned to the sh