??Oracle ASMLIB??????
?????????linux??????oracle?asmlib?????????,?????????????,????????????????????????????????????????" multipatha",????????
??????????: ???????????,???????????:ASM??????2??????,????????????????????????3?,?:
????????
????????
?????????????
???????:?????????????,?/ dev/ sda?,?????????????.?????2??????????????????
Linux?SCSI????????????????????/dev/sdb?/dev/sdc.??????sdb??sdc??????????
??,???????????????,???????????????? ,?/dev/multipatha,?????????????,????,??I/ O??multipatha????????????????????????sdb??,?????????????,????????????multipath?????????sdc??????????
????????????????????,???????????:sdb??sdc???multpatha,??????????????ASMLIB???,??????,ASMLIB??????????????
ASMLIB???,??????????,??ASM????????????????????????????ASM????????,??????????
??????????:ASM???????????
??????,ASMLIB????????????.Linux???????????,?????????????,????multipath ??????????
???????ASMLIB??????????!??Oracle?????,??????????
?????,????,??????ASMLIB??????????????????,??????????????:
??????:
ASMLIB???ASMLIB???????????????ASMLIB??????ASMLIB?????????????????????????ASMLIB??????????????????,???????????/etc/init.d/oracleasm scandisks????????????ASMLIB????????????????????????????asmlib???,???????????ASMLIB????,?????,ASMLIB??OS????????????,????OS??????????
????????,???????OS?????????????????ASMLIB?????????????????????????ASMLIB?????????????,?????Oracle???
ASMLib??????????????????????,???????????????????????,ASMLib?????????????,?????????????????.?????????????????????????
??????????????????,??????????????????????,??ASMLib?????,?????????????????????????????????ASMLib???????????,???????????
???????:
ASMLib?????????/etc/sysconfig/oracleasm.???????/etc/sysconfig/oracleasm-_dev_oracleasm ???????????????????????????/etc/init.d/oracleasm configure ???????????,??????????????
????????????????
ORACLEASM_SCANORDER ??????????????;
ORACLEASM_SCANEXCLUDE????????????????????;
???????????????????.???,????????????????,?????????,?????sd???????SCSI??????????????.??????????,??????????????? /dev/ ??????????????
??:???????,?????????????????????device-mapper???,????????/dev/dm-XX??/dev/mapper/XXX???????udev???????????????ORACLEASM_SCANORDER ?? ORACLEASM_SCANEXCLUDE???? dm ?????
???????:
??:?????????/etc/sysconfig/oracleasm,????????????/etc/sysconfig/oracleasm-_dev_oracleasm????
?????????:
???????ASMLib??????????????,?ASMLib??????,??ORACLEASM_SCANORDER??,????:
ORACLEASM_SCANORDER="multipath sd"
??,???????,ASMLib??????"multipath"????????????/dev/multipatha ?????????????????????ASMLib?????"sd"?????????SCSI????????/dev/sda?????,???????ASM????
??????/dev/sdb?/dev/sdc??????,???ASM???,??ASMLib ????????????????ASMLib?????????ASMLib???????????????????
????????:
?????????ASMLib???????????ASMLib??????,??ORACLEASM_SCANEXCLUDE??,????:
ORACLEASM_SCANEXCLUDE="sdb sdc"
??,????????????ASMLib???????????/dev/sdb?/dev/sdc.????????SCSI?????,ASMLib????????????2???,?????/dev/multipath???,??,Oracle??????????
EMC PowerPath ?ASMLib
??????????EMC PowerPatch??????ASMLib??????
????,PowerPath?2.4 kernels EMC??????Linux??2.6??,?RHEL 4??SLES 9??2.0ASMLib kernel ???????
??EMC Power Patch???,???EMC Support Matrix????????/?? ???????????
???????? ASMLib ? PowerPath ?Linux 2.4 Kernel????,?RHEL3 SLES8 ???????,???EMC
?: ??????OTN?????:
Configuring Oracle ASMLib on Multipath Disks