Sun Cluster Data Services Planning and Administration Guide for Solaris OS

ProcedureHow to Change Resource Properties

This procedure explains how to change extension properties and standard properties of a resource.


Note –

Perform this procedure from any cluster node.


Before You Begin

Ensure that you have the following information.

Steps
  1. Become superuser on a cluster member.

  2. View the current resource property settings.


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


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

    Changes the specified property

    -j resource

    Specifies the name of the resource

    -y standard-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

  4. Verify that the resource property has been changed.


    # scrgadm pvv -j resource
    

Example 2–21 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 2–22 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