rogierslag / transip-stonith

Kill a certain node in a HA environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Magnet.me Logo

GitHub release Docker pulls Docker build Code Climate Github stars

TransIP STONITH (Shoot the other node in the head)

We use the following simple script/Docker container at Magnet.me to kill a machine really hard if another node becomes a master for an HA-environment.

You can use the container like this (assumed the private key is stored in /tmp/privateKey):

docker run \
    -v /tmp/privateKey:/opt/privateKey \
    -e TRANSIP_USER=magnetme \
    -e DOOMED_VPS=magnetme-vps69 \
    magnetme/transip-stonith

About

Kill a certain node in a HA environment

License:Apache License 2.0


Languages

Language:JavaScript 100.0%