[Oracle][RAC]Oracle RAC环境里打OCW上的个别Patch,然后Rollback,发现OCW也被Rollback掉了
对于Oracle RAC来说,存在着DB层面的Patch,也存在着GI层面的Patch.
本文介绍的是,GI层面,打Patch----> rollback 的动作之后,原来的OCW被Rollback的现象。
这种现象对于Oracle来说,是一种期待动作,不是Bug。
第一步,APPLY GI层面的个别Patch
[root@ol57 ~]# crsctl stat res -t ★Restart 12.1.0.1上的测试结果
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
OFFLINE OFFLINE ol57 STABLE
ora.LISTENER.lsnr
ONLINE ONLINE ol57 STABLE
ora.asm
ONLINE OFFLINE ol57 Instance Shutdown,ST
ARTING
ora.ons
OFFLINE OFFLINE ol57 STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
1 ONLINE ONLINE ol57 STABLE
ora.diskmon
1 OFFLINE OFFLINE STABLE
ora.evmd
1 ONLINE ONLINE ol57 STABLE
ora.orcl.db
1 OFFLINE OFFLINE Instance Shutdown,ST
ABLE
--------------------------------------------------------------------------------
[root@ol57 dbhome_1]# su - grid
[grid@ol57 ~]$ opatch version ★Opatch tool已经升级到最新版本(GI层面)。
OPatch Version: 12.1.0.1.10
OPatch succeeded.
[grid@ol57 ~]$ exit
logout
[root@ol57 dbhome_1]# su - oracle
[oracle@ol57 ~]$ opatch version ★Opatch tool已经升级到最新版本(DB层面)。
OPatch Version: 12.1.0.1.10
OPatch succeeded.
[root@ol57 oradata]# pwd
/oradata
[root@ol57 oradata]# cd 17272829/
[root@ol57 17272829]# ll
合計 84
drwxrwxrwx 4 root root 4096 10月 14 2013 17027533
drwxrwxrwx 5 root root 4096 10月 14 2013 17077442
drwxrwxrwx 5 root root 4096 10月 14 2013 17303297
-rwxrwxrwx 1 root root 51472 10月 16 2013 README.html
-rwxrwxrwx 1 root root 21 10月 14 2013 README.txt
drwxrwxrwx 2 root root 4096 10月 14 2013 automation
-rwxrwxrwx 1 root root 4155 10月 14 2013 bundle.xml
[root@ol57 17272829]# cd ..
[root@ol57 oradata]# /u01/app/12.1.0.1/grid/crs/install/roothas.pl -prepatch ★手动 Apply GI PSU中的OCW Patch部分。第一步,实行prepatch
Using configuration parameter file: /u01/app/12.1.0.1/grid/crs/install/crsconfig_params
2016/01/29 10:32:49 CLSRSC-347: Successfully unlock /u01/app/12.1.0.1/grid
[root@ol57 oradata]# su - grid
[grid@ol57
~]$ /u01/app/12.1.0.1/grid/OPatch/opatch apply -oh
/u01/app/12.1.0.1/grid -local /oradata/17272829/17077442 ★Apply OCW
Patch
Oracle Interim Patch Installerバージョン12.1.0.1.10
Copyright (c) 2016, Oracle Corporation. All rights reserved。
Oracle Home : /u01/app/12.1.0.1/grid
Central Inventory : /u01/app/oraInventory
from : /u01/app/12.1.0.1/grid/oraInst.loc
OPatch version : 12.1.0.1.10
OUI version : 12.1.0.1.0
Log file location : /u01/app/12.1.0.1/grid/cfgtoollogs/opatch/opatch2016-01-29_10-35-04午前_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 17077442
続行しますか。[y|n]
y
User Responded with: Y ★输入Y
All checks passed.
セキュリティの問題について通知を受ける電子メール・アドレスを指定し、Oracle Configuration
Managerをインストールして開始してください。My Oracle Supportの電子メール・アドレス/ユーザー名を使用すればより簡単です。
詳細はhttp://www.oracle.com/support/policies.htmlにアクセスしてください。
電子メール・アドレス/ユーザー名: ★ENTER
セキュリティの問題について通知を受け取るための電子メール・アドレスが指定されていません。
セキュリティの問題に関する通知を今後も受け取りませんか([Y]はい, [N]いいえ) [N]: y
ローカル・システムのこのORACLE_HOME以外で実行しているOracleインスタンスを停止してください。
(Oracleホーム = '/u01/app/12.1.0.1/grid')
ローカル・システムにパッチを適用する準備ができましたか。 [y|n]
y ★输入Y
User Responded with: Y
Backing up files...
Applying interim patch '17077442' to OH '/u01/app/12.1.0.1/grid'
コンポーネントoracle.crs, 12.1.0.1.0にパッチを適用中...
コンポーネントoracle.has.db, 12.1.0.1.0にパッチを適用中...
コンポーネントoracle.has.common, 12.1.0.1.0にパッチを適用中...
Patch 17077442 successfully applied. ★
Log file location: /u01/app/12.1.0.1/grid/cfgtoollogs/opatch/opatch2016-01-29_10-35-04午前_1.log
OPatch succeeded.
[root@ol57 oradata]# /u01/app/12.1.0.1/grid/rdbms/install/rootadd_rdbms.sh
[root@ol57 oradata]# /u01/app/12.1.0.1/grid/crs/install/roothas.pl -postpatch ★实行postpatch
Using configuration parameter file: /u01/app/12.1.0.1/grid/crs/install/crsconfig_params
CRS-4123: Oracle High Availability Services has been started.
[root@ol57 oradata]# crsctl stat res -t ★各个Resource都成功启动了
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE ol57 STABLE
ora.LISTENER.lsnr
ONLINE ONLINE ol57 STABLE
ora.asm
ONLINE ONLINE ol57 Started,STABLE
ora.ons
OFFLINE OFFLINE ol57 STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
1 ONLINE ONLINE ol57 STABLE
ora.diskmon
1 OFFLINE OFFLINE STABLE
ora.evmd
1 ONLINE ONLINE ol57 STABLE
ora.orcl.db
1 OFFLINE OFFLINE Instance Shutdown,ST
ABLE
--------------------------------------------------------------------------------
[root@ol57 oradata]# su - grid
[grid@ol57 ~]$ opatch lsinventory
Oracle Interim Patch Installerバージョン12.1.0.1.10
Copyright (c) 2016, Oracle Corporation. All rights reserved。
Oracle Home : /u01/app/12.1.0.1/grid
Central Inventory : /u01/app/oraInventory
from : /u01/app/12.1.0.1/grid/oraInst.loc
OPatch version : 12.1.0.1.10
OUI version : 12.1.0.1.0
Log file location : /u01/app/12.1.0.1/grid/cfgtoollogs/opatch/opatch2016-01-29_11-04-39午前_1.log
Lsinventory Output file location : /u01/app/12.1.0.1/grid/cfgtoollogs/opatch/lsinv/lsinventory2016-01-29_11-04-39午前.txt
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: ol57
ARU platform id: 226
ARU platform description:: Linux x86-64
インストールされた最上位製品(1):
Oracle Grid Infrastructure 12c 12.1.0.1.0
このOracleホームには1の製品がインストールされています。
仮パッチ(1) :
Patch 17077442 : applied on Fri Jan 29 10:53:28 JST 2016
Unique Patch ID: 16881794
Patch description: "Oracle Clusterware Patch Set Update 12.1.0.1.1" ★只有GIPSU 12.1.0.1.1的OCW Patch部分被Apply了
Created on 12 Oct 2013, 06:33:53 hrs US/Central
Bugs fixed:
16505840, 16505255, 16390989, 16399322, 16505617, 16505717, 17486244
16168869, 16444109, 16505361, 13866165, 16505763, 16208257, 16904822
17299876, 16246222, 16505214, 16505540, 15936039, 16580269, 16838292
16505449, 16801843, 16309853, 16505395, 17507349, 17475155, 16493242
17039197, 16196609, 17463260, 16505667, 15970176, 16488665, 16670327
--------------------------------------------------------------------------------
OPatch succeeded.
[grid@ol57 ~]$ exit
logout
[root@ol57 oradata]# ll
合計 1024568
drwxrwxrwx 6 root root 4096 10月 14 2013 17272829
drwxrwxrwx 2 root root 16384 1月 29 09:48 lost+found
-rw-r--r-- 1 root root 308909464 1月 27 11:42 p16076412_121011forOCW_Linux-x86-64.zip
-rw-r--r-- 1 root root 739187177 1月 28 09:56 p17272829_121010_Linux-x86-64.zip
[root@ol57 oradata]# unzip p16076412_121011forOCW_Linux-x86-64.zip ★解压缩
Archive: p16076412_121011forOCW_Linux-x86-64.zip
creating: 16076412/
inflating: 16076412/README.html
creating: 16076412/16076412/
<省略>
inflating: 16076412/automation/bp1-auto-rollback-inplace-automation.xml
inflating: 16076412/bundle.xml
[root@ol57 oradata]# ll
合計 1024572
drwxrwxrwx 4 root root 4096 10月 21 2014 16076412 ★解压缩没问题
drwxrwxrwx 6 root root 4096 10月 14 2013 17272829
drwxrwxrwx 2 root root 16384 1月 29 09:48 lost+found
-rw-r--r-- 1 root root 308909464 1月 27 11:42 p16076412_121011forOCW_Linux-x86-64.zip
-rw-r--r-- 1 root root 739187177 1月 28 09:56 p17272829_121010_Linux-x86-64.zip
[root@ol57 oradata]# chmod -R 777 16076412/ ★设置最大权限
[root@ol57
oradata]# su - grid[grid@ol57 ~]$
/u01/app/12.1.0.1/grid/OPatch/ocm/bin/emocmrsp -no_banner -output
/oradata/ocm.rsp ★作成ResponseFile
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: y
The OCM configuration response file (/oradata/ocm.rsp) was successfully created. ★作成成功
[root@ol57 oradata]# chmod 777 ocm.rsp ★ResponseFile也设置最大权限
[root@ol57 oradata]# ll
合計 1024576
drwxrwxrwx 4 root root 4096 10月 21 2014 16076412
drwxrwxrwx 6 root root 4096 10月 14 2013 17272829
drwxrwxrwx 2 root root 16384 1月 29 09:48 lost+found
-rwxrwxrwx 1 grid oinstall 621 1月 29 11:10 ocm.rsp
-rw-r--r-- 1 root root 308909464 1月 27 11:42 p16076412_121011forOCW_Linux-x86-64.zip
-rw-r--r-- 1 root root 739187177 1月 28 09:56 p17272829_121010_Linux-x86-64.zip
[root@ol57
oradata]# /u01/app/12.1.0.1/grid/OPatch/opatchauto apply
/oradata/16076412 -oh /u01/app/12.1.0.1/grid -ocmrf
/oradata/ocm.rsp ★使用opatchauto 来Apply GI上面的个别Patch
OPatch Automation Tool
Copyright (c)2014, Oracle Corporation. All rights reserved.
OPatchauto Version : 12.1.0.1.10
OUI Version : 12.1.0.1.0
Running from : /u01/app/12.1.0.1/grid
opatchauto log file: /u01/app/12.1.0.1/grid/cfgtoollogs/opatchauto/16076412/opatch_gi_2016-01-29_11-13-00_deploy.log
Parameter Validation: Successful
Configuration Validation: Successful
Patch Location: /oradata/16076412
Grid Infrastructure Patch(es): 16076412
DB Patch(es): 16076412
Patch Validation: Successful
User specified following Grid Infrastructure home:
/u01/app/12.1.0.1/grid
Performing prepatch operations on SIHA Home... Successful
Applying patch(es) to "/u01/app/12.1.0.1/grid" ...
Patch "/oradata/16076412/16076412" applied to "/u01/app/12.1.0.1/grid" with warning.
Performing postpatch operations on SIHA Home...
Successful
Apply Summary:
opatchauto ran into some warnings during patch installation (Please see log file for details):
GI Home: /u01/app/12.1.0.1/grid: 16076412
opatchauto completed with warnings. ★有warning,但是成功了
[root@ol57 oradata]#
[root@ol57 oradata]#
[root@ol57 oradata]# crsctl stat res -t ★各个Resource都成功启动了
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE ol57 STABLE
ora.LISTENER.lsnr
ONLINE ONLINE ol57 STABLE
ora.asm
ONLINE ONLINE ol57 Started,STABLE
ora.ons
OFFLINE OFFLINE ol57 STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
1 ONLINE ONLINE ol57 STABLE
ora.diskmon
1 OFFLINE OFFLINE STABLE
ora.evmd
1 ONLINE ONLINE ol57 STABLE
ora.orcl.db
1 OFFLINE OFFLINE Instance Shutdown,ST
ABLE
--------------------------------------------------------------------------------
[root@ol57 oradata]# su - grid
[grid@ol57 ~]$ opatch lsinventory
Oracle Interim Patch Installerバージョン12.1.0.1.10
Copyright (c) 2016, Oracle Corporation. All rights reserved。
Oracle Home : /u01/app/12.1.0.1/grid
Central Inventory : /u01/app/oraInventory
from : /u01/app/12.1.0.1/grid/oraInst.loc
OPatch version : 12.1.0.1.10
OUI version : 12.1.0.1.0
Log file location : /u01/app/12.1.0.1/grid/cfgtoollogs/opatch/opatch2016-01-29_12-01-51午後_1.log
Lsinventory Output file location : /u01/app/12.1.0.1/grid/cfgtoollogs/opatch/lsinv/lsinventory2016-01-29_12-01-51午後.txt
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: ol57
ARU platform id: 226
ARU platform description:: Linux x86-64
インストールされた最上位製品(1):
Oracle Grid Infrastructure 12c 12.1.0.1.0
このOracleホームには1の製品がインストールされています。
仮パッチ(1) :
Patch 16076412 : applied on Fri Jan 29 11:35:18 JST 2016
Unique Patch ID: 18175788
Patch description: "Grid Infrastructure Patch Set Update : 12.1.0.1.1 (HAS Component)" ★APPLY成功
Created on 21 Oct 2014, 03:14:41 hrs PST8PDT
Bugs fixed:
16505840, 16505255, 16505717, 16505617, 16399322, 16390989, 17486244
16168869, 16444109, 16505361, 13866165, 16505763, 16208257, 16904822
17299876, 16246222, 16505540, 16505214, 15936039, 16580269, 16838292
16505449, 16076412, 16801843, 16309853, 16505395, 17507349, 17475155
16493242, 17039197, 16196609, 17463260, 16505667, 15970176, 16488665, 16670327
--------------------------------------------------------------------------------
OPatch succeeded.
[grid@ol57 ~]$
第一步里出现的Log「/u01/app/12.1.0.1/grid/cfgtoollogs/opatchauto/16076412/opatch_gi_2016-01-29_11-13-00_deploy.log」
==========================================
2016-01-29_11-17-02 :
Executing command as grid :
/u01/app/12.1.0.1/grid/OPatch/opatch
napply -phBaseFile /tmp/OraGI12Home1_grid_patchList -local -invPtrLoc
/u01/app/12.1.0.1/grid/oraInst.loc -oh /u01/app/12.1.0.1/grid -silent
-ocmrf /oradata/ocm.rsp
Applying patch(es) to "/u01/app/12.1.0.1/grid" ...
Patch "/oradata/16076412/16076412" applied to "/u01/app/12.1.0.1/grid" with warning.
2016-01-29_11-35-42 :
Successfully executed the above command.
2016-01-29_11-35-43 :
Executing command as root :
/u01/app/12.1.0.1/grid/rdbms/install/rootadd_rdbms.sh
2016-01-29_11-35-43 :
Successfully executed the above command.
2016-01-29_11-35-43 :
Executing command as root :
/u01/app/12.1.0.1/grid/perl/bin/perl
-I/u01/app/12.1.0.1/grid/perl/lib
-I/u01/app/12.1.0.1/grid/OPatch/opatchautotemp_ol57/patchwork/crs/install
/u01/app/12.1.0.1/grid/OPatch/opatchautotemp_ol57/patchwork/crs/install/roothas.pl
-postpatch
2016-01-29_11-39-59 :
Successfully executed the above command.
Apply Summary:
opatchauto ran into some warnings during patch installation (Please see log file for details):
GI Home: /u01/app/12.1.0.1/grid: 16076412
Log file locations for the patches installed:
GI Home: /u01/app/12.1.0.1/grid
Log file: /u01/app/12.1.0.1/grid/cfgtoollogs/opatch/opatch2016-01-29_11-17-03午前_1.log ★
==========================================
②OPATCH的Log
opatch2016-01-29_11-17-03午前_1.log
==========================================
[2016/01/29 11:35:42] Deleted the directory "/u01/app/12.1.0.1/grid/.patch_storage/17077442_Oct_12_2013_06_33_53"
[2016/01/29 11:35:42] UtilSession: Backup area for restore has been cleaned up. For a complete list of files/directories
deleted, Please refer log file.
[2016/01/29 11:35:42] Patch 16076412 successfully applied.
[2016/01/29 11:35:42] UtilSession: N-Apply done.
[2016/01/29 11:35:42] --------------------------------------------------------------------------------
[2016/01/29 11:35:42] The following warnings have occurred during OPatch execution: ★ワーニング内容は次です。
[2016/01/29 11:35:42] 1) OUI-67303: ★
次のパッチは、指定されたリストのパッチの適用時に、Oracleホームからロールバックされます : ★
17077442 ★这句日语的意思是说,17077442这个OCW Patch在你执行opatchauto的时候别rollback掉了
[2016/01/29 11:35:42] --------------------------------------------------------------------------------
[2016/01/29 11:35:42] OUI-67008:OPatchセッションは警告付きで完了しました。
[2016/01/29 11:35:42] Finishing UtilSession at Fri Jan 29 11:35:42 JST 2016
[2016/01/29 11:35:42] Log file location: /u01/app/12.1.0.1/grid/cfgtoollogs/opatch/opatch2016-01-29_11-17-03午前_1.log
==========================================
第二步,将刚才APPLY的GI层面的个别Patch Rollback掉
[grid@ol57 ~]$ opatch lsinventory
Oracle Interim Patch Installerバージョン12.1.0.1.10
Copyright (c) 2016, Oracle Corporation. All rights reserved。
Oracle Home : /u01/app/12.1.0.1/grid
Central Inventory : /u01/app/oraInventory
from : /u01/app/12.1.0.1/grid/oraInst.loc
OPatch version : 12.1.0.1.10
OUI version : 12.1.0.1.0
Log file location : /u01/app/12.1.0.1/grid/cfgtoollogs/opatch/opatch2016-01-29_12-01-51午後_1.log
Lsinventory Output file location : /u01/app/12.1.0.1/grid/cfgtoollogs/opatch/lsinv/lsinventory2016-01-29_12-01-51午後.txt
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: ol57
ARU platform id: 226
ARU platform description:: Linux x86-64
インストールされた最上位製品(1):
Oracle Grid Infrastructure 12c 12.1.0.1.0
このOracleホームには1の製品がインストールされています。
仮パッチ(1) :
Patch 16076412 : applied on Fri Jan 29 11:35:18 JST 2016 ★before rollback 只有16076412
Unique Patch ID: 18175788
Patch description: "Grid Infrastructure Patch Set Update : 12.1.0.1.1 (HAS Component)"
Created on 21 Oct 2014, 03:14:41 hrs PST8PDT
Bugs fixed:
16505840, 16505255, 16505717, 16505617, 16399322, 16390989, 17486244
16168869, 16444109, 16505361, 13866165, 16505763, 16208257, 16904822
17299876, 16246222, 16505540, 16505214, 15936039, 16580269, 16838292
16505449, 16076412, 16801843, 16309853, 16505395, 17507349, 17475155
16493242, 17039197, 16196609, 17463260, 16505667, 15970176, 16488665, 16670327
--------------------------------------------------------------------------------
OPatch succeeded.
[grid@ol57 ~]$ exit
logout
[root@ol57
oradata]# /u01/app/12.1.0.1/grid/OPatch/opatchauto rollback
/oradata/16076412 -oh /u01/app/12.1.0.1/grid ★使用opatchauto来进行rollback
OPatch Automation Tool
Copyright (c)2014, Oracle Corporation. All rights reserved.
OPatchauto Version : 12.1.0.1.10
OUI Version : 12.1.0.1.0
Running from : /u01/app/12.1.0.1/grid
opatchauto log file: /u01/app/12.1.0.1/grid/cfgtoollogs/opatchauto/16076412/opatch_gi_2016-01-29_12-05-01_deploy.log
Parameter Validation: Successful
Configuration Validation: Successful
Patch Location: /oradata/16076412
Grid Infrastructure Patch(es): 16076412
DB Patch(es): 16076412
Patch Validation: Successful
User specified following Grid Infrastructure home:
/u01/app/12.1.0.1/grid
Performing prepatch operations on SIHA Home... Successful
Rolling back patch(es) from "/u01/app/12.1.0.1/grid" ...
Patch "16076412" successfully rolled back from "/u01/app/12.1.0.1/grid".
Performing postpatch operations on SIHA Home... Successful
Rollback Summary:
Following patch(es) are successfully rolled back:
GI Home: /u01/app/12.1.0.1/grid: 16076412
opatchauto succeeded. ★
[root@ol57 oradata]# su - grid
[grid@ol57 ~]$ opatch lsinventory
Oracle Interim Patch Installerバージョン12.1.0.1.10
Copyright (c) 2016, Oracle Corporation. All rights reserved。
Oracle Home : /u01/app/12.1.0.1/grid
Central Inventory : /u01/app/oraInventory
from : /u01/app/12.1.0.1/grid/oraInst.loc
OPatch version : 12.1.0.1.10
OUI version : 12.1.0.1.0
Log file location : /u01/app/12.1.0.1/grid/cfgtoollogs/opatch/opatch2016-01-29_12-38-17午後_1.log
Lsinventory Output file location : /u01/app/12.1.0.1/grid/cfgtoollogs/opatch/lsinv/lsinventory2016-01-29_12-38-17午後.txt
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: ol57
ARU platform id: 226
ARU platform description:: Linux x86-64
インストールされた最上位製品(1):
Oracle Grid Infrastructure 12c 12.1.0.1.0
このOracleホームには1の製品がインストールされています。
このOracleホームには仮パッチがインストールされていません。 ★after rollback 原来的GI PSU 12.1.0.1.1的OCW Patch也别rollback掉了
--------------------------------------------------------------------------------
OPatch succeeded.
[grid@ol57 ~]$
注解:
因为DB层面的Patch,是一个小小的补丁,只是在原有的庞大的DB Home下的某个文件里,进行了小小的修正。(通常都是几KB)
但是GI层面的个别Patch,是将改修的部分融合到原有的OCW Patch里,所以GI层面的个别Patch,通常倒是几百兆的大小,而且,APPLY这样的Patch时,
会将原有的OCW Patch rollback(本来就是同一个东西),之后再将这个个别Patch rollback的时候,原有的OCW Patch 也不会给你恢复。需要DBA们手动在把OCW Patch Apply 回来。
可以参照下面的MOS 文档来手动Apply OCW Patch
[参考情報]
Oracle Grid Infrastructure 11.2.0.4.x Patch Set Update SUPPLEMENTAL README (Doc ID 1641136.1)
点击这个「Section 5, "Manual Steps for Apply/Rollback Patch"」。
[Oracle][RAC]Oracle RAC环境里打OCW上的个别Patch,然后Rollback,发现OCW也被Rollback掉了的更多相关文章
- [Oracle][DATAGUARD] LOGICAL STANDBY环境里,有些SEQUENCE无法应用,导致Primary和Standby无法同期
今天遇到了一个客户,问题是这样的,客户构筑了一个RACtoRAC的 LOGICAL STANDBY环境.并用EM在监视同期情况,发现EM页面上55115和55116这两个SEQUENCE一直在应用. ...
- [Oracle][DATAGUARD] PHYSICAL STANDBY环境里,使用CATALOG管理Primary和Standby
1.先使用控制文件构筑好PHYSICAL STANDBY环境(Primary:Single 11.2.0.4,Standby Single 11.2.0.4) 2.构筑好Catalog用的服务器(Ca ...
- [Oracle][DATAGUARD] PHYSICAL STANDBY环境里,11.2.0.4 , 也可以使用Pfile来运行Primary和Standby(虽然很少有人用)
####Primary#### [oracle@primary ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on 金 ...
- Oracle rac集群环境中的特殊问题
备注:本文摘抄于张晓明<大话Oracle RAC:集群 高可用性 备份与恢复> 因为集群环境需要多个计算机协同工作,要达到理想状态,必须要考虑在集群环境下面临的新挑战. 1.并发控制 在集 ...
- vSphere在RedHat6.0上搭建Oracle 11g R2 RAC环境
一.前期准备工作 1.1 为方便操作,装完系统后我们先安装Vmware Tools: 1.1.1.安装工具 在VMware的菜单栏上选择"虚拟机/安装虚拟机工具(VM/Install VMw ...
- 一步一步搭建oracle 11gR2 rac+dg之环境准备(二)【转】
一步一步在RHEL6.5+VMware Workstation 10上搭建 oracle 11gR2 rac + dg 之环境准备 (二) 一步一步搭建oracle 11gR2 rac+dg之环境准备 ...
- Oracle RAC 集群环境下日志文件结构
Oracle RAC 集群环境下日志文件结构 在Oracle RAC环境中,对集群中的日志的定期检查是必不可少的.通过查看集群日志,可以早期定位集群环境中出现的问题,以便将问题消灭在萌芽状态.简单介绍 ...
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.7.Oracle 11G R2 RAC修改public网络IP
问题:Linuxrac2节点的public网IP被占用,导致集群节点2无法访问 1.禁止相关CRS资源的启动,停止这些资源(vip,listener,scan,scan_listener,databa ...
- Oracle 11G RAC:生产环境下架构
转: it168网站 原创 作者:刘炳林 在真实环境搭建一套Oracle RAC就好比是一堂劳动课,劳动前需要准备好劳动工具,对劳动课内容有充分的认识;按照步骤一步一步进行,需要考虑劳动过程中可能遇 ...
随机推荐
- Docker 推送镜像到hub.docker
1.Docker镜像文件:lails.server.demo:1.0, 2.登录Docker:docker login[根据提示输入用户名/密码] 3.执行:docker push lails.ser ...
- 分治法——归并排序(mergesort)
首先上代码. #include <iostream> using namespace std; int arr[11]; /*两个序列合并成一个序列.一共三个序列,所以用 3 根指针来处理 ...
- java web 的 几种跨域方式
- 修改mongodb(带仲裁节点的副本集)各机器端口
需求:因为端口调整,需要改变副本的备份集 1.查看当前的副本集信息 [root@localhost bin]# ./mongo 192.168.1.134:10001 repltest:PRIMARY ...
- 剑指offer(3)从尾到头打印链表
题目描述 输入一个链表,从尾到头打印链表每个节点的值. 题目分析 比较简单,主要注意下从尾到头,可以用栈可以用递归,我给出我比较喜欢的代码吧 代码 /* function ListNode(x){ t ...
- SVN的Not authorized to open root of edit operation解决办法
以为经常用到这是转贴 谢谢 Subversion装了1.5.2版,乌龟SVN装的是1.5.1版本,可以通过乌龟正常访问到版本库,但当check out时却出现了"Not authorize ...
- freeswitch 显示主叫名称和主叫号码
1.指定主叫号码 origination_caller_id_number 参数来指定显示的主叫号码 2.指定主叫名称 origination_caller_id_name 参数来指定显示的主叫名称 ...
- centos linux查看硬盘型号
[root@]# smartctl --all /dev/sdasmartctl 6.5 2016-05-07 r4318 [x86_64-linux-3.10.0-957.1.3.el7.x86_6 ...
- Windows环境——MySQL安装及配置
Mysql安装 下载地址:https://dev.mysql.com/downloads/mysql/ 根据个人需求,选择对应的操作系统,进行安装,本次安装的版本为5.7.24版本. 1. 安装完成 ...
- C# 计算位置居中
(item.Height / 2 - lab.Height / 2)