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
- Cat>/home/grid/. bashrc <EOF
- If [-t 0]; then
- Stty intr ^ C
- Fi
- Export ORACLE_BASE =/opt/app/oracle
- Export ORACLE_HOME =/opt/app/11.2.0/grid
- Export ORACLE_SID = + ASM1
- Export PATH =\$ ORACLE_HOME/bin: \ $ PATH
- Umask 022
- EOF
- Cat>/home/oracle/. bashrc <EOF
- If [-t 0]; then
- Stty intr ^ C
- Fi
- Export ORACLE_BASE =/opt/app/oracle
- Export ORACLE_HOME =/opt/app/oracle/product/11.2.0/db_1
- Export ORACLE_SID = oradb1
- Export PATH =\$ ORACLE_HOME/bin: \ $ PATH
- Umask 022
- EOF
- Cat>/root/. bashrc <EOF
- Export PATH =/opt/app/11.2.0/grid/bin:/opt/app/oracle/product/11.2.0/db_1/bin: \ $ PATH
- EOF