Upgrade the SUNW.apache resource type if the following conditions apply:
You are upgrading from an earlier version of the Sun Cluster HA for Apache data service.
You need to use the new features of this data service.
For general instructions that explain how to upgrade a resource type, see Upgrading a Resource Type in Sun Cluster Data Services Planning and Administration Guide for Solaris OS. The information that you require to complete the upgrade of the SUNW.apache resource type is provided in the subsections that follow.
The relationship between a resource type version and the release of Sun Cluster data services is shown in the following table. The release of Sun Cluster data services indicates the release in which the version of the resource type was introduced.
Resource Type Version |
Sun Cluster Data Services Release |
---|---|
1 |
1.0 |
3.1 |
3.1 5/03 |
4 |
3.1 10/03 |
4.1 |
3.2 |
To determine the version of the resource type that is registered, use the clresourcetype showcommand.
The resource type registration (RTR) file for this resource type is /opt/SUNWscapc/etc/SUNW.apache.
The information that you require to edit each instance of the SUNW.apache resource type is as follows:
You can perform the migration at any time.
If you need to use the new features of the Sun Cluster HA for Apache data service, the required value of the Type_version property is 4.
If you need to monitor deployed applications, set the Monitor_Uri_List extension property to a single URI or a list of URIs to specify the locations of the applications that are to be probed.
The following example shows a command for modifying an instance of the SUNW.apache resource type.
# clresource set -p Monitor_Uri_List=http://schost-1/test.html \ -p Type_version=4 apache-rs |
This command modifies the SUNW.apache resource named apache-rs as follows:
The Type_version property of this resource is set to 4.
The Fault Monitor probe will monitor the URI http://schost-1/test.html.