Sun Cluster 3.0 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. For a complete list of resource group properties, see Appendix A, Standard Properties.

Perform this procedure from any cluster node.

  1. Become superuser on a node in the cluster.

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


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


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

    Changes the specified property.

    -j resource-name

    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 installing and configuring the individual data services.

  4. Verify that the resource property has been changed.


    # scrgadm pvv -j resource-name
    

Example-Changing a Standard Resource Property

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


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

Example-Changing an Extension Resource Property

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


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