1. 程式人生 > >oracle 11g rac啟停

oracle 11g rac啟停

1.熟悉主要程序的啟停順序

1.1 啟動節點rac1:

複製程式碼
 1 [[email protected] bin]# ./crsctl start crs -excl
 2 CRS-4123: Oracle High Availability Services has been started.  --啟動OHASD程序
 3 CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
 4 CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
 5 CRS-2676: Start of 'ora.gipcd
' on 'rac1' succeeded --啟動ora.gipcd 6 CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded --啟動ora.mdnsd 7 CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1' 8 CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded --啟動ora.gpnpd 9 CRS-2672: Attempting to start 'ora.cssdmonitor
' on 'rac1' 10 CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded --啟動ora.cssdmonitor 11 CRS-2672: Attempting to start 'ora.cssd' on 'rac1' 12 CRS-2679: Attempting to clean 'ora.diskmon' on 'rac1' 13 CRS-2681: Clean of 'ora.diskmon' on 'rac1' succeeded --清除ora.diskmon 14 CRS-2672
: Attempting to start 'ora.diskmon' on 'rac1' 15 CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded --啟動ora.diskmon 16 CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded --啟動ora.cssd 17 CRS-2672: Attempting to start 'ora.ctssd' on 'rac1' 18 CRS-2672: Attempting to start 'ora.drivers.acfs' on 'rac1' 19 CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded --啟動ora.ctssd 20 CRS-2676: Start of 'ora.drivers.acfs' on 'rac1' succeeded --啟動ora.drivers.acfs 21 CRS-2672: Attempting to start 'ora.asm' on 'rac1' 22 CRS-2676: Start of 'ora.asm' on 'rac1' succeeded --啟動ora.asm 23 CRS-2672: Attempting to start 'ora.crsd' on 'rac1' 24 CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded --啟動ora.crsd 25 26 觀察節點rac2: --節點未啟動,說明 crsctl start crs -excl 只啟動單節點程序 27 [[email protected] bin]# ps -ef|grep grid 28 root 5823 4165 0 23:26 pts/1 00:00:00 grep grid 29 [[email protected] bin]#
複製程式碼

1.2 關閉節點rac1

複製程式碼
 1 [[email protected] bin]# ./crsctl stop crs -f
 2 CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac1' 
 3 CRS-2673: Attempting to stop 'ora.crsd' on 'rac1'                                            
 4 CRS-2677: Stop of 'ora.crsd' on 'rac1' succeeded                               --關閉ora.crsd
 5 CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac1'                                      
 6 CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'
 7 CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
 8 CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'rac1'
 9 CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
10 CRS-2677: Stop of 'ora.cssdmonitor' on 'rac1' succeeded                        --關閉ora.cssdmonitor         
11 CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded                              --關閉ora.mdnsd
12 CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded                              --關閉ora.ctssd
13 CRS-2677: Stop of 'ora.drivers.acfs' on 'rac1' succeeded                       --關閉ora.drivers.acfs
14 CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded                                --關閉ora.asm   
15 CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
16 CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded                               --關閉ora.cssd
17 CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
18 CRS-2673: Attempting to stop 'ora.diskmon' on 'rac1'
19 CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded                              --關閉ora.gpnpd
20 CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
21 CRS-2677: Stop of 'ora.diskmon' on 'rac1' succeeded                            --關閉ora.diskmon
22 CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded                              --關閉ora.gipcd
23 CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac1' has completed --關閉OHASD程序
24 CRS-4133: Oracle High Availability Services has been stopped.
25 [[email protected] bin]#
複製程式碼

  總結:重要程序的啟動順序為:OHASD -> ora.gpnpd -> ora.cssd -> ora.asm -> ora.crsd

2. 瞭解獨佔模式 -excl

  既然是以獨佔模式啟動,那麼有些資源一定是不能被其他節點共享的。出現搶佔資源會出現什麼情況

2.1 啟動節點rac1:

複製程式碼
 1 [[email protected] bin]# ./crsctl start crs -excl                   -- -excl表示以獨佔模式啟動
 2 CRS-4123: Oracle High Availability Services has been started.
 3 CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
 4 CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
 5 CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
 6 CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
 7 CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
 8 CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
 9 CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
10 CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
11 CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
12 CRS-2679: Attempting to clean 'ora.diskmon' on 'rac1'
13 CRS-2681: Clean of 'ora.diskmon' on 'rac1' succeeded
14 CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
15 CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
16 CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
17 CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
18 CRS-2672: Attempting to start 'ora.drivers.acfs' on 'rac1'
19 CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded
20 CRS-2676: Start of 'ora.drivers.acfs' on 'rac1' succeeded
21 CRS-2672: Attempting to start 'ora.asm' on 'rac1'
22 CRS-2676: Start of 'ora.asm' on 'rac1' succeeded
23 CRS-2672: Attempting to start 'ora.crsd' on 'rac1'
24 CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded
25 [[email protected] bin]#

相關推薦

oracle 11g rac

1.熟悉主要程序的啟停順序 1.1 啟動節點rac1: 1 [[email protected] bin]# ./crsctl start crs -excl 2 CRS-4123: Oracle High Availability Services

oracle 11g rac dbca建庫時提示創建監聽

oracle 監聽 listener oracle rac Oracle 11g rac dbca建庫時提示創建監聽在安裝oracle 11g rac時,使用dbca建庫的過程中提示需要創建監聽:Default Listener "LISTENER" is not configured in

oracle 11g rac 筆記(VMware 和esxi主機都可以使用)

