Sponsored Content
Operating Systems Linux Red Hat RHEL 7 PaceMaker Fence Agent Options Post 302981863 by Padow1 on Tuesday 20th of September 2016 04:26:58 PM
Old 09-20-2016
Pacemaker is new in RHEL7 and is not well documented by Red Hat and the community site uses different commands/syntax so not much carries over cleanly. Pacemaker can be a pain to configure but it works very well once going and does the job it is designed to do very well. That being said, I haven't found a use case where I would use it on VM's.

Stonith/fencing is a vital part of pacemaker, but if you are just testing you can disable it and the resources will start without it.

Code:
pcs property set stonith-enabled=false

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

electric fence

hi, i have downloaded electric fence from website,but i dnt know to install it in my system,plz tel me the procedure to install new packages into my system. (2 Replies)
Discussion started by: m.mujahid
2 Replies

2. UNIX for Dummies Questions & Answers

Fence status - beginners problems!!

Hi, I'd like to try and capture a fence status from Maestro and move it to another file, but each time I try it fails. For example, when using Maestro (conman) I enter: status I then get the fence status showing as 0 I then create a .dat file: touch statustest.dat If I... (0 Replies)
Discussion started by: tjhorwood
0 Replies

3. Red Hat

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

Hi all, Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out. i have dual os, win 7 & rhel 6. i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue. below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies

4. Red Hat

Oracle ha from rgmanager to pacemaker

Hi, I've got one question about oracle rgmanager resource agent and ocf script. Rgmanager oracledb.sh script has an options called "vhost" which set the "ORACLE_HOSTNAME" value when you have different different cards on the same machine and different oracle instances. In ocf: heartbeat:... (0 Replies)
Discussion started by: lantuin
0 Replies

5. Red Hat

PaceMaker Cluster Fence Device

I have 2 VM's setup with a shared VMware disk running RHEL 7.1 (just updated to 7.2 with yum update), and would like to know what is the easiest Fence device to implement for testing purposes. Apparently, I need a fence device before my IP resources will come online. I have the cluster... (1 Reply)
Discussion started by: mrmurdock
1 Replies

6. AIX

IBM Power Linux Cluster Fence device on Power8 Platform

wasn't quite sure which forum to post in. What typical fence device to configure for a Power Linux PaceMaker Cluster running on the Power8 Platform (S822 Model of hardware), or what should be ordered with the S822 for use as a Fence Device? (5 Replies)
Discussion started by: mrmurdock
5 Replies

7. Red Hat

[HA] Red Hat 7, pacemaker and start/stop scripts

Hi there, I am wondering if I could add start/stop ksh scripts provided by 3rd party to cluster... I read that script must be ocf/lsb compliant, however, in AIX I can just set up two separate scripts for starting and stopping application. Can similar be done under RH Linux cluster? Cheers, c (1 Reply)
Discussion started by: cyjan
1 Replies

8. Shell Programming and Scripting

Bash script to add multiple resources to NFS pacemaker cluster

All, I'm looking for some guidance on how to accomplish automating the addition of exports to an HA Pacemaker NFS cluster. I would like to do it in bash for logistics reasons. The resource creation command looks like this: pcs resource create nfs-b2b-hg-media-10.1 exportfs... (6 Replies)
Discussion started by: hburnswell
6 Replies

9. Red Hat

Linux PaceMaker Equivalent to a SharedAddress Resource Type

In HA platforms, there is the concept of a "Scalable Resource Type, which included the sharedaddress" that is used in commonly Web Servers resource groups. The sharedaddress resource type is provided so a developer can use this Resource type to build their own scalable resource group. I see... (1 Reply)
Discussion started by: mrmurdock
1 Replies
STONITHD(7)						      Pacemaker Configuration						       STONITHD(7)

NAME
stonithd - Options available for all stonith resources SYNOPSIS
[stonith-timeout=time] [priority=integer] [pcmk_host_argument=string] [pcmk_host_map=string] [pcmk_host_list=string] [pcmk_host_check=string] [pcmk_reboot_action=string] [pcmk_poweroff_action=string] [pcmk_list_action=string] [pcmk_monitor_action=string] [pcmk_status_action=string] DESCRIPTION
This is a fake resource that details the instance attributes handled by stonithd. SUPPORTED PARAMETERS
stonith-timeout = time [60s] How long to wait for the STONITH action to complete. Overrides the stonith-timeout cluster property priority = integer [0] The priority of the stonith resource. The lower the number, the higher the priority. pcmk_host_argument = string [port] Advanced use only: An alternate parameter to supply instead of 'port' Some devices do not support the standard 'port' parameter or may provide additional ones. Use this to specify an alternate, device-specific, parameter that should indicate the machine to be fenced. A value of 'none' can be used to tell the cluster not to supply any additional parameters. pcmk_host_map = string [] A mapping of host names to ports numbers for devices that do not support host names. Eg. node1:1;node2:2,3 would tell the cluster to use port 1 for node1 and ports 2 and 3 for node2 pcmk_host_list = string [] A list of machines controlled by this device (Optional unless pcmk_host_check=static-list). pcmk_host_check = string [dynamic-list] How to determin which machines are controlled by the device. Allowed values: dynamic-list (query the device), static-list (check the pcmk_host_list attribute), none (assume every device can fence every machine) pcmk_reboot_action = string [reboot] Advanced use only: An alternate command to run instead of 'reboot' Some devices do not support the standard commands or may provide additional ones. Use this to specify an alternate, device-specific, command that implements the 'reboot' action. pcmk_poweroff_action = string [poweroff] Advanced use only: An alternate command to run instead of 'poweroff' Some devices do not support the standard commands or may provide additional ones. Use this to specify an alternate, device-specific, command that implements the 'poweroff' action. pcmk_list_action = string [list] Advanced use only: An alternate command to run instead of 'list' Some devices do not support the standard commands or may provide additional ones. Use this to specify an alternate, device-specific, command that implements the 'list' action. pcmk_monitor_action = string [monitor] Advanced use only: An alternate command to run instead of 'monitor' Some devices do not support the standard commands or may provide additional ones. Use this to specify an alternate, device-specific, command that implements the 'monitor' action. pcmk_status_action = string [status] Advanced use only: An alternate command to run instead of 'status' Some devices do not support the standard commands or may provide additional ones. Use this to specify an alternate, device-specific, command that implements the 'status' action. AUTHOR
Andrew Beekhof <andrew@beekhof.net> Author. Pacemaker Configuration 04/17/2012 STONITHD(7)
All times are GMT -4. The time now is 02:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy