How To Install cpqarrayd on Ubuntu 18.04
Introduction
In this tutorial we learn how to install cpqarrayd
on Ubuntu 18.04.
What is cpqarrayd
cpqarrayd is:
cpqarrayd is a userspace monitoring daemon for HP (Compaq) SmartArray hardware RAID controllers. These controllers usually come built-in to ProLiant, or as a PCI card for ProLiant or Integrity systems. This daemon reports status changes in the disk array to syslog and, optionally, to a snmp trap host.
The default is to only log to the syslog. You can specify traphosts with the -t parameter at the commandline. Multiple traphosts are allowed.
This tool works with the SmartArray drivers found in Linux kernels (cciss and ida drivers).
There are three methods to install cpqarrayd
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install cpqarrayd Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install cpqarrayd
using apt-get
by running the following command:
sudo apt-get -y install cpqarrayd
Install cpqarrayd Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install cpqarrayd
using apt
by running the following command:
sudo apt -y install cpqarrayd
Install cpqarrayd Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install cpqarrayd
using aptitude
by running the following command:
sudo aptitude -y install cpqarrayd
How To Uninstall cpqarrayd on Ubuntu 18.04
To uninstall only the cpqarrayd
package we can use the following command:
sudo apt-get remove cpqarrayd
Uninstall cpqarrayd And Its Dependencies
To uninstall cpqarrayd
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove cpqarrayd
Remove cpqarrayd Configurations and Data
To remove cpqarrayd
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge cpqarrayd
Remove cpqarrayd configuration, data, and all of its dependencies
We can use the following command to remove cpqarrayd
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cpqarrayd
References
Summary
In this tutorial we learn how to install cpqarrayd
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.