You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Igor Golikov <ig...@gmail.com> on 2017/03/20 13:00:18 UTC

How to bind CloudStack host object with vCenter host

Hello,


Is it possible to bind CloudStack host object provided by CloudStack
API with VMWare host object provided by VMWare API (or MOB)?
Does CloudStack store somewhere "external" UUIDs?

I see that UUIDs are different, only host names are same. But host
name is not unique

CloudStack API:

<host>
        <id>d58bfab1-e169-460f-b98f-c62b8dd9ef60</id>
        <name>some.host.acme.com</name>
        <state>Up</state>
        <type>Routing</type>

VMware:
name string "some.host.acme.com"
uuid string "564d2545-2480-c18b-fced-87cd460dc16b"

Thanks, Igor

RE: How to bind CloudStack host object with vCenter host

Posted by Paul Angus <pa...@shapeblue.com>.
Hi Igor,

It's not exposed via the API, but the hosts are linked in the host_details table by guid ( ie HostSystem:host-104@10.2.0.31) which takes its value from the Object ID in vCenter (ie host-104).


Kind regards,

Paul Angus

paul.angus@shapeblue.comĀ 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-----Original Message-----
From: Igor Golikov [mailto:igolikov@gmail.com] 
Sent: 20 March 2017 13:00
To: users@cloudstack.apache.org
Subject: How to bind CloudStack host object with vCenter host

Hello,


Is it possible to bind CloudStack host object provided by CloudStack API with VMWare host object provided by VMWare API (or MOB)?
Does CloudStack store somewhere "external" UUIDs?

I see that UUIDs are different, only host names are same. But host name is not unique

CloudStack API:

<host>
        <id>d58bfab1-e169-460f-b98f-c62b8dd9ef60</id>
        <name>some.host.acme.com</name>
        <state>Up</state>
        <type>Routing</type>

VMware:
name string "some.host.acme.com"
uuid string "564d2545-2480-c18b-fced-87cd460dc16b"

Thanks, Igor