Sun Cluster Data Services Planning and Administration Guide for Solaris OS

How to Change Resource Properties

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

This procedure describes the steps to change 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. Run 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 data services that Sun supplies, see the extension properties that are 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