User Tools

Site Tools


Sidebar

Υπηρεσίες

Υποστήριξη (Support)

Εργαστήρια

Αίθουσες Διδασκαλίας

Αίθουσες Τηλεδιάσκεψης

Εκτυπωτές και φωτοτυπικά



admin:esxi

Host

Installing

ESXi 5.5 bootable USB creation via unetbootin.

Updating 5.5 to 5.5U3

# ssh <host>
The time and date of this login have been sent to the system logs.
 
VMware offers supported, powerful system administration tools.  Please
see www.vmware.com/go/sysadmintools for details.
 
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.

# vim-cmd hostsvc/maintenance_mode_enter
'vim.Task:haTask-ha-host-vim.HostSystem.enterMaintenanceMode-336526081'
# esxcli software vib update -d /vmfs/volumes/datastore1/updates/VMware-ESXi-5.5.0-Update3-3116895-HP-550.9.4.26-Nov2015-depot.zip
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: Broadcom_bootbank_net-tg3_3.137l.v55.1-1OEM.550.0.0.1331820, Emulex_bootbank_elxnet_10.5.121.7-1OEM.550.0.0.1331820, Emulex_bootbank_ima-be2iscsi_10.5.65.7-1OEM.550.0.0.1331820, Emulex_bootbank_lpfc_10.5.39.0-1OEM.550.0.0.1331820, Emulex_bootbank_scsi-be2iscsi_10.5.65.7-1OEM.550.0.0.1331820, Hewlett-Packard_bootbank_char-hpcru_5.5.6.6-1OEM.550.0.0.1198610, Hewlett-Packard_bootbank_char-hpilo_550.9.0.2.3-1OEM.550.0.0.1198610, Hewlett-Packard_bootbank_hp-ams_550.10.3.0-15.1198610, Hewlett-Packard_bootbank_hp-build_550.9.4.26-1198610, Hewlett-Packard_bootbank_hp-smx-provider_550.03.09.00.15-1198610, Hewlett-Packard_bootbank_hpbootcfg_5.5.0.02-01.00.5.1198610, Hewlett-Packard_bootbank_hpnmi_550.2.3.5-1198610, Hewlett-Packard_bootbank_hponcfg_5.5.0.4.4-0.3.1198610, Hewlett-Packard_bootbank_hpssacli_2.30.6.0-5.5.0.1198611, Hewlett-Packard_bootbank_hptestevent_5.5.0.01-00.01.4.1198610, Hewlett-Packard_bootbank_scsi-hpsa_5.5.0.114-1OEM.550.0.0.1331820, Hewlett-Packard_bootbank_scsi-hpvsa_5.5.0.100-1OEM.550.0.0.1331820, Intel_bootbank_net-igb_5.2.10-1OEM.550.0.0.1331820, Intel_bootbank_net-ixgbe_3.21.4.3-1OEM.550.0.0.1331820, LSI_bootbank_scsi-mpt2sas_15.10.06.00.1vmw-1OEM.550.0.0.1198610, Mellanox_bootbank_net-mlx4-core_1.9.9.4-1OEM.550.0.0.1331820, Mellanox_bootbank_net-mlx4-en_1.9.9.4-1OEM.550.0.0.1331820, QLogic_bootbank_ima-qla4xxx_500.2.01.31-1vmw.0.3.100400, QLogic_bootbank_misc-cnic-register_1.712.50.v55.1-1OEM.550.0.0.1331820, QLogic_bootbank_net-bnx2_2.2.5j.v55.3-1OEM.550.0.0.1331820, QLogic_bootbank_net-bnx2x_2.712.50.v55.6-1OEM.550.0.0.1331820, QLogic_bootbank_net-cnic_2.712.50.v55.6-1OEM.550.0.0.1331820, QLogic_bootbank_net-nx-nic_5.5.643-1OEM.550.0.0.1331820, QLogic_bootbank_net-qlcnic_5.5.190-1OEM.550.0.0.1331820, QLogic_bootbank_qlnativefc_1.1.55.0-1OEM.550.0.0.1331820, QLogic_bootbank_scsi-bnx2fc_1.712.50.v55.7-1OEM.550.0.0.1331820, QLogic_bootbank_scsi-bnx2i_2.712.50.v55.4-1OEM.550.0.0.1331820, QLogic_bootbank_scsi-qla4xxx_644.55.36.0-1OEM.550.0.0.1331820, VMware_bootbank_esx-base_5.5.0-3.71.3116895, VMware_bootbank_esx-tboot_5.5.0-2.33.2068190, VMware_bootbank_lsi-mr3_0.255.03.01-2vmw.550.3.68.3029944, VMware_bootbank_lsi-msgpt3_00.255.03.03-1vmw.550.1.15.1623387, VMware_bootbank_misc-drivers_5.5.0-3.68.3029944, VMware_bootbank_mtip32xx-native_3.3.4-1vmw.550.1.15.1623387, VMware_bootbank_net-e1000e_3.2.2.1-2vmw.550.3.68.3029944, VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.550.2.39.2143827, VMware_bootbank_rste_2.0.2.0088-4vmw.550.1.15.1623387, VMware_bootbank_sata-ahci_3.0-22vmw.550.3.68.3029944, VMware_bootbank_sata-ata-piix_2.12-10vmw.550.2.33.2068190, VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.3.68.3029944, VMware_bootbank_scsi-mptsas_4.23.01.00-9vmw.550.3.68.3029944, VMware_bootbank_scsi-mptspi_4.23.01.00-9vmw.550.3.68.3029944, VMware_bootbank_scsi-qla2xxx_902.k1.1-12vmw.550.3.68.3029944, VMware_locker_tools-light_5.5.0-3.68.3029944
 VIBs Removed: Broadcom_bootbank_misc-cnic-register_1.78.1.v55.7-1OEM.550.0.0.1198611, Broadcom_bootbank_net-bnx2_2.2.3t.v55.7-1OEM.550.0.0.1198611, Broadcom_bootbank_net-bnx2x_1.78.28.v55.2-1OEM.550.0.0.1198611, Broadcom_bootbank_net-cnic_1.78.12.v55.6-1OEM.550.0.0.1198611, Broadcom_bootbank_net-tg3_3.133d.v55.1-1OEM.550.0.0.1198611, Broadcom_bootbank_scsi-bnx2fc_1.78.16.v55.4-1OEM.550.0.0.1198611, Broadcom_bootbank_scsi-bnx2i_2.78.11.v55.4-1OEM.550.0.0.1198611, Emulex_bootbank_elxnet_10.0.575.7-1OEM.550.0.0.1198611, Emulex_bootbank_ima-be2iscsi_4.6.261.0-1OEM.550.0.0.1198611, Emulex_bootbank_lpfc_10.0.575.8-1OEM.550.0.0.1198611, Emulex_bootbank_scsi-be2iscsi_4.6.261.0-1OEM.550.0.0.1198611, Hewlett-Packard_bootbank_char-hpcru_5.5.4.1-1OEM.550.0.0.1198610, Hewlett-Packard_bootbank_char-hpilo_550.9.0.0.9-1OEM.550.0.0.1198611, Hewlett-Packard_bootbank_hp-ams_550.9.4.0-29.1198611, Hewlett-Packard_bootbank_hp-build_5.71.3-1198611, Hewlett-Packard_bootbank_hp-smx-provider_550.03.03.20.2-1198611, Hewlett-Packard_bootbank_hpbootcfg_5.5.0.01-01.02.10.1198611, Hewlett-Packard_bootbank_hpnmi_550.2.2.26-1198610, Hewlett-Packard_bootbank_hponcfg_5.5.0.04-00.11.13.1198611, Hewlett-Packard_bootbank_hpssacli_1.50.4.0-5.5.0.1198611, Hewlett-Packard_bootbank_hptestevent_5.5.0.01-00.00.6.1198611, Hewlett-Packard_bootbank_scsi-hpsa_5.5.0.50-1OEM.550.0.0.1198611, Hewlett-Packard_bootbank_scsi-hpvsa_5.5.0-68OEM.550.0.0.1198611, Intel_bootbank_net-igb_4.2.16.8-1OEM.550.0.0.1198611, Intel_bootbank_net-ixgbe_3.15.1.8-1OEM.550.0.0.1198611, LSI_bootbank_scsi-mpt2sas_15.10.05.00.1vmw-1OEM.550.0.0.1198610, QLogic_bootbank_ima-qla4xxx_500.2.01.31-1vmw.0.3.040121, QLogic_bootbank_net-qlcnic_5.5.164-1OEM.550.0.0.1198611, QLogic_bootbank_qlnativefc_1.1.7.0-1OEM.550.0.0.1198610, QLogic_bootbank_scsi-qla4xxx_634.55.20.0-1OEM.550.0.0.1198610, VMware_bootbank_esx-base_5.5.0-0.0.1331820, VMware_bootbank_esx-tboot_5.5.0-0.0.1331820, VMware_bootbank_lsi-mr3_0.255.03.01-1vmw.550.0.0.1331820, VMware_bootbank_lsi-msgpt3_00.255.03.03-1vmw.550.0.0.1331820, VMware_bootbank_misc-drivers_5.5.0-0.0.1331820, VMware_bootbank_mtip32xx-native_3.3.4-1vmw.550.0.0.1331820, VMware_bootbank_net-e1000e_1.1.2-4vmw.550.0.0.1331820, VMware_bootbank_net-mlx4-core_1.9.7.0-1vmw.550.0.0.1331820, VMware_bootbank_net-mlx4-en_1.9.7.0-1vmw.550.0.0.1331820, VMware_bootbank_net-nx-nic_5.5.634-3vmw.550.0.0.1198611, VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.550.0.0.1331820, VMware_bootbank_rste_2.0.2.0088-4vmw.550.0.0.1331820, VMware_bootbank_sata-ahci_3.0-17vmw.550.0.0.1331820, VMware_bootbank_sata-ata-piix_2.12-9vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.0.0.1331820, VMware_bootbank_scsi-mptsas_4.23.01.00-9vmw.550.0.0.1331820, VMware_bootbank_scsi-mptspi_4.23.01.00-9vmw.550.0.0.1331820, VMware_bootbank_scsi-qla2xxx_902.k1.1-9vmw.550.0.0.1331820, VMware_locker_tools-light_5.5.0-0.0.1331820
 VIBs Skipped: Hewlett-Packard_bootbank_hp-conrep_5.5.0.1-0.0.8.1198610, Hewlett-Packard_bootbank_hp-esxi-fc-enablement_550.2.4.6-1198610, Hewlett-Packard_bootbank_scsi-hpdsa_5.5.0.46-1OEM.550.0.0.1331820, Intel_bootbank_intelcim-provider_0.5-1.4, Intel_bootbank_net-i40e_1.2.48-1OEM.550.0.0.1331820, Mellanox_bootbank_net-mst_4.0.0.20-1OEM.550.0.0.1331820, QLogic_bootbank_scsi-bfa_3.2.5.0-1OEM.550.0.0.1331820, VMware_bootbank_ata-pata-amd_0.3.10-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-atiixp_0.4.6-4vmw.550.0.0.1331820, VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-pdc2027x_1.0-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-serverworks_0.4.3-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-sil680_0.4.8-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-via_0.3.3-2vmw.550.0.0.1331820, VMware_bootbank_block-cciss_3.6.14-10vmw.550.0.0.1331820, VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.550.0.0.1331820, VMware_bootbank_esx-dvfilter-generic-fastpath_5.5.0-0.0.1331820, VMware_bootbank_esx-xlibs_5.5.0-0.0.1331820, VMware_bootbank_esx-xserver_5.5.0-0.0.1331820, VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.550.0.0.1331820, VMware_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.550.0.0.1331820, VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.550.0.0.1331820, VMware_bootbank_net-be2net_4.6.100.0v-1vmw.550.0.0.1331820, VMware_bootbank_net-e1000_8.0.3.1-3vmw.550.0.0.1331820, VMware_bootbank_net-enic_1.4.2.15a-1vmw.550.0.0.1331820, VMware_bootbank_net-forcedeth_0.61-2vmw.550.0.0.1331820, VMware_bootbank_ohci-usb-ohci_1.0-3vmw.550.0.0.1331820, VMware_bootbank_sata-sata-nv_3.5-4vmw.550.0.0.1331820, VMware_bootbank_sata-sata-promise_2.12-3vmw.550.0.0.1331820, VMware_bootbank_sata-sata-sil24_1.1-1vmw.550.0.0.1331820, VMware_bootbank_sata-sata-sil_2.3-4vmw.550.0.0.1331820, VMware_bootbank_sata-sata-svw_2.3-3vmw.550.0.0.1331820, VMware_bootbank_scsi-aacraid_1.1.5.1-9vmw.550.0.0.1331820, VMware_bootbank_scsi-adp94xx_1.0.8.12-6vmw.550.0.0.1331820, VMware_bootbank_scsi-aic79xx_3.1-5vmw.550.0.0.1331820, VMware_bootbank_scsi-fnic_1.5.0.4-1vmw.550.0.0.1331820, VMware_bootbank_scsi-ips_7.12.05-4vmw.550.0.0.1331820, VMware_bootbank_scsi-lpfc820_8.2.3.1-129vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid-mbox_2.20.5.1-6vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid2_2.00.4-9vmw.550.0.0.1331820, VMware_bootbank_uhci-usb-uhci_1.0-3vmw.550.0.0.1331820, VMware_bootbank_xhci-xhci_1.0-2vmw.550.3.68.3029944
