Owner's Manual

在主机上配置数据库存储设备 147
使用
ORACLEASM
库驱动程序配置
ASM
磁盘
1
作为
root
登录。
2
口,并在所有节点上执行以下步骤:
a
键入:
service oracleasm configure
b
为所有节点键入以下内容
Default user to own the driver interface [ ]:
oracle
驱动程序接口的认用户
[ ]
oracle
Default group to own
the driver interface [ ]:
dba
驱动程序接口的认组
[ ]
dba
Start Oracle ASM library
driver on boot (y/n) [n]:
y
导时启动
Oracle ASM
驱动程序
(y/n) [n]
y
Fix
permissions of Oracle ASM disks on boot (y/n) [y]:
y
导时修复
Oracle ASM
磁盘的权限
(y/n) [y]
y
3
RAC
配置使用存储设备和
Linux Device Mapper Multipath
程序时,执行步骤
步骤
3
如下方设置
/etc/sysconfig/oracleasm
中的
ORACLEASM_SCANORDER
参数:
ORACLEASM_SCANORDER="dm"
导系统以使更改生效
4
口中的第一个节点上,键入以下命令并
<Enter>
键:
service oracleasm createdisk ASM1 /dev/emcpowerb1
service oracleasm createdisk ASM2 /dev/emcpowerc1
5
对所有需要创建的附加
ASM
磁盘重复执行步骤
4
6
验证是否创建和
ASM
ASM
磁盘。
口中,键入以下命令并
<Enter>
键:
service oracleasm listdisks
此时将显示在步骤
5
中创建的磁盘。例如:
ASM1
ASM2
7
节点能够访问您在步骤
5
中创建的
ASM
磁盘。在其每个节
点上,口,键入以下命令并
<Enter>
键:
service oracleasm scandisks