2011年7月15日 星期五

Use the wbemcli to check the IMM status on VMWare ESXi V4.1

http://sourceforge.net/projects/sblim/files/
download wbemcli:sblim-wbemcli-1.6.1.tar.bz2
and put copy it to your linux OS
unzip and install
# tar -xjvf sblim-wbemcli-1.6.1.tar.bz2
# cd sblim-wbemcli-1.6.1
# ./configure prifix=/usr
# make install
finish install and check it
#wbemcli --help
wbemcli: Invalid invocation syntax
usage:  wbemcli gc|gcd|dc|ec|ecn|gi|ci|mi|di|ei|ein|ain|ai|rin|ri|gp|sp|cm|cmx
                [-nl] [-dx] [-t] [-cte] [-h] [-v]
                [-noverify] [-cacert ] [-clientcert ] [-clientkey ]
                [-ac ] [-arc ] [-ar ] [-arr ]
                objectPath [prop=value,[...]] [props[,...]]

        example: wbemcli gi 'http://localhost:5988/root/cimv2:rpm_package.name="glibc"'

        Use man wbemcli for details


check CIM list command:
# wbemcli ecn -nl -noverify 'https://root:@:5989/root/cimv2'

check the IMM command :
# wbemcli ei -noverify 'https://root:password@xxx.xxx.xxx.xxx:5989/ibm/imm0/cimv2:CIM_SoftwareIdentity'

沒有留言: