Skip to content

Upgrade HP OEM ESXi 6.5 to 6.7 via Command-line without vCenter

May 31, 2018

I have a HPE ProLiant DL160 Gen9 server running as a standalone ESXi 6.5U1 (5969303) host.  The build number is important, to determine your build number see Build numbers and versions of VMware ESXi/ESX (2143832). It isn’t possible to upgrade ESXi 6.5U2 (8294914) to ESXi 6.7GA (8169922) because ESXi 6.5U2 (May 2018) was released after ESXi 6.7GA (April 2018).  See Important information before upgrading to vSphere 6.7 (53704) If you are currently running ESXi 6.5U2, you will need to wait until ESXi 6.7U1 is released.

Since I don’t have vCenter managing this host I am unable to upgrade using VMware Update Manager (VUM), which would be my preferred method.  An alternative to VUM would be to upgrade the host by mounting the ESXi ISO image, rebooting the host, and running the upgrade from the console.  Unfortunately I am away from my lab and I do not have a license on this server for to use the Integrated Lights Out (iLO) remote console.

 

I do however have SSH access to this host which would allow me to use ESXCLI from the command-line to upgrade this host.  The process was very simple:

  1. Download the HPE Custom Image for VMware ESXi 6.7 Offline Bundle
  2. Upload the Offline Bundle to your local datastore.  Note: Do not unzip the file.
  3. Place the host in maintenance mode esxcli system maintenanceMode set –enable true
  4. Run the command esxcli software vib update -d (see sample below)

Screen Shot 2018-05-30 at 4.41.46 PMReminder: After the host has been rebooted remove it from maintenance mode esxcli system maintenanceMode set –enable false

Advertisements

FIX: Sonos Playbase No Sound from Apple TV, Amazon Firestick, Google Play, or DVD

February 19, 2018

I recently purchased a SONOS PLAYBASE for my Sharp Aquos 60″ LED TV (LC-60LE600U).  The sound quality of the PLAYBASE is a significant improvement over the internal TV speakers, the PLAYBASE certainly lives up to the hype and its 4.7/5.0 rating at Best Buy.

I followed the installation instructions and connected the supplied optical audio cable from the digital audio out (optical) of my TV to the audio input of the PLAYBASE.

I then reviewed the Sharp LC-60LE600U Operations Manual and made the following two configuration changes in the TV On-Screen Display Menu:

  • Dolby Digital: from the Audio Setup section on Page 21, “The optical output terminal outputs audio signal in Dolby Digital form. It reproduces sound from surround program of digital.
  • Variable: from the Output Selection section on Page 25, “Sound via the OUTPUT terminal is adjusted with VOL on the remote control unit or on the TV. Sound via speaker is muted.”

Note: The Connecting an Audio Amplifier Section of Page 12 states, “*4 The DIGITAL AUDIO OUTPUT terminal does not output some signals, depending on devices and software.”   At the bottom of the page it also states,  “The HDMI terminals only support digital signal.”  I didn’t understand the impact this would have until I contacted Sharp Product Support.

My Apple TV was connected from the HDMI out to the HDMI1 input on the back of my Sharp Aquos TV.  When I switched the On-Screen Display Menu input to HDMI1 where my Apple TV connected, I could see the Home Screen of my Apple TV but there wasn’t any sound.

I attempted the following steps below to troubleshoot my problem:

  1. Switch the HDMI cable from the Apple TV to a different HDMI input on the Sharp Aquos TV.  I tried HDMI1, HDMI2, and HDMI3, I also Powered-off/Powered-on the TV before each connection to a new HDMI Port. <unsuccessful>
  2. Switch the HDMI cable, including this Monster Cable HDMI Cable.  Thinking it could be a faulty cable, I tried two other HDMI cables. <unsuccessful>
  3. Upgrade the Firmware of the Sharp Aquos TV.  I successfully upgraded the TV to the latest firmware from Sharp and was still unable to get any sound after repeating Step 1. <unsuccessful>

Unfortunately, I still wasn’t able to get any sound out from the Apple TV out of the PlayBase.  I finally decided to contact Sharp Product Support 1-800-BE-SHARP.  After speaking with Customer Service I learned that sound from HDMI input devices cannot be output through the Digital Audio Output.

