Sun Cluster 3.0 U1 Data Services Installation and Configuration Guide

How to Change Resource Properties

To complete this procedure, you must supply the following information.

This procedure describes the steps for changing resource properties. See Appendix A, Standard Properties for a complete list of resource-group properties.


Note -

Perform this procedure from any cluster node.


  1. Become superuser on a cluster member.

  2. Use the scrgadm -pvv command to view the current resource property settings.


    # scrgadm -pvv -j resource
    
  3. Change the resource property.


    # scrgadm -c -j resource -y property=new-value | -x extension-property=new-value
    
    -c

    Changes the specified property.

    -j resource

    Specifies the name of the resource.

    -y property=new-value

    Specifies the name of the standard property to change.

    -x extension-property=new-value

    Specifies the name of the extension property to change. For Sun-supplied data services, see the extension properties documented in the chapters on how to install and configure the individual data services.

  4. Verify that the resource property has been changed.


    # scrgadm pvv -j resource
    

Example - Changing a Standard Resource Property

This example shows how to change the system-defined Start_timeout property for the resource (resource-1).


# scrgadm -c -j resource-1 -y start_timeout=30
# scrgadm -pvv -j resource-1

Example - Changing an Extension Resource Property

This example shows how to change an extension property (Log_level) for the resource (resource-1).


# scrgadm -c -j resource-1 -x Log_level=3
# scrgadm -pvv -j resource-1