文件名称:容灾goldengate
文件大小:1.19MB
文件格式:DOC
更新时间:2017-10-20 15:31:25
容灾
配置共享磁盘 待补充 配置raw设备存放CRS的注册信息和表决信息(在所有节点执行) # vi etc sysconfig rawdevices dev raw raw1 dev sda6 dev raw raw2 dev sda7 dev raw raw3 dev sda8 dev raw raw4 dev sda9 dev raw raw5 dev sda10 设置raw设备权限 # vi etc udev permissions d 50 udev permissions # raw devices #ram :root:disk:0660 #raw :root:disk:0660 ram :oracle:oinstall:0775 raw :oracle:oinstall:0775 启动服务: # service rawdevices restart 开机启动: # chkconfig level 2345 rawdevices on 察看raw设备权限: # ls l dev raw raw 开机授权 # vi etc rc local chown –R oracle oinstall dev raw raw chmod +755 dev raw raw 配置ASM卷(在所有节点执行) 安装ASM软件包 # rpm Uvh oracleasm support 2 0 3 1 x86 64 rpm # rpm Uvh oracleasm 2 6 9 42 EL 2 0 3 1 x86 64 rpm # rpm Uvh oracleasm 2 6 9 42 ELsmp 2 0 3 1 x86 64 rpm # rpm Uvh oracleasmlib 2 0 2 1 x86 64 rpm 配置ASM # etc init d oracleasm configure Configuring the Oracle ASM library driver This will configure the on boot properties of the Oracle ASM library driver The following questions will determine whether the driver is loaded on boot and what permissions it will have The current values will be shown in brackets "[]" Hitting <ENTER> without typing an answer will keep that current value Ctrl C will abort Default user to own the driver interface []: oracle Default group to own the driver interface []: dba Start Oracle ASM library driver on boot y n [n]: y Fix permissions of Oracle ASM disks on boot y n [y]: y Writing Oracle ASM library driver configuration: [ OK ] Creating dev oracleasm mount point: [ OK ] Loading module "oracleasm": [ OK ] Mounting ASMlib driver filesystem: [ OK ] Scanning system for ASM disks: [ OK ] 建立ASM磁盘(在一个节点配置即可) [root@dqdjxpdb1 ]# service oracleasm createdisk DATA dev cciss c0d0p8 [root@dqdjxpdb1 ]# service oracleasm createdisk ARCH dev cciss c0d0p9 [root@dqdjxpdb1 ]# service oracleasm createdisk FLASHBACK dev cciss c0d0p10 扫描ASM磁盘 每个节点都执行 # service oracleasm scandisks 显示ASM磁盘 每个节点都执行 # service oracleasm listdisks">配置共享磁盘 待补充 配置raw设备存放CRS的注册信息和表决信息(在所有节点执行) # vi etc sysconfig rawdevices dev raw raw1 dev sda6 dev raw raw2 dev sda7 dev raw raw3 dev sda8 dev raw raw4 dev sda9 dev raw raw5 dev sda10 设置raw设备权 [更多]