Configuring Lightbits Target Virtual Machines

This article details how to prepare the Lightbits storage VMs for running the Ansible installer packages and creating a cluster.

SSH into your Lightbits target VM using a method described in the SSH Into An Azure VM section.

Installing wget

To pull packages, we will use wget. If you have another preferred tool, you can use your organization's best practices instead.

Bash
Copy

Installing the Correct Kernel

Lightbits software involves installing Lightbits proprietary kernel modules on the VMs in the storage cluster. As a result, a specific kernel must be used. The mapping of kernels to Lightbits versions is outlined below.

As noted in the table, releases 3.4.1 and above live in user space. This step can therefore be skipped since the kernel is no longer relevant. Please move on to the Disabling SELinux section.

Lightbits ReleaseRelease TypeKernel VersionSupported OS
3.7.1~b1548RHELUser spaceAlma, RHEL, Rocky (8 & 9)
3.6.1~b1503RHELUser spaceAlma, RHEL, Rocky (8 & 9)
3.5.1~b1443RHELUser spaceAlma, RHEL, Rocky (8 & 9)
3.4.1~b1397RHELUser spaceAlma, RHEL, Rocky (8 & 9)
3.3.1~b1335RHEL4.18.0_477.13.1.el8Alma, Red Hat 8.7
3.2.1~b1252RHEL4.18.0-425.19.2.el8Alma, Red Hat 8.6
3.1.2~b1127RHEL4.18.0_425.3.1.el8Alma, Red Hat 8.6
3.1.1~b1119RHEL4.18.0-425.3.1.el8Alma, Red Hat 8.6

In this guide, the examples illustrate using Lightbits release 3.2.1.

Azure does not allow for fully configuring RHEL kernel versions, so we will illustrate how to use Alma open source kernels. If your organization has access to the RHEL kernels, follow your organization's internal best practices.

  1. Download the kernel packages from the Alma repository, using wget.
Bash
Copy
  1. Install the kernel packages.
Bash
Copy
  1. Set the kernel in grubby.
Bash
Copy
  1. Prevent the yum update from changing the kernel version.
Bash
Copy

Installing IP Tables

For Lightbits, we use iptables by default.

  1. Install iptables.
Bash
Copy

Disabling SELinux

For the Lightbits installation to succeed, SELinux must be disabled.

  1. Disable SELinux.
Bash
Copy

Enabling Persistent Journaling

To aid with troubleshooting and support, Lightbits recommends setting the journal to keep logs even after reboots and shutdowns. To ensure that the OS disk does not fill up, Lightbits also recommends updating the log rotation.

  1. Enable persistent journaling.
Bash
Copy
  1. Enable log rotation.
Bash
Copy

Rebooting as Needed

To ensure that the kernel changes have been applied, reboot the virtual machine.

Bash
Copy

Repeating the Process as Needed

Repeat the above process for all virtual machines that will be a part of the Lightbits storage cluster.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard