您的位置:首页 > 博客中心 > 数据库 >

RedHat EL5 安装Oracle 10g RAC之--系统环境配置(1)

时间:2022-03-10 17:05

   if [ $SHELL = "/bin/ksh" ]; then

               ulimit -p 16384

               ulimit -n 65536

       else

               ulimit -u 16384 -n 65536

       fi

fi

配置认证模块:

[root@node1 ~]# cat /etc/pam.d/login

session required /lib/security/pam_limits.so

配置节点间心跳:

[root@node1 ~]# cat /etc/rc.local

options hangcheck-timer hangcheck_tick=30 hangcheck_margin=180

4、配置时间同步(NTP)

node1 作为ntp server ,node2 作为ntp client

配置如下:

node1:

[root@node1 ~]# chkconfig --list |grep time

       daytime-dgram:  off

       daytime-stream: off

       time-dgram:     off

       time-stream:    off

[root@node1 ~]# chkconfig time-dgram on

[root@node1 ~]# chkconfig time-stream on

[root@node1 ~]# chkconfig ntpd on

[root@node1 ~]# chkconfig xinetd on

[root@node1 ~]# service ntpd start

Starting ntpd: [  OK  ]


node2:

[root@node2 asm]# crontab -l

0-59/1  * * * * /usr/bin/rdate -s 192.168.8.21 >/dev/null 2>&1

0-59/1 * * * * /usr/sbin/ntpdate 192.168.8.21 >/dev/null 2>&1

[root@node2 asm]#

5、配置yum 安装所需的软件包(所有节点)

以RedHat 安装光盘作为yum仓库:


[root@node1 yum.repos.d]# cat yum.repo

[base]

name=Red Hat Enterprise Linux

baseurl=file:///media/Server

enabled=1

gpgcheck=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

安装软件包:

[root@node1 yum.repos.d]# yum install -y libXp*

Installed:

 libXp.i386 0:1.0.0-8.1.el5               libXp-devel.i386 0:1.0.0-8.1.el5              

[root@node1 yum.repos.d]# yum install -y libaio*

[root@node1 yum.repos.d]# yum install -y sysstat*

Installed:

 sysstat.i386 0:7.0.2-3.el5

[root@node1 yum.repos.d]# yum install -y unix*

Installed:

 unixODBC.i386 0:2.2.11-7.1                

 unixODBC-devel.i386 0:2.2.11-7.1            

 unixODBC-kde.i386 0:2.2.11-7.1            

[root@node1 yum.repos.d]# yum install -y compat*

Installed:

 compat-dapl.i386 0:2.0.25-2.el5          compat-dapl-devel.i386 0:2.0.25-2.el5        

 compat-dapl-static.i386 0:2.0.25-2.el5   compat-dapl-utils.i386 0:2.0.25-2.el5        

 compat-db.i386 0:4.2.52-5.1              compat-openldap.i386 0:2.3.43_2.2.29-12.el5  

 compat-readline43.i386 0:4.3-3           compat-slang.i386 0:1.4.9-27.2.2            

Dependency Installed:

 libibverbs.i386 0:1.1.3-2.el5 libnes.i386 0:0.9.0-2.el5 librdmacm.i386 0:1.0.10-1.el5

 openib.noarch 0:1.4.1-5.el5  


--未完,待续









本文出自 “” 博客,请务必保留此出处

RedHat EL5 安装Oracle 10g RAC之--系统环境配置(1),布布扣,bubuko.com

热门排行

今日推荐

热门手游