Jumat, 22 Juli 2022

HCI-harvester

 Select UEFI OS ( P3: Intel SSDSC2BB240G7 ) and press enter. (Basically, it means you are selecting to boot from /dev/sdb drive which has a harvester installer ISO image mounted on it)


Rancher Harvester Installation

Select Harvester Installer v1.0.2 and press enter. It will take a few minutes to boot the kernel and it should show you the below screen.

Rancher Harvester Installation New cluster

Select Create new harvester cluster. You can select join the existing harvester cluster if you already have the harvester cluster up and running. 

Rancher Harvester Installation Partitions

Next, you get the option to choose the drive to install Harvester. We select sda 223.6G. Remember, We have two disk partitions /dev/sda and /dev/sdb. In /dev/sda (this has pre-installed Ubuntu 22.04 LTS OS running on it) and /dev/sdb we have a harvester installer (currently we booted from this). We are going to erase and remove Ubuntu OS from /dev/sda and install Harvester v1.0.4 in /dev/sda.

Rancher Harvester Installation Configuration

Enter the hostname and select Management NIC. You can also select Bond Mode and IPv4 method. I will leave it with default values. Press enter to continue. It will apply the network configurations.

Rancher Harvester Installation Configuration

It will ask for configuring DNS servers. I will leave it empty and press enter. (Optional step)

Rancher Harvester Installation Configuration

Next, it will ask for configuring Virtual Private IP. I am giving it as a static method and 172.168.0.102. This is an important and mandatory step and make sure this is done right. The VIP IP address you can use anything that you want to use to expose your application. 

Rancher Harvester Installation Configuration

Enter your cluster token, this will be used when you are joining the existing harvester cluster.

Rancher Harvester Installation Configuration

Enter the password and confirm the password. Press enter to continue.

Rancher Harvester Installation Configuration

Configuring NTP server. Use the default value and press enter.

Rancher Harvester Installation Configuration

Configuring Proxy. Leave it empty and press enter. 

Rancher Harvester Installation Configuration

Configuring SSH/import SSH key. You can import it if you have one or leave it empty and press enter.

Rancher Harvester Installation Configuration

Harvester remote configuration - You can add it if you have one or leave it empty and press enter.

Rancher Harvester Installation Summary


Finally, it gives a summary and it will ask whether you want to erase and install the harvester. Select yes and press enter.

Rancher Harvester Installation


Installation should start. It will show you the installation progress. It will take a couple of minutes to complete the installation and finally, it automatically reboots the server. 

Vultr Boot Menu

When the server boots up, press the F11 key on your keyboard to take you to the boot menu screen and this time we are going to select UEFI OS ( P2: Intel SSDSC2BB240G7 ) and press enter. (Basically, it means you are selecting to boot from /dev/sda drive which has a harvester installed)

Rancher Harvester Boot

Select Harvester v1.0.4 and press enter. You will be taken to the next screen which has the Rancher Harvester Management URL, IP address, and cluster state.  Please be patient, it will initially show cluster state as Unavailable, Not Ready, Setting Up, etc. After giving a couple of minutes it should show you the below screen.

Rancher Harvester Management Console


Congratulations, your Rancher Harvester cluster is Up. You can go to vultr public IP (vultr management console) from the new browser tab and you should be able to setup rancher harvester UCM first-time login screen. Set your new password and click on continue.

Rancher Harvester Login Setup




Rancher Harvester UCM

Wrapping Up

Thanks and congratulations on setting up your new harvester infrastructure. If you encountered any issues while setting up the cluster, please comment below. I have covered only the single node harvester setup process and will cover how to join existing harvester nodes to form a harvester cluster, Virtual Machine deployment, and Virtual Machine migration to a new harvester host/node in my upcoming posts. So stay tuned and happy developing infrastructure.  

    Tidak ada komentar:

    Posting Komentar