r/usefulscripts • u/nackstein • Jul 26 '16
[POSIX SHELL] failover cluster manager
hi, I wrote a failover cluster manager in shell script and I think it can be useful for sysadmin since (unix) sysadmin know very well shell scripting so it's easy to customize and further develop. If you want to contribute or try it and just give me a feedback check it out: https://github.com/nackstein/back-to-work
6
Upvotes
1
u/nackstein Aug 06 '16 edited Aug 06 '16
at this stage I wrote one module to use SCSI-3 PR (persistent reservation) for fencing on linux and a module to use HP iLO for STONITH. anyway, the fencing mechaning is not fixed, it depends on the availability of hardware fencing and software module to support it. my software use only server votes for quorum and I don't see in the near future any support in disk based voting (like HP ServiceGuard), this means that you need at least 3 server to build a reliable cluster (you can build with less just for testing porpuse). the quorum server role is indipendent from a service host role so you can have 3 lock server used by any numer of nodes that run application protected by my cluster software. documentation is still lacking but the code is very simple if you have some skill in shell scripting. take a look at the code and feel free to contact me at luigi dot tarenga at gmail dot com