# vim-cmd hostsvc/maintenance_mode_exit
'vim.Task:haTask-ha-host-vim.HostSystem.exitMaintenanceMode-336526096'
# reboot

Synopsis:

# vim-cmd hostsvc/maintenance_mode_enter
# esxcli software vib update -d /vmfs/volumes/datastore1/updates/VMware-ESXi-5.5.0-Update3-3116895-HP-550.9.4.26-Nov2015-depot.zip
# vim-cmd hostsvc/maintenance_mode_exit
# reboot

Update to ESXi550-201809001

# vim-cmd hostsvc/maintenance_mode_enter
'vim.Task:haTask-ha-host-vim.HostSystem.enterMaintenanceMode-378477354'
# esxcli software profile update -d /vmfs/volumes/datastore1/updates/ESXi550-201809001.zip -p ESXi-5.5.0-20180904001-standard
Update Result
 Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
 Reboot Required: true
 VIBs Installed: VMware_bootbank_cpu-microcode_5.5.0-3.120.9313066, VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.550.3.95.4345813, VMware_bootbank_esx-base_5.5.0-3.124.9919047, VMware_bootbank_esx-tboot_5.5.0-3.100.4722766, VMware_bootbank_esx-xserver_5.5.0-3.103.6480267, VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.550.3.124.9919047, VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.550.3.124.9919047, VMware_bootbank_lsi-msgpt3_00.255.03.03-2vmw.550.3.78.3248547, VMware_bootbank_misc-drivers_5.5.0-3.95.4345813, VMware_bootbank_net-be2net_4.6.100.0v-1vmw.550.0.0.1331820, VMware_bootbank_net-e1000e_3.2.2.1-2vmw.550.3.78.3248547, VMware_bootbank_sata-ahci_3.0-22vmw.550.3.89.4179633, VMware_bootbank_scsi-lpfc820_8.2.3.1-129vmw.550.0.0.1331820, VMware_bootbank_xhci-xhci_1.0-3vmw.550.3.95.4345813, VMware_locker_tools-light_5.5.0-3.92.4345810
 VIBs Removed: VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.550.0.0.1331820, VMware_bootbank_esx-base_5.5.0-3.71.3116895, VMware_bootbank_esx-tboot_5.5.0-2.33.2068190, VMware_bootbank_esx-xserver_5.5.0-0.0.1331820, VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.550.0.0.1331820, VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.550.0.0.1331820, VMware_bootbank_lsi-msgpt3_00.255.03.03-1vmw.550.1.15.1623387, VMware_bootbank_misc-drivers_5.5.0-3.68.3029944, VMware_bootbank_net-e1000e_3.2.2.1-2vmw.550.3.68.3029944, VMware_bootbank_sata-ahci_3.0-22vmw.550.3.68.3029944, VMware_locker_tools-light_5.5.0-3.68.3029944
 VIBs Skipped: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-atiixp_0.4.6-4vmw.550.0.0.1331820, VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-pdc2027x_1.0-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-serverworks_0.4.3-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-sil680_0.4.8-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-via_0.3.3-2vmw.550.0.0.1331820, VMware_bootbank_block-cciss_3.6.14-10vmw.550.0.0.1331820, VMware_bootbank_elxnet_10.2.309.6v-1vmw.550.3.68.3029944, VMware_bootbank_esx-dvfilter-generic-fastpath_5.5.0-0.0.1331820, VMware_bootbank_esx-ui_1.21.1-9210156, VMware_bootbank_esx-xlibs_5.5.0-0.0.1331820, VMware_bootbank_ima-qla4xxx_2.01.31-1vmw.550.0.0.1331820, VMware_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.550.0.0.1331820, VMware_bootbank_lpfc_10.0.100.1-1vmw.550.0.0.1331820, VMware_bootbank_lsi-mr3_0.255.03.01-2vmw.550.3.68.3029944, VMware_bootbank_misc-cnic-register_1.72.1.v50.1i-1vmw.550.0.0.1331820, VMware_bootbank_mtip32xx-native_3.3.4-1vmw.550.1.15.1623387, VMware_bootbank_net-bnx2_2.2.3d.v55.2-1vmw.550.0.0.1331820, VMware_bootbank_net-bnx2x_1.72.56.v55.2-1vmw.550.0.0.1331820, VMware_bootbank_net-cnic_1.72.52.v55.1-1vmw.550.0.0.1331820, VMware_bootbank_net-e1000_8.0.3.1-3vmw.550.0.0.1331820, VMware_bootbank_net-enic_1.4.2.15a-1vmw.550.0.0.1331820, VMware_bootbank_net-forcedeth_0.61-2vmw.550.0.0.1331820, VMware_bootbank_net-igb_5.0.5.1.1-1vmw.550.2.54.2403361, VMware_bootbank_net-ixgbe_3.7.13.7.14iov-12vmw.550.2.62.2718055, VMware_bootbank_net-mlx4-core_1.9.7.0-1vmw.550.0.0.1331820, VMware_bootbank_net-mlx4-en_1.9.7.0-1vmw.550.0.0.1331820, VMware_bootbank_net-nx-nic_5.0.621-1vmw.550.0.0.1331820, VMware_bootbank_net-tg3_3.123c.v55.5-1vmw.550.2.33.2068190, VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.550.2.39.2143827, VMware_bootbank_ohci-usb-ohci_1.0-3vmw.550.0.0.1331820, VMware_bootbank_qlnativefc_1.0.12.0-1vmw.550.0.0.1331820, VMware_bootbank_rste_2.0.2.0088-4vmw.550.1.15.1623387, VMware_bootbank_sata-ata-piix_2.12-10vmw.550.2.33.2068190, VMware_bootbank_sata-sata-nv_3.5-4vmw.550.0.0.1331820, VMware_bootbank_sata-sata-promise_2.12-3vmw.550.0.0.1331820, VMware_bootbank_sata-sata-sil24_1.1-1vmw.550.0.0.1331820, VMware_bootbank_sata-sata-sil_2.3-4vmw.550.0.0.1331820, VMware_bootbank_sata-sata-svw_2.3-3vmw.550.0.0.1331820, VMware_bootbank_scsi-aacraid_1.1.5.1-9vmw.550.0.0.1331820, VMware_bootbank_scsi-adp94xx_1.0.8.12-6vmw.550.0.0.1331820, VMware_bootbank_scsi-aic79xx_3.1-5vmw.550.0.0.1331820, VMware_bootbank_scsi-bnx2fc_1.72.53.v55.1-1vmw.550.0.0.1331820, VMware_bootbank_scsi-bnx2i_2.72.11.v55.4-1vmw.550.0.0.1331820, VMware_bootbank_scsi-fnic_1.5.0.4-1vmw.550.0.0.1331820, VMware_bootbank_scsi-hpsa_5.5.0-44vmw.550.0.0.1331820, VMware_bootbank_scsi-ips_7.12.05-4vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid-mbox_2.20.5.1-6vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.3.68.3029944, VMware_bootbank_scsi-megaraid2_2.00.4-9vmw.550.0.0.1331820, VMware_bootbank_scsi-mpt2sas_14.00.00.00-3vmw.550.3.68.3029944, VMware_bootbank_scsi-mptsas_4.23.01.00-9vmw.550.3.68.3029944, VMware_bootbank_scsi-mptspi_4.23.01.00-9vmw.550.3.68.3029944, VMware_bootbank_scsi-qla2xxx_902.k1.1-12vmw.550.3.68.3029944, VMware_bootbank_scsi-qla4xxx_5.01.03.2-6vmw.550.0.0.1331820, VMware_bootbank_uhci-usb-uhci_1.0-3vmw.550.0.0.1331820
