Database Reference
In-Depth Information
■
noncluster aggregate targets include the database system target type, which consists of database instances,
listeners, asM instances, and high-availability services. Cluster targets such as database clusters, host clusters, and
redundancy systems will automatically inherit the target properties for both current and new members.
Note
Any new members of an aggregate will require that their target properties be set manually. The example to follow
shows how to propagate the LifeCycle Status and Line of Business target properties to the
emrep_sys
aggregate:
$ emcli set_target_property_value -property_records
="emrep_sys:oracle_dbsys:LifeCycle Status:Production" -propagate_to_members
This command will cause members of the
emrep_sys
aggregate (database instance, listener, and ASM) to have
identical LifeCycle Status and Line of Business properties.
When using
emcli
, the target properties are case-sensitive. For example, setting a property using Lifecycle Status
instead of LifeCycle Status (note the uppercase
C
) will generate an error. To see the valid list of target properties that
can be set for a particular target, issue the
emcli get_target_properties
command with the
target_type
option.
The following example shows all valid properties for the
oracle_dbsys
aggregate target:
$ emcli get_target_properties -target_type="oracle_dbsys"
CommentContact
Cost Center
Customer Service Identifier
Department
LifeCycle Status
Line of Business
Location
Operating System
Platform
Target Version
Target properties fetched successfully
Be sure to visit each target you plan to monitor, and be sure to set for that target each of the properties
used to build your administration group hierarchy. Any target whose properties are not set will not be part of an
administration group, and therefore will not be monitored using the defined monitoring standards.
MULtIpLe tarGetS
When setting target properties for multiple related targets, you can use
emcli
with the aggregate/cluster target
name to simplify the process. For example, to set the same Line of Business property for the database instance,
listener, asM home, and oracle home for the
orcl_sys
database system in one command, you would do the
following:
emcli set_target_property_value -property_records
="orcl_sys:oracle_dbsys:Line of Business:Marketing" -propagate_to_members