亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Oracle 事件打包服務(Incident Packaging Service,IPS)

發布時間:2020-06-21 16:12:13 來源:網絡 閱讀:945 作者:bin321 欄目:關系型數據庫

packaging incidents(打包事件)
oracle 11g的一個很強有力的工具是打包事件。利用這個打包事件壓縮的文件夾提交給oracle的支持來幫助解決分析問題。
一旦你創建一個事件包,將添加一個或多個相關的問題到打包文件中。其中包括trace文件,dump文件等。
缺省情況下,每一個問題的事件包僅僅包括第一個和最后三個事件。事件包包含所有可以用于診斷的事件。也可以指定事件發生的時間或數
量范圍來打包。
一旦你創建了事件包,那么你能添加或移除文件。
具體步驟如下:
1:創建一個邏輯包:使用命令是ips create package。該命令可以創建一個空包,也可以能會創建自動包含診斷數據的包。這個命令有很多
變量,你可以選擇創建某一特定問題號,事件號,問題關鍵字,或基于期間的包。
2:添加診斷數據到邏輯包:這是一個可選步驟,如果你在第一步創建的是一個空包,那么你可以使用這一步驟添加診斷文件或數據。
3:產生zip文件:可以增量添加文件到zip文件里。


我們也可以通過ADRCI工具來找到跟蹤文件,如下:

adrci> show incident

ADR Home = /u01/app/oracle/diag/rdbms/huateng/huateng:
*************************************************************************
INCIDENT_ID          PROBLEM_KEY                                                 CREATE_TIME                              
-------------------- ----------------------------------------------------------- ----------------------------------------
11041                ORA 7445 [kslgetl()+18]                                     2012-08-01 23:32:13.324000 +08:00       
19306                ORA 1578                                                    2012-08-06 19:28:42.011000 +08:00       
19354                ORA 1578                                                    2012-08-06 19:29:01.932000 +08:00       
19355                ORA 1578                                                    2012-08-06 19:29:09.383000 +08:00       
19356                ORA 1578                                                    2012-08-06 19:29:28.922000 +08:00       
25414                ORA 600 [2252]                                              2012-08-07 23:25:03.801000 +08:00       
25454                ORA 600 [2252]                                              2012-08-07 23:25:09.263000 +08:00       
25462                ORA 600 [2252]                                              2012-08-07 23:25:10.793000 +08:00       
25415                ORA 600 [2252]                                              2012-08-07 23:25:11.049000 +08:00       
25416                ORA 600 [2252]                                              2012-08-07 23:25:17.087000 +08:00       
34962                ORA 600 [2608]                                              2012-08-14 11:26:16.424000 +08:00       
42163                ORA 600 [3688]                                              2012-08-16 05:13:34.745000 +08:00       
66276                ORA 4031                                                    2012-11-05 23:39:23.913000 +08:00       
66277                ORA 4031                                                    2012-11-05 23:44:37.593000 +08:00       
66284                ORA 4031                                                    2012-11-05 23:49:24.553000 +08:00       
15 rows fetched

adrci> show trace -i 11041

Output the results to file: /tmp/utsout_9769_308617_2.ado

/u01/app/oracle/diag/rdbms/huateng/huateng/incident/incdir_11041/huateng_ora_13543_i11041.trc
----------------------------------------------------------
LEVEL PAYLOAD                                                                                                                                         
----- ------------------------------------------------------------------------------------------------------------------------------------------------
      Dump file /u01/app/oracle/diag/rdbms/huateng/huateng/incident/incdir_11041/huateng_ora_13543_i11041.trc
      Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
      With the Partitioning, OLAP, Data Mining and Real Application Testing options
      ORACLE_HOME = /u01/app/oracle/product/db11gr2
      System name:      Linux
      Node name:        db2server
      Release:  2.6.18-92.el5
      Version:  #1 SMP Tue Jun 10 18:49:47 EDT 2008
      Machine:  i686
      Instance name: huateng
      Redo thread mounted by this instance: 1
      Oracle process number: 30
      Unix process pid: 13543, p_w_picpath: oracle@db2server (TNS V1-V3)


      *** 2012-08-01 23:32:13.444
      *** SESSION ID:(49.13) 2012-08-01 23:32:13.444
      *** CLIENT ID:() 2012-08-01 23:32:13.444
      *** SERVICE NAME:(SYS$USERS) 2012-08-01 23:32:13.444
      *** MODULE NAME:(sqlplus@db2server (TNS V1-V3)) 2012-08-01 23:32:13.444
      *** ACTION NAME:() 2012-08-01 23:32:13.444

      Dump continued from file: /u01/app/oracle/diag/rdbms/huateng/huateng/trace/huateng_ora_13543.trc
