Installation & License

Introduction

VM Squared is radically different. It has an “automatic consumption model” where you never have to think about onboarding new cluster resources. It takes the approach that IF something can be automated, then it SHOULD be automated. Some behaviors may feel unusual at first!

Be sure to review the notices below.

A single node cluster is for development or testing only. This configuration has no redundancy and is an unsupported workload for production.

The Dashboard will reboot every few minutes unless a valid license is present. This is intended behavior.
Please reach out to your SoftIron Team to renew your license – https://softiron.com/contact/.

This installer will use all storage devices discovered on the host, as well as all its network connections.

Only connect disks or LUNs that will be used as VM Squared storage.

To ensure a reliable storage subsystem, all disks physically connected to this machine will be erased. All data on the discovered disks will be lost. If your storage is external, be sure to only present the devices to a single node.

Only install or activate NICs intended to be part of the VM Squared cluster.

All of the server’s network connections will be bonded together for redundancy. LACP is supported, but in the absence of LACP the node will fall back to a non-LACP bonding mode. Be sure all connected NICs are plugged into identically configured upstream switchports.

Review the requirements for a VM Squared cluster prior to installation.

Refer to troubleshooting for installation issues unrelated to meeting requirements.

Installation steps

Configuring a VM Squared cluster is performed in stages:

  1. Install first node
    • During the installation the user will be prompted for system configuration information including the name of the VM Squared cluster, the admin password and network details for Glasshouse including NTP and syslog server addresses.
  2. Update the License
    • Once the first node is configured update the VM Squared license.
    • This is a good point to connect to add authorized SSH keys.
  3. Install remaining nodes.
    • During the installation of the remaining nodes the user will be prompted which VM Squared cluster to join. The cluster can be identified by the name specified in step 1.
  4. Post-Install checks
    • Check the cluster to confirm configuration and operation.

Install first node

Bootloader

The VM Squared media will be accessed and installed either by UEFI or legacy boot loader.

Grub Menu

Or

Legacy Boot

  • Type install to start the VGA console installer or
  • Type install-serial to start the serial console installer.

Node configuration

  1. Boot the VM Squared media on the first node of the cluster.

  2. The installation will take a few minutes to initiate and progress to the welcome screen seen below.

Welcome

  1. The next screen asks if this if the first node in the cluster. Selecting YES will create a new VM Squared cluster, selecting NO will allow the assignment of this node to an already existing cluster. Press enter to confirm selection.

First Node

  1. After the node assignment, select the root disk for the installation destination of the software.

Root Disk

Dashboard configuration

  1. Once the drive has been selected for installation, if this node has been designated as node 1 of the cluster, the installer will prompt for the cluster information, including the dashboard IP setup. Press enter after each line of information to proceed to the next line.

At this stage the installer will prompt for the cluster admin password. These credentials, together with the dashboard IP are needed to log into Glasshouse, the VM Squared management GUI.

Providing a password is optional. If no password is specified then VM Squared will automatically generate a random password which can be retrieved at a later stage via the command line interface (CLI)

Note: the cluster admin password and dashboard IP are required to update the license.

Cluster Info

  1. After providing all of the cluster information, a confirmation screen will appear before you will begin the installation. Select Yes to confirm and continue with installation.

Cluster Info Confirm

  1. After confirming the cluster information the installer will once more prompt to continue. Select Yes to confirm and continue with installation.

Warning

All the disks listed will be erased as part of the installation process. All data will be destroyed. This action is irreversible.

Cluster Info Confirm

VM Squared boot

  1. The installer will proceed with installing the software on the node and revert to the original boot screen seen at boot. At this point, power off the machine and remove the media.

  2. Restart the machine and return to the connection console. The Primary Boot will initiate (this may take up to 15 minutes to complete) and then the node will then proceed to boot the dashboard.

Primary Boot

  1. After 5-10 minutes, the command vm list can be entered to verify the dashboard is running.

VM List

  1. If the dashboard is present and fully booted, you can then login to the dashboard’s console with the command dashboard-console.

  2. If the cluster admin password was not assigned in step 4 then VM Squared automatically generated a random password. It can be retrieved from the dashboard-console with the command manage-admin-password and selecting option 1.

Admin Password

  1. The cluster is now set up and ready to be used.

Update the License

After installing the first node the VM Squared license can be updated. This is done via the Cloud Management GUI. This is also a good opportunity to add authorized SSH keys to enable ssh onto the Dashboard Console.

The <dashboard IP> and cluster admin password specified during the dashboard configuration are required to access the Cloud Management GUI.

  1. Open a new browser tab and navigate to:
https://<dashboard IP>/cloudmanagement/
  1. Log in as admin and enter the cluster admin password.
  2. Paste the license into the Cluster License File text box.
  3. Optionally add authorized SSH keys.
  4. Click the Update Cluster Configuration button to apply.

Cluster Mgmt GUI

Install remaining nodes

The conversion of an unsupported single-node deployment to a supported multi-node cluster is an irreversible operation and cannot be undone.

The minimum supported multi-node cluster is three (3). A two-node cluster is unsupported, except in the case where transitioning from a single node to a cluster.

