How To Install resalloc-server on Rocky Linux 8

In this tutorial we learn how to install resalloc-server on Rocky Linux 8. resalloc-server is Resource allocator for expensive resources - server part

Introduction

In this tutorial we learn how to install resalloc-server on Rocky Linux 8.

What is resalloc-server

The resalloc project aims to help with taking care of dynamically allocated resources, for example ephemeral virtual machines used for the purposes of CI/CD tasks. The resalloc-server package provides the resalloc server, and some tooling for resalloc administrators.

We can use yum or dnf to install resalloc-server on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install resalloc-server.

Install resalloc-server on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install resalloc-server using dnf by running the following command:

sudo dnf -y install resalloc-server

Install resalloc-server on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install resalloc-server using yum by running the following command:

sudo yum -y install resalloc-server

How To Uninstall resalloc-server on Rocky Linux 8

To uninstall only the resalloc-server package we can use the following command:

sudo dnf remove resalloc-server

resalloc-server Package Contents on Rocky Linux 8

/etc/cron.hourly/resalloc
/etc/logrotate.d/resalloc-server
/etc/resallocserver
/etc/resallocserver/pools.yaml
/etc/resallocserver/server.yaml
/usr/bin/resalloc-check-vm-ip
/usr/bin/resalloc-maint
/usr/bin/resalloc-server
/usr/lib/python3.6/site-packages/resallocserver
/usr/lib/python3.6/site-packages/resallocserver/__init__.py
/usr/lib/python3.6/site-packages/resallocserver/__pycache__
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/api.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/api.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/db.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/db.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/log.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/log.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/logic.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/logic.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/maint.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/maint.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/manager.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/manager.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/models.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/__pycache__/models.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic
/usr/lib/python3.6/site-packages/resallocserver/alembic.ini
/usr/lib/python3.6/site-packages/resallocserver/alembic/__init__.py
/usr/lib/python3.6/site-packages/resallocserver/alembic/__pycache__
/usr/lib/python3.6/site-packages/resallocserver/alembic/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/__pycache__/env.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/__pycache__/env.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/env.py
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/210774551cd3_performance_indexes.py
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/5759bc82a992_initial_revision.py
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/__init__.py
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/__pycache__
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/__pycache__/210774551cd3_performance_indexes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/__pycache__/210774551cd3_performance_indexes.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/__pycache__/5759bc82a992_initial_revision.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/__pycache__/5759bc82a992_initial_revision.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/__pycache__/cdf29a997efc_resource_pool_id.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/__pycache__/cdf29a997efc_resource_pool_id.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/__pycache__/eac9fc01d0d1_allow_resource_reuse.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/__pycache__/eac9fc01d0d1_allow_resource_reuse.cpython-36.pyc
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.py
/usr/lib/python3.6/site-packages/resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse.py
/usr/lib/python3.6/site-packages/resallocserver/api.py
/usr/lib/python3.6/site-packages/resallocserver/config.py
/usr/lib/python3.6/site-packages/resallocserver/db.py
/usr/lib/python3.6/site-packages/resallocserver/log.py
/usr/lib/python3.6/site-packages/resallocserver/logic.py
/usr/lib/python3.6/site-packages/resallocserver/maint.py
/usr/lib/python3.6/site-packages/resallocserver/manager.py
/usr/lib/python3.6/site-packages/resallocserver/models.py
/usr/lib/systemd/system/resalloc.service
/usr/libexec/resalloc-merge-hook-logs
/usr/share/doc/resalloc-server
/usr/share/doc/resalloc-server/NEWS
/usr/share/doc/resalloc-server/README
/usr/share/licenses/resalloc-server
/usr/share/licenses/resalloc-server/COPYING
/usr/share/man/man1/resalloc-maint.1.gz
/usr/share/man/man1/resalloc-server.1.gz
/var/lib/resallocserver
/var/lib/resallocserver/project
/var/log/resallocserver

References

Summary

In this tutorial we learn how to install resalloc-server on Rocky Linux 8 using yum and dnf.