# vim-cmd hostsvc/maintenance_mode_exit
'vim.Task:haTask-ha-host-vim.HostSystem.exitMaintenanceMode-378477372'
# reboot

Synopsis:

# vim-cmd hostsvc/maintenance_mode_enter
# esxcli software profile update -d /vmfs/volumes/datastore1/updates/ESXi550-201809001.zip -p ESXi-5.5.0-20180904001-standard
# vim-cmd hostsvc/maintenance_mode_exit
# reboot  

Embedded host client (web access)

ESXi Embedded Host Client

# esxcli software vib install -v /vmfs/volumes/datastore1/VIBs/esxui-signed-12086396.vib

Access to guest consoles is via VMPlayer/VMRC.

Small Footprint CIM Broker Daemon (SFCBD)

The Small Footprint CIM Broker Daemon (SFCBD) is not running. Storage health data is reported by this daemon. Please see this KB article for information on enabling this service.
https://kb.vmware.com/s/article/1025757

HP SSACLI Smartarray utility

Logical drives details:

# /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld all show detail

Physical drives details:

# /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show detail

LED on:

# /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd <ID> modify led=on

Guests

Migration from vmplayer etc

error:

Failed to open disk scsi0:0: Unsupported and/or invalid disk type 7

clone disk to new file:

