Previous Topic: Dynamic Policy Server ClustersNext Topic: Start an IBM HTTP Server with the apachectl Command


Starting and Stopping Web Agents

This section contains the following topics:

Enable a Web Agent

Disable a Web Agent

Starting or Stopping Most Apache-based Agents with the apachectl Command

Start an IBM HTTP Server with the apachectl Command

Start an Oracle 11.g.x HTTP Server with the opmnctl Command

Enable a Web Agent

Configure your agent parameters and then enable the agent to protect the resources on the web server.

Note: No resources are protected until you also define policies in the CA SiteMinder® Policy Server.

Follow these steps:

  1. Open the WebAgent.conf file with a text editor.
  2. Change the value of the EnableWebAgent parameter to yes.
  3. Save and close the WebAgent.conf file.
  4. Restart the web server (the web server itself, not the computer on which it runs).

    The Web Agent is enabled.

More information:

WebAgent.conf File Locations

Modify the Oracle iPlanet Startup Script to Prevent Crashes when the Server Stops

Disable a Web Agent

If you want to stop the Web Agent from protecting the resources on your web server, disable the Web Agent.

Follow these steps:

  1. Open the WebAgent.conf file with a text editor.
  2. Change the value of the EnableWebAgent parameter to no.
  3. Save and close the WebAgent.conf file.
  4. Restart the web server (the web server itself, not the computer on which it runs).

    The Web Agent is disabled.

More information:

WebAgent.conf File Locations

Starting or Stopping Most Apache-based Agents with the apachectl Command

Starting or stopping most Apache-based agents with the apachectl command on UNIX or Linux operating environments requires setting the environment variables for the product first.

Note: The Apache-based agents do not support the apachectl -restart option. This procedure does not apply to Apche-based IBM HTTP servers. Use this procedure instead.

Follow these steps:

  1. For UNIX/Linux operating environments, set the environment variables by running the following script:
    ./ca_wa_env.sh
    
  2. Use one of the following commands:
    apachectl -stop
    
    apachectl -start