RHEL 5.3 installation of Oracle 11g rac on the Single Node

Source: Internet
Author: User

Starting to test Oracle 11g rac, the current performance is limited, so a single node rac is installed. The procedure is as follows:

Modify ifcfg-bond * ifcfg-eth * in/etc/modprobe. conf and/etc/sysconfig/network-scripts by binding the NIC *

I will not talk more here

Configure Xmanager connection

Vi/usr/share/TPD/defaults. conf

Change Enable = false under [xdmcp] to Enable = true.

Change AllowRemoteRoot = false to AllowRemoteRoot = true

Make it take effect:

TPD-restart

Check whether the required package is installed in the system.

List of packages to be installed:

Binutils-2.15.92.0.2
Compat-libstdc ++-33-3.2.3
Compat-libstdc ++-33-3.2.3 (32 bit)
Elfutils-libelf-0.97
Elfutils-libelf-devel-0.97
Expat-1.95.7
Gcc-3.4.6
Gcc-c ++-3.4.6
Glibc-2.3.4-2.41
Glibc-2.3.4-2.41 (32 bits)
Glibc-common-2.3.4
Glibc-devel-2.3.4
Glibc-headers-2.3.4
Libaio-0.3.105
Libaio-0.3.105 (32 bits)
Libaio-devel-0.3.105
Libaio-devel-0.3.105 (32 bits)
Libgcc-3.4.6
Libgcc-3.4.6 (32-bits)
Libstdc ++-3.4.6
Libstdc ++-3.4.6 (32 bit)
Libstdc ++-devel 3.4.6
Make-3.80
Pdksh-5.2.14
Sysstat-5.0.5
UnixODBC-2.2.11
UnixODBC-2.2.11 (32 bits)
UnixODBC-devel-2.2.11
UnixODBC-devel-2.2.11 (32 bits)

 

Rpm-q -- qf' % {NAME}-% {VERSION}-% {RELEASE} (% {ARCH}) \ n' binutils \
Compat-libstdc ++-33 \
Elfutils-libelf \
Elfutils-libelf-devel \
Gcc \
Gcc-c ++ \
Glibc \
Glibc-common \
Glibc-devel \
Glibc-headers \
Ksh \
Libaio \
Libaio-devel \
Libgcc \
Libstdc ++ \
Libstdc ++-devel \
Make \
Sysstat \
UnixODBC \
UnixODBC-devel


Create user
Create several user groups

Groupadd-g 1000 oinstall

Groupadd-g 1020 asmadmin

Groupadd-g 1021 asmdba

Groupadd-g 1031 dba

Groupadd-g 1022 asmoper

 

Create user

Useradd-u 1100-g oinstall-G asmadmin, asmdba grid

Useradd-u 1101-g oinstall-G dba, asmdba oracle

 

Passwd oracle

Passwd grid 

Modify Environment Variables
  1. Cat>/home/grid/. bashrc <EOF
  2. If [-t 0]; then
  3. Stty intr ^ C
  4. Fi
  5. Export ORACLE_BASE =/opt/app/oracle
  6. Export ORACLE_HOME =/opt/app/11.2.0/grid
  7. Export ORACLE_SID = + ASM1
  8. Export PATH =\$ ORACLE_HOME/bin: \ $ PATH
  9. Umask 022
  10. EOF
 
  1. Cat>/home/oracle/. bashrc <EOF
  2. If [-t 0]; then
  3. Stty intr ^ C
  4. Fi
  5. Export ORACLE_BASE =/opt/app/oracle
  6. Export ORACLE_HOME =/opt/app/oracle/product/11.2.0/db_1
  7. Export ORACLE_SID = oradb1
  8. Export PATH =\$ ORACLE_HOME/bin: \ $ PATH
  9. Umask 022
  10. EOF

 
  1. Cat>/root/. bashrc <EOF
  2. Export PATH =/opt/app/11.2.0/grid/bin:/opt/app/oracle/product/11.2.0/db_1/bin: \ $ PATH
  3. EOF
  • 1
  • 2
  • 3
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.