What is the dynamic property used to retrieve the IP address of the VC?
If we are retrieving as below we are getting VM Kernel Port Group
HostSystem->HostListSummary->managementServerIp
But how do we get Service Console Port Group ?
Please let me know Thanks in advance.
Hi,
Is your VC installed on a harware or is it installed in a VM?
If it sits on a hardware maybe you can retrieve it with
HostSystem -> HostConfigManager -> HostNetworkSystem -> HostNetworkInfo (or config)
There is a entity HostPortGroup portgroup, But im a noob and never made it.
Maybe it helps.
Christian
Hi,
Is your VC installed on a harware or is it installed in a VM?
If it sits on a hardware maybe you can retrieve it with
HostSystem -> HostConfigManager -> HostNetworkSystem -> HostNetworkInfo (or config)
There is a entity HostPortGroup portgroup, But im a noob and never made it.
Maybe it helps.
Christian
That should be the IP address of your Virtual Center Server. Are you saying you want the Service Console IP address(es)?
If you want the Service Console IP address that would be at HostNetworkSystem->consoleVnic (an array). You can obviously have multiple Service Console IP addresses on a host, you'll need to traverse the array and look at the spec->ip property for each console vnic object.
Thanks a lot.