modify_redundancy_group

Modifies a redundancy group.

Format

emcli modify_redundancy_group
        -redundancyGroupName="redGrpName"
        [-owner="new_owner"]
        [-memberTargetType="tType"]
        [-add_targets="tName1;tName2"]
        [-delete_targets="tName3;tName4"]
        [-group_status_criterion="NUMBER" or "PERCENTAGE"]        [-group_status_tracked="UP" or "DOWN"]        [-group_status_value=<status_value>]
        [-privilege_propagation=true|false]        [-drop_existing_grants=yes|no]

[ ]  indicates that the parameter is optional

Options

  • redundancyGroupName

    Name of the redundancy group.

  • owner

    Valid owner to be specified.

  • memberTargetType

    Target type of the constituent member targets. You need to specify this option if you specify either add_targets or delete_targets.

  • add_targets

    Member targets to be added to this redundancy group.

  • delete_targets

    Member targets to be deleted from this redundancy group.

  • group_status_criterion

    This option and the next two calculate the status of the Redundancy Group. Consequently, you need to specify all three options together. If this is not to be a capacity group, you need to specify the following combination:

    -group_status_criterion='NUMBER' -group_status_tracked='UP' 
    -group_status_value='1']
    
  • group_status_tracked

    See the option above.

  • group_status_value

    See the group_status_criterion .

    You can specify any value between 1 and 100 if -group_status_criterion= "PERCENTAGE", or any value between 1 and the number of targets present if -group_status_criterion="NUMBER".

  • privilege_propagation

    Enables or disables the privilege propagation flag for the group. Converts the normal group to a privilege-propagating group and vice versa.

  • drop_existing_grants

    Drops the existing grants on a group during privilege propagation conversion. this option is only applicable with the privilege_propagation parameter. The default value is yes.

Examples

This example changes the configuration of the 'redGrp1' redundancy group to add listener, listener2, and listener3 to its existing members, and delete listener4 and listener5 from its existing members.

emcli modify_redundancy_group -redundancyGroupName='redGrp1'       -memberTargetType='oracle_listener'       -add_targets='listener;listener2;listener3'       -delete_targets='listener4;listener5'       -group_status_criterion='NUMBER'       -group_status_tracked='UP'       -group_status_value='2'