VMware Cloud Community
JarryG
Expert
Expert

List of files VIB installed?

I just installed a few VIBs to ESXi. But how can I see what actually was installed? I mean which files were added/modified and where are they?

_____________________________________________ If you found my answer useful please do *not* mark it as "correct" or "helpful". It is hard to pretend being noob with all those points! 😉
5 Replies
rcporto
Leadership
Leadership

Try esxcli software vib list.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
0 Kudos
vfk
Expert
Expert

esxcli software vib list | grep -i <vender or vib> to narrow you list..

--- If you found this or any other answer helpful, please consider the use of the Helpful or Correct buttons to award points. vfk Systems Manager / Technical Architect VCP5-DCV, VCAP5-DCA, vExpert, ITILv3, CCNA, MCP
0 Kudos
JarryG
Expert
Expert

I might not describe my problem correctly, so once again:

I do not want to have list of VIBs installed (I know how to get it).

What I DO want is to see list of files one particular VIB installed.

Example: "esxcli software vib list" shows me, that "vmware-esx-storcli-1.09.13" VIB is already installed. And now I want to know which files did it bring with itself. Where do I have to look for that "storcli" content. Which files on esxi-filesystem are part of that VIB. Something like:

/opt/lsi/storcli/libstorelib.so

/opt/lsi/storcli/storcli

...

How can I get this?

_____________________________________________ If you found my answer useful please do *not* mark it as "correct" or "helpful". It is hard to pretend being noob with all those points! 😉
0 Kudos
vervoortjurgen
Hot Shot
Hot Shot

maybe you can check inside the vib and see what files are included

i think VIB autor can do that

https://labs.vmware.com/flings/vib-author

kind regards Vervoort Jurgen VCP6-DCV, VCP-cloud http://www.vdssystems.be
0 Kudos
brendanpg
Contributor
Contributor

The XML files in this directory:

/var/db/esximg/vibs

Have a list of files the packages contain.

Example:

/var/db/esximg/vibs # cat  vmware-esx-MegaCli-8.07.07--1938763172.xml

<vib version="5.0"><type>bootbank</type><name>vmware-esx-MegaCli-8.07.07</name><version>8.07.07-01</version><vendor>LSI</vendor><summary>MegaRAID Command Line Tool for ESX Server</summary><description>MegaRAID Command Line Tool for ESX Server</description><release-date>2012-12-19T15:56:09.224245+00:00</release-date><urls><url key="General info">http://www.lsi.com</url></urls><relationships><depends/><conflicts/><replaces/><provides/><compatibleWith/></relationships><software-tags/><installdate>2015-05-19T10:05:19.933253+00:00</installdate><system-requires><maintenance-mode>false</maintenance-mode></system-requires><file-list><file>opt/lsi/MegaCLI/MegaCli</file><file>opt/lsi/MegaCLI/libstorelib.so</file></file-list><acceptance-level>partner</acceptance-level><live-install-allowed>true</live-install-allowed><live-remove-allowed>true</live-remove-allowed><cimom-restart>false</cimom-restart><stateless-ready>true</stateless-ready><overlay>false</overlay><payloads><payload name="vmware-esx-Mega" type="vgz" size="750181"><checksum checksum-type="sha-256">124e47800bbede149019547cf791f7e902702775be21c2e0211dde00d50b6d45</checksum><checksum checksum-type="sha-1" verify-process="gunzip">385b7360134241da9f1ac9b88361fd72452dcb40</checksum></payload></payloads></vib>

Then you can go to this site:

http://www.utilities-online.info/xmltojson/

And convert xml to json which is a bit easier to read when scanning for files.

output:

<snip>

        "etc/cim/lsi/lsi_mr.conf",

        "etc/cim/lsi/providerTraceLog.properties",

        "etc/cim/lsi/resource_default.properties",

        "etc/cim/lsi/resource_en.properties",

        "etc/cim/lsi/sas_mib.ini",

        "etc/cim/openwsman/lsi.conf",

        "usr/lib/cim/libint13cmpi.so",

        "usr/lib/cim/libstorelib.so",

        "usr/lib/cim/libstorelibir-2.so",

        "usr/lib/cim/libstorelibir-3.so",

        "usr/lib/cim/libstorelibir.so",

        "var/lib/sfcb/registration/repository/lsiprovider-500.04.V0.55-0006/lsi/lsimr13/classSchemas",

        "var/lib/sfcb/registration/repository/lsiprovider-500.04.V0.55-0006/lsi/lsimr13/qualifiers",

        "var/lib/sfcb/registration/repository/lsiprovider-500.04.V0.55-0006/lsi/lsimr13/qualifiers.idx",

        "var/lib/sfcb/registration/repository/lsiprovider-500.04.V0.55-0006/root/interop/classSchemas",

        "var/lib/sfcb/registration/repository/lsiprovider-500.04.V0.55-0006/root/interop/qualifiers",

        "var/lib/sfcb/registration/repository/lsiprovider-500.04.V0.55-0006/root/interop/qualifiers.idx",

        "var/lib/sfcb/registration/vmw_lsiprovider-providerRegister"

</snip>


This could be done with various python utilities but this is a quick and dirty way to do it one the host itself.