ASM下遷移spfile
How to move ASM spfile to a different disk group [ID 1082943.1] 適用於11R2 有兩種方法:採用create pfile/spflie透過中間檔案遷移;適用asmcmd自帶的spcopy命令; 第一種方法比較簡單,步驟如下 create pfile='/tmp/pfile+ASM.ora' from spfile; create spfile='+PLAY' from pfile='/tmp/pfile+ASM.ora'; crsctl stop has crsctl start has --重啟驗證 下面介紹一下spcopy命令 由於GPnP profile記錄有spfile路徑資訊,因此需新增-u選項自動更新 1. Copy spfile with -u option - to update GPnP profile in RAC environment $ asmcmd spget +DATA/asm/asmparameterfile/registry.253.722601213 $ asmcmd lsdg State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Votin g_files Name MOUNTED EXTERN N 512 4096 1048576 14658 9814 0 9814 0 N DATA/ MOUNTED EXTERN N 512 4096 1048576 9772 8507 0 8507 0 N PLAY/ MOUNTED EXTERN N 512 4096 1048576 9772 9212 0 9212 0 N RECO/ $ asmcmd spcopy -u +DATA/asm/asmparameterfile/registry.253.722601213 +PLAY/spfileASM.ora 2. Restart the HA stack to verify that ASM starts up fine with copiedspfile $ crsctl stop has CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on '<server>' ... CRS-4133: Oracle High Availability Services has been stopped. $ crsctl start has CRS-4123: Oracle High Availability Services has been started. $ asmcmd spget +PLAY/spfileASM.ora 3. Remove the original spfile $ asmcmd ls -l +DATA/asm/asmparameterfile Type Redund Striped Time Sys Name ASMPARAMETERFILE UNPROT COARSE JUN 25 10:00:00 Y REGISTRY.253.722601213 $ asmcmd rm +DATA/asm/asmparameterfile/registry.253.722601213 NOTE: The disk group that holds ASM spfile has to have COMPATIBLE.ASM value of 11.2 or higher.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31520497/viewspace-2156776/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 將spfile從ASM裡遷移到檔案系統ASM
- 遷移ASM磁碟組ASM
- 【ASM】ASM啟動無法找到spfile問題原因ASM
- 遷移OCR和VotingDisk並刪除原ASM磁碟組ASM
- openstack下熱遷移機制
- 2.7.2 遷移到伺服器引數檔案(spfile)伺服器
- Oracle資料庫(DataGuard)遷移方案(下)Oracle資料庫
- ORACLE RAC ASM資料檔案遷移OMF檔案報錯ORA-01276解決OracleASM
- Solaris 10下遷移10G RAC (六)
- Solaris 10下遷移10G RAC (八)
- Solaris 10下遷移10G RAC (四)
- Solaris 10下遷移10G RAC (二)
- Solaris 10下遷移10G RAC (七)
- Solaris 10下遷移10G RAC (三)
- Solaris 10下遷移10G RAC (一)
- Solaris 10下遷移10G RAC (五)
- [原]不同場景下MySQL的遷移方案MySql
- 棧遷移
- 遷移公告
- 【遷移】SqlServer 遷移到 MySQL 方法ServerMySql
- Oracle資料庫(資料泵)遷移方案(下)Oracle資料庫
- docker映象遷移Docker
- 賬號遷移
- Jenkins Job遷移Jenkins
- [論文閱讀] 顏色遷移-N維pdf遷移
- 【ASM】ASM資料檔案和OS檔案(FILESYSTEM)轉移方法總結ASM
- Windows和Linux系統下的Conda環境遷移WindowsLinux
- 自然語言處理中的遷移學習(下)自然語言處理遷移學習
- 雲原生趨勢下的遷移與容災思考
- xtts遷移實踐TTS
- Kafka資料遷移Kafka
- Harbor資料遷移
- WSL2遷移
- 遷移&新地址
- oracle遷移OCR盤Oracle
- gitlab資料遷移Gitlab
- Homestead 怎麼遷移?
- Oracle遷移文件大全Oracle