Use emcli to delete obsolete agent targets in Oracle EM Cloud Control 12c

[[email protected] ~]$ cd /oem/oms/oms/bin

登录到oms中
[[email protected] bin]$ ./emcli login -username=sysman
Enter password :

Login successful

同步信息
[[email protected] bin]$ ./emcli sync
Synchronized successfully

获取当前该主机mwtest02的agent所关联的targets
[[email protected] bin]$ ./emcli get_targets | grep mwtest02
5       Under Blackout   host                  mwtest02                           
5       Under Blackout   oracle_emd            mwtest02:3872

执行删除操作,并关联所有相关targets
[[email protected] bin]$ ./emcli delete_target -name=‘mwtest02:3872‘ -type=‘oracle_emd‘ -delete_monitored_targets
Target "mwtest02:3872:oracle_emd" deleted successfully

确认
[[email protected] bin]$ ./emcli get_targets | grep mwtest02

登出
[[email protected] bin]$ ./emcli logout
Logout successful
[[email protected] bin]$

时间: 2024-10-02 22:22:20

Use emcli to delete obsolete agent targets in Oracle EM Cloud Control 12c的相关文章

RMAN 中delete exipired 和 delete obsolete 的区别

elete expired If you run CROSSCHECK, and if RMAN cannot locate the files, then it updates their records in the RMAN repository to EXPIRED status. You can then use the DELETE EXPIRED command to remove records of expired backups and copies from the RMA

How to Delete Archivelog Using RMAN in Oracle

How to Delete Archivelog Using RMAN in Oracle Recovery Manager (RMAN) is an Oracle Database client that performs backup and recovery tasks on your databases and automates administration of your backup strategies. If you want to delete archivelog from

Linux 6.3下安装Oracle Enterprise Cloud Control 12c

Oracle enterprise cloud control 12c的安装是一个比较复杂的过程,因为他需要依赖于Oracel database以及Oracle Weblogic.现在Oracle已经整合了Weblogic到cloud control安装包中还是省事很多,本文是基于Oracle Linux 6.3上安装Oracle enterprise cloud control 12c,以下是具体描述. 1.安装前的准备a) os安装参考   Virtual Box下安装Oracle Linu

Oracel 12cR1 install for Oracle Linux 6.6

Oracel 12cR1install for Oracle Linux 6.5 一.安装前准备 1. 软件下载: Database software: db12102_V46095-01_1of2.zip db12102_V46095-01_2of2.zip 下载地址: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html 或是:http://edelivery.oracle.com

Oracle 12c agent install for linux

安装Agent代理 在EM11g时,agent安装是通过在被监制主机端下载agent代理并安装,在EM12c版本号上,能够在EM12c服务端.通过"推送"的方式把agent代理在远程安装到被监控的主机端,而且能够同一时候为多个主机安装agent代理. 官方文档: http://www.gokhanatil.com/2011/10/how-to-deploy-oracle-management-agent.html 安装方法: 首先登录EM12c 选择: 设置 -> 加入目标 -&

Oracle 12c(12.1.0.5)OEM server agent 安装配置

注意: 此文档为生产上操作文档,省略了IP,oracle用户server,agent 端至少需要sudo,ping,ssh,创建目录权限. 一.安装要求 1.1. 系统情况一览 IP 数据库 OEM 操作系统 数据库版本 XX1 单机 service(12.1.0.5) Linux 6.7 oracle11.2.0.4 XX2 RAC agent Linux 6.7 Oracle11.2.0.4 XX3 RAC agent Linux 6.7 Oracle11.2.0.4 注意:OEM管理RAC

Oracle cloud control 12c 的启动与关闭

Oracle cloud control 12c整个安装比较复杂,光是安装路径的选择,登录密码,端口号等众多个配置不免让人眼花缭乱,目不暇接.本文描述的是安装完毕后如何获取安装时设定的各类端口号,URL以及如何启动.关闭cloud control等等,供大家参考.    有关cloud control的安装配置可以参考:Oracle Enterprise Manager Cloud Control 12c Release 3 Installation 1.当前的环境配置 [[email prot

Oracle Enterprise Manager Cloud Control 12c的安装

这里,我介绍的是Cloud Control 12c的安装.之前的版本叫Grid Control,这也是11g里面的叫法.在我写这篇博客时,Cloud Control 13c已经出来了,这个版本后续我再进行介绍. 在安装之前,我们先来看一下整体的架构. 首先,它需要一个数据库(就是上图的Repository),用来存放Cloud Control的配置信息.需要有一台服务器,用来安装Cloud Control.然后我们通过使用浏览器访问Cloud Control的控制台(也叫EM),然后对要监控的数

【转自mos文章】数据库 hang问题的诊断信息收集方法

数据库 hang问题的诊断信息收集方法 来源于: How to Collect Diagnostics for Database Hanging Issues (文档 ID 452358.1) 适用于: Oracle Database - Enterprise Edition - Version 9.0.1.0 and later Oracle Database - Personal Edition - Version 9.0.1.0 and later Oracle Database - St