oracle 11gR2 oracle restart 單機使用asm儲存 主機名發生更改處理過程
oracle 11gR2 oracle restart 單機使用asm儲存 主機名發生更改並且主機重啟後處理過程:
以下為解決方案:
1. Remove Oracle Restart configuration
This step should be performed as privileged (root) user.The expected result is "Successfully deconfigured Oracle Restart stack".# $GRID_HOME/crs/install/roothas.pl -deconfig -force
2. Reconfigure Oracle Restart
This step should also be performed as privileged (root) user.# $GRID_HOME/crs/install/roothas.pl
The expected result is "Successfully configured Oracle Grid Infrastructure for a Standalone Server"
3. Add ASM back to Oracle Restart configuration
This step should be performed as Grid Infrastructure owner (grid user).
$ srvctl add asmThe expected result is no output, just a return to the operating system prompt.
4. Start up ASM instance
This step should be performed as Grid Infrastructure owner (grid user).$ srvctl start asm
That should start ASM. Note that at this time there will be no ASM initialization or server parameter file.5. Recreate ASM server parameter file (SPFILE)
This step should be performed as Grid Infrastructure owner (grid user).
Create a temporary initialization parameter file (e.g. /tmp/init+ASM.ora) with the following content (specify your own disk group names):
Mount the disk group where the new server parameter file (SPFILE) will reside (e.g. DATA) and create SPFILE:asm_diskgroups='DATA','RECO'
instance_type='asm'
large_pool_size=12M
remote_login_passwordfile='EXCLUSIVE'
$ sqlplus / as sysasm
SQL> alter diskgroup DATA mount;
Diskgroup altered.
SQL> create spfile='+DATA' from pfile='/tmp/init+ASM.ora';
File created.
SQL> show parameter spfile
NAME TYPE VALUE
------- ------- -------------------------------------------------
spfile string +DATA/asm/asmparameterfile/registry.253.7077379776. Restart HAS stack
crsctl stop has
crsctl start has7. Add components back to Oracle Restart Configuration
If you had the database, listener and other components, add them back to the Oracle Restart Configuration.7.1. Add database component
This step should be performed as RDBMS owner (oracle user).srvctl add database -d-o 7.2. Add listener component
This step should be performed as Grid Infrastructure owner (grid user).srvctl add listener7.3. Add other components
For information on how to add back additional components, please review:
Oracle Database Administrator's Guide 11g Release 2 (11.2)
Chapter 4 Configuring Automatic Restart of an Oracle Database
Section Configuring Oracle Restart
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-694420/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 11gR2 restart 單機使用asm儲存 主機名發生更改處理過程 (文件 ID 986740.1)OracleRESTASM
- 【Oracle】11gR2 grid單機使用asm儲存修改主機名後導致的故障處理OracleASM
- oracle儲存過程中單引號及字串拼接處理Oracle儲存過程字串
- 改主機名後Oracle OEM無法使用處理方法Oracle
- Oracle儲存過程Oracle儲存過程
- oracle 儲存過程遊標的使用Oracle儲存過程
- oracle 11.2.0.3 單機 asm 儲存打psu 10補丁OracleASM
- Oracle儲存過程-1Oracle儲存過程
- oracle的儲存過程Oracle儲存過程
- Oracle儲存過程例子Oracle儲存過程
- Oracle建立儲存過程Oracle儲存過程
- oracle plsql儲存過程OracleSQL儲存過程
- ORACLE 儲存過程示例Oracle儲存過程
- oracle儲存過程和觸發器Oracle儲存過程觸發器
- oracle 儲存過程遊標中處理並記錄異常Oracle儲存過程
- Oracle儲存過程乾貨(一):儲存過程基礎Oracle儲存過程
- Oracle開發人員 JAVA儲存過程OracleJava儲存過程
- 原創:oracle 儲存過程Oracle儲存過程
- oracle 儲存過程批次提交Oracle儲存過程
- oracle 儲存過程學習Oracle儲存過程
- [Flashback]Oracle flashback儲存過程Oracle儲存過程
- Oracle儲存過程學習Oracle儲存過程
- oracle的儲存過程格式Oracle儲存過程
- java 呼叫oracle 儲存過程JavaOracle儲存過程
- oracle--08儲存過程Oracle儲存過程
- 產生隨機密碼的sql儲存過程隨機密碼SQL儲存過程
- oracle asm 儲存限制OracleASM
- 從sybase的儲存過程轉向oracle的儲存過程儲存過程Oracle
- Oracle Restart啟動資料庫例項故障一例( Oracle ASM儲存Spfile解析)OracleREST資料庫ASM
- 在IBM 7133儲存上安裝oracle rac+asm時修改主機名出現的問題IBMOracleASM
- 【實戰】oracle job + 儲存過程 的使用示例Oracle儲存過程
- oracle儲存過程書寫格式Oracle儲存過程
- Oracle Pl/SQL 之 儲存過程OracleSQL儲存過程
- C#呼叫 oracle儲存過程C#Oracle儲存過程
- Oracle儲存過程基本語法Oracle儲存過程
- [Procedure]Oracle之分頁儲存過程Oracle儲存過程
- C#呼叫Oracle儲存過程C#Oracle儲存過程
- java中呼叫ORACLE儲存過程JavaOracle儲存過程