#
Install Flight
Install flight on a node.
Install the OpenFlight release RPM:
dnf install -y https://repo.openflighthpc.org/openflight/centos/8/x86_64/openflighthpc-release-3-1.noarch.rpm
Add the Power Tools repository:
dnf config-manager --set-enabled powertools
Rebuild the dnf cache:
dnf makecache
Install the flight packages:
dnf install -y flight-user-suite flight-plugin-system-systemd-service
Start and enable flight:
systemctl start flight-service systemctl enable flight-service
Log out and log back in for the environment to load.
Start flight, and enable it on start up:
flight start flight set always on
Change the name of the cluster:
flight config set cluster.name mycluster1
Log out and log back in for the environment to reload.
Flight has been installed on this node. Follow the instructions on each node until they all have Flight.
#
Testing
If all was successful, then the following should be the case on all nodes:
The command
dnf repolist
should display the openflight and powertools packages. E.g. on head node:[root@chead1 ~]# dnf repolist repo id repo name appstream CentOS Stream 8 - AppStream baseos CentOS Stream 8 - BaseOS epel Extra Packages for Enterprise Linux 8 - x86_64 epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64 extras CentOS Stream 8 - Extras openflight OpenFlight - Base powertools CentOS Stream 8 - PowerTools
The command
systemctl status flight-service
shows the service as active with no errors.The flight environment should be started (
flight start
).The command prompt should display the cluster name. E.g.
[root@chead1 (mycluster1) ~]#