oracle 11g rac這個只是筆記,防止丟失,沒事見整理在vmware安裝目錄 創建磁盤:vmware-vdiskmanager.exe -c -s 1000Mb -a lsilogic -t 2 D:\VMWARE\racsharedisk\ocr.vmdkvmware-vdiskmanager.ex

Oracle 11g單實例RMAN恢復到Oracle 11g RAC

oracle 遷移 oracle rac 一、環境說明操作系統版本: RHEL 6.5 x641. 源數據庫服務器Oracle版本: Oracle 11g 11.2.0.4 64位(單機)Oracle_SID: orcl db_name : orcl背景:一臺生產oracle10g(10.2

oracle 11g rac 修改字符集

can data 64bit 復數 查看字符集 str edit root sql 系統版本:Oracle Linux Server release 5.7數據庫版本:Oracle Database 11g Enterprise Edition Release 11.2.0

oracle 11g RAC crfclust.bdb過大的處理

oracle ora.crf過大find / -type f -size +500M | xargs du -hm | sort -nrora.crf服務是為Cluster Health Monitor(以下簡稱CHM)提供服務的,用來自動收集操作系統的資源(CPU、內存、SWAP、進程、I/O以及網絡等

oracle 11g rac 監聽無法啟動

right dom ice 文件 gen roo ssa disk inux 1.數據庫啟動集群報錯 [root@db1 bin]# ./crs_stat -t -v Name Type R/RA F/FT Targe

oracle 11g RAC 的基本操作(一)------啟動與關閉

執行 同時 man sources monit vip nag 查看數據庫 resource 啟動RAC 手工啟動按照HAS, cluster, database的順序啟動,具體命令如下: 啟動HAS(High Availability Servi

ORACLE 11G RAC ASM磁盤組全部丟失後的恢復

實例 ice mat dns 禁用 buffers bit allocated event 一、環境描述(1)Oracle 11.2.0.3 RAC ON Oracle Linux 6 x86_64,只有一個ASM外部冗余磁盤組——DATA;(2)OCR,VOTEDISK,

轉載:細說oracle 11g rac 的ip地址

捕獲 ted 失效 服務 修改 機器 發生 操作 自己 本文轉載自:細說oracle 11g rac 的ip地址 http://blog.sina.com.cn/s/blog_4fe6d4250102v5fa.html 以前搭建oracle rac的時候(自己摸索搭建),對

Oracle 11g rac新增刪除叢集資料庫

部落格文章除註明轉載外,均為原創。轉載請註明出處。本文連結地址:http://blog.chinaunix.net/uid-31396856-id-5790357.html好記性不如爛筆頭,     記錄新增叢集資料庫和刪除叢集資料庫的關鍵步驟:主要是通過srvctl命令來管理叢集的

Oracle 11g RAC的體系結構與啟動順序

參考:https://blog.csdn.net/zhang123456456/article/details/53872060  CSSD(心跳):      ASM SPFILE(不是通過ASM例項,通過ASM驅動直接從磁碟讀取。普通ASM檔案) -&

Redhat 6.1 配置Linux multipath安裝oracle 11g rac

一、安裝配置儲存節點(略) 二、資料庫節點連線儲存節點 2.1、資料庫節點安裝ISCSI啟動器 yum install iscsi* 2.2、配置啟動器 vim /etc/iscsi/initiatorname.iscsi 2.3、發起連線 # iscsiadm

[轉帖]Oracle 11G RAC For Windows 2008 R2部署手冊 Oracle 11G RAC For Windows 2008 R2部署手冊(親測,成功實施多次)

Oracle 11G RAC For Windows 2008 R2部署手冊(親測,成功實施多次)   https://www.cnblogs.com/yhfssp/p/7821593.html   總體規劃 伺服器規劃

Oracle 11G RAC資料庫基本測試和使用

檢查RAC狀態 主節點測試各個節點rac執行是否正常。顯示rac節點詳細資訊 $ srvctl config database -d rac Database unique name: rac Database name: rac Oracle home: /u

Oracle 11G RAC 生成AWR報告總結

1.生成單例項 AWR 報告: @$ORACLE_HOME/rdbms/admin/awrrpt.sql 2.生成 Oracle RAC AWR 報告: @$ORACLE_HOME/rdbms/admin/awrgrpt.sql 3.生成 RAC 環境中特定資料庫

Oracle 11g RAC關機 開機操作步驟

首先關閉防火牆iptables -F 兩臺都要操作 CRS-4639: Could not contactOracle High Availability Services 原因,crs沒有啟動 方法1、oracle中的bug, 啟動之前需要執行 /bin/dd if=/

這幾天安裝oracle 11g RAC ,但是遇到問題了,一直沒有安裝好

執行一個指令碼時候,遇到問題:Failed to upgrade Oracle Cluster Registry configuration 安裝了好幾次,都是相同的錯誤,我嚴重懷疑是oracle指令碼的問題在google查了一把,果然有這個問題的報告,指令碼是有問題的為什麼

Oracle 11g RAC CRS-4535/ORA-15077

原文地址:http://blog.csdn.net/leshami/article/details/8468592 新安裝了Oracle 11g rac之後,不知道是什麼原因導致第二個節點上的crsd無法啟動?其錯誤訊息是CRS-4535: Cannot com

Oracle 11g rac 新增新節點測試

[轉]https://blog.csdn.net/shiyu1157758655/article/details/60877076 前期準備: 作業系統設定OS版本必須相同,檢查核心引數,系統記憶體、CPU、檔案系統大小、swap空間等。建立必要的使用者及組使用者及使用者組UID及GID必須跟其他節點相同