Oracle Grid Infrastructure Install
Basic Grid Infrastructure Install (without GNS and IPMI)
/opt/app/oraInventory/orainstRoot.sh
Changing permissions of /opt/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /opt/app/oraInventory to oinstall.
The execution of the script is complete.
/opt/app/oracle/product/11.2.0/grid/root.sh
Running Oracle 11g root script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /opt/app/oracle/product/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /opt/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'oracle', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node db successfully pinned.
Adding daemon to inittab
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9307: Installing requested ADVM/ACFS software.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9321: Creating udev for ADVM/ACFS.
ACFS-9323: Creating module dependencies - this may take some time.
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9309: ADVM/ACFS installation correctness verified.
db 2010/10/04 12:56:13 /opt/app/oracle/product/11.2.0/grid/cdata/db/backup_20101004_125613.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
/opt/app/oracle/product/11.2.0/dbhome_1/root.sh
Running Oracle 11g root script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /opt/app/oracle/product/11.2.0/dbhome_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
3Oracle Grid Infrastructure
Requirements for Oracle Grid Infrastructure Installation
The system must meet the following requirements:
■ Memory Requirements
■ Disk Space Requirements
■ Configuring the User’s Environment
Oracle ACFS and Oracle ADVM Support
Oracle Automatic Storage Management Cluster File System (Oracle ACFS)
Oracle Automatic Storage Management Dynamic Volume Manager (Oracle ADVM)
Oracle Automatic Storage Management Cluster File System and Oracle Automatic
Storage Management Dynamic Volume Manager are supported on Oracle Enterprise
Linux 5 and Red Hat Enterprise Linux 5 for Linux x86 and Linux x86-64. Starting with
Oracle Database 11g Release 2 (11.2.0.2), it is also supported on SUSE Linux Enterprise
Server 10 SP3 and later SUSE Linux Enterprise Server 10 Service Pack's for Linux
x86-64 only.
Automatic Storage Management Cluster File System (ACFS) resources are not
supported for Oracle Restart configurations on all platforms. ACFS drivers must be
manually unloaded and loaded; ACFS file systems must be manually unmounted and
mounted (after the ASM instance is running); ACFS database home file systems can be
placed into the ACFS mount registry to be mounted along with other registered ACFS
file systems.
Preparing Disks for an Oracle Automatic Storage Management Installation
This section describes how to configure disks for use with Oracle ASM. The following
sections describe how to identify the requirements and configure the disks on each
platform:
■ General Steps for Configuring Oracle Automatic Storage Management
■ Step 1: Identifying Storage Requirements for Oracle Automatic Storage
Management
■ Step 2: Creating DAS or SAN Disk Partitions for Oracle Automatic Storage
Management
■ Step 3: Configuring Disks for Oracle Automatic Storage Management
If necessary, download the required Automatic Storage Management library driver
packages from the Oracle Technology Network Web site:
http://www.oracle.com/technology/tech/linux/asmlib/index.html
You must install the following packages, where version is the version of the
Automatic Storage Management library driver, arch is the system architecture,
and kernel is the version of the kernel that you are using:
oracleasm-support-version.arch.rpm
oracleasm-kernel-version.arch.rpm
oracleasmlib-version.arch.rpm
Setting the NLS_LANG Environment Variable
NLS_LANG is an environment variable that specifies the locale behavior for Oracle
software. This variable sets the language and territory used by the client application
and the database server. It also declares the character set of the client, which is the
character set of data entered or displayed by an Oracle client program, such as
SQL*Plus.
See Also: Appendix F, "Configuring Oracle Database
Globalization Support" for more information about the NLS_LANG
environment variable
Generating the Client Static Library
$ORACLE_HOME/bin/genclntst
Guidelines for Setting Semaphore Parameters
Refer to the following guidelines only if the default semaphore parameter values are
too low to accommodate all Oracle processes:
Note: Oracle recommends that you refer to the operating system
documentation for more information about setting semaphore
parameters.
1. Calculate the minimum total semaphore requirements using the following
formula:
sum (process parameters of all database instances on the system) + system and
other application requirements
2. Set semmns (total semaphores systemwide) to this total.
3. Set semmsl (semaphores per set) to 256.
4. Set semmni (total semaphores sets) to semmns / semmsl rounded up to the
nearest multiple of 1024.
Required Product-Specific Postinstallation Tasks
The following sections describe platform-specific postinstallation tasks that you must
perform if you install and intend to use the products mentioned:
■ Configuring Oracle Net Services
■ Configuring Oracle Label Security
■ Configuring Oracle Database Vault
■ Configuring Oracle Messaging Gateway
■ Configuring Oracle Precompilers
■ Configuring Secure Sockets Layer
■ Installing Oracle Text Supplied Knowledge Bases
■ Configuring or Reinstalling Oracle XML DB
■ Configuring and Using Direct NFS Client
创建数据库前准备好ASM磁盘组(Disk Group)
asmca
创建数据库
dbca