Name

ocf:apache — Apache web server

Synopsis

OCF_RESKEY_configfile=string [OCF_RESKEY_httpd=string] [OCF_RESKEY_port=integer] [OCF_RESKEY_statusurl=string] [OCF_RESKEY_options=string] [OCF_RESKEY_testregex=string] apache [start | stop | status | monitor | meta-data | validate-all]

Description

This is the resource agent for the Apache web server. Thie resource agent operates both version 1.x and version 2.x Apache servers. See also http://httpd.apache.org/

Supported Parameters

OCF_RESKEY_configfile=configuration file path

The full pathname of the Apache configuration file. This file is parsed to provide defaults for various other resource agent parameters.

OCF_RESKEY_httpd=httpd binary path

The full pathname of the httpd binary (optional).

OCF_RESKEY_port=httpd port

A port number that we can probe for status information using the statusurl. This will default to the port number found in the configuration file, or 80, if none can be found in the configuration file.

OCF_RESKEY_statusurl=url name

The URL of the apache status module. If left unspecified, it will be inferred from the apache configuration file.

OCF_RESKEY_options=command line options

Extra options to apply when starting apache. See man httpd(8).

OCF_RESKEY_testregex=test regular expression

Regular expression to match in the output of statusurl. It is case insensitive.


Heartbeat Guide