1>     ***** Error Stack *****
       ORA-07445: exception encountered: core dump [kslgetl()+18] [SIGSEGV] [ADDR:0x600075F8] [PC:0xF052F62] [Address not mapped to object] []
1<     ***** Error Stack *****
1>     ***** Dump for incident 11041 (ORA 7445 [kslgetl()+18]) *****
2>      ***** Beginning of Customized Incident Dump(s) *****
        Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x600075F8] [PC:0xF052F62, kslgetl()+18] [flags: 0x0, count: 1]
        Registers:
        %eax: 0x600075f0 %ebx: 0x00000000 %ecx: 0x0f052f50
        %edx: 0x00000000 %edi: 0x600075f0 %esi: 0x00000001
        %esp: 0xbfa8a5f4 %ebp: 0xbfa8a604 %eip: 0x0f052f62
        %efl: 0x00010282
 
 
 
 
        

1.使用“ips create package”創建一個新的邏輯包
1)進入到adrci命令行界面


ADRCI: Release 11.2.0.1.0 - Production on 星期二 2月 1 11:01:28 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

ADR base = "/u01/oracle"

2)嘗試創建邏輯包
adrci> ips create package;
DIA-48448: This command does not support multiple ADR homes




修改adrci目錄:      
        
adrci> show homes
ADR Homes:
diag/clients/user_oracle/host_2467386799_76
diag/tnslsnr/biserver/orcl
diag/tnslsnr/biserver/listener
diag/rdbms/orcl/orcl

3)這里我們選擇diag/rdbms/orcl/orcl

adrci> set homepath diag/rdbms/orcl/orcl

4)確認只有一個home


5)再次嘗試創建邏輯包,成功。
adrci> ips create package;
Created package 1 without any contents, correlation level typical

6)將診斷數據添加到剛剛創建的邏輯包中
將系統中出現的53475 事件添加到邏輯包1中,在系統中可以使用show incident命令獲得incident號。
adrci> ips add incident 53475 package 1;
Added incident 53475 to package 1

7)生成物理包
adrci> ips generate package 1 in /export/home/oracle

Generated package 1 in file /export/home/oracle/IPSPKG_20110201110631_COM_1.zip, mode complete

8)簡單查看一下解壓后的文件目錄。可見Oracle在壓縮包中自動采集了很多相關信息。

-bash-3.00$ unzip  IPSPKG_20110201110631_COM_1.zip
Archive:  IPSPKG_20110201110631_COM_1.zip
  inflating: diag/rdbms/orcl/orcl/incpkg/pkg_1/seq_1/export/IPS_CONFIGURATION.dmp
  inflating: diag/rdbms/orcl/orcl/incpkg/pkg_1/seq_1/export/IPS_PACKAGE.dmp
  inflating: diag/rdbms/orcl/orcl/incpkg/pkg_1/seq_1/export/IPS_PACKAGE_INCIDENT.dmp
  inflating: diag/rdbms/orcl/orcl/incpkg/pkg_1/seq_1/export/IPS_PACKAGE_FILE.dmp
  inflating: diag/rdbms/orcl/orcl/incpkg/pkg_1/seq_1/export/IPS_PACKAGE_HISTORY.dmp
  inflating: diag/rdbms/orcl/orcl/incpkg/pkg_1/seq_1/export/IPS_FILE_METADATA.dmp
  inflating: diag/rdbms/orcl/orcl/incpkg/pkg_1/seq_1/export/IPS_FILE_COPY_LOG.dmp
 .......
 .....
 
 
 
 
5.小結
使用ADRCI (ADR Command Interface)完成整個故障打包的過程是很便利的。這既方便了自己也方便了Oracle的support人員。

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

喀喇沁旗| 宁陕县| 探索| 寿宁县| 松原市| 资源县| 罗源县| 敦煌市| 平远县| 瑞昌市| 赫章县| 静乐县| 康定县| 灵川县| 富顺县| 蒲城县| 乌苏市| 夏河县| 宁河县| 页游| 奇台县| 乌海市| 闻喜县| 容城县| 和田县| 内江市| 新余市| 西乡县| 祁门县| 留坝县| 将乐县| 酉阳| 广饶县| 澎湖县| 富裕县| 宕昌县| 永吉县| 沅陵县| 民乐县| 左权县| 额尔古纳市|