Perform this procedure during your initial setup of HA for Apache. Perform this procedure from one node only.
Before You Begin
Before you start the HA for Apache wizard, ensure that the following prerequisites are met:
You have decided whether to run HA for Apache as a failover service or a scalable service.
Any project you created to run Apache exists in the projects name service database for the user that runs that application. If no custom project is created for the application, the default project is used. For more information, see the projects(1) man page.
Prerequisites for configuring the required type of network resource are met.
The type of network resource that is required depends on your configuration of HA for Apache:
A failover service requires a logical hostname resource.
A scalable service requires a shared address resource.
The Apache software is installed and configured.
The Apache configuration files are available on the node where you will start the wizard.
The HA for Apache package is installed.
# clsetup
The clsetup main menu is displayed.
The Data Services menu is displayed.
The clsetup utility displays information about HA for Apache.
The clsetup utility displays a list of configuration modes for HA for Apache.
The clsetup utility displays a list of available nodes.
Ensure that the nodes are listed in the order in which the nodes are to appear in the resource group's node list. The first node in the list is the primary node of this resource group.
Ensure that the nodes are listed in the order in which the nodes are to appear in the resource group's node list.
The clsetup utility displays a screen where you can specify the location of the HA for Apache configuration file.
The clsetup utility displays a screen where you can specify the HA for Apache document root directory.
The clsetup utility prompts you for the project to use.
If you did not create a project where Apache will run, select the default project. The clsetup utility displays a screen where you can specify the HA for Apache mount point.
The clsetup utility displays a screen where you can specify the HA for Apache network resource or create a new one.
The clsetup utility provides a screen where you can specify the logical hostname that the resource is to make available.
Proceed to Step 14.
Skip to Step 16.
Proceed to Step 15.
Skip to Step 16.
The clsetup utility displays information about the HA for Apache configuration that the utility will create.
The clsetup utility displays information about the Oracle Solaris Cluster objects that the utility will create.
The clsetup utility displays information about the Oracle Solaris Cluster configuration that the utility will create.
The clsetup utility displays a progress message to indicate that the utility is running commands to create the configuration. When configuration is complete, the clsetup utility displays the commands that the utility ran to create the configuration.
The clsetup utility returns you to the list of options for configuring HA for Apache.
If you prefer, you can leave the clsetup utility running while you perform other required tasks before using the utility again. If you choose to quit clsetup, the utility recognizes your HA for Apache resource group when you restart the utility.
Use the clresourcegroup(8CL) command for this purpose. By default, the clsetup utility assigns the name apache-server-rg to the HA for Apache resource group.
# clresourcegroup status apache-server-rg
# clresourcegroup online -eM apache-server-rg