# vmkfstools -i <full path to current vmdk> -d thin <full path to cloned vmdk>

remove old from config and add new.

FreeBSD

VM tools:

# pkg inst open-vm-tools-nox11

/etc/rc.conf:

vmware_guest_vmblock_enable="YES"
vmware_guest_vmhgfs_enable="NO"
vmware_guest_vmmemctl_enable="YES"
vmware_guest_vmxnet_enable="YES"
vmware_guestd_enable="YES"

DL380ws lab 24h clones

- Create VM

  1. Name: dl380wsXX
  2. Compatibility: ESXI 5.1 and later (VM version 9)
  3. Guest OS family: Linux
  4. Guest OS Version: Ubuntu Linux 64-bit
  1. Storage: 600GB datastore
  1. CPUs: 4
  2. RAM: 2GB
  3. HDD: 128GB thin provisioned
  4. Network: VLAN74 Network

- Setup drbl, scylla, uranus for boot/usage (see other guide)

- Boot from network (PXE) and restore ubuntu image

  1. Copy MAC address (Edit settings→Network Adapter 1→MAC Address)
  2. Add to drbl dhcpd.conf
  3. service isc-dhcp-server restart

- Install open-vm-tools (instead of vmware tools)

apt -y install open-vm-tools

- Stop and disable lightdm (gui not needed)

