How To Install dmlite-dpmhead-domeonly on CentOS 8

dmlite-dpmhead-domeonly is DPM Head Node (MySQL)

Introduction

In this tutorial we learn how to install dmlite-dpmhead-domeonly on CentOS 8.

What is dmlite-dpmhead-domeonly

The Disk Pool Manager (DPM) creates a Grid storage element from a set of disk servers. It provides several interfaces for storing and retrieving data such as HTTP, Xrootd, GridFTP This is a metapackage providing all required daemons for a DPM Head Node.

We can use yum or dnf to install dmlite-dpmhead-domeonly on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install dmlite-dpmhead-domeonly.

Install dmlite-dpmhead-domeonly on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install dmlite-dpmhead-domeonly using dnf by running the following command:

sudo dnf -y install dmlite-dpmhead-domeonly

Install dmlite-dpmhead-domeonly on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install dmlite-dpmhead-domeonly using yum by running the following command:

sudo yum -y install dmlite-dpmhead-domeonly

How To Uninstall dmlite-dpmhead-domeonly on CentOS 8

To uninstall only the dmlite-dpmhead-domeonly package we can use the following command:

sudo dnf remove dmlite-dpmhead-domeonly

dmlite-dpmhead-domeonly Package Contents on CentOS 8

/usr/share/dmlite/StAR-accounting
/usr/share/dmlite/StAR-accounting/star-accounting.py
/usr/share/dmlite/dbscripts
/usr/share/dmlite/dbscripts/cns_mysql_db.sql
/usr/share/dmlite/dbscripts/dpm_mysql_db.sql
/usr/share/dmlite/dbscripts/upgrade
/usr/share/dmlite/dbscripts/upgrade/DPM_upgrade_mysql
/usr/share/dmlite/dbscripts/upgrade/dpm-db-340-to-350.sql
/usr/share/dmlite/filepull
/usr/share/dmlite/filepull/externalpull_example.sh
/usr/share/dmlite/filepull/externalstat_example.sh
/usr/share/dmlite/utils
/usr/share/dmlite/utils/dmlite-mysql-dirspaces.py
/usr/share/dmlite/utils/dmlite-prom.py
/usr/share/dmlite/utils/dpm-dump.py
/usr/share/dmlite/utils/lost.py

References

Summary

In this tutorial we learn how to install dmlite-dpmhead-domeonly on CentOS 8 using yum and dnf.