這篇文章主要講解了“ASM下如何遷移spfile”,文中的講解內(nèi)容簡(jiǎn)單清晰,易于學(xué)習(xí)與理解,下面請(qǐng)大家跟著小編的思路慢慢深入,一起來(lái)研究和學(xué)習(xí)“ASM下如何遷移spfile”吧!
成都創(chuàng)新互聯(lián)服務(wù)項(xiàng)目包括龍川網(wǎng)站建設(shè)、龍川網(wǎng)站制作、龍川網(wǎng)頁(yè)制作以及龍川網(wǎng)絡(luò)營(yíng)銷(xiāo)策劃等。多年來(lái),我們專(zhuān)注于互聯(lián)網(wǎng)行業(yè),利用自身積累的技術(shù)優(yōu)勢(shì)、行業(yè)經(jīng)驗(yàn)、深度合作伙伴關(guān)系等,向廣大中小型企業(yè)、政府機(jī)構(gòu)等提供互聯(lián)網(wǎng)行業(yè)的解決方案,龍川網(wǎng)站推廣取得了明顯的社會(huì)效益與經(jīng)濟(jì)效益。目前,我們服務(wù)的客戶以成都為中心已經(jīng)輻射到龍川省份的部分城市,未來(lái)相信會(huì)繼續(xù)擴(kuò)大服務(wù)區(qū)域并繼續(xù)獲得客戶的支持與信任!How to move ASM spfile to a different disk group [ID 1082943.1] 適用于11R2 有兩種方法:采用create pfile/spflie通過(guò)中間文件遷移;適用asmcmd自帶的spcopy命令; 第一種方法比較簡(jiǎn)單,步驟如下 create pfile='/tmp/pfile+ASM.ora' from spfile; create spfile='+PLAY' from pfile='/tmp/pfile+ASM.ora'; crsctl stop has crsctl start has --重啟驗(yàn)證 下面介紹一下spcopy命令 由于GPnP profile記錄有spfile路徑信息,因此需添加-u選項(xiàng)自動(dòng)更新 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 '' ... 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.
感謝各位的閱讀,以上就是“ASM下如何遷移spfile”的內(nèi)容了,經(jīng)過(guò)本文的學(xué)習(xí)后,相信大家對(duì)ASM下如何遷移spfile這一問(wèn)題有了更深刻的體會(huì),具體使用情況還需要大家實(shí)踐驗(yàn)證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識(shí)點(diǎn)的文章,歡迎關(guān)注!