ADRCI基礎知識
支援資料庫版本:11gR2
1. 幫助
$ adrci -help
adrci> help
adrci> help ips
adrci> help ips add
2. 基本命令
adrci> show base
adrci> show home
adrci> set home diag/rdbms/orcl/ORCL
adrci> show alert -tail 5
adrci> show incident
adrci>show incident -mode detail -p "incident_id=166011"
adrci> show problem
adrci> show problem -p "problem_key like '%600%'"
3. 打包
adrci> ips pack problem 1
或
adrci> ips create package
adrci> ips create package problemkey "ORA 7445 [koioapm()+254]"
adrci> ips add incident 172231 package 3
adrci> ips add file/trace/ora11g_ora_4582.trc package 3
adrci> ips generate package 3
adrci> ips add new incidents package 3
adrci> ips add problem 12 package 3
adrci> ips generate package 3
4. 解包
adrci> ips get metadata from file /home/oracle/IPSPKG_20090215012523_COM_1.zip
adrci> ips unpack file /home/oracle/IPSPKG_20090215012523_COM_1.zip into /home/oracle
adrci> host
$ ls -l
5. 直接在命令列執行
$ adrci exec="show base;show home;set home diag/rdbms/orcl/ORCL;show home;"
6. 修改ADR的perge policy
oracle與grid的ADR設定需要分別使用各自使用者(oracle、grid)
$ adrci
adrci> show homes
adrci> set homepath diag/oracle/orcl
adrci> show control
adrci> set control (shortp_policy=180)
adrci> show control
adrci> exit
1. 幫助
$ adrci -help
adrci> help
adrci> help ips
adrci> help ips add
2. 基本命令
adrci> show base
adrci> show home
adrci> set home diag/rdbms/orcl/ORCL
adrci> show alert -tail 5
adrci> show incident
adrci>show incident -mode detail -p "incident_id=166011"
adrci> show problem
adrci> show problem -p "problem_key like '%600%'"
3. 打包
adrci> ips pack problem 1
或
adrci> ips create package
adrci> ips create package problemkey "ORA 7445 [koioapm()+254]"
adrci> ips add incident 172231 package 3
adrci> ips add file
adrci> ips generate package 3
adrci> ips add new incidents package 3
adrci> ips add problem 12 package 3
adrci> ips generate package 3
4. 解包
adrci> ips get metadata from file /home/oracle/IPSPKG_20090215012523_COM_1.zip
adrci> ips unpack file /home/oracle/IPSPKG_20090215012523_COM_1.zip into /home/oracle
adrci> host
$ ls -l
5. 直接在命令列執行
$ adrci exec="show base;show home;set home diag/rdbms/orcl/ORCL;show home;"
6. 修改ADR的perge policy
oracle與grid的ADR設定需要分別使用各自使用者(oracle、grid)
$ adrci
adrci> show homes
adrci> set homepath diag/oracle/orcl
adrci> show control
adrci> set control (shortp_policy=180)
adrci> show control
adrci> exit
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22558114/viewspace-1124337/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 基礎知識
- AI 基礎知識AI
- Webpack 基礎知識Web
- Dart基礎知識Dart
- RabbitMQ基礎知識MQ
- webpack基礎知識Web
- javascript基礎知識JavaScript
- ThinkPHP基礎知識PHP
- Laravel基礎知識Laravel
- Redis基礎知識Redis
- Docker基礎知識Docker
- 程式基礎知識
- Envoy基礎知識
- DockerFile基礎知識Docker
- Nginx基礎知識Nginx
- CSS基礎知識CSS
- Java基礎知識Java
- PRML 基礎知識
- BGP基礎知識
- PHP基礎知識PHP
- React基礎知識React
- httpclient基礎知識HTTPclient
- HBase基礎知識
- Jquery基礎知識jQuery
- js基礎知識JS
- PGA基礎知識
- Javascript 基礎知識JavaScript
- ASM基礎知識ASM
- html基礎知識HTML
- 黑客基礎知識黑客
- Mysqli基礎知識MySql
- oracle 基礎知識Oracle
- SEO基礎知識
- CMMI 基礎知識
- Kafka 基礎知識Kafka
- 1、基礎知識
- qml基礎知識
- Mybatis基礎知識MyBatis