Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle11g rac configuration

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Openfile:

192.168.10.40

DNS+NTP:

192.168.10.41

1.rpm installation system package:

Rpm-Uvh binutils-*

Rpm-ivh compat-libcap1-1.10-1.x86_64.rpm

Rpm-Uvh compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm

Rpm-Uvh elfutils-libelf-0.*

Rpm-Uvh elfutils-libelf-devel-*

Rpm-Uvh gcc-4.*

Rpm-Uvh gcc-c++-4.*

Rpm-Uvh glibc-2.*

Rpm-Uvh glibc-common-2.*

Rpm-Uvh glibc-devel-2.*

Rpm-Uvh glibc-headers-2.*

Rpm-Uvh ksh-2*

Rpm-Uvh libaio-0.*

Rpm-Uvh libaio-devel-0.*

Rpm-Uvh libgcc-4.*

Rpm-Uvh libstdc++-4.*

Rpm-Uvh libstdc++-devel-4.*

Rpm-Uvh make-3.*

Rpm-Uvh sysstat-7.*

Rpm-Uvh unixODBC-2.*

Rpm-Uvh unixODBC-devel-2.*

two。 Create users and groups:

/ usr/sbin/groupadd-g 501 oinstall

/ usr/sbin/groupadd-g 502 dba

/ usr/sbin/groupadd-g 503 oper

/ usr/sbin/groupadd-g 504 asmadmin

/ usr/sbin/groupadd-g 505 asmoper

/ usr/sbin/groupadd-g 506 asmdba

/ usr/sbin/useradd-g oinstall-G dba,asmdba,oper-u 500 oracle

/ usr/sbin/useradd-g oinstall-G asmadmin,asmdba,asmoper,oper,dba-u 501 grid

3. Create a directory:

Mkdir-p / u01/app/

Chmod-R 775 / u01/app/

Mkdir-p / u01/app/oraInventory

Chown-R grid:oinstall / u01/app/oraInventory

Chmod-R 775 / u01/app/oraInventory

Mkdir-p / u01/app/grid

Mkdir / u01/app/11.2.0/grid-p

Mkdir-p / u01/app/oracle

Mkdir-p / u01/app/oracle/cfgtoollogs

Chown-R grid:oinstall / u01/app/11.2.0

Chown-R grid:oinstall / u01/app/grid

Chown-R oracle:oinstall / u01/app/oracle/

Chmod-R 775 / u01/app/oracle/

Chmod-R 775 / u01/app/grid

4. Modify the hosts file

127.0.0.1 localhost.lbdb.com localhost

192.168.40.11 node1.lbdb.com node1

192.168.40.12 node2.lbdb.com node2

10.10.10.11 node1-priv.lbdb.com node1-priv

10.10.10.12 node2-priv.lbdb.com node2-priv

192.168.40.13 node1-vip.lbdb.com node1-vip

192.168.40.14 node2-vip.lbdb.com node2-vip

192.168.40.15 node-scan.lbdb.com node-scan

192.168.40.16 node-scan.lbdb.com node-scan

192.168.40.17 node-scan.lbdb.com node-scan

5. Modify parameters

Cat > > / etc/security/limits.conf > / etc/pam.d/login > / etc/sysctl.conf

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report