ISO Installation
Harvester ships as a bootable appliance image, you can install it directly on a bare metal server with the ISO image. To get the ISO image, download 💿 harvester-v1.x.x-amd64.iso from the Harvester releases page.
During the installation, you can either choose to create a new Harvester cluster or join the node to an existing Harvester cluster.
The following video shows a quick overview of an ISO installation.
Installation Steps
Mount the Harvester ISO file and boot the server by selecting the
Harvester Installer
option.Use the arrow keys to choose an installation mode. By default, the first node will be the management node of the cluster.
Create a new Harvester cluster
: creates an entirely new Harvester cluster.Join an existing Harvester cluster
: joins an existing Harvester cluster. You need the VIP and cluster token of the cluster you want to join.Install Harvester binaries only
: If you choose this option, additional setup is required after the first bootup.
info
When there are 3 nodes, the other 2 nodes added first are automatically promoted to management nodes to form an HA cluster. If you want to promote management nodes from different zones, you can add the node label
topology.kubernetes.io/zone
in the os.labels config by providing a URL of Harvester configuration on the customize the host step. In this case, at least three different zones are required.Choose the installation disk you want to install the Harvester cluster on and the data disk you want to store VM data on. By default, Harvester uses GUID Partition Table (GPT) partitioning schema for both UEFI and BIOS. If you use the BIOS boot, then you will have the option to select Master boot record (MBR).
Installation disk
: The disk to install the Harvester cluster on.Data disk
: The disk to store VM data on. Choosing a separate disk to store VM data is recommended.Persistent size
: If you only have one disk or use the same disk for both OS and VM data, you need to configure persistent partition size to store system packages and container images. The default and minimum persistent partition size is 150 GiB. You can specify a size like 200Gi or 153600Mi.
Configure the
HostName
of the node.Configure network interface(s) for the management network. By default, Harvester creates a bonded NIC named
mgmt-bo
, and the IP address can be configured via DHCP or statically assigned.note
It is not possible to change the node IP throughout the lifecycle of a Harvester cluster. If using DHCP, you must ensure the DHCP server always offers the same IP for the same node. If the node IP is changed, the related node cannot join the cluster and might even break the cluster.
(Optional) Configure the
DNS Servers
. Use commas as a delimiter to add more DNS servers. Leave it blank to use the default DNS server.Configure the virtual IP (VIP) by selecting a
VIP Mode
. This VIP is used to access the cluster or for other nodes to join the cluster.note
If using DHCP to configure the IP address, you need to configure a static MAC-to-IP address mapping on your DHCP server to have a persistent virtual IP (VIP), and the VIP must be unique.
Configure the
Cluster token
. This token is used for adding other nodes to the cluster.Configure and confirm a
Password
to access the node. The default SSH user israncher
.Configure
NTP servers
to make sure all nodes’ times are synchronized. This defaults to0.suse.pool.ntp.org
. Use commas as a delimiter to add more NTP servers.(Optional) If you need to use an HTTP proxy to access the outside world, enter the
Proxy address
. Otherwise, leave this blank.(Optional) You can choose to import SSH keys by providing
HTTP URL
. For example, your GitHub public keyshttps://github.com/<username>.keys
can be used.(Optional) If you need to customize the host with a Harvester configuration file, enter the
HTTP URL
here.Review and confirm your installation options. After confirming the installation options, Harvester will be installed to your host. The installation may take a few minutes to be complete.
Once the installation is complete, your node restarts. After the restart, the Harvester console displays the management URL and status. The default URL of the web interface is
https://your-virtual-ip
. You can useF12
to switch from the Harvester console to the Shell and typeexit
to go back to the Harvester console.note
Choosing
Install Harvester binaries only
on the first page requires additional setup after the first bootup.You will be prompted to set the password for the default
admin
user when logging in for the first time.
Known Issue
Installer may crash when using an older graphics card/monitor
In some cases, if you are using an older graphics card/monitor, you may encounter a panic: invalid dimensions
error during ISO installation.
We are working on this known issue and planning a fix for a future release. You can try to use another GRUB entry to force it to use the resolution of 1024x768
when booting up.
If you are using a version earlier than v1.1.1, please try the following workaround:
Boot up with the ISO, and press
E
to edit the first menu entry:Append
vga=792
to the line started with$linux
:Press
Ctrl+X
orF10
to boot up.