升级ASM,也可以执行asmca命令进行升级(提示升级)



创建CRS 磁盘组


将ocr迁移至ASM(CRS磁盘组)中
|
[root@soul01 bin]# pwd /oracle/app/11.2.0/grid/bin [root@soul01 bin]# ./ocrconfig -add +crs [root@soul01 bin]# ./ocrconfig -delete /dev/raw/raw1 [root@soul01 bin]# ./ocrc ocrcheck ocrcheck.bin ocrconfig ocrconfig.bin [root@soul01 bin]# ./ocrcheck Status of Oracle Cluster Registry is as follows : Version : 3 Total space (kbytes) : 485184 Used space (kbytes) : 6224 Available space (kbytes) : 478960 ID : 1368688852 Device/File Name : +crs Device/File integrity check succeeded Device/File not configured Device/File not configured Device/File not configured Device/File not configured Cluster registry integrity check succeeded Logical corruption check succeeded [root@soul01 bin]# |
将voting迁移至ASM中
|
[oracle@soul01 ~]$ cd /oracle/app/11.2.0/grid/bin/ [oracle@soul01 bin]$ ./crsctl replace votedisk +crs CRS-4256: Updating the profile Successful addition of voting disk
5ff164f617014f16bff6cecb Successful deletion of voting disk
42e6bb5f5eee7f51bf13f5d7 Successfully replaced voting disk group with +crs. CRS-4256: Updating the profile CRS-4266: Voting file(s) successfully replaced [oracle@soul01 bin]$ ./crsctl query css votedisk ## STATE File Universal Id File Name Disk group -- ----- ----------------- --------- --------- 1. ONLINE
5ff164f617014f16bff6cecb Located 1 voting disk(s). [oracle@soul01 bin]$ |
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/21345527/viewspace-1115130/ ,如需转载,请注明出处,否则将追究法律责任。