[Linux-HA] Anything resource agent and workdir
RaSca
rasca at miamammausalinux.org
Fri Oct 29 03:25:56 MDT 2010
Hi Guys,
working with some java batch programs I needed to configure the anything
resource agent. I found that there's no way to define the working
directory from where the executable must be launched.
So I solved my problem patching the resource agent to support the
"workdir" parameter, by writing this patch:
I don't know if this is the best solution (any suggestion will be
appreciated), but for me it worked, so I share it (you can find it
attached).
Bye,
--
Raoul Scarazzini
Mia Mamma Usa Linux: Niente è impossibile da capire, se lo spieghi bene!
mobile: +393281776712
rasca at miamammausalinux.org
http://www.miamammausalinux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anything.patch
Type: text/x-patch
Size: 2484 bytes
Desc: not available
Url : http://lists.linux-ha.org/pipermail/linux-ha/attachments/20101029/cf56a99f/attachment.bin
More information about the Linux-HA
mailing list