modify_red_group
Adds or removes targets from an existing redundancy group. An error is not generated when attempting to delete a non-existent target in the redundancy group.
Format
emcli modify_red_group -name="name" -type=<generic_redundancy_group> [-add_targets="name1:type1;name2:type2;..."]... [-delete_targets="name1:type1;name2:type2;..."]... [-owner=<redundancy_group_owner>] [ ] indicates that the parameter is optional
Options
-
name
Target name of the group to modify.
-
type
Redundancy Group type: generic_redundancy_group. Defaults to
generic_redundancy_group
. -
add_targets
Targets to add, each specified as
target_name:target_type
. You can specify this option more than once. -
delete_targets
Targets to delete, each specified as
target_name:target_type
. You can specify this option more than once. -
owner
Owner of the redundancy group.
Examples
This example modifies redundancy group servers by adding Server1:generic_apache
and deleting Server5:generic_apache
from the redundancy group.
emcli modify_red_group -name=Servers -add_targets=HTTP_Server1:generic_apache -delete_targets=Server5:generic_apache