Homelab the current state

It’s time for a new update about my new Homelab. In the past I was running HP Microserver 2x N40L and 1x Gen8. All these machines are still here but no longer in use and will be for sale soon. My new Homelab contains now 2x HP ML10v2, 1x Zyxel 16 Gbit Switch, 1x Lenovo ix4-300d storage.

2x Server HP ML10 v2: HP ProLiant ML10 v2 G3240-Server (nicht Hot-Plug-fähig, 4 GB-U, B120i, 4 LFF, 350-W-Netzteil)
2x SSD adapter per Server: Kingston SNA-DC2/35 SATA DriveCarrier Einbaurahmen für 6,4 cm (2,5 Zoll) bis 8,9 cm (3,5 Zoll) schwarz
Memory: Samsung 8GB (1x 8GB) DDR3 1600MHz (PC3 12800E) 2Rx8 ECC Unbuffered Dimm Server Workstation Arbeitsspeicher RAM Memory
1x Zyxel 16 Port Gbit Switch: Zyxel GS1100-16-EU0101F Gigabit Switch (16-Port, RJ-45)
1x Lenovo ix4-300d Storage: Lenovo Iomega ix4-300d Network Storage (0TB Diskless EMEA, Marvell Armada TM XP, 1,3GHz, 4x HDD, 512MB RAM)
2x HP Quad Network adapter: HP 538696-B21 PCI-e Quad Port Gigabit Server Adapter
2x Intel SSD 240GB: Intel SSDSC2BW240H601 interner Solid State Drive 240GB schwarz
4x WD RED 2TB: WD 2TB Red interne NAS-Festplatte (8,9 cm (3,5 Zoll), 5400rpm, SATA III) WD20EFRX

xmesx01e

xmesx02e

I have installed vSphere 6 on my servers. The Lenovo storage is providing 2 iSCSI targets to fulfil the requirement of 2 shared datastores for HA. Both datastores are part of an SDRS cluster. Besides this I have created a cluster which has HA and DRS enabled. On the network side I have created 3 standard vSwitches each with 2 Gbit network adapters. vSwitch0 is for the virtual machine traffic. vSwitch1 is for iSCSI and vSwitch2 is for VMotion. Yes I know thats a bit the old school way of networking but hey thats only my Homelab so a dvSwitch with Network IO control should not be required. A simple setup is sufficient for Homelab use. Maybe in the future I’m going to change it but that will have to wait until the next vSphere release.

So whats next?

Next will be to setup vRealize Operations Manager 6.3 to improve my troubleshooting knowledge of this product. Additionally I have an idea about how to simplify the troubleshooting and improve the supportability of the product. But this is a different topic. Today I’m going to install the lastest ESXi patches and check for upgrades of my vCenter appliance.

More to come …

UPDATE: How to update ESXi from online repository

UPDATEHP has changed the URL of their online repository. I have adjusted the post accordingly.

Here is a way how to install patches using esxcli directly on the ESXi host from an online repository

I found a great side about the available patches including commands to install them.

https://esxi-patches.v-front.de/

Example host: HP Microserver Gen8

Get a list of all available updates

esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

Example output:

[root@micro-gen8:~] esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
Name                              Vendor        Acceptance Level
--------------------------------  ------------  ----------------
ESXi-5.1.0-20140102001-standard   VMware, Inc.  PartnerSupported
ESXi-5.0.0-20120904001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.0.0-20130504001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140704001-standard   VMware, Inc.  PartnerSupported
ESXi-5.0.0-20140704001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.1.0-20141004001-standard   VMware, Inc.  PartnerSupported
ESXi-5.1.0-20141202001-standard   VMware, Inc.  PartnerSupported
ESXi-5.0.0-20111104001-standard   VMware, Inc.  PartnerSupported
ESXi-5.0.0-20131001001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150204001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.1.0-20150304001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.1.0-20141202001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.1.0-20130701001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140604001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20151104001-standard   VMware, Inc.  PartnerSupported
ESXi-5.1.0-20141201001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.0.0-20121202001-standard   VMware, Inc.  PartnerSupported
ESXi-5.1.0-20140604001-standard   VMware, Inc.  PartnerSupported
ESXi-5.0.0-20130801001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.1.0-20151004001-standard   VMware, Inc.  PartnerSupported
ESXi-5.1.0-20140102001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.0.0-20120701001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150101001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20141004001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140302001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20141204001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.0.0-20130304001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.1.0-20150304001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20160104001-standard   VMware, Inc.  PartnerSupported
ESXi-5.0.0-20120504001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20151004001-no-tools   VMware, Inc.  PartnerSupported
ESXi-6.0.0-2494585-standard       VMware, Inc.  PartnerSupported
ESXi-5.1.0-20140604001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.0.0-20140501001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160204001-standard   VMware, Inc.  PartnerSupported
ESXi-5.1.0-20121201001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.0.0-469512-standard        VMware, Inc.  PartnerSupported
ESXi-5.0.0-20150204001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150504001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.0.0-20140101001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150204001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150902001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.0.0-20120701001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.0.0-20141204001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140901001s-standard  VMware, Inc.  PartnerSupported
...

Get a list of all available updates for ESXi 6 released in 2016

esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-6.0.0-2016
[root@micro-gen8:~] esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-6.0.0-2016
ESXi-6.0.0-20160104001-no-tools   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160101001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160101001s-standard  VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160104001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160204001-no-tools   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160204001-standard   VMware, Inc.  PartnerSupported

To install a update package:

esxcli network firewall ruleset set -e true -r httpClient
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.0.0-20160204001-standard
esxcli network firewall ruleset set -e false -r httpClient

The same is possible with for example HP packages for ESXi

esxcli software vib update --depot=http://vibsdepot.hpe.com/hpq/latest/index.xml --force

Example output:

[root@micro-gen8:~] esxcli software vib update --depot=http://vibsdepot.hpe.com/hpq/latest/index.xml --force
Installation Result
   Message: Host is not changed.
   Reboot Required: false
   VIBs Installed:
   VIBs Removed:
   VIBs Skipped: Hewlett-Packard_bootbank_char-hpcru_6.0.6.14-1OEM.600.0.0.2159203, Hewlett-Packard_bootbank_char-hpilo_600.9.0.2.8-1OEM.600.0.0.2159203, Hewlett-Packard_bootbank_hp-ams_600.10.3.0-15.2494585, Hewlett-Packard_bootbank_hp-conrep_6.0.0.1-0.0.13.2159203, Hewlett-Packard_bootbank_hp-esxi-fc-enablement_600.2.4.6-2494585, Hewlett-Packard_bootbank_hpbootcfg_6.0.0.02-01.00.11.2159203, Hewlett-Packard_bootbank_hpnmi_600.2.3.14-2159203, Hewlett-Packard_bootbank_hponcfg_6.0.0.04-00.13.17.2159203, Hewlett-Packard_bootbank_hpssacli_2.30.6.0-6.0.0.2159203, Hewlett-Packard_bootbank_hptestevent_6.0.0.01-00.00.8.2159203
esxcli software vib update --depot=http://vibsdepot.hpe.com/hpq/latest/index-drv.xml --force 

Example output:

[root@micro-gen8:~] esxcli software vib update --depot=http://vibsdepot.hpe.com/hpq/latest/index-drv.xml --force
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: 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_scsi-qla4xxx_644.55.36.0-1OEM.550.0.0.1331820
   VIBs Removed: QLogic_bootbank_scsi-qla4xxx_644.6.04.0-1OEM.600.0.0.2159203, VMware_bootbank_ima-qla4xxx_2.02.18-1vmw.600.0.0.2494585, VMware_bootbank_net-mlx4-core_1.9.7.0-1vmw.600.0.0.2494585, VMware_bootbank_net-mlx4-en_1.9.7.0-1vmw.600.0.0.2494585
   VIBs Skipped: BRCM_bootbank_net-tg3_3.137l.v60.1-1OEM.600.0.0.2494585, EMU_bootbank_elxnet_10.5.121.7-1OEM.600.0.0.2159203, EMU_bootbank_ima-be2iscsi_10.5.101.0-1OEM.600.0.0.2159203, EMU_bootbank_lpfc_10.5.70.0-1OEM.600.0.0.2159203, EMU_bootbank_scsi-be2iscsi_10.5.101.0-1OEM.600.0.0.2159203, Emulex_bootbank_scsi-lpfc820_10.5.55.0-1OEM.500.0.0.472560, Hewlett-Packard_bootbank_scsi-hpdsa_5.5.0.46-1OEM.550.0.0.1331820, Hewlett-Packard_bootbank_scsi-hpsa_6.0.0.114-1OEM.600.0.0.2494585, Hewlett-Packard_bootbank_scsi-hpvsa_5.5.0.100-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, 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, MEL_bootbank_nmlx4-core_3.1.0.0-1OEM.600.0.0.2348722, MEL_bootbank_nmlx4-en_3.1.0.0-1OEM.600.0.0.2348722, MEL_bootbank_nmst_4.0.0.20-1OEM.600.0.0.2295424, Mellanox_bootbank_net-mst_4.0.0.20-1OEM.550.0.0.1331820, QLogic_bootbank_misc-cnic-register_1.712.50.v60.1-1OEM.600.0.0.2494585, QLogic_bootbank_net-bnx2_2.2.5j.v60.3-1OEM.600.0.0.2494585, QLogic_bootbank_net-bnx2x_2.712.50.v60.6-1OEM.600.0.0.2494585, QLogic_bootbank_net-cnic_2.712.50.v60.6-1OEM.600.0.0.2494585, QLogic_bootbank_net-nx-nic_6.0.643-1OEM.600.0.0.2494585, QLogic_bootbank_net-qlcnic_6.1.191-1OEM.600.0.0.2494585, QLogic_bootbank_qlnativefc_2.1.27.0-1OEM.600.0.0.2768847, QLogic_bootbank_scsi-bfa_3.2.5.0-1OEM.550.0.0.1331820, QLogic_bootbank_scsi-bnx2fc_1.712.50.v60.7-1OEM.600.0.0.2494585, QLogic_bootbank_scsi-bnx2i_2.712.50.v60.4-1OEM.600.0.0.2494585, QLogic_bootbank_scsi-qla2xxx_934.5.45.0-1OEM.500.0.0.472560