BC-ESXi, preparing a node

This entry is part 8 of 12 in the series Binsfeldius Cluster (ESXi6.0)

The process of updating the BIOS and firmware remains the same therefore I have only changed the iSCSI part below and copied the first part from my earlier post.

Now that the node is assembled and hardware ready, it’s time to do some first configuration stuff such as flash update all firmwares, set the correct BIOS parameters and provide the NIC with the correct iSCSI settings to boot from the NAS.

The BIOS will auto-detect the CPU and memory, no need to manually change these settings.

As you can see here, the correct Core i3-2100T CPU is shown and the correct amount of memory. The BIOS version is not up-to-date, I have 0041 and the most recent version is 0053 (topline of the screen)

Fetch the most recent DQ67EP firmware from the Intel site and place it on an USB stick. Reboot and on the Intel bootscreen press F7, this puts the board into firmware update mode. It will detect the USB stick, select the correct firmware file and you can update as shown in the pictures (without having an OS!)

  

Bios settings

<screenshots .. need to tidy up the BIOS settings section here> For now make sure you do the following and leave the rest to their default settings:

  • I’ve disabled all unused devices in the BIOS, such as audio, serial, etc.
  • Removed unused boot devices.
  • System power options: After power failure –> last state
  • Active Processor Cores –> All
  • Intel Hyper-Threading Technology –> Enable
  • Execute Disable Bit –> Enable
  • Intel Virtualization Technology –> Enable
  • Boot to Network –> Enable (this affects both the onboard NIC as well as dual-nic card)
  • Under Boot Display Options: On Screen Options: Expansion Card Text –> Enable (otherwise you don’t get the CTRL-D boot menu to change iSCSI stuff)

NIC Flash Update & iSCSI boot enable

The next step requires a bit more work and that’s the firmware flash update of the NIC’s, both the onboard or as Intel calls it LOM, which stands for LAN On Motherboard, as well as the dual-NIC card.

You need an empty USB stick, UnetBootin (link) , a FreeDOS image (link) , the updated NIC firmware (link) from the Intel site (incl. Bootutil and the BootIMG.flb).

  1. Unzip the NIC firmware. This creates a folder called Intel 16.3
  2. Insert the USB stick
  3. Start UnetBootin
  4. Select the FreeDOS image and install it to the USB stick
  5. Copy the Bootutil + BootIMG.flb to the USB stick

Boot the node from the USB stick.

  • Check the imageversion with: Bootutil -IV
  • Enumarate the NIC’s with: Bootutil -E

I will be using the bottom NIC of the dual-nic card as my connection to the storage network. This is the interface that will need the iSCSI boot LUN information. In this case, the adapter is NIC#2.

To be able to boot from this NIC, we need to change the primary setting to iSCSI for this NIC. Because the I’ve provided the latest BootIMG.flb on the stick it will use this and flash the existing NIC’s to the latest version.

Bootutil -up=iSCSI -nic=2

The top of the screen shows the existing NIC’s in a flash unknown state which is default out-of-the-box state. The top NIC is the onboard as designated by “LOM”.

After the bootutil command you see on the bottom side of the screen the same NIC’s. Now with the iSCSI boot enabled and a reported flash version.

note: Eventhough the Intel site claims it can be done, I could not configure the LOM to change from PXE to iSCSI. The command just fails.

update Nov 7th 2015

iSCSI QNAP configuration – Target & Mapped LUN

Hopefully you are familiar with iSCSI and setting up initiators and targets. If not, there are some great tutorials out there 😉

I’ve prepared my QNAP to provide three targets and associated mapped LUN id’s. I’ve configured these as thin provisioned at 10Gb a piece.

node 1 iSCSI initiator: n1bc –> iSCSI target: ttgbootn1
node 2 iSCSI initiator: n2bc –> iSCSI target: ttgbootn2
node 3 iSCSI initiator: n3bc –> iSCSI target: ttgbootn3

The following screenshots show how to create an iSCSI Target & mapped LUN on an QNAP (QTS version 4.1.4)

    

  • Select the first option
  • Make sure you type the correctly, the target alias is automatically filled in

    

  • Place a tickmark in the Use CHAP authentication and Mutual CHAP boxes
  • Use an easy identifiable name and make up the passwords. I use two different passwords for each tickmark
  • Make sure you crate a Thin Provisioned drive so it only uses the amount of storage it needs (instead of ‘claiming’ the full 10 Gb)

  • Check the configuration and after clicking next, it will create the target and mapped LUN

 

iSCSI node configuration

 

  • Boot the node and when the NIC firmware version shows and the line press CTRL-D

This shows the following screen identifying the dual-nic interfaces you’ve flashed for iSCSI. In my case, I’ve set the top line as primary as this is the bottom interface on the card which I’ll be using for the storage network.

 

Entering the correct iSCSI information for my environment. As you can see, I’ve entered the 12-network and the full targetname (only first part is displayed) of ttgbootn1 which I’ve defined on the NAS. I’ve created a single target with a single mapped LUN so the boot id=0.

Note: you can’t use the target alias on Intel’s iSCSI boot feature! You need to enter the full targetname.

  • Press Escape to go back to the main menu

 

  • Go to the iSCSI CHAP Configuration
  • Enter the CHAP information you created previously
  • Save and reboot

If all goes well you see that the iSCSI connection to the QNAP is successful.

In the QNAP webinterface I see that the user n3bc is connected properly to the ttgbootn3 LUN.

The next post describes the installation process of installing ESXI 6.0 onto the freshly mounted Boot LUN.

 

Series Navigation<< BC-ESXi, the network designBC-ESXi – Installing VMWare ESXi 6.0 to iSCSI Boot LUN >>
This entry was posted in Builds and tagged , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.