Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168455

Confusion with CIM cmdlets and the VMware CIMMOM

$
0
0

Hi all,

 

I’ll be very grateful if someone can give me a little clarification on a few things regarding the CIMMOM running on ESXi hosts. I’ve been digging into the vSphere documentation but I’m not finding the answers I need.


My company has a custom CIM provider/namespace, and I can connect to the CIMMOM on an ESXi host and enumerate instances within our namespace programmatically by using the SBLIM Java CIM Client OR by using the Python module pywbem. Both work great, and both use WBEM/CIM-XML over HTTPS (WBEM).


Now I’m trying to do the same thing with Powershell, using the CIM cmdlets, which use WS-MAN/SOAP from my understanding.


The CIM Server Ports page https://pubs.vmware.com/vsphere-60/index.jsp#com.vmware.cimsdk.smashpg.doc/02_CIM_SMASH_PG_Basic_Client.4.2.html?resultof=%2522%2543%2549%254d%2522%2520%2522%2563%2569%256d%2522%2520 states that both CIM protocols CIM-XML over HTTPS (WBEM) and SOAP (WS-MAN) protocols are available to use to connect to the CIM provider.


  1. The dev that created our VMware CIM provider says he used SFCB http://sblim.sourceforge.net/wiki/index.php/Sfcb but their feature list and documentation only mentions CIM-XML over HTTP… isn’t this contradictory to what the VMware documentation says? What library/framework/implementation does VMware use for its CIMMOM? It looks like it uses OpenPegasus, which is WBEM not WS-MAN correct? So is the CIM Server Ports page just out of date/incorrect?
  2. I’ve tried running this example script http://www.virtu-al.net/2012/10/29/using-powershell-v3-0-cim-cmdlets-with-vmware-esxi-hosts/ and nothing is returned. I’ve also tried using the wsmancli and am not able to make a connection. Is there a way to check the ESXi host to see if the WS-MAN service is running? The WBEM method definitely works.
  3. Is there a WBEM client available for Powershell rather than the WS-MAN CIM cmdlets?

 

Hope you can see the source of confusion. Would greatly appreciate some help.


Viewing all articles
Browse latest Browse all 168455

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>