Note: This process should work for Windows and Linux as well. Verify the EFI boot path for the OS.
Through ESXi 6.0 I have run my hosts in Legacy BIOS mode on UCS. There just was nothing significant enough worth the hassle of switching to UEFI on UCS (rather: I had more important fires to put out…). The one feature I did want, Secure Boot, wasn’t supported by ESXi 6.0 and earlier.
vSphere 6.5 introduced support for Secure Boot. Mike Foley has a great blog post about Secure Boot in ESXi 6.5. If you are starting your 6.5 upgrade and are using Legacy mode, consider switching to UEFI. It’s minimal effort and increases the security of your hypervisor.
Since I was working on rolling out a new UCS environment with ESXi 6.5 in a remote office environment, this felt like a great time to switch to UEFI and get the benefits of Secure Boot. This is not complicated on UCS, but there is a new Boot Policy that must be created. This policy can be reused for Windows (and other OS).
For this environment I was using a Cisco UCS Mini running in FC Switch mode. I had a number of B200 M5 blades with the VIC 1340 and a storage array attached to the mini FI-IO modules.
You will require UCS version 2.2(4) or later to have the applicable options.
Note: As mentioned, these steps are for SAN booting. You will need to modify for local booting.
vHBA-A
)
vHBA-B
)If you boot successfully then you’re in great shape. If this is a new domain with nothing else running you may want to consider testing booting by shutting off paths to storage. This is just to verify your UEFI boot parameters will work when or if your first HBA goes down.
If you do not boot successfully you will likely be dropped to the UEFI shell. This indicates that one of the following likely happened:
If you’re dumped to the UEFI shell instead of getting a booted OS quick way to find out is through the UEFI shell. At the shell you can enter the command bcfg boot dump
. This will let you know if there’s any other boot loaders configured with this UEFI system. If you only see the UEFI Loader then likely UCS Manager didn’t insert the proper parameters, or your UEFI image isn’t present.
Assuming no other boot managers on ahead of your boot LUN (which should always be 0 or 1 to ensure it’s first), you should verify your boot loader is present on fs0.
Switch to FS0 by entering fs0:
at the UEFI shell. You can then use dir
to list the contents of that file system. If you see the contents below, which are part of the ESXi boot loader system, you have confirmed the boot drive is available in UEFI. At this point verify you have entered your UEFI parameters properly and try again.
After upgrading to UCS 4.1+ your UCS Fabric Interconnect may report "clean but with errors"…
Anyone that has spent any time with Cisco equipment should just come to expect that…
When Pure Storage released Purity 5.1 for the FlashArray they introduced a new host feature…
Update 12/5/2018: Pure Storage has modified the returned JSON file. The AccessKey is no longer…
We built our house a few years ago. Before all the drywall went up I…
It's almost VMworld time! Have you checked out the VMworld site yet and registered? VMworld…
This website uses cookies.
View Comments
hi
how are you?
im looking at enabling secure boot. we use iscsi for boot.
struggling to see what i need to change on the ucs serv profile.
hope you can help
thanks
Hi Mark.
I have not configured iSCSI for boot on UCS in many, many years. However, instead of configuring the advanced boot parameters on the virtual HBA you'll need to configure that on your iSCSI boot vNIC.
ok, how do we get this to work if esxi already installed?
thanks
I am unsure if you can simply swap to UEFI + Secure Boot, or if you need to reinstall. If I get some time I will test it in our lab.