node startup and shutdown, create a
Active - Passive
In an
NOTE: In both
Under shared configuration, choose to put Apache binaries as well in shared file system. This can be configured by 2 methods:
To create a shared configuration for the Apache Web Server on the shared file system mounted at /mnt/apache:
Method #1
1.Create the shared storage that will be used to store the apache files for all nodes configured to run the Apache package. Once that storage has been configured, create the mount point for that shared storage on these nodes. For this example, the mount point is /mnt/apache.
2.Copy all files from /opt/hpws22/apache to /mnt/apache on any one node.
3.Remove or rename /opt/hpws22/apache on all nodes configured to run the apache package.
4.Create a symbolic link between /opt/hpws22/apache and /mnt/apache on all nodes configured to run the package.
Method #2
1.Create the shared storage that will be used to store the apache files for all nodes configured to run the Apache package. Once that storage has been configured, create the mount point for that shared storage on these nodes. For this example, the mount point is /mnt/apache.
2.On any one node in the cluster that is configured to run the package, activate the shared storage and mount it at the mount point /mnt/apache. Copy the Apache files to the shared storage using the altroot.sh utility:$ /opt/hpws22/util/altroot.sh
3.On the same node as above, copy the following file to the other nodes in the cluster that are configured to run the package: /etc/rc.config.d/hpws22_apacheconf.
4.On the other nodes in the cluster remove or rename the /opt/hpws22/apache directory if desired.
5.Now configure the hahttp.conf file as required for the Apache Server package on all nodes in case of legacy packages and the Apache toolkit parameters in the package ASCII file in case of modular packages.