The only required extension properties for creating an Apache server resource are Confdir_list and Bin_dir. Confdir_list specifies a directory that contains a subdirectory named conf, in which the Apache configuration properties (httpd.conf) reside.
For details on all Sun Cluster properties, see Appendix A, Standard Properties.
Typically, you configure these properties by using the Cluster Module of Sun Management Center or the command-line scrgadm -x parameter=value at the time you create the Apache server resource. You can also configure them later by following the procedures described in Chapter 9, Administering Data Service Resources.
Some extension properties can be updated dynamically, others only when the resource is created. Table 5-2 describes extension properties your can configure for the Apache server. The Tunable column indicates when the property can be updated.
Table 5-2 Sun Cluster HA for Apache Extension Properties
Name/Data Type |
Default |
Range |
Tunable |
Description |
---|---|---|---|---|
Bin_dir (string) |
None |
None |
At creation |
The path to the Apache binaries. This is a required extension property. |
Confdir_list (string array) |
None |
None |
At creation |
The directory that contains a subdirectory called conf, which contains the httpd.conf configuration file. This is a required extension property. |
Monitor_retry_count (integer) |
4 |
0 - 2,147,483,641
-1 indicates an infinite number of retry attempts. |
At creation |
Controls restarts of the fault monitor and indicates the number of times the fault monitor is to be restarted by the process monitor facility during the time window specified by the Monitor_retry_interval property. This property refers to restarts of the fault monitor itself rather than to the resource. Restarts of the resource are controlled by the system-defined properties Retry_interval and Retry_count. |
Monitor_retry_interval (integer) |
2 |
0 - 2,147,483,641
-1 indicates an infinite retry interval. |
At creation |
The time (in minutes) over which failures of the fault monitor are counted. If the number of times the fault monitor fails exceeds the value specified in the extension property Monitor_retry_count within this period, the fault monitor is not restarted by the process monitor facility. |
Probe_timeout (integer) |
30 |
0 - 2,147,483,641 |
At creation |
The time-out value (in seconds) used by the fault monitor to probe an Apache instance. |