Installation guide
126 Chapter 7:Apache Services
Before the Apache service is added to the cluster database, ensure that the Apache directories are
not mounted. Then, on one cluster system, add the service. Specify an IP address, which the cluster
infrastructure will bind to the network interface on the cluster system that runs the Apache service.
The following is an example of using the cluadmin utility to add an Apache service.
cluadmin> service add apache
The user interface will prompt you for information about the service.
Not all information is required for all services.
Enter a question mark (?) at a prompt to obtain help.
Enter a colon (:) and a single-character command at a prompt to do
one of the following:
c - Cancel and return to the top-level cluadmin command
r - Restart to the initial prompt while keeping previous responses
p - Proceed with the next prompt
Preferred member [None]: devel0
Relocate when the preferred member joins the cluster (yes/no/?) \
[no]: yes
User script (e.g., /usr/foo/script or None) [None]: \
/etc/rc.d/init.d/httpd
Do you want to add an IP address to the service (yes/no/?): yes
IP Address Information
IP address: 10.1.16.150
Netmask (e.g. 255.255.255.0 or None) [None]: 255.255.255.0
Broadcast (e.g. X.Y.Z.255 or None) [None]: 10.1.16.255
Do you want to (a)dd, (m)odify, (d)elete or (s)how an IP address,
or are you (f)inished adding IP addresses: f
Do you want to add a disk device to the service (yes/no/?): yes
Disk Device Information
Device special file (e.g., /dev/sda1): /dev/sdb3
Filesystem type (e.g., ext2, reiserfs, ext3 or None): ext3
Mount point (e.g., /usr/mnt/service1 or None) [None]: /var/www/html
Mount options (e.g., rw, nosuid): rw
Forced unmount support (yes/no/?) [no]: yes