Go to main content

Oracle® Solaris Cluster 4.3 Data Services Planning and Administration Guide

Exit Print View

Updated: April 2016
 
 

Upgrading a Preregistered Resource Type

In a previous version of the cluster software, the following preregistered resource types were enhanced:

  • SUNW.LogicalHostname, which represents a logical hostname

  • SUNW.SharedAddress, which represents a shared address

The purpose of these enhancements was to enable you to modify logical hostname resources and shared address resources to bypass name services for name resolution.

Upgrade these resource types if all conditions in the following list apply:

  • You are upgrading from an earlier version of Oracle Solaris Cluster

  • You need to use the new features of the resource types

For general instructions that explain how to upgrade a resource type, see Upgrading a Resource Type. The information that you need to complete the upgrade of the preregistered resource types is provided in the subsections that follow.

Information for Registering the New Resource Type Version

To determine the version of the resource type that is registered, use one command from the following list:

  • clresourcetype list

  • clresourcetype list -v

Example 30  Registering a New Version of the SUNW.LogicalHostname Resource Type

This example shows the command for registering version 4 of the SUNW.LogicalHostname resource type during an upgrade.

# clresourcetype register SUNW.LogicalHostname:4

Information for Migrating Existing Instances of the Resource Type

The information that you need to migrate an instance of a preregistered resource type is as follows:

  • You can perform the migration at any time.

  • If you need to use the new features of the preregistered resource type, the required value of the Type_version property is 2.

  • If you are modifying the resource to bypass name services, set the CheckNameService extension property of the resource to false.

Example 31  Migrating a Logical Hostname Resource

This example shows the command for migrating the logical hostname resource lhostrs. As a result of the migration, the resource is modified to bypass name services for name resolution.

# clresource set -p CheckNameService=false -p Type_version=2 lhostrs