After we prepared the USB sticks in part 1, we come here to the biggest part of the series. Here I want to show you what you have to do to run the new Intel Hades Canyon NUC with Nutanix CE.
We have to adjust some things like BIOS downgrade.
Let’s start with a list of what we should have prepared:
- we need 2 IP addresses per node
- in my case: 10.42.10.* (AHV: 20,22,24,26 and CVM: 21,24,25,27)
- 1 more for Cluster IP address
- in my case 10.42.10.42
- one USB stick per node (at least 8GB) with the Nutanix CE IMG
- one USB Stick for the BIOS downgrade/upgrade
- in case you use Intel Hades Canyon (e.g. Intel NUC NUC8i7HVK Hades Canyon) you need the Bios version.
- you need an HDMI monitor and a USB keyboard to set the BIOS settings and perform the installation
Then let’s start installing all nodes.
I’ll show you an example of how to prepare each node.
BIOS Downgrade/Upgrade and Settings:
You need a USB stick with FAT/FAT32 where you can save the HN0034.bio file.
Now we have to downgrade/upgrade the BIOS to version 0034 at every nuc.
In my case, I’m updating from 0029 to 0034.
The reason for this is that the legacy boot was removed from 0037 onwards. Unfortunately we need an MBR boot (legacy) for the current Nutanix CE .
The Nutanix CE IMG is unfortunately not recognized by a pure UEFI boot.
If someone here has a tip for me, let me know.
Now plug the USB drive into a free USB slot and turn on the NUC. Press the F7 key to enter the BIOS update menu.
After the BIOS update we go directly into the BIOS by pressing F2.
Here we have to make the following settings:
Set also the correct Time in the BIOS
Advanced -> Devices -> SATA -> Chipset SATA Mode: AHCI
Advanced -> Devices -> uncheck: Audio, WLAN, Bluetooth, Enhanced Consumer IR, HDMI CEC Control and Disable SD Card
The aim is to minimise any problems
Advanced -> Security -> uncheck: Intel Platform Trust Technology
Advanced -> Boot -> Boot Priority -> Check: Legacy Boot
Advanced -> Boot -> Boot Configuration -> check: Boot USB Devices First, USB
Advanced -> Boot -> Secure Boot -> uncheck: Secure Boot
To save our settings, press F10 and (Y) Yes. The system reboots now
Start the Nutanix CE Setup
Equip your node with the prepared Nutanix CE USB drive, HDMI display, USB keyboard and Power on the node. If you have set and flashed everything correctly, the system should boot from the USB drive and show the Nutanix login prompt.
Note: if you want to allocate less than 16GB RAM for the CVMs (for example, because you have less than 32GB RAM), adjust the CVM settings before installing.
Login with user “root” and password “nutanix/4u”.
Edit the sysUtil.py file with vi:
Edit the line “SVM_GB_RAM = 16” to “SVM_GB_RAM = 8”
You can also modify the vCPU Count.
# Contains custom SVM resource settings per model. Defaults will be used # if a particular model does not exist in this structure. SVM_GB_RAM = 8 SVM_NUM_VCPUS = 8
Saves the file with “:wq”.
Now we log out with exit from the root session.
We log into the system with the user “install” and without password. This will automatically start the setup.
chooses your keyboard and language layout, I use “us” to keep the Nutanix CE System (CLI) in english 😉
Use TAB to mark the point “Proceed” and press Enter.
now we are at the most important point of the Nutanix CE installation, we have to enter the previously selected IP addresses.
I have the IPs for the HOST:
10.42.10.20, 10.42.10.22, 10.42.10.24, 10.42.10.26
and for the CVM:
10.42.10.21, 10.42.10.23, 10.42.10.25, 10.42.10.27
Fill it out according to your instructions.
Important: the item “Create single-node Cluster?” may only be marked if you want to build a cluster consisting of a single system!
Read and accept the EULA and hit the start button.
Now the installation of AHV and the CVM starts.
Depending on the USB stick speed this will take a few minutes.
As soon as the system is ready with everything, you will be shown this via Success!.
Give the individual CVM a few minutes to boot up cleanly.
repeats this paragraph with all systems.
Build the Cluster
You now have installed Nutanix CE Nodes which are not yet at home in any cluster. We change this now!
I assume that all previous steps worked.
In my case I now have 4 Intel NUC Hades Canyon installed with Nutanix CE 2017.07.20 (2017.07.20 because of the NVMe bug in the newer versions)
to create our super cool new cluster, we log into some CVM first. I use my first installed node and log into its CVM (SSH into).
Use the username “nutanix” and the password “nutanix/4u”.
to create the cluster now, let’s just type “cluster –dns_servers=DNSSERVER –ntp_servers=NTPSERVER –redundancy_factor=2 -s CVMIP,CVMIP,CVMIP –cluster_name=CLUSTERNAME –cluster_external_ip=CLUSTERIP create“.
it is important that there is no space between the CVM Ips.
in my case:
cluster –dns_servers=10.42.10.1,188.8.131.52 –ntp_servers=10.42.10.1 –redundancy_factor=2 -s 10.42.10.21,10.42.10.23,10.42.10.25,10.42.10.27 –cluster_name=NTNX –cluster_external_ip=10.42.10.42 create
after a certain time, the cluster Create should be ready.
and that’s it!
Now we go to https://10.42.10.42 (my Cluster IP) and Setup entire Cluster.
In Part 3 we configure the complete cluster and do some tests (performance and so one) – stays tuned