Esxcli - VIB auf einem ESXi 5.0 Host installieren
Hinweis: Bitte beachten Sie, dass dieser Artikel / diese Kategorie sich entweder auf ältere Software/Hardware Komponenten bezieht oder aus sonstigen Gründen nicht mehr gewartet wird. Diese Seite wird nicht mehr aktualisiert und ist rein zu Referenzzwecken noch hier im Archiv abrufbar. |
---|
VSphere Installation Bundles (VIBs) können mit dem esxcli Kommando installiert werden. Die VIBs müssen dazu entweder auf den ESXi Host per scp kopiert werden, oder etwa auf einem Web- oder FTP-Server bereitgestellt werden. Bei der Installation von manchen VIBs ist außerdem eine Anpassung des Host Acceptance Levels erforderlich.
Installationsoptionen
user@ubuntu-11-10:~$ esxcli -s 10.1.102.154 -u root software vib install --help Enter password: Usage: esxcli software vib install [cmd options] Description: install Installs VIB packages from a URL or depot. VIBs may be installed, upgraded, or downgraded. WARNING: If your installation requires a reboot, you need to disable HA first. Cmd options: -d|--depot=[ <str> ... ] Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip file. --dry-run Performs a dry-run only. Report the VIB-level operations that would be performed, but do not change anything in the system. -f|--force Bypasses checks for package dependencies, conflicts, obsolescence, and acceptance levels. Really not recommended unless you know what you are doing. Use of this option will result in a warning being displayed in the vSphere Client. --maintenance-mode Pretends that maintenance mode is in effect. Otherwise, installation will stop for live installs that require maintenance mode. This flag has no effect for reboot required remediations. --no-live-install Forces an install to /altbootbank even if the VIBs are eligible for live installation or removal. Will cause installation to be skipped on PXE-booted hosts. --no-sig-check Bypasses acceptance level verification, including signing. Use of this option poses a large security risk and will result in a SECURITY ALERT warning being displayed in the vSphere Client. --proxy=<str> Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy- url:port. -n|--vibname=[ <str> ... ] Specifies VIBs from a depot, using one of the following forms: name, name:version, vendor:name, or vendor:name:version. -v|--viburl=[ <str> ... ] Specifies one or more URLs to VIB packages to install. http:, https:, ftp:, and file: are all supported.
Meldung bei inkompatiblen Acceptance Level
user@ubuntu-11-10:~$ esxcli -s 10.1.102.154 -u root software vib install -v http://IP/vmware-esx-provider-arcconf.vib Enter password: [DependencyError] VIB Adaptec_bootbank_arcconf_1.00-1's acceptance level is unsigned, which is not compliant with the ImageProfile acceptance level partner To change the host acceptance level, use the 'esxcli software acceptance set' command. Please refer to the log file for more details.
Anpassen des Acceptance Level
user@ubuntu-11-10:~$ esxcli -s 10.1.102.154 -u root software acceptance get Enter password: PartnerSupported user@ubuntu-11-10:~$ esxcli -s 10.1.102.154 -u root software acceptance set --level=CommunitySupported Enter password: Host acceptance level changed to 'CommunitySupported'.
Installation eines VIBs
VIBs werden vor allem von Hardware-Herstellern angeboten und stehen auf deren Webseiten zum Download bereit. Adaptec und LSI bieten beispielsweise VIBs für die CIM Provider zur Überwachung und Konfiguration von deren RAID-Controllern (siehe Adaptec RAID Controller in VMware monitoren und LSI RAID Controller in VMware überwachen).
user@ubuntu-11-10:~$ esxcli -s 10.1.102.154 -u root software vib install -v http://IP/vmware-esx-provider-arcconf.vib Enter password: Installation Result Message: Operation finished successfully. Reboot Required: false VIBs Installed: Adaptec_bootbank_arcconf_1.00-1 VIBs Removed: VIBs Skipped:
Installierte VIBs anzeigen
user@ubuntu-11-10:~$ esxcli -s 10.1.102.154 -u root software vib list Enter password: Name Version Vendor Acceptance Level Install Date -------------------- ----------------------------------- ----------- ---------------- ------------ scsi-aacraid 5.0.5.1.7.28700-1OEM.500.0.0.406165 Adaptec_Inc VMwareCertified 2012-03-21 arcconf 1.00-1 Adaptec unknown 2012-03-21 LSIProvider 500.04.V0.24-261033 LSI VMwareAccepted 2012-03-21 ata-pata-amd 0.3.10-3vmw.500.0.0.469512 VMware VMwareCertified 2012-03-21 ata-pata-atiixp 0.4.6-3vmw.500.0.0.469512 VMware VMwareCertified 2012-03-21 [...]
Autor: Werner Fischer Werner Fischer arbeitet im Product Management Team von Thomas-Krenn. Er evaluiert dabei neueste Technologien und teilt sein Wissen in Fachartikeln, bei Konferenzen und im Thomas-Krenn Wiki. Bereits 2005 - ein Jahr nach seinem Abschluss des Studiums zu Computer- und Mediensicherheit an der FH Hagenberg - heuerte er beim bayerischen Server-Hersteller an. Als Öffi-Fan nutzt er gerne Bus & Bahn und genießt seinen morgendlichen Spaziergang ins Büro.
|