Configuring Web server access to clstat.cgi

To view the clstat display through a web browser, you must have a web server installed on a machine where Clinfo is running and able to gather cluster information. This could be a client node as well as a server node. The clstat.cgi program works with any web server that supports the CGI standard, which includes most currently available web servers for AIX®. For instance, you might use the IBM® HTTP Server, which is included on the Expansion Pack CD for AIX.

About this task

Full instructions for installing and configuring a web server are not included here. Please refer to the web server documentation or consult your web administrator if you need additional help.

The following steps complete the configuration of web server access to clstat.cgi using the IBM HTTP Server with its default configuration. The directories and URL you use for your server and configuration may vary.

Procedure

  1. Move or copy clstat.cgi to the cgi-bin or script directory of the web server, for instance the default HTTP Server directory /usr/HTTPserver/cgi-bin.
  2. Verify that the clstat.cgi file still has appropriate permissions (that is, the file is executable by the user nobody).
  3. You can now view cluster status using a web browser by typing in a URL of the following format:
    http://<host name or IP label of the web server node>
    /cgi-bin/clstat.cgi

Results

Note: Although you can change the name of the CGI directory, do not rename the clstat.cgi file.