Agent functions

The value of the Operations attribute for this agent is OnOff.

Online 

Starts an Apache server by executing the httpdDir/httpd program with the appropriate arguments. When you specify a file with the EnvFile attribute, the file is sourced before the agent executes the httpd command. 

Offline 

To stop the Apache HTTP server, the agent: 

  • Executes the httpdDir/httpd program with the appropriate arguments (Apache v2.0), or
  • Sends a TERM signal to the HTTP Server parent process (Apache v1.3).

When you specify a file with the EnvFile attribute, the file is sourced before the agent executes the httpd command. 

Monitor 

Monitors the state of the Apache server. First it checks for the processes, next it can perform an optional state check. 

Clean 

Removes the Apache HTTP server system resources that might remain after a server fault or after an unsuccessful attempt to online or offline. These resources include the parent httpd daemon and its child daemons. 

Action 

checkconffile.vfd 

Checks for the existence of the Apache configuration file and the existence of the directory that contains the httpd binary that is used during start up. 

For a local installation, if the config file or HttpdDir is not found, make sure that it exists on the failover node.