我们都知道Oracle ASM和 Oracle 数据库是紧密集成的,并且和 Oracle 数据管理的相关工具套件一起配合工作。它可以是简化的数据库存储管理,并且可以提供原始磁盘 I/O 的相关性能。
配置 ASMLib。以 root 用户身份在两个节点上配置Oracle ASMLib。
#/etc/init.d/oracleasmconfigure ConfiguringtheOracleASMlibrarydriver. Thiswillconfiguretheon-bootpropertiesoftheOracleASMlibrary driver.Thefollowingquestionswilldeterminewhetherthedriveris loadedonbootandwhatpermissionsitwillhave.Thecurrentvalues willbeshowninbrackets('[]').Hittingwithouttypingan answerwillkeepthatcurrentvalue.Ctrl-Cwillabort. Defaultusertoownthedriverinterface[]:oracle Defaultgrouptoownthedriverinterface[]:dba StartOracleASMlibrarydriveronboot(y/n)[n]:y FixpermissionsofOracleASMdisksonboot(y/n)[y]:y WritingOracleASMlibrarydriverconfiguration:[OK] Loadingmodule"oracleasm":[OK] MountingASMlibdriverfilesystem:[OK] ScanningsystemforASMdisks:[OK]
创建Oracle ASM 磁盘。以 root 用户身份在任何一个节点上创建 ASM 磁盘。
#/etc/init.d/oracleasmcreatediskVOL1/dev/sdc1 Markingdisk"/dev/sdc1"asanASMdisk:[OK] #/etc/init.d/oracleasmcreatediskVOL2/dev/sdd1 Markingdisk"/dev/sdd1"asanASMdisk:[OK] #/etc/init.d/oracleasmcreatediskVOL3/dev/sde1 Markingdisk"/dev/sde1"asanASMdisk:[OK] VerifythattheASMdisksarevisiblefromeverynode. #/etc/init.d/oracleasmscandisks ScanningsystemforASMdisks:[OK] #/etc/init.d/oracleasmlistdisks VOL1 VOL2 VOL3 VOL4
相关文章
标签:Oracle