Node configuration

  1. If you would like to add more nodes and build out a redundant cluster, simply boot the installation media on additional nodes (one at a time) and select NO when asked if the node is the first in the cluster.

Second Node

  1. After the node assignment, select the root disk for the installation destination of the software.

Root disk 2nd cluster

Cluster selection

  1. The installer will search for available clusters to join and you can select your desired VM Squared cluster from there.

Join 2nd cluster

  1. The node designation can be verified and if necessary, modified, in the next screen.

2nd node ID

  1. After confirming the cluster information the installer will once more prompt to continue. Select Yes to confirm and continue with installation.

2nd node confirm 2

  1. After confirming the cluster information the installer will once more prompt to continue. Select Yes to confirm and continue with installation.

Warning

All the disks listed will be erased as part of the installation process. All data will be destroyed. This action is irreversible.

2nd node confirm 2

  1. The remainder of the setup is the same from step 7 and onward of the first node install.

  2. Node(s) 3+ can be created identical to Node 2.

Post-install checks

Connect to Glasshouse

Glasshouse is a user interface focused on streamlining administration and monitoring tasks.

Once the VM Squared dashboard is present and fully booted you can login to the Glasshouse, the management GUI.

The <dashboard IP> and cluster admin password specified during the dashboard configuration are required to access the Cloud Management GUI.

Open a new browser tab and navigate to:

https://<dashboard IP>/

Enter the admin credentials into the respective fields.

Dashboard GUI

By avoiding clutter and UI complexity, Glasshouse minimizes the time and skills required to manage your virtualization solution.

GUI dashboard

Select Infrastructure -> Hosts to see all the nodes in the cluster.

GUI hosts

Connect to Dashboard Console

The dashboard console is an alternate way to manage the VM Squared cluster. Details for logging into the dashboard console can be found here.

Ensure cluster is replicated

A single node cluster will lack resilience and be in an unreplicated state, unsuitable for production workloads.

Supported configurations of VM Squared require at least three nodes.

When adding the third storage-capable node, data will be replicated amongst all nodes to provide fault-tolerance. Replication speed depends on disk and network performance and the volume of data involved.

If you have created VMs on the system or begun migrating VMs to the VM Squared nodes before three nodes were installed the volume of data will be larger.

To check the status of storage on the VM Squared cluster by connecting to the dashboard console and using the storage status command. When replication is completed, all entries on the pgs: line will transition to active+clean.

VMsquared:cluster\dashboard> storage status
  cluster:
    id:     83f3fa01-5ef5-4b25-a0ca-3c397507e9c8
    health: HEALTH_OK

  services:
    mon: 1 daemons, quorum si-overlapped-1 (age 2d)
    mgr: si-overlapped-1(active, since 2d)
    mds: 1/1 daemons up
    osd: 1 osds: 1 up (since 2d), 1 in (since 2w)

  data:
    volumes: 1/1 healthy
    pools:   11 pools, 593 pgs
    objects: 3.63k objects, 12 GiB
    usage:   13 GiB used, 114 GiB / 127 GiB avail
    pgs:     593 active+clean

  io:
    client:   64 KiB/s rd, 10 KiB/s wr, 78 op/s rd, 1 op/s wr

Troubleshooting

Experience problems during install? Please check the following items:

Network connectivity to dashboard is not working

Have you attached multiple NICs which are not part of the same LACP bond?

All NICs should either:

  • Be part of an active (advertising) LACP bond as defined in IEEE 802.3ad

    Full LACP must be used, if the switch does not send LACP PDUs then VM Squared cannot detect that LACP is in use.

OR

  • Be connected to the same L2 domain for outbound load-balancing using TLB

    VM Squared’s TLB load balancing can be used with switches that do not support full LACP. Make sure that all switch ports are configured the same and outbound traffic will be balanced.

Ensure you have disconnected NICs not used for VM Squared

VM Squared will attempt to use all active NICs. Disconnect any NICs that are not being used.

Check the order of NIC preference listed in Installation Requirements and ensure that you have setup any bonding or multiple-NIC configuration as required.

Installation failed to write to disk

Do your disks contain an existing filesystem?

Have you wiped data from your disk? VM Squared’s installer will avoid over-writing existing filesystems, so please wipe any filesystem signatures prior to install. The “wipefs” tool can be used.

For example:

wipefs -a /dev/sda

Do you have sufficient free disks?

The VM Squared installer requires a disk with at least 8GB free space to store its applications.

To store the VMs, you should have at least one (but preferably more) disks of 100GB+ size.

Hardware-based RAID can be used but as VM Squared provides its own replication and discovery of disk failures, we recommend passing through all disks using HBA mode without a RAID volume.

Installer fails with a kernel error

Does your CPU meet the requirements?

  • An x86-64 (AMD64) CPU is required
  • CPUs must support either Intel VT-d or AMD-V extensions

Do you have sufficient RAM?

  • At least 16GB RAM is required
  • We recommend at least 64GB

Next Steps

Next steps

Now VM Squared is installed you can: