Skip to content

Fencing agent that uses SSH, should only be used for testing.

Notifications You must be signed in to change notification settings

nannafudge/fence_ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

fence_ssh

Fencing agent that uses SSH, should only be used for testing.

The branch alternate_version contains a version of the agent that works using the nodename parameter instead (read the readme on that branch).

How to Use

Place in /usr/sbin with execute permissions

Create stonith resources in Pacemaker

Can see usage with either fence_ssh --help or by running pcs stonith describe fence_ssh

Example usage with PCS:

Ensure that pcmk_host_list is defined so that Pacemaker knows which resource can fence which node

pcs stonith create stonith-one fence_ssh user=centos hostname=host1 password=Pa55w0rd sudo=true pcmk_host_list="host1" pcs stonith create stonith-two fence_ssh user=centos hostname=host2 password=Pa55w0rd sudo=true pcmk_host_list="host2" pcs constraint location add stonith-one-host-one stonith-one host1 INFINITY pcs constraint location add stonith-two-host-two stonith-two host2 INFINITY

About

Fencing agent that uses SSH, should only be used for testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages