配置共享磁盘 待补充 配置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 d
rc.local脚本
rc.local脚本是一个ubuntu开机后会自动执行的脚本,我们可以在该脚本内添加命令行指令。该脚本位于/etc/路径下,需要root权限才能修改。
该脚本具体格式如下:
#!/bin/sh -e
#
# rc.local
#
# This scr ipt is executed at the end of each multiuser runlevel.
# Make sure that the scr ipt will exit 0 on success or an
最近发现centos7 的/etc/rc.local不会开机执行,于是认真看了下/etc/rc.local文件内容的就发现了问题的原因了
#!/bin/bash
# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
#
# It is highly advisable to create own systemd services or udev rules
# to run scr ipts during boot instead of using t