首页 > 其他分享 >ogg monitor 打补丁

ogg monitor 打补丁

时间:2024-04-22 10:55:57浏览次数:18  
标签:monitor diaglog 打补丁 oracle ogg agent122 oggdb1 oggmon

[oracle@oggdb1 ogg_agent]<20240418 10:14:56>$ ./displayMonitorAgentVersion.sh
Monitor Agent Release Version: 12.2.1.2.210930
Build Label: OGGMON_MAIN_PLATFORMS_210915.0010
[oracle@oggdb1 ogg_agent]<20240418 10:14:57>$ 

[oracle@oggdb1 oggmon]<20240418 10:16:20>$ cd ..
[oracle@oggdb1 oggmon_agent122]<20240418 10:16:21>$ ll
total 8
drwxr-x---  5 oracle oinstall  49 May  6  2022 cfgtoollogs
drwxr-xr-x 11 oracle oinstall 135 May  6  2022 instance
drwxr-x--- 19 oracle oinstall 293 May  6  2022 inventory
drwxr-x---  5 oracle oinstall  52 May  6  2022 oggmon
drwxr-x--- 11 oracle oinstall 305 May  6  2022 OPatch
drwxr-x---  7 oracle oinstall  73 May  6  2022 oracle_common
-rw-r-----  1 oracle oinstall 127 May  6  2022 oraInst.loc
drwxr-x---  8 oracle oinstall 129 May  6  2022 oui
-rwx------  1 oracle oinstall  10 May  6  2022 root.sh
drwxr-x---  3 oracle oinstall  20 May  6  2022 veridata
drwxr-x---  5 oracle oinstall  50 May  6  2022 wlserver
[oracle@oggdb1 oggmon_agent122]<20240418 10:16:22>$ pwd
/diaglog/oggmon_agent122
[oracle@oggdb1 oggmon_agent122]<20240418 10:16:23>$ 


--1 更新opatch
export JAVA_HOME=/u01/app/oracle/product/19.10.0/db_1/jdk

[oracle@oggdb1 6880880]<20240418 18:26:45>$ pwd
/home/oracle/0418/6880880
[oracle@oggdb1 6880880]<20240418 18:26:46>$ 
export ORACLE_HOME=/diaglog/oggmon_agent122

注意路径
/u01/app/19.10.0/grid/jdk/bin/java -jar opatch_generic.jar -silent oracle_home=/diaglog/oggmon_agent122

[oracle@oggdb1 OPatch]<20240418 18:31:07>$ ./opatch version
OPatch Version: 13.9.4.2.15

OPatch succeeded.
[oracle@oggdb1 OPatch]<20240418 18:31:18>$ pwd
/diaglog/oggmon_agent122/OPatch
[oracle@oggdb1 OPatch]<20240418 18:31:20>$ 

stop 进程
[oracle@oggdb1 34362913]<20240418 18:33:47>$ /u01/app/replicat/ggsci

--2 应用补丁
[oracle@oggdb1 34362913]<20240418 18:34:38>$ /diaglog/oggmon_agent122/OPatch/opatch  apply
Oracle Interim Patch Installer version 13.9.4.2.15
Copyright (c) 2024, Oracle Corporation.  All rights reserved.
Oracle Home       : /diaglog/oggmon_agent122
Central Inventory : /u01/app/oraInventory
   from           : /diaglog/oggmon_agent122/oraInst.loc
OPatch version    : 13.9.4.2.15
OUI version       : 13.9.4.0.0
Log file location : /diaglog/oggmon_agent122/cfgtoollogs/opatch/opatch2024-04-18_18-34-41PM_1.log
OPatch detects the Middleware Home as "/diaglog/oggmon_agent122"
Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   34362913  
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/diaglog/oggmon_agent122')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '34362913' to OH '/diaglog/oggmon_agent122'
ApplySession: Optional component(s) [ oracle.ogg.monitor.server, 12.2.1.2.0 ] , [ oracle.ogg.monitor.server, 12.2.1.2.0 ] , [ oracle.rcu.oggmon, 12.2.1.2.0 ] , [ oracle.rcu.oggmon, 12.2.1.2.0 ] , [ oracle.fmw.upgrade.oggmon, 12.2.1.2.0 ] , [ oracle.fmw.upgrade.oggmon, 12.2.1.2.0 ]  not present in the Oracle Home or a higher version is found.
Patching component oracle.ogg.monitor.agent, 12.2.1.2.0...

Patching component oracle.ogg.monitor.agent, 12.2.1.2.0...
Patch 34362913 successfully applied.
Sub-set patch [31997138] has become inactive due to the application of a super-set patch [34362913].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /diaglog/oggmon_agent122/cfgtoollogs/opatch/opatch2024-04-18_18-34-41PM_1.log
OPatch succeeded.


[oracle@oggdb1 34362913]<20240418 18:35:34>$ /diaglog/oggmon_agent122/OPatch/opatch  lspatches
34362913;One-off
22754279;One-off
21663638;One-off
19795066;One-off
19632480;One-off
19154304;One-off
19030178;One-off