Buying a new TV to solve the problem was out of the question, and the thought of switching the optical cable from my Sharp Aquos TV to the Apple TV every time I want to watch a movie would have been cumbersome.  I enjoyed the sound of the PLAYBASE enough to do a deeper dive and find a solution.

Since I own a 3rd Generation Apple TV (A1469), which includes an Optical Audio Output,  I initially purchased TOSLINK Digital Optical Fiber Optic Splitter to attempt to solve this problem.  I figured at $7.99 this was an inexpensive test.  I connected my TV Digital Audio Output and Apple TV Optical Output to the Splitter, then connected the Splitter to the audio input of the SONOS PLAYBASE.  Unfortunately, when the TV is on it is sending an optical signal which interferes with the optical signal from the Apple TV.  Since you need the TV turned on to watch the Apple TV you would always end up with interference.  As a result, this solution does not work.

FIX

After unsuccessfully being able to use a Fiber Optic Splitter,  I purchased a Tendak SPDIF Optical Audio Switcher for $22.99.

41L6GwR4hRL._SL500_AC_SS350_

If you have a 4th Generation Apple TV, Amazon Firestick, or Google Play device you will need to add HDMI Audio Extractor since these devices do not have an Optical Audio Output.  One option would be the VICTONY 4K x 2K HDMI to HDMI and Optical TOSLINK SPDIF + 3.5mm Stereo Audio Extractor Converter for $28.99 in addition to the Optical Splitter Manual Switch above.  If you have more than HDMI device; such as DVD Player, Firestick, or Google Play, you would need the iArk A0301 3×1 V1.4 HDMI Switch with TOSLINK Optical SPDIF & RCA L/R Audio Out, 3 Port HDMI Audio Extractor Splitter which is $38.99.

Although it may be inconvenient to purchase these additional components, it is significantly less than the purchase of a new TV.  It is a compromise that I was willing to make to use the SONOS PLAYBASE instead of a bulky 5.1-channel Home Theatre System.  It took a lot of research to identify A solution, I wish SONOS would sell their own version of the required splitters or include additional optical inputs on the PLAYBASE to support customers using TVs that lack that ability to output sound from HDMI input devices through the Digital Optical Out (optical) port.

Good Luck!

Configuring iSCSI for QNAP on VMware 6.5

January 7, 2017

It has been awhile since I last configured iSCSI on my QNAP TS-251 network attached storage appliance.  A lot has changed in a year, including the NAS Operating System known as QTS.  The document How to use QNAP NAS as a VMware Datastore via iSCSI was written for vSphere 4.0 and hasn’t yet been updated for vSphere 6.5 so I wanted to provide some simple instructions to help others.

Follow the QNAP instructions How to create and use the iSCSI target service on a QNAP Turbo NAS to create the iSCSI Target Volume.   When you are finished it will look similar to this:

Screen Shot 2017-10-06 at 12.07.38 AM

Once you have created the iSCSI Target Volume, verify that the iSCSI ACL Default Policy allows Read/Write.  You can do this by selecting the iSCSI ACL button, choosing the Default Policy and selecting Edit.  Verify that Read/Write access is set to Yes.

Screen Shot 2017-10-06 at 12.09.10 AM

Additional iSCSI ACLs are not required when connecting a single host.

CHAP Authentication is not required.  However if you wish to enable it select the iSCSI target, then choose the Action drop down menu and select Modify.

Then in vSphere you will need to do the following.

  1. Create a Single vmkernel adapter for iSCSI – You must use an IP Address that has access to the QNAP NAS.
  2. Activate the Software iSCSI Adapter
  3. Setup Static Discovery for iSCSI – When configuring Static Discovery add the IP Address of your QNAP NAS

Its important to remember that you will need to click on the button to rescan the hosts storage adapter to discover newly added storage devices.

Screen Shot 2017-10-06 at 12.05.16 AM

Single ESXi Host VSAN 6.2 Performance Stress Test

November 7, 2016

I recently bootstrapped a single ESXi host with VSAN 6.2 see Install VSAN 6.2 on a Single ESXi Host and wanted to test performance before installing any virtual machines.   My goal was to determine if everything is working – consider this a simple stress test, nothing more.  If you are interested in conducting more comprehensive Virtual SAN testing I would encourage you to read the Virtual SAN Performance Testing series by Wade Holmes on the VMware vSphere Blog.

