oracle叢集patching
An Oracle Real Application Clusters environment enables active instances to concurrently execute transactions on a shared database. Patching in an Oracle Real Application Clusters environment is slightly different compared to patching a single node.
Interim Patching using OPatch follows a similar approach as that performed by Oracle Universal Installer to detect Oracle home and nodes of a cluster. OPatch interacts with the Oracle Universal Installer inventory through the Oracle Universal Installer Java SDK.If OPatch detects a cluster, it queries the inventory through Oracle Universal Installer to find the local node name and node list.If your node list is not updated, you can update it by using the -updateNodeList flag of Oracle Universal Installer. You can bypass remote actions using the -local flag, as shown below:
When you perform Rolling Patching in this cluster, the patches are applied in a rolling fashion. You initially bring down system A, apply a patch to it, then bring it back up. You do the same thing for systems B and C.
Interim Patching using OPatch follows a similar approach as that performed by Oracle Universal Installer to detect Oracle home and nodes of a cluster. OPatch interacts with the Oracle Universal Installer inventory through the Oracle Universal Installer Java SDK.If OPatch detects a cluster, it queries the inventory through Oracle Universal Installer to find the local node name and node list.If your node list is not updated, you can update it by using the -updateNodeList flag of Oracle Universal Installer. You can bypass remote actions using the -local flag, as shown below:
$ORACLE_HOME/oui/bin/ -updateNodeList ORACLE_ HOME= "CLUSTER_NODES={node1,node2,node3}" -noClusterEnabled -local
If you want to specify the local node or remote nodes of an Oracle Real Application Clusters setup to OPatch, you can use the LOCAL_NODE or REMOTE_NODESsession variable and specify the node name(s), as shown below:
$ORACLE_HOME/oui/bin/ ORACLE_HOME=
"REMOTE_NODES={node1,node2,node3}" LOCAL_NODE=<nodelist If OPatch does not automatically detect Oracle Real Application Clusters or its nodes, you need to investigate the contents of the inventory and ensure that it is complete. You can patch Oracle Real Application Clusters in three different ways:
The following sections provide detailed information for these types of Oracle Real Application Clusters patching.
All Node Patching
Figure 7–1 shows a basic example of All Node Patching. Figure 7-1 All Node Patching Systems A, B, and C are nodes in this cluster. When you perform All Node Patching in this cluster, you bring down systems A, B, and C, apply patches to all these nodes, then bring systems A, B, and C back up again.Rolling Patching
In Rolling Patching, you shut down each node, apply the patch, then bring up each node again. You do this separately for each node until you patch all nodes in the cluster. This is the most efficient method of applying an interim patch to an Oracle Real Application Clusters setup, because there is absolutely no downtime during the application of patches, as only one system is brought down at any given time. Only some patches can be applied in this mode. The type is generally specified in the patch metadata.Figure 7–2 shows a basic example of Rolling Patching.
Figure 7-2 Rolling Patching
Minimum Downtime Patching
In Minimum Downtime Patching, the nodes are divided into sets. Initially, you shut down the first set and apply a patch to it. After this, you shut down the second set. You then bring up the first set and apply a patch to the second set. You now bring up the second set. All the nodes in the cluster are now patched. This method leads to less downtime for Oracle Real Application Clusters when both sets are brought down. This mode is executed by using -minimize_downtimecommand line option. You can also activate this option from the response file. In Minimum Downtime Patching, the nodes are divided into sets. Initially, you shut down the first set and apply a patch to it. After this, you shut down the second set. You then bring up the first set and apply a patch to the second set. You now bring up the second set. All the nodes in the cluster are now patched. This method leads to less downtime for Oracle Real Application Clusters when both sets are brought down. This mode is executed by using -minimize_downtimecommand line option. You can also activate this option from the response file. Figure 7–3 shows a basic example of Minimum Downtime Patching. Figure 7-3 Minimum Downtime Patching Systems A, B, and C are nodes in this cluster. It is divided into two sets: Set 1 contains systems A and B, and Set 2 contains system C. When you perform Minimum Downtime Patching in this cluster, you shut down Set 1 and apply a patch to it. You now shut down Set 2. Then, you bring up Set 1 and apply a patch to Set 2. After you apply the patch, you bring up Set 2 again. Now both Sets 1 and 2 are patched. PS:其實跟單節點都是一樣的,唯一的不同是全關還是留一個例項的問題。 </nodelist<>來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29802484/viewspace-2055133/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle opatch - offline patching 及 online patchingOracle
- Oracle叢集件元件Oracle元件
- Oracle叢集技術 | 叢集的自啟動系列(一)Oracle
- Oracle叢集時間同步Oracle
- Oracle叢集軟體管理-新增和刪除叢集節點Oracle
- 如何檢視Oracle RAC叢集的叢集名稱(CLUSTER NAME)Oracle
- Zookeeper叢集 + Kafka叢集Kafka
- Oracle系列:Oracle RAC叢集體系結構Oracle
- 5 管理oracle叢集軟體元件Oracle元件
- Oracle 叢集檔案系統 (OCFS)Oracle
- 搭建zookeeper叢集(偽叢集)
- web叢集與ejb叢集Web
- zookeeper叢集及kafka叢集搭建Kafka
- oracle RAC 診斷叢集狀態命令Oracle
- Oracle 12c叢集啟動故障Oracle
- Oracle的三種高可用叢集方案Oracle
- oracle 11g rac 叢集操作命令Oracle
- Oracle RAC叢集、程式、日誌簡介Oracle
- Oracle ClusterWare 的OCR叢集登錄檔Oracle
- 3 安裝配置oracle叢集和RACOracle
- Oracle 的三種高可用叢集方案Oracle
- redis偽叢集配置Cluster叢集模式Redis模式
- Redis系列:搭建Redis叢集(叢集模式)Redis模式
- Redis叢集 - cluster叢集、資料分片Redis
- 沃趣微講堂 | Oracle叢集技術(四):叢集初始化資源層Oracle
- Oracle叢集(RAC)時間同步(ntp和CTSS)Oracle
- oracle cluster叢集相關日誌檢視Oracle
- Oracle RAC 10g叢集節點增加Oracle
- Oracle10g RAC叢集基本命令Oracle
- 沃趣微講堂 | Oracle叢集技術(三):被誤傳的叢集自啟動Oracle
- linux下搭建ZooKeeper叢集(偽叢集)Linux
- Zookeeper叢集 + Kafka叢集 + KafkaOffsetMonitor 監控薦Kafka
- mongodb副本叢集和分片叢集佈署MongoDB
- EJB叢集和Webservice叢集的討論Web
- RabbitMQ叢集MQ
- redis 叢集Redis
- 叢集搭建
- SolrCloud叢集SolrCloud