Hitachi

uCosminexus Application Server HTTP Server User Guide


D.2 HTTP Server settings

To specify HTTP Server settings for MC/ServiceGuard, follow the steps below.

  1. Install HTTP Server onto a local disk at each node.

  2. Create a script for monitoring HTTP Server, as needed.

    For details on creating scripts, see Appendix D.3 Creating a monitoring script.

  3. Set up MC/ServiceGuard.

    For details on setting up MC/ServiceGuard, see Appendix D.4 MC/ServiceGuard settings.

  4. To each node, distribute the HTTP Server configuration file, the monitoring script that you created in the previous step, and the script for controlling MC/ServiceGuard packages.

  5. Start MC/ServiceGuard.

Note the following points when configuring environments.

Organization of this subsection

(1) For a virtual host

As a result of a failover, the server name returned to the client might change. Therefore, be sure to set the ServerName directive on virtual hosts.

(2) Specifying IP addresses

Instead of a stationary IP address (which cannot be moved to another node), use a relocatable IP address (which is assigned to a package and can be moved to another node) for the directives that need an IP address to be specified (<VirtualHost>, BindAddress, and Listen).

(3) Checking the configuration file syntax

Before starting MC/ServiceGuard, run /opt/hitachi/httpsd/sbin/httpsdctl configtest to make sure that the server settings are correct.

(4) Editing the configuration file

By running httpsdctl restart or httpsdctl graceful directly from the command line, you can change the settings of HTTP Server while MC/ServiceGuard is in use. Your changes need to be applied to the other nodes as well.

(5)  Operation by using CRL

In the standby node, you need to set the same type of CRL as the one being used for the primary node.