Hi all,
I'm currently working with heartbeat in the Amazon cloud and (for
those that are familiar with Amazon EC2), I'm trying to use heartbeat
to re-allocate an elastic IP on detection of node failure. I'm not
experienced with writing my own heartbeat resource scripts, but this
is what I
Hi,
On Mon, Dec 01, 2008 at 01:47:56PM +0800, James Little wrote:
> Hi all,
>
> I'm currently working with heartbeat in the Amazon cloud and (for those
> that are familiar with Amazon EC2), I'm trying to use heartbeat to
> re-allocate an elastic IP on detection of node failure. I'm not experienc
Thanks for the reply Dejan. I've added code for the status action but
still no luck. So my script is now:
###
usage() {
echo "usage: $0 start|stop"
exit 1
}
associate() {
CURRENT_IP=`curl
Hi,
On Tue, Dec 02, 2008 at 04:33:21PM +0800, James Little wrote:
> Thanks for the reply Dejan. I've added code for the status action but still
> no luck. So my script is now:
>
> ###
> usage() {
>
Thanks Dejan, I have it working now. I realised that the binaries were
in a custom path and that it had been added to user shell profiles,
including root (hence the reason the script worked when ran
manually). So I added the path manually in this script and then
exported.
--
Regards
J