11G RAC重建ASM執行個體的SPFILE

來源:互聯網
上載者:User

環境:


oracle rac 11.2.0.3 

rhel 5 


1、前提條件
需要知道以下資訊:
  1)、節點數量
  2)、ASM磁碟組包括的磁碟所在位置
  3)、執行個體有那幾個磁碟組

2、步驟及重建指令碼
  1)成功的指令碼:
*.cluster_database_instances=2
+ASM1.instance_name='+ASM1'
+ASM1.instance_name='+ASM2'
+ASM1.asm_diskgroups='OCR','ARC','DATA'#Manual Mount
+ASM2.asm_diskgroups='OCR','ARC','DATA'#Manual Mount
*.asm_diskstring='/dev/raw/*'
*.asm_power_limit=1
*.diagnostic_dest='/oracle/app/crs_base'
*.instance_type='asm'
*.large_pool_size=12M
*.remote_login_passwordfile='EXCLUSIVE'

2)、SQL> startup pfile=asm_init.ora
ASM instance started
Total System Global Area 283930624 bytes
Fixed Size 2212656 bytes
Variable Size 256552144 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
ASM diskgroups volume enabled

3)、SQL> create spfile='+DATA' from pfile='/home/oracle/asm_init.ora';
 File created.

4)、重啟ASM執行個體。
shutdown  ---startup

5)、查看當前的SPFILE的位置
sql>show parameter spfile;


參考:

https://forums.oracle.com/forums/thread.jspa?messageID=7432269

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.