Deploy Harvester HCI in VMware vSphere

img placeholder

Harvester

Harvester is a modern Hyperconverged infrastructure (HCI) solution built for bare metal servers using enterprise-grade open source technologies including Kubernetes, KubeVirt and Longhorn.

This allows you to run both containers and VMs in your cluster. This will reduce operation overhead and provide consistency. This is all tried and tested technology combined to provide an open-source solution in this space.

img placeholder

Requirements:

The follwing are the system requirements for Harvester Nodes

TypeRequirement
CPU8 Cores minimum
Memory32GB minimum
Disk250GB minimum
Network1Gbps minimum

Installation:
  1. Ensure that the required DNS entries are created. I'm using Static IP Address here

img placeholder

  1. Create the Virtual Machines manually with the required configuration. selected the fowlloing:
Node-01
  • Guest OS Type: SUSE OpenSUSE
  • 8vCPU, hardware virtualzation is enabled
  • 32GB RAM
  • 250GB Disk
  • VMXNet3 Adapter
Node-02
  • Guest OS Type: SUSE OpenSUSE
  • 8vCPU, hardware virtualzation is enabled
  • 32GB RAM
  • 250GB Disk
  • VMXNet3 Adapter

img placeholder

  1. Mount the Harvester ISO file and boot the server by selecting the Harvester Installer option.
    img placeholder
  2. Use the arrow keys to choose an installation mode. By default, the first node will be the management node of the cluster.
    img placeholder

"Create a new Harvester cluster": Use this to create a new cluster

"Join an existing Harvester cluster": Use this to join the node to the exising cluster. We need Cluster token and VIP of the cluster to join the other Nodes

"Install Harvester binaries only": If you choose this option, additional setup is required after the first bootup.

  1. Select the installation disk, in my case i am choosing the 250GB disk.By default, Harvester uses GUID Partition Table (GPT) partitioning schema for both UEFI and BIOS.
    img placeholder
  2. configure the hostname harvester-01.cloudbricks.local
    img placeholder
  3. configure the network interface Select ens192(this may change in your setup) as interface. Bond Mode as active-backup and IPv4 method as Static
    img placeholder
  4. configure the DNS 192.168.0.5
    img placeholder
  5. configure the Virtual IP. Selct mde as Static and VIP as 192.168.20.30
    img placeholder
  6. configure the Cluster Token mytoken
    img placeholder
  7. configure the password to access the node myPassword
    img placeholder
  8. levae the defaults and continue with the next screens.
    img placeholder
  9. Once the installation is complete, node restarts. After the restart, the Harvester console displays the management URL and status. The default URL of the web interface is https://virtualIP.
    img placeholder
  10. You will be prompted to set the password for the default admin user when logging in for the first time.
    img placeholder

Adding additional Nodes:

Complete the following steps to add additional nodes to the exisint cluster:

  1. Mount the Harvester ISO file and boot the server by selecting the Harvester Installer option.

    img placeholder

  2. Use the arrow keys to choose an installation mode. Select Join an existing Harvester cluster

    img placeholder

  3. Select the installation disk, in my case i am choosing the 250GB disk.By default, Harvester uses GUID Partition Table (GPT) partitioning schema for both UEFI and BIOS.

    img placeholder

  4. configure the hostname harvester-02.cloudbricks.local

    img placeholder

  5. configure the network interface Select ens192(this may change in your setup) as interface. Bond Mode as active-backup and IPv4 method as Static

    img placeholder

  6. configure the DNS 192.168.0.5

    img placeholder

  7. configure the Management address. Here we need to enter the VIP 192.168.20.30

    img placeholder

  8. configure the Cluster Token mytoken

    img placeholder

  9. configure the password to access the node myPassword

    img placeholder

  10. levae the defaults and continue with the next screens.Once the installation is complete, node restarts.

    img placeholder

  11. login to the Management URL using VIP 192.168.20.30 or DNS name harvester-console.cloudbricks.local

    img placeholder

  12. Expand advanced and under settings go to ssl-certificates. Replace them with you ADCS generated SSL certificates.

    img placeholder

  13. Post successful restart of services (which will be automatic), close the browser and access the management URL again. It should show as connection is secure

    img placeholder

  14. Navigate to images in the left side menu and create image. I have uploaded two images (one RAW and one ISO) using file or URL method

    img placeholder

  15. Create the VM using the uploaded images for test.

    img placeholder

  16. check the console

    img placeholder

Watch the video on How to Install Harvester HCI in VMware vSphere for Hands on

Watch the video on How to Install Harvester HCI in VMware vSphere for Hands on


Posts in this Series