Pacemaker Create Location Constraints

This write-up will detail the process of creating location constraints in a Pacemaker cluster. This is done when you want to have an resource or resource group prefer to run on a specific node in the cluster. 1 – Verify the current list of constraints using the pcs constraint list command.

Example Output


Pacemaker Remove Constraints

This write-up details the process of removing constraints. Remove Constraints 1 – List the currently configured constraints using the pcs constraint list –full command.

Example Output

2 – Note the id string and use that to remove the constraints use the pcs constraint remove id command.

3 – Verify the constraints have…


Pacemaker Enable Maintenance Mode or Freeze Cluster

This write-up details the process of placing a Pacemaker cluster into maintenance mode or freezing the cluster. Enable Maintenance Mode 1 – Run the pcs property set maintenance-mode=true command to place the cluster into maintenance mode.

2 – Next run the pcs property command to verity that it displays maintenance-mode: true which means the…


Pacemaker Cheat Sheet

File and Directory Locations Location Description /var/lib/pacemaker/cib/cib.xml Primary cluster configuration file /var/log/cluster/corosync.log Primary cluster log file /usr/lib/ocf/resource.d/heartbeat/ Directory where resource scripts are located Check Cluster Status Command Description pcs cluster status Display status of cluster nodes pcs status –full (double dashes) Display detailed cluster status of nodes and resources pcs resource Display status of all…


Pacemaker Configure Oracle Resource Agent

This write-up details the process used to create an Oracle resource using pacemaker. Oracle Resource Agent Notes The Oracle resource agent requires you have an user created within the Oracle database called ocfmon with the ability to create a profile. This user is used to monitor the databases health. Without this user the Oracle resource…


Pacemaker Configure HP iLO 4 SSH Fencing

This write-up details how to configure HP iLO 4 fencing over SSH using Pacemaker and Stonith Requirements An account created on the HP iLO that can power the server on and off SSH enabled on the iLO (This may require an License) HP iLO SSH Fencing Notes During my initial testing of HP iLO fencing…


Pacemaker Clear Resource Failures

This write-up describes how to clear Failed Actions from the output of the pcs status command. 1 – The pcs status command displays failed starting of the server106-cpn_ilo4_fence_start_0 resource.

Example Output

2 – To remove this Failed Action from the output issue the pcs resource cleanup [resource-name] command.

Example Output

3…


Pacemaker Status Command Cheat Sheet

The document details various commands that can be used to check the status of an Pacemaker cluster. Command Description pcs status resources Shows status of all configured resources pcs cluster status Shows status of all clustered nodes pcs status –full Shows detailed status of all resources and nodesoo PCS Status Resources Example

Example Output…


Add VERITAS InfoScale MAN Pages to MANPATH

VERITAS does not add its MAN pages to your MANPATH. Below are the step by step instructions to add all of the VERITAS InfoScale man pages to your MANPATH. 1 – Change directory to /etc/profile.d/.

2 – Create a new file called vcs_infoscale_man_pages.sh using an text editor.

3 – Add the line below…


Install InfoScale 7.3.1 on RHEL 7.5

This write up details how to install VERITAS InfoScale 7.3.1 on RHEL 7.5. If you have attempted to install VERITAS InfoScale 7.3.1 on RHEL 7.5 using CPI you would have received the error below.

This is due to VERITAS InfoScale 7.3.1 needing to be patch to VERITAS InfoScale 7.3.1.100 to support RHEL 7.5. Below…