暂时记录,以后归档。

暂时记录,以后归档。  

1、mount有时候会出错,明明没有mount,使用mounted.ocfs2 -f 检查的时候,却发现已经mount,明明fstab中没有的,看样子只能重新mount了,所幸重新mount的时候没有出错。

2、RAC,还需要一个时间同步服务,据说11G RAC中了带了的,不过我现在用的是linux系统的NTPD服务。

      下述设置以时钟源服务器IP地址为192.168.56.132为例。可以命令ntpstat 和 ntpq -p 查看本机NTPD服务状态。配置完成后,均需要重新启动NTPD服务 service ntpd restart

【服务器端设置】

(1).将/etc/下的文件ntp.conf修改如下:

server 127.127.1.0 minpoll 4 maxpoll 5

fudge 127.127.1.0 stratum 2

restrict 127.0.0.1

driftfile /var/lib/ntp/drift

(2).将/etc/ntp下的文件ntpservers内容置空

(3).将/etc/ntp下的文件step-tickers修改如下:

127.127.1.0

【客户端设置】

(1).将/etc/下的文件ntp.conf修改如下:

server 192.168.56.132 minpoll 4 maxpoll 5

fudge 127.127.1.0 stratum 3

restrict 127.0.0.1

driftfile /var/lib/ntp/drift

logfile /etc/ntp.log

restrict 192.168.56.132 mask 255.255.255.0

(2).将/etc/ntp下的文件ntpservers内容置空

(3).将/etc/ntp下的文件step-tickers修改如下:

192.168.56.132

全部照做就可以了。当然修改完成后,还是需要重启服务的。

3、GRID在安装之后,可以进行安装前的检查,检查系统配置情况,如下:

./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose

可以修改成将检查结果写到文件中:

./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose >>test.log

也可以检查校验共享磁盘:

./runcluvfy.sh comp ssa -n rac1,rac2 -s /dev/sdb1,/dev/sdb2 >>test2.log

因为相当重要,所以临时记录下。

4、要用ntpd -x来启动服务,这个要求在引导阶段就已经-x选项,所以只能重启。

PRVF-5472 : NTP daemon's boot time configuration does not have slewing option "-x" set on node "rac2"  - Cause:  NTP daemon boot time configuration on the specified node does not have the slewing option set.  - Action:  The NTP daemon's boot time configuration file is listed with the messages accompanying this message. Make sure that slewing option is set in configuration file. For more information on NTP daemon slewing option refer to NTP daemon's man pages.

解决办法:

If you are using NTP, you must add the "-x" option into the following line in the "/etc/sysconfig/ntpd" file.
OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid"

 

请使用浏览器的分享功能分享到微信等