Greetings and salutations my good people! ?
I've just joined this forum since I'm a recent hire at a company that requires me to cluster some freebsd app servers, and from what I've found so far online, it ain't gonna work in a linuxy way. So, I figured I'd go ahead and join and let my first official question here be a doozy. So here goes.
My question really isn't about getting into the weeds, but merely a high level question as to what's currently the best way to go about my specific need. Namely, a HA active-passive cluster, with at most ONE instance being up at any given time. An 'active' node and a 'standby' node. There's no shared storage or split brain to worry about, so I just need something pretty simple. Ideally a way to do a 'pre' and a 'post' script to handle the switcheroo gracefully. I've found 'carp', but this seems more suited for active-active - unless I'm missing something.
Here's some related packages I've found that may be useful, but I'm unable to find a good reference for how to get these installed and working together. Zookeeper may be unnecessary, I think corosync would be the 'heartbeat' checker and pacemaker would work to manage the services. I've also ran across some old documents that also used keepalived, but I'm not finding that in the repo, so if necessary I guess I'd be building from source.
pacemaker1-1.1.24_4 Scalable High-Availability cluster resource manager
pacemaker2-2.1.2_4 Scalable High-Availability cluster resource manager
zookeeper-3.8.0 Coordination Service for Distributed Applications
corosync2-2.4.6 Corosync Cluster Engine
corosync3-2.99.5_1 Corosync Cluster Engine
Any thoughts and suggestions will be much appreciated!
I've just joined this forum since I'm a recent hire at a company that requires me to cluster some freebsd app servers, and from what I've found so far online, it ain't gonna work in a linuxy way. So, I figured I'd go ahead and join and let my first official question here be a doozy. So here goes.
My question really isn't about getting into the weeds, but merely a high level question as to what's currently the best way to go about my specific need. Namely, a HA active-passive cluster, with at most ONE instance being up at any given time. An 'active' node and a 'standby' node. There's no shared storage or split brain to worry about, so I just need something pretty simple. Ideally a way to do a 'pre' and a 'post' script to handle the switcheroo gracefully. I've found 'carp', but this seems more suited for active-active - unless I'm missing something.
Here's some related packages I've found that may be useful, but I'm unable to find a good reference for how to get these installed and working together. Zookeeper may be unnecessary, I think corosync would be the 'heartbeat' checker and pacemaker would work to manage the services. I've also ran across some old documents that also used keepalived, but I'm not finding that in the repo, so if necessary I guess I'd be building from source.
pacemaker1-1.1.24_4 Scalable High-Availability cluster resource manager
pacemaker2-2.1.2_4 Scalable High-Availability cluster resource manager
zookeeper-3.8.0 Coordination Service for Distributed Applications
corosync2-2.4.6 Corosync Cluster Engine
corosync3-2.99.5_1 Corosync Cluster Engine
Any thoughts and suggestions will be much appreciated!