Mailing List Archive

Finished my first RA (ocf:xola:saprouter)
Hi,

I have finished my first OCF RA named "ocf:xola:saprouter" (and it actually runs in one of our clusters). I have built RPMs for SLES11 SP1 (noarch). So if anybody is wanting to have a look, I can provide the RPMs and SRPM.

Here's the info from XML:
# crm ra info ocf:xola:saprouter OCF Resource Agent for SAP Router (SAProuter) (ocf:xola:saprouter)

OCF Resource Agent for SAP Router (SAProuter)

This RA will support a stand-alone installation of "SAProuter".

Parameters (* denotes required, [] the default):

conf_dir (string, [/usr/sap/C11/SYS/profile]): Directory where "saprouttab" resides
Directory where the configuration file "saprouttab" resides.

exe_dir (string, [/usr/sap/C11/SYS/exe/run]): Directory with "saprouter" executable
Directory where the "saprouter" executable is.

log_dir (string, [/usr/sap/tmp]): Directory for logs and traces
Directory where log and trace files will be created.

run_as (string, [c11adm]): User for starting SAProuter
User that should start the SAProuter process.

saproutetab (string, [saproutetab]): Name of "saprouttab" file
Name of file containing the SAProuter configuration (permission table).
The file specified will be accessed as $conf_dir/$saproutetab.

conn_wait_ms (integer, [30000]): Connection Timeout [ms]
Timeout for establishing a connection [Milliseconds].

transition_delay (integer, [5]): Transition Delay [s]
Time to wait for process to start or terminate [s].
After starting or stopping SAProuter, the final status is determined after
the specified amount of time. It may prevent wrong status reports.

source_ip* (string): IPv4 Address to bind saprouter to
IPv4 Address where SAProuter will listen (bind to).
The address must be specified using "dot notation" (1.2.3.4).

Operations' defaults (advisory minimum):

start timeout=1m
stop timeout=1m
monitor interval=5m timeout=30s start-delay=5s

The packages are (only the first one is needed; the second is a placeholder at the moment):
resource-agents-xola-saprouter-0.0-0.7
resource-agents-xola-0.0-0.7

Regards,
Ulrich Windl
P.S. SAProuter is a component of SAP R/3 that is required for external support. If you want to run the service independently of a specific SAP R/3 installation, you might want an RA like the one I described.

_______________________________________________
ha-wg-technical mailing list
ha-wg-technical@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/ha-wg-technical
Re: Finished my first RA (ocf:xola:saprouter) [ In reply to ]
On 07/08/2011 12:56 PM, Ulrich Windl wrote:
> Hi,
>
> I have finished my first OCF RA named "ocf:xola:saprouter" (and it actually runs in one of our clusters). I have built RPMs for SLES11 SP1 (noarch). So if anybody is wanting to have a look, I can provide the RPMs and SRPM.
>
> Here's the info from XML:

How about showing us the code? Preferably on a github repo of yours, but
dropbox or pastebin will do for the moment as well.

Florian