Go to main content

Oracle® Solaris Cluster Data Service for Apache Guide

Exit Print View

Updated: August 2018
 
 

Upgrading the SUNW.apache Resource Type

Upgrade the SUNW.apache resource type if the following conditions apply:

  • You are upgrading from an earlier version of the 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 Planning and Administering Data Services for Oracle Solaris Cluster 4.4. The information that you require to complete the upgrade of the SUNW.apache resource type is provided in the subsections that follow.

Information for Registering the New Resource Type Version

The relationship between a resource type version and the release of Oracle Solaris Cluster data services is shown in the following table. The release of Oracle Solaris Cluster data services indicates the release in which the version of the resource type was introduced.

Resource Type Version
Oracle Solaris Cluster Data Services Release
1
1.0
3.1
3.1 5/03
4
3.1 10/03
4.1
3.2
4.2
4.0

To determine the version of the resource type that is registered, use the clresourcetype show command.

The resource type registration (RTR) file for this resource type is /opt/SUNWscapc/etc/SUNW.apache.

Information for Migrating Existing Instances of the Resource Type

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 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.

Example 5  Migrating Instances of the SUNW.apache Resource Type
# clresource set -p Monitor_Uri_List=http://schost-1/test.html \
-p Type_version=4.2 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.2.

  • The Fault Monitor probe will monitor the URL http://schost-1/test.html.