GGSCI (oggdb1) 4> info all
Program     Status      Group       Lag at Chkpt  Time Since Chkpt
MANAGER     RUNNING                                           
JAGENT      RUNNING                                           
PMSRVR      RUNNING                                           


[oracle@oggdb1 ogg_agent]<20240418 18:40:45>$ pwd
/diaglog/oggmon_agent122/oggmon/ogg_agent
[oracle@oggdb1 ogg_agent]<20240418 18:41:01>$ 
[oracle@oggdb1 ogg_agent]<20240418 18:40:41>$ ./displayMonitorAgentVersion.sh
Monitor Agent Release Version: 12.2.1.2.221115
Build Label: OGGMON_MAIN_PLATFORMS_221027.2000
[oracle@oggdb1 ogg_agent]<20240418 18:40:45>$ 

 

标签:monitor,diaglog,打补丁,oracle,ogg,agent122,oggdb1,oggmon
From: https://www.cnblogs.com/notonlydba/p/18150200

相关文章

  • logging模块
    logging模块记录log记录日志的模块importloggingimportlogging.configimportosimportsystry:#想要给日志上色就安装这个模块#pipinstallcoloredlogs:::>>>给日志上个色importcoloredlogsexceptExceptionase:ifstr(e)=="Nomodulenamed'coloredlo......
  • time模块,datetime模块,os模块,random模块,logging模块,hashlib模块
    Ⅰtime模块【1】表示时间的三种方式#【1】时间戳表示时间:时间戳是指格林威治时间1970年01月01日00时00分00秒(北京时间1970年01月01日08时00分00秒)起至现在的总秒数#我们当时给函数计时两次时间戳相减得到了消耗的总时间#【2】元组(struct_time)(年,月,日,时,分,秒,......
  • 30 天精通 RxJS (20):Observable Operators - window, windowToggle, groupBy
    前几天我们讲完了能把HigherOrderObservable转成一般的Observable的operators,今天我们要讲能够把一般的Observable转成HigherOrderObservable的operators。其实前端不太有机会用到这类型的Operators,都是在比较特殊的需求下才会看到,但还是会有遇到的时候。Op......
  • 06、Monitor Link基本概念
    MonitorLink基本概念MonitorLink通过监控上行接口所在的链路对下行接口进行同步设置。相互配合工作的上行接口和下行接口组合成一个MonitorLink组。图1 MonitorLink组网图示例MonitorLink组MonitorLink组也叫监控链路组,由上行接口和下行接口共同组成。组的成员可......
  • 07、Monitor Link基本原理
    MonitorLink基本原理 图1 MonitorLink组网图示例配置MonitorLink组后,上行接口将被实时监控,一旦所有上行接口出现故障,包括链路故障、OAM的单通故障、OAM的连接无法建立等,其所在组的所有Up的下行接口都会被强制设为ERROR-DOWN状态。当上行链路恢复正常时,恢复下行接口。......
  • 01、Smart Link和Monitor Link简介
    SmartLink和MonitorLink简介介绍SmartLink和MonitorLink的定义和作用。定义SmartLink,又叫做备份链路。一个SmartLink由两个接口组成,其中一个接口作为另一个的备份。SmartLink常用于双上行组网,提供可靠高效的备份和快速的切换机制。MonitorLink是一种接口联动方案,它......
  • CommMonitor Modbus视图有什么功能特性?
    CommMonitorModbus视图有什么功能特性?1、Modbus视图主要展示串口监控到的数据以Modbus协议分析,并分解Modbus数据包,支持RTU/ASCII模式,可以设置相关选项。2、栏目说明:ID:Modbus协议头ID;功能码:Modbus协议功能码;地址:请求读写线圈或寄存器开始地址;数量:请求读写线圈或寄存......
  • CommMonitor 选项设置-通用说明
    CommMonitor选项设置-通用说明1、数据的数值类型展示方式:a、可分别显示16进制,10进制,8进制,2进制,如下图所示2进制显示,默认为16进制;b、支持列表视图、Line视图、Dump视图的数据数值进制展示。2、日期/时间选项:如下图a、支持以内核捕获时间和记录区间时间,默认是内核捕获时间;b......
  • CommMonitor 如何关闭监控会话?
    CommMonitor如何关闭监控会话?1、通过工具栏上的[关闭会话]或打开菜单->文件->关闭会话,如下图:2、如果当前会没有监控数据的话,会直接关闭当前各个视图,如果有监控数据并没有保存过,就会提示是否保存会话?3、选择[是]->保存->弹出保存或另存为对话框,选择你要保存的位置->填写......
  • CommMonitor 如何开始、暂停、停止监控串口?
    CommMonitor如何开始、暂停、停止监控串口?1、通过工具栏上的[开始监控、暂停监控、停止监控]或打开菜单->监控,如下图:开启监控:指内核驱动正式捕获串口数据,数据包序号计数开始;暂停监控:指内核驱动暂停捕获串口数据;停止监控:指内核驱动停止捕获串口数据并重置数据缓存,数据包序......