1## 在 OMS 服务端执行
2[oracle@emcc:/home/oracle]$ source ~/.oms
3
4[oracle@emcc:/home/oracle]$ emcli login -username=sysman
5Enter password
6
7Login successful
8
9[oracle@emcc:/home/oracle]$ emcli sync
10Synchronized successfully
11
12## 这里的 targetNames 要写被纳管的数据库实例名称
13[oracle@emcc:/home/oracle]$ emcli modify_collection_schedule -targetType="oracle_database" -targetNames="lucifer01" -collectionName="rac_global_cache_10i" -collectionStatus=Disabled -preview="N"
14Collection Name : rac_global_cache_10i
15lucifer01 : Collection Schedule updated successfully.
16The collection schedule of the following metrics might be affected :
17rac_global_cache
18
19[oracle@emcc:/home/oracle]$ emcli modify_collection_schedule -targetType="oracle_database" -targetNames="lucifer02" -collectionName="rac_global_cache_10i" -collectionStatus=Disabled -preview="N"
20Collection Name : rac_global_cache_10i
21lucifer02 : Collection Schedule updated successfully.
22The collection schedule of the following metrics might be affected :
23rac_global_cache