If multiple Web servers are running on a single server machine and not in the virtual host, you need to set the environment such as preparing the httpsd.conf on each Web server. The hwsserveredit command supplements this environment setting.
hwsserveredit {-add|-delete|-check} server-name |
Determine the server name of each server, and execute the hwsserveredit command. Specify the following, if the server name is HWS1:
hwsserveredit -add HWS1 |
The hwsserveredit command creates directories and files under the server directory that is created when installing the server. In Windows version, the utility registers the service using server name at the same time when creating directories and files.
The configuration of directories and files are as follows:
+httpsd
+servers
+HWS1
+conf
| +httpsd.conf
+logs
Change the httpsd.conf directive value in the created resources.
When you generate multiple environments, change the values of following directives so that the environment does not clash with other environments:
For the UNIX version, change the setting value of following directives according to the environment:
Other directives are set in such a way that they can run even if you do not change their settings depending upon the hwsserveredit command. Depending upon the operations, change the settings if required.
Start up the server by following method:
/opt/hitachi/httpsd/sbin/httpsd -f servers/HWS1/conf/httpsd.conf
"<Cosminexus-installation-directory>\httpsd.exe" -n HWS1 -k start
To set the multiple server environments repeat operations from (a) to (c).