crsctl modify policy

Use the crsctl modify policy command to modify an existing configuration policy.

Syntax

crsctl modify policy policy_name -attr "attr_name=attr_value" [-i]

Parameters

Table E-46 crsctl modify policy Command Parameters

Parameter Description
policy_name

The name of the policy you want to modify.

attr_name

Specify a description for the policy using the DESCRIPTION policy attribute preceded by the -attr flag.

attr_value

A value for the DESCRIPTION policy attribute that describes the policy.

Note: The attr_name and attr_value parameters must be enclosed in double quotation marks ("") and separated by commas. For example:

-attr "DESCRIPTION=daytime"
-i

If you specify -i, then the command fails if Oracle Clusterware cannot process the request immediately.

Usage Notes

  • The policy_name parameter is required

  • Privileges necessary to run this command depend on the value of the ACL attribute of the policy set

Example

To modify an existing policy, run the following command as root or the Oracle Clusterware installation owner:

# crsctl modify policy p1 -attr "DESCRIPTION=daytime"