VMware vSphere環境中軟件安裝包的4個接受等級

在VMware vSphere中經過bash

# esxcli software vib install -n your_app_name
# esxcli software vib update -n your_app_name

安裝或升級應用程序,可能會遇到沒法經過的問題,由於這裏要執行一個嚴格的「接受等級」政策,沒法經過等級認證的程序則不能安裝。app

VMware的世界裏,接受等級,Acceptance Level,分爲兩大類:VIB(vSphere Installation Bundle,軟件安裝包)的接受等級和ESXi主機的接受等級。ESXi主機的接受等級能夠修改,VIB的則不能修改。VIB的接受等級要符合ESXi主機對安裝包的最低要求,不然不予放行,不準安裝。等級有4個:spa

  • VMwareCertified,最嚴格等級,VMware認證
  • VMwareAccepted,嚴格等級,VMware接受
  • PartnerSupported,合做夥伴支持
  • CommunitySupported,社區支持

ESXi主機的接受等級的修改:命令行

一、經過vSphere Client或vSphere Web Client登陸vCenter Servercode

二、選中某臺ESXi主機,點擊「Configure」,再點擊「Host Image Profile Acceptance Level」後面的「Edit「按鈕server

三、在Acceptance Level後,點擊下拉菜單選擇你要設置的等級。選項也是上文顯示的那4個。blog

固然,若是有權限,也能夠在ESXi主機的SHELL中用命令行設置:get

# esxcli software acceptance set –level=CommunitySupported

查看當前主機上安裝過的VIB

# esxcli software vib list


Name                           Version                               Vendor  Acceptance Level  Install Date
-----------------------------  ------------------------------------  ------  ----------------  ------------
ata-libata-92                  3.00.9.2-16vmw.670.0.0.8169922        VMW     VMwareCertified   2019-08-27
ata-pata-amd                   0.3.10-3vmw.670.0.0.8169922           VMW     VMwareCertified   2019-08-27
ata-pata-atiixp                0.4.6-4vmw.670.0.0.8169922            VMW     VMwareCertified   2019-08-27
ata-pata-cmd64x                0.2.5-3vmw.670.0.0.8169922            VMW     VMwareCertified   2019-08-27
ata-pata-hpt3x2n               0.3.4-3vmw.670.0.0.8169922            VMW     VMwareCertified   2019-08-27
ata-pata-pdc2027x              1.0-3vmw.670.0.0.8169922              VMW     VMwareCertified   2019-08-27
ata-pata-serverworks           0.4.3-3vmw.670.0.0.8169922            VMW     VMwareCertified   2019-08-27
ata-pata-sil680                0.4.8-3vmw.670.0.0.8169922            VMW     VMwareCertified   2019-08-27

等等,已經安裝過的VIB,查看它們的接受等級沒有什麼意義,在一個軟件包安裝以前查看其接受等級纔有意義,對不?對,那怎麼查呢?cmd

# esxcli software vib get -n your_vib_name
//查當前軟件包的接受等級

# esxcli software acceptance get
//查當前ESXi主機的設置
相關文章
相關標籤/搜索