Prepare Rocky Server

This article describes how prepare a Rocky physical server to be added as a host to Platform9 Managed OpenStack (PMO) cloud.

For a description of PMO networking concepts, refer to the Networking Concepts. Refer to System Requirements for Linux-KVM for systems requirements and supported Rocky Operating System versions.

Supported Operating System Version

Platform9 Managed OpenStack supports Rocky 9.1 (64-bit).

Step 1 - Install Rocky Operating System and install some pre-requisite packages

Make sure that your server is configured appropriately with access to storage and physical networking. Download and install Rocky on your physical server. You can download Rocky distributions from here: https://rockylinux.org/download/

We recommend installing the minimal Rocky operating system. Platform9 agents are prepared to pull in any required package dependencies and get them installed on your server to prepare it to be part of OpenStack. This includes any libvirt/KVM package dependencies.

It’s usually a good practice to get your system up to date with regard to the latest patches and updates.

Bash
Copy

Step 2 - Ensure Virtualization is Enabled

Ensure that virtualization is enabled for your server by checking your server’s BIOS settings. If disabled, enable virtualization for the server to be able to act as a hypervisor within Platform9 Managed OpenStack.

Step 3 - Ensure the System Clock is Synchronized

Bash
Copy

The following image (Figure 1) represents three hypervisors connected in a Managed OpenStack Neutron network.

There are no separate network nodes in a Distributed Virtual Routing (DVR) network.

Step 4 - Set SELinux to permissive and update crypto policies to legacy mode

This is required for Open vSwitch (OVS) to be able to manage networking.

Run the following commands to set SELinux to permissive and to change crypto policy to legacy on rocky hosts to allow key type ssh-rsa and reboot.

Bash
Copy

Step 5 - Add the Openvswitch YUM Repo

Run the following command to install the Openvswitch YUM repository.

Bash
Copy

For Platform9 releases upto and including 4.4:

Step 6 - Install Openvswitch and openstack-network-scripts packages

Run the following command to install Openvswitch and then remove the repos to prevent an upgrade later.

Bash
Copy

Step 7 - Disable Firewalld and NetworkManager

This is required for KVM and OVS to be able to create iptables rules directly without firewalld getting in the way.

Run the following commands to disable firewalld and NetworkManager.

Bash
Copy

Step 8 - Enable Network and Openvswitch

Run the following command to enable network.

Bash
Copy

Step 9 - Load the modules needed for Neutron

Run the following commands to load the modules needed for Neutron as root.

Bash
Copy

Step 10 - Add sysctl options

Run the following commands to add sysctl options as root.

Bash
Copy

Step 11 - Install QEMU KVM EV

Run the following commands to install QEMU KVM EV

Bash
Copy

Step 12 - Install Router Advertisement Daemon

Run the following command to install radvd

Bash
Copy

Step 13 - Configure host networking

Please refer Prepare CentOS Server for setting up host networking.

At this point your Rocky server is ready to be added as a hypervisor to Platform9 Managed OpenStack (PMO).

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated by Anmol Sachan