I began by downloading the latest VMware I/O Analzyer fling – it is downloaded as a .zip file and needs to be extracted to expose the .OVA file.

Note for Mac Users: I was unable to unzip the archive by double-clicking on it or by attempting to open it with the Archive Utility.  Instead I had to use the command line.  I simply typed: unzip /Users/toddsimmons/Downloads/vmware-io-analyzer-1.6.2.zip I also had difficulty using the VMware Web Host Client.  I was unable to deploy the .OVA has a New virtual machine using Google Chrome Version 54, but was successful using Firefox 49.

To deploy the OVA file simply right-click on your ESXi host and select Create/Register VM. Next, select Deploy a virtual machine from an OVF or OVA file.  The remaining property pages are self-explanatory.  Before powering on the vmware-io-analyzer virtual machine I created a larger, 20 GB, Hard disk 2 by right-clicking on the virtual machine and choosing Edit Settings.

screen-shot-2016-11-07-at-1-54-25-am

Once you have finished, power-on the virtual machine.  Note: DHCP is required to lease an IP address.  Once the VM has powered on, open the console and login as root with the password vmware.

screen-shot-2016-11-07-at-1-57-24-amNow open a web browser and connect to the vmware-io-analyzer.  On the home page select Workload Configuration.

screen-shot-2016-11-07-at-1-53-07-am

In the Host list enter the IP Address of your ESXi host in the Hostname field along with the Root Password, then click Add New Host.

In the Add Workload Entry I used the Iometer Test Type and the 4k_100read_100rand.icf Workload

Under the Workload Configuration modify the Duration to 3600 sec (1-hour).  It is important that you set the duration to at least one hour, in the results below you can see that it takes some time to “warm up”.  When finished click the Run Now button.  Here are my results.

screen-shot-2016-11-07-at-12-38-11-am

screen-shot-2016-11-07-at-12-42-28-am

Here is the time series chart of the caching device SAMSUNG SM951 MZ-VPV256HDGL2  M.2 256GB PCIe x4 NVMe.

These are the results from the storage device SAMSUNG PM1635 MZ-ILS3T20 2.5″ 3.2TB SATA III 12G Mixed-use Enterprise Solid State Disk

Install VSAN 6.2 on a single ESXi Host

November 6, 2016

I recently purchased a single HPE DL160 Gen9 1U Server with following:

  • Single Intel Xeon X5 2609v4 CPU
  • 128 GB RAM
  • One 256 GB Samsung NVMe SSD
  • One 3 TB Samsung 12G SAS SSD
  • One 8 GB SanDisk USB Storage Media
  • I have installed the HPE Customized Image for VMware ESXi 6.0 u2 which uses Virtual SAN 6.2

I wanted to create a vsanDatastore on a single host, using a process known as bootstrapping, to host virtual machines for testing and development.

I used the steps that were outlined in the blog article from William Lam Quick Tip – VSAN 6.2 (vSphere 6.0 Update 2) now supports creating all-flash diskgroup using ESXCLI

I connected to my ESXi host via SSH and executed the following commands below (which are specific to my configuration) for more details on the purpose of each command I would encourage you to read William’s blog.

esxcli vsan policy setdefault -c vdisk -p “((\”hostFailuresToTolerate\” i1) (\”forceProvisioning\” i1))”

esxcli vsan policy setdefault -c vmnamespace -p “((\”hostFailuresToTolerate\” i1) (\”forceProvisioning\” i1))”

esxcli vsan network ipv4 add -i vmk0

esxcli vsan cluster new

esxcli vsan storage tag add -d naa.50000f0a0550a980 -t capacityFlash

esxcli vsan storage add -s t10.NVMe____SAMSUNG_MZVPV256HDGL2D000H1______________1031006164382500 -d naa.50000f0a0550a980

 

Install VMware VCSA using Mac OS X

November 6, 2016

There were a few gotchas involved so I wanted to write a quick post.

First I downloaded the VMware Client Integration Plug-in for Mac

After installing the Plug-in it appeared as though it was successful but both Firefox and Chrome browsers will report that it is not installed.  Once I followed the instructions in this KB Client Integration Plugin fails on Mac OSX 10.11.x (2144550) I was able to use the Plug-in.

Next I downloaded the latest VCSA .iso file from my.vmware.com.  The version  I used was VMware-VCSA-all-6.0.0-3634788

I then created a directory on my Desktop named ISO and copied the contents of the VCSA .iso to the new directory.

 

Finally, using a tip from William Lam, I modified the vcsa-setup.html file to check for the Mac OS X instead of Windows.

sed -i .bak ‘s/Win32/MacIntel/g’ vcsa-setup.html

Once finished I double-clicked on the vcsa-setup.html and began the installation.

screen-shot-2016-11-06-at-2-13-41-am

Note: The installation didn’t appear to finish, it was stuck on the “Starting the vSphere Web Client” task for an extended amount of time.  The installation did complete successfully however.

Installing ESXi 6 does not take 5-minutes!

November 6, 2016

If you ask most VMware Administrators how long it takes to install vSphere ESXi 6 the most common response is, “About 5-minutes”.  In fact, I recently had to install ESXi on a rack of 24-servers and I when I informed the customer that the installation of ESXi alone would take approximately 8-hours – they responded “I thought it only took 5-minutes to install ESXi?” Although the installation of ESXi is extremely fast, 5-minutes per server is really stretching the truth.

Here is a breakdown of the actual installation time for a single server:

Summary

Activity Time
Download ISO 1:00
Format USB/SD storage media – Extract ISO 3:42
Install USB/SD storage media into Server 1:00
Boot Server 1:35
Load ESXi 3:02
Complete ESXi Installation Screens 4:00
Shutdown Server 1:00
Reboot ESXi – Host is Ready with DHCP Lease 4:01
Total Time 19:20

The installation of a single ESXi host actually takes approximately 20-minutes, assuming no mistakes are made. So why does everyone say “About 5-minutes?” my guess is that they are likely referring to the amount of time the spent completing the installation screens.

Note: This time is based on an HPE ProLiant DL160 Gen9 Server with 1 Intel Xeon E5-2609 v4 CPU and 128 GB of memory.

More Details

Download ISO

Although this seems like a simple task, it is common to download the wrong .ISO.  Many people aren’t aware that vendors such as Dell, HPE, IBM, and others provide a custom image that includes the necessary drivers.  You can locate the .ISO at http://my.vmware.com.  Today I am using a HPE DL160 Gen9 server so I downloaded the HPE Custom Image for VMware ESXi 6.0 U2 Install CD. 

Format USB/SD storage media – Extract ISO

Formatting a new USB/SD is straightforward, it may take a little longer if you have a stubborn partition that you cannot delete.  I use the Disk Utility on my Mac and erased a 8GB SanDisk USB stick using the MS-DOS (FAT) format and the Master Boot Record Scheme.

screen-shot-2016-11-05-at-6-57-33-pm

To Extract the ISO I used UNetbootin which allows you to create a bootable USB Drive.  I simply selected the HPE Custom Image ISO and then clicked OK.

screen-shot-2016-11-05-at-6-59-06-pm

Once the .ISO was extracted I properly ejected the USB media.

Install USB/SD storage media into Server

This was an easy task for me, my server has an internal USB Port, I simply removed the top cover installed the USB media and replaced the top cover.  Finished in under a minute!

Boot Server

My HPE Server takes 1 minute 35 seconds to boot – I have other servers in the office that take as long as 6 minutes to boot.  Server power-on, shutdown and reboot has the largest impact on the amount of time it takes to install ESXi since you will need to initially power on the server and then shut down and reboot after installation.

Load ESXi

The initial load of ESXi from the USB media took just over 3-minutes.

Complete ESXi Installation Screens

This is where you will asked to press F11 to accept the Product License, and to select the media to install ESXi.

Shutdown Server

My HPE Server takes 1-minute to gracefully shutdown at the end of the ESXi Installation.

Reboot ESXi – Host is Ready with DHCP lease

The last stage of the installation takes just over four minutes.  Its important to note that in the future anytime the ESXi host will need to be rebooted it will take a total of 5-minutes to be ready.

 

%d bloggers like this: