Linux

Installing fence-agents on Ubuntu 17.04 LTS

Example of installing fence-agents on Ubuntu 17.04 LTS using the command sudo apt-get install fence-agents.

Quick installation of fence-agents:

Step 1: Update system:

sudo apt-get update

Step 2: Install: fence-agents

Ater updaing the OS run following command to install the packae:

sudo apt-get install fence-agents

Package Details

Package:fence-agents
Version:4.0.24-1
Maintainer:Ubuntu Developers
Home page:https://fedorahosted.org/cluster/wiki/HomePage
Description:Fence Agents for Red Hat Cluster Red Hat Fence Agents is a collection of scripts to handle remote power management for several devices. They allow failed or unreachable nodes to be forcibly restarted and removed from the cluster. . Fence agents included: fence_alom: Sun ALOM fence_amt: AMT fence_amt_ws: AMT (WS) fence_apc: APC over telnet/ssh fence_apc_snmp: APC, Tripplite PDU over SNMP fence_bladecenter: IBM BladeCenter fence_brocade: HP Brocade over telnet/ssh fence_cisco_mds: Cisco MDS fence_cisco_ucs: Cisco UCS fence_compute: the automatic resurrection of OpenStack compute instances fence_docker: Docker fence_drac: Dell DRAC IV fence_drac5: Dell DRAC CMC/5 fence_dummy: Dummy fence agent fence_eaton_snmp: Eaton over SNMP fence_emerson: Emerson over SNMP fence_eps: ePowerSwitch fence_hds_cb: Hitachi Compute Blade systems fence_hpblade: HP BladeSystem fence_ibmblade: IBM BladeCenter over SNMP fence_idrac: IPMI fence_ifmib: IF MIB fence_ilo: HP iLO fence_ilo2: HP iLO fence_ilo3: IPMI fence_ilo3_ssh: HP iLO over SSH fence_ilo4: IPMI fence_ilo4_ssh: HP iLO over SSH fence_ilo_moonshot: HP Moonshot iLO fence_ilo_mp: HP iLO MP fence_ilo_ssh: HP iLO over SSH fence_imm: IPMI fence_intelmodular: Intel Modular fence_ipdu: iPDU over SNMP fence_ipmilan: IPMI fence_ldom: Sun LDOM fence_lpar: IBM LPAR fence_mpath: multipath persistent reservation fence_netio: Koukaam NETIO-230B fence_ovh: OVH fence_pve: the Proxmox Virtual Environment fence_raritan: Raritan Dominion PX fence_rcd_serial: rcd_serial fence agent fence_rhevm: RHEV-M REST API fence_rsa: IBM RSA fence_rsb: Fujitsu-Siemens RSB fence_sanbox2: QLogic SANBox2 FC switches fence_sbd: sbd fence_scsi: SCSI persistent reservation fence_tripplite_snmp: APC, Tripplite PDU over SNMP fence_vbox: VirtualBox fence_virsh: virsh fence_vmware: VMWare fence_vmware_soap: VMWare over SOAP API fence_wti: WTI fence_xenapi: Citrix XenServer over XenAPI fence_zvmip: use with z/VM Virtual Machines
Distro:Ubuntu 17.04
Release:
Repo/Section:universe/admin

How to install fence-agents on Ubuntu 17.04?

First of all update your system with the command:

sudo apt-get update

Above command will download the package lists for Ubuntu 17.04 on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If fence-agents is not installed on your compter then the command 'dpkg -L fence-agents' will give followin error.

deepak@deepak-VirtualBox:~$ dpkg -L fence-agents
dpkg-query: package 'fence-agents' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
deepak@deepak-VirtualBox:~$ 

Installing fence-agents:

After system update use the following command to install fence-agents:

sudo apt-get install fence-agents

Above command will confirm before installing the package on your Ubuntu 17.04 Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove fence-agents from Ubuntu 17.04?

Now we will see the commands for uninstalling the fence-agents from Ubuntu 17.04. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the fence-agents following command is used:

sudo apt-get remove  fence-agents

Following command is used to remove the fence-agents package along with its dependencies:

sudo apt-get remove --auto-remove fence-agents

This will remove fence-agents and all its dependent packages which is no longer needed in the system.

Completely removing fence-agents with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge fence-agents

or you can use following command also:

sudo apt-get purge --auto-remove fence-agents

Above command will remove all the configuration files and data associated with fence-agents package. You can can't recover the delete data, so, use this command with care.

Get our newsletter

Categories