Perform this procedure from any cluster node.
Ensure that you have the following information.
The name of the resource type to change.
The name of the resource type property to change. For resource types, you can change only certain properties. To determine whether you can change a property, see the Tunable entry for the property in Resource Type Properties.
You cannot change the Installed_nodes property explicitly. To change this property, specify the -n installed-node-list option of the clresourcetype command.
On a cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.
Run the clresourcetype command to determine the name of the resource type that you need for this procedure.
# clresourcetype show -v |
Change the resource type property.
For resource types, you can change only certain properties. To determine whether you can change a property, see the Tunable entry for the property in Resource Type Properties.
# clresourcetype set -n installed-node-list \ [-p property=new-value]resource-type |
Specifies the names of nodes on which this resource type is installed.
Specifies the name of the standard property to change and the new value of the property.
You cannot change the Installed_nodes property explicitly. To change this property, specify the -n installed-node-list option of the clresourcetype command.
Verify that the resource type property has been changed.
# clresourcetype show resource-type |
This example shows how to change the SUNW.apache property to define that this resource type is installed on the global-cluster voting nodes of (phys-schost-1 and phys-schost-2).
# clresourcetype set -n phys-schost-1,phys-schost-2 SUNW.apache # clresourcetype show SUNW.apache Resource Type: SUNW.apache:4 RT_description: Apache Web Server on Sun Cluster RT_version: 4 API_version: 2 RT_basedir: /opt/SUNWscapc/bin Single_instance: False Proxy: False Init_nodes: All potential masters Installed_nodes: All Failover: False Pkglist: SUNWscapc RT_system: False |