Split Brain is the most awful situation in the cluster world,

and it’s recommended to prepare a hardware management board and setup the STONITH plugin.

But some cheep machine might not have such an expensive board…

So, good news for such users!

STONITH plugin “eject” is out now!

This plugin doesn’t need special devices.

It just needs an optical drive, like CD-ROM drive.

If you setup this plugin, you can power off the machine with the optical drive like this.

eject STONITH Plugin

NOTICE:

Set up 2 PCs face-to-face.

Adjust the height of the both PC.

You may need some BIOS configurations for Power Management.

You can not select the STOTNIH type, for example, power on/off/reset.

After the success fail over,  re-set the equipment layout.

HOT TO INSTALL:

download “eject” .

copy it to the right place.

# cp eject /usr/lib/stonith/plugins/external/

# chmod 755 /usr/lib/stonith/plugins/external/eject

or

# cp eject /usr/lib64/stonith/plugins/external/

# chmod 755 /usr/lib64/stonith/plugins/external/eject

REQUIRED PARAMETER:

hostname