重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1017|回复: 0
打印 上一主题 下一主题

[Oracle] EM13C 三部曲之二 部署agent

[复制链接]
跳转到指定楼层
楼主
发表于 2022-7-22 18:22:43 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
二,部署agent  施工中。。。。。。

1.1 检查em13c 状态
第一步先把要监控的主机ip,互相加进hosts里,windows主机起个域名,方便部署agent
# su - oracle
$ cd /u02/em13c/middleware/bin/
[oracle@em13c bin]$ ./emctl status oms(检查oms)
Oracle Enterprise Manager Cloud Control 13c Release 5  
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Up


[oracle@em13c bin]$  ./emctl status oms -details(查看oms详细信息)
Oracle Enterprise Manager Cloud Control 13c Release 5  
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password : oracle_4U
Console Server Host        : em13c.mh.com
HTTP Console Port          : 7788
HTTPS Console Port         : 7803
HTTP Upload Port           : 4889
HTTPS Upload Port          : 4903
EM Instance Home           : /u02/em13c/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /u02/em13c/gc_inst/em/EMGC_OMS1/sysman/log
OMS is not configured with SLB or virtual hostname
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://em13c.mh.com:7803/em
Upload URL: https://em13c.mh.com:4903/empbs/upload

WLS Domain Information
Domain Name            : GCDomain
Admin Server Host      : em13c.mh.com
Admin Server HTTPS Port: 7102
Admin Server is RUNNING

Oracle Management Server Information
Managed Server Instance Name: EMGC_OMS1
Oracle Management Server Instance Host: em13c.mh.com
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Up


$ cd /u02/em13c/agent/agent_13.5.0.0.0/bin/
[oracle@em13c bin]$ ./emctl start agent(检查agent)
Oracle Enterprise Manager Cloud Control 13c Release 5  
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Agent is already running
[oracle@em13c bin]$ ./emctl status agent
Oracle Enterprise Manager Cloud Control 13c Release 5  
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version          : 13.5.0.0.0
OMS Version            : 13.5.0.0.0
Protocol Version       : 12.1.0.1.0
Agent Home             : /u02/em13c/agent/agent_inst
Agent Log Directory    : /u02/em13c/agent/agent_inst/sysman/log
Agent Binaries         : /u02/em13c/agent/agent_13.5.0.0.0
Core JAR Location      : /u02/em13c/agent/agent_13.5.0.0.0/jlib
Agent Process ID       : 4378
Parent Process ID      : 2462
Agent URL              : https://em13c.mh.com:3872/emd/main/
Local Agent URL in NAT : https://em13c.mh.com:3872/emd/main/
Repository URL         : https://em13c.mh.com:4903/empbs/upload
Started at             : 2022-07-22 17:37:16
Started by user        : oracle
Operating System       : Linux version 3.10.0-1160.el7.x86_64 (amd64)
Number of Targets      : 36
Last Reload            : (none)
Last successful upload                       : 2022-07-22 17:50:34
Last attempted upload                        : 2022-07-22 17:50:34
Total Megabytes of XML files uploaded so far : 1.41
Number of XML files pending upload           : 0
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 81.75%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2022-07-22 17:50:29
Last successful heartbeat to OMS             : 2022-07-22 17:50:29
Next scheduled heartbeat to OMS              : 2022-07-22 17:51:29

---------------------------------------------------------------
Agent is Running and Ready


[oracle@em13c bin]$  ./emctl getversion agent(检查agent版本)
Oracle Enterprise Manager Cloud Control 13c Release 5  
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
       Oracle Enterprise Manager Cloud Control Agent 13c Release 5



1.2 访问em13c管理网页
https://192.168.133.141:7803/em

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-20 08:46 , Processed in 0.109930 second(s), 23 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表