Appendix F.2 Cosminexus HTTP Server settings

To set up Cosminexus HTTP Server for server cluster, follow the steps below:

  1. Install Cosminexus HTTP Server onto the local disk for each node.
  2. On each node, register Cosminexus HTTP Server as a Windows service. The service name to register must be the same across nodes. You can skip this step if you are clustering services named Cosminexus HTTP Server which are stored when Cosminexus HTTP Server is installed.
  3. Set up the server cluster.
    See Appendix F.3 Server cluster settings.
  4. Distribute the Cosminexus HTTP Server configuration file to each node.
  5. Place the clustering services and applications in the server cluster online.

Note the following points when configuring environments.

Organization of this subsection
(1) For a virtual host
(2) Specifying IP addresses
(3) Checking the configuration file syntax
(4) Editing the configuration file
(5) Operation by using CRL
(6) Resource type

(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 an IP address specified in the LAN card (which is not portable to another node), use a relocatable IP address (which is assigned to a resource module, and is portable to another node) for the directives that need an IP address to be specified (<VirtualHost>, BindAddress, Listen, and NameVirtualHost.)

(3) Checking the configuration file syntax

Before starting the server cluster, run httpsd -t in the directory where it is installed to make sure that the server settings are correct. If resources belonging to the services or applications in the cluster (such as an IP address or memory space) are referenced in the Cosminexus HTTP Server configuration file, move the services and applications to the node you are checking, and then run httpsd -t.

(4) Editing the configuration file

You can change the settings of Cosminexus HTTP Server without placing offline the services being used by the server cluster, by restarting the Cosminexus HTTP Server services with the httpsd command or from the start menu, in the node on which the services are running online. Your changes to the configuration files 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.

(6) Resource type

When you specify Cosminexus HTTP Server in the resources, specify it by universal services rather than by universal applications. Cosminexus HTTP Server does not work properly as a universal application.