VMware ESXi auf EX4 Server-Vorbereitung
In diesem Abschnitt geht es nun um die Server-Vorbereitung, das bedeutet Patche herunterladen, isos und zusätzliche Tools natürlich auch. Und die ersten Installation werden hier auch vorgenommen.
Ich hoffe mit diesen Informationen einigen von Euch ein bisschen zu Helfen bei der Vorbereitung eures ESXi bei Hetzner.
Software Downloads als Service von Virtpro.eu und Tianet
mkdir "/vmfs/volumes/datastore1/patches/"
mkdir "/vmfs/volumes/datastore1/isos/"
wget -P "/vmfs/volumes/datastore1/patches/" http://dl.virtpro.eu/vmware/esxi-patches/ESXi500-201204001.zip
wget -P "/vmfs/volumes/datastore1/patches/" http://dl.virtpro.eu/vmware/esxi-patches/ESXi500-201205001.zip
wget -P "/vmfs/volumes/datastore1/patches/" http://dl.virtpro.eu/vmware/esxi-patches/ESXi500-201206001.zip
wget -P "/vmfs/volumes/datastore1/patches/" http://dl.virtpro.eu/vmware/esxi-patches/ESXi500-201207001.zip
wget -P "/vmfs/volumes/datastore1/patches/" http://dl.virtpro.eu/vmware/esxi-patches/ESXi500-201209001.zip
wget -P "/vmfs/volumes/datastore1/patches/" http://dl.virtpro.eu/vmware/esxi-patches/ESXi510-201212001.zip
wget -P "/vmfs/volumes/datastore1/patches/" https://data.virtpro.eu/vmware/lsi-megaraid/12.12.0-0139_SAS_2108_Fw_Image_APP2.130.373-2022.zip
wget -P "/vmfs/volumes/datastore1/patches/" http://dl.virtpro.eu/vmware/lsi-megaraid/00_34_V0_01_SMIS_VMware_Installer.zip
wget -P "/vmfs/volumes/datastore1/patches/" http://dl.virtpro.eu/vmware/lsi-megaraid/CLI_VMware_MN_8.07.06.zip.zip
wget -P "/vmfs/volumes/datastore1/isos/" http://dl.virtpro.eu/isos/pfSense-LiveCD-2.0.2-RELEASE-amd64.iso
Entpacken der ZIP-Archive (Vibs, MegaCLI, Raid-Controller Firmware)
cd /vmfs/volumes/datastore1/patches/
Entpacken des aktuellen Firmwares für den Raid-Controller
/vmfs/volumes/50614d6e-41adfe3a-9421-c86000bc3f13/patches # unzip MERGED_12.12.0-0111_SAS_2108_FW_Image_2.130.353-1663.zip
Archive: MERGED_12.12.0-0111_SAS_2108_FW_Image_2.130.353-1663.zip
inflating: MERGED_12.12.0-0111_SAS_2108_FW_Image_2.130.353-1663.txt
inflating: mr2108fw.rom
Entpacken des aktuellen LSIProviders für VMware ESXi 5.x.
/vmfs/volumes/50614d6e-41adfe3a-9421-c86000bc3f13/patches/ # unzip 00.03.V0.03_SMIS_VMware_Installer.zip
Archive: 00.03.V0.03_SMIS_VMware_Installer.zip
inflating: 00.03.V0.03_SMIS_VMware_Installer.txt
creating: LSI_SBMA_VMWare_00.03.V0.03/VMW-ESX-5.0.0-LSIProvider-500.04.V0.30-30000000/
creating: LSI_SBMA_VMWare_00.03.V0.03/VMW-ESX-5.0.0-LSIProvider-500.04.V0.30-30000000/00.30.V0.03/
creating: LSI_SBMA_VMWare_00.03.V0.03/VMW-ESX-5.0.0-LSIProvider-500.04.V0.30-30000000/00.30.V0.03/docs/
inflating: LSI_SBMA_VMWare_00.03.V0.03/VMW-ESX-5.0.0-LSIProvider-500.04.V0.30-30000000/00.30.V0.03/docs/bulletin.xml
inflating: LSI_SBMA_VMWare_00.03.V0.03/VMW-ESX-5.0.0-LSIProvider-500.04.V0.30-30000000/00.30.V0.03/docs/descriptor.xml
inflating: LSI_SBMA_VMWare_00.03.V0.03/VMW-ESX-5.0.0-LSIProvider-500.04.V0.30-30000000/00.30.V0.03/docs/Installation.txt
inflating: LSI_SBMA_VMWare_00.03.V0.03/VMW-ESX-5.0.0-LSIProvider-500.04.V0.30-30000000/00.30.V0.03/docs/InternalRAID_13.mof
...
Entpacken des aktuellen MegaCLI Vibs zur Steuerung und Administration des LSI Raid-Controllers
/vmfs/volumes/50614d6e-41adfe3a-9421-c86000bc3f13/patches/ # unzip CLI_VMWare_MN_8.04.07.zip
Archive: CLI_VMWare_MN_8.04.07.zip
inflating: MegaCliMN.zip
/vmfs/volumes/50614d6e-41adfe3a-9421-c86000bc3f13/patches/# unzip MegaCliMN.zip
Archive: MegaCliMN.zip
inflating: vmware-esx-MegaCli-8.04.07.vib
Installation der Vibs
cp vmware-esx-MegaCli-8.04.07.vib /tmp/
cp vmware-esx-provider-lsiprovider.vib /tmp/
/tmp # esxcli software vib install -v /tmp/vmware-esx-provider-LSIProvider.vib
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: LSI_bootbank_LSIProvider_500.04.V0.24-261033
VIBs Removed:
VIBs Skipped:
/tmp # esxcli software vib install -v /tmp/vmware-esx-MegaCli-8.04.07.vib --no-sig-check
Installation Result
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed: LSI_bootbank_vmware-esx-MegaCli-8.04.07_8.04.07-01
VIBs Removed:
VIBs Skipped:
Nach der Installation sollte man dringend ein Neustart machen.
Anzeige der installierten Vibs
~ # esxcli software vib list
Name Version Vendor Acceptance Level Install Date
-------------------------- ---------------------------------- ------ ---------------- ------------
lsiprovider 500.04.V0.30-3000000 LSI VMwareAccepted 2012-09-25
scsi-3w-9xxx 3.26.08.036-1OEM.500.0.0.406165 LSI VMwareCertified 2012-09-25
vmware-esx-MegaCli-8.04.07 8.04.07-01 LSI PartnerSupported 2012-09-25
ata-pata-amd 0.3.10-3vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
ata-pata-atiixp 0.4.6-3vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
ata-pata-cmd64x 0.2.5-3vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
ata-pata-hpt3x2n 0.3.4-3vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
...
vSwitch Konfiguration
#Add new vSwitch for LAN-Extern
esxcfg-vswitch -A 'LAN-Extern' vSwitch0
#Add new vSwitch for vSwitch-Intern
esxcfg-vswitch -a vSwitch-Intern
#Add Portgroup to vSwitch-Intern
esxcfg-vswitch -A 'LAN-Intern' vSwitch-Intern
#Add new vSwitch for vSwitch-Subnet
esxcfg-vswitch -a vSwitch-Subnet
#Add Portgroup to vSwitch-Subnet
esxcfg-vswitch -A 'LAN-Subnet' vSwitch-Subnet
Zusammenfassung aller schritte in einem Skript
wget http://dl.virtpro.eu/vmware/scripts/configure.sh