模块

  1. DELL NSA5600: 4个SFP+,万兆
  2. H3C S7503E: 4个SFP+,万兆
  3. H3C S6300: 4个SFP+,万兆

HOSTNAME

esxcli system hostname set --host=vSAN-ESXi01
esxcli system hostname set --host=vSAN-ESXi02
esxcli system hostname set --host=vSAN-ESXi03
esxcli system hostname set --host=vSAN-ESXi04

patch

# esxcli software sources profile list -d /tmp/ESXi650-201908001_6.5U3a_Patch.zip 
Name                             Vendor        Acceptance Level
-------------------------------  ------------  ----------------
ESXi-6.5.0-20190804001-no-tools  VMware, Inc.  PartnerSupported
ESXi-6.5.0-20190804001-standard  VMware, Inc.  PartnerSupported

# esxcli software profile update -d /tmp/ESXi650-201908001_6.5U3a_Patch.zip  -p ESXi-6.5.0-20190804001-standard

$ ansible CARPOLY_VSAN  -m raw -a 'esxcli software sources profile list -d /vmfs/volumes/vSAN-LOGS/ESXi650-201910001.zip'
192.168.201.12 | CHANGED | rc=0 >>
Name                             Vendor        Acceptance Level  Creation Time        Modification Time
-------------------------------  ------------  ----------------  -------------------  -------------------
ESXi-6.5.0-20191004001-no-tools  VMware, Inc.  PartnerSupported  2019-10-18T05:49:51  2019-10-18T05:49:51
ESXi-6.5.0-20191004001-standard  VMware, Inc.  PartnerSupported  2019-10-18T05:49:51  2019-10-18T05:49:51
load pubkey "/root/.ssh/id_rsa_ansible.pub": Permission denied
load pubkey "/root/.ssh/id_rsa_ansible.pub": Permission denied
no such identity: /root/.ssh/id_rsa_ansible.pub: Permission denied
Shared connection to 192.168.201.12 closed.


$ ansible CARPOLY_VSAN  -m raw -a 'esxcli software profile update -d /vmfs/volumes/vSAN-LOGS/ESXi650-201910001.zip -p ESXi-6.5.0-20191004001-standard'