引自华为官网的一张rac结构图-LMLPHP
那么512G内存怎么分配呢?
引自华为官网的一张rac结构图-LMLPHP



root用户环境变量设置
引自华为官网的一张rac结构图-LMLPHP

udev设置

linux 6:
[root@dbn01 u01]# vi /etc/udev/rules.d/99-oracle-asmdevices.rules
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replacewhitespace --device=/dev/$name", RESULT=="3688860300000000ae036568967094421",SYMLINK+="asmdisk/OCRDISK01", OWNER="grid", GROUP="asmadmin", MODE="0660"

KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replacewhitespace --device=/dev/$name", RESULT=="36888603000000009e036568967094421",SYMLINK+="asmdisk/OCRDISK02", OWNER="grid", GROUP="asmadmin", MODE="0660" 

linux 7:
[root@dbn01 u01]# vi /etc/udev/rules.d/99-oracle-asmdevices.rules
KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3648fd8e1005e339f62e1bfb90000000c", SYMLINK+="asmdisk/OCRDISK01",OWNER="grid", GROUP="asmadmin", MODE="0660"

KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="3648fd8e1005e339f760c521700000004", SYMLINK+="asmdisk/OCRDISK02",OWNER="grid", GROUP="asmadmin", MODE="0660" 


/sbin/udevadm control --reload-rules
/sbin/udevadm trigger --type=devices --action=change

ll /dev/asmdisk/ 


引自:https://support.huawei.com/enterprise/en/doc/EDOC1100053122/194dd339/starting-database-instances-by-using-the-srvctl-command
12-04 22:42
查看更多