create_red_group
Defines a redundancy group name and its members. After you create the redundancy group, you can edit it from the Enterprise Manager console to configure charts to be displayed for redundancy group members.
Format
emcli create_red_group -name="name" [-type=<generic_redundancy_group>] -add_targets="name1:type1;name2:type2;..."... [-owner=<redundancy_group_owner>] [-timezone_region=<actual_timezone_region>] [ ] indicates that the parameter is optional
Options
-
name
Name of the redundancy group.
-
type
Redundancy group type. Defaults to
generic_redundancy_group
. -
add_targets
Add existing targets to the redundancy group. Each target is specified as a name-value pair
target_name:target_type
. You can specify this option more than once. -
owner
Owner of the redundancy group.
-
timezone_region
Time zone region of this redundancy group.
Example
This example creates a redundancy group named lsnr_group
. This group consists of two Oracle listeners: emp_rec
and payroll
.
emcli create_red_group -name=lsnr_group -add_targets="emp_rec:oracle_listener" -add_targets="payroll:oracle_listener"