service lightdm stop
systemctl disable lightdm.service

- Enable VM autostart (ESXi→VM→Autostart→Enable)

- Set noshutdown flag

touch /etc/cse_updates/noshutdown

Install cse updates (last update in ubuntu22.04-hp705ws02-2022-10-10-12-img = openjdk8)

- Include updates:

python3-mysql-connector.sh cache-download.sh turnin-suid.sh ncal.sh nam-fixed.sh 2204extras.sh etc.

- Exclude gui based/VM updates:

orcad-quartus.sh gns3lab.sh chrome.sh unity3d.sh texstudio.sh

Convert thick vmdk disk files to thin

vmkfstools -i vm01.vmdk -d thin thin-vm01.vmdk

Punchzero ("defrag") vmdk files

vmkfstools -K <name>.vmdk

iSCSI multipath (OLD, decommissioned 9/2022)

EMC VNX e3100 side

VNXe-SPA-eth3 192.168.200.20
VNXe-SPB-eth3 192.168.200.40
uranus-iSCSI-staff -> EMC nfspool (SPB) -> VM sdb1
uranus-iSCSI-students -> EMC cifspool (SPA) -> VM sdc1
uranus-iSCSI-grads -> EMC nfspool (SPB) -> VM sdd1

ESXi side

2014/11/19:

w/o ethernet passthrough: vmswitches used

http://www.youtube.com/watch?v=Mu-HyD3E3cw

vswitch1 (uranus-iSCSI-switch), ESXi host ethernet ports #3 & #4:

192.168.200.101/255.255.255.0
192.168.200.121/255.255.255.0

Debian VM side

debian rescan SCSI bus:

# echo "- - -" > /sys/class/scsi_host/host0/scan

(0 is the scsi host bus you want to scan.)

admin/esxi.txt · Last modified: 2024/03/29 11:51 by peppe