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

來源:互聯網
上載者:User

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

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;

Oracle 11g參數檔案之伺服器參數檔案(SPFILE)與執行個體啟動的關係

利用RMAN自動備份轉儲SPFILE

11.2環境ASM執行個體SPFILE放在ASM磁碟組的訪問方式

RAC環境中SPFILE和pfile互轉注意事項

Oracle啟動與SPFILE檔案

相關文章

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.