使用NFS与ASM配置Oracle 18c RAC(2)

如果使用asmlib,必须使用losetup命令创建块设备,如下:

[root@odb01 ~]# for i in {1..10};do losetup /dev/loop$i /u02/asmdisks/asmdisk$i;done [root@odb01 ~]# ll /dev/loop* brw-rw---- 1 root disk 7, 1 Sep 4 14:35 /dev/loop1 brw-rw---- 1 root disk 7, 10 Sep 4 14:35 /dev/loop10 brw-rw---- 1 root disk 7, 2 Sep 4 14:35 /dev/loop2 brw-rw---- 1 root disk 7, 3 Sep 4 14:35 /dev/loop3 brw-rw---- 1 root disk 7, 4 Sep 4 14:35 /dev/loop4 brw-rw---- 1 root disk 7, 5 Sep 4 14:35 /dev/loop5 brw-rw---- 1 root disk 7, 6 Sep 4 14:35 /dev/loop6 brw-rw---- 1 root disk 7, 7 Sep 4 14:35 /dev/loop7 brw-rw---- 1 root disk 7, 8 Sep 4 14:35 /dev/loop8 brw-rw---- 1 root disk 7, 9 Sep 4 14:35 /dev/loop9 crw-rw---- 1 root disk 10, 237 Sep 4 14:35 /dev/loop-control [root@odb02 ~]# for i in {1..10};do losetup /dev/loop$i /u02/asmdisks/asmdisk$i;done [root@odb02 ~]# ll /dev/loop* 5.4 创建ASM磁盘 [root@odb01 ~]# for i in {1..10};do oracleasm createdisk vol$i /dev/loop$i;done [root@odb02 ~]# oracleasm scandisks Reloading disk partitions: done Cleaning any stale ASM disks... Scanning system for ASM disks... Instantiating disk "VOL1" Instantiating disk "VOL2" Instantiating disk "VOL3" Instantiating disk "VOL4" Instantiating disk "VOL5" Instantiating disk "VOL6" Instantiating disk "VOL7" Instantiating disk "VOL8" Instantiating disk "VOL9" Instantiating disk "VOL10" 5.5 使用ASM磁盘

在安装Grid组件时,在配置“Storage Option”中选择第一个选项“Configure ASM using block devices”,如下图:

使用NFS与ASM配置Oracle 18c RAC


使用NFS与ASM配置Oracle 18c RAC


使用NFS与ASM配置Oracle 18c RAC

Linux公社的RSS地址https://www.linuxidc.com/rssFeed.aspx

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/3fe3651a8b0eaefc564ce5c13636b003.html