Oracle 11g R2, Grid Infrastructure - 윈디하나의 솔라나라

목차

개요

준비

Oracle Grid Infrastructure 설치

oracle@wl /root/src/oracle/grid # ./runInstaller
잠시 기다리면 인스톨러가 실행된다.
[독립서버용 Oracle Grid Infrastructure 설치 및 구성]을 선택하고 [다음]을 클릭한다.
[다음]을 클릭한다.
[검색 경로를 변경]을 클릭해 /oracle/database/oracleasm/asm*을 입력한 후 확인을 클릭하면 디스크가 검색된다. 중복성을 [외부]로 선택하고, 검색된 디스크 두개를 모두 선택한다. [다음]을 클릭한다.
[이러한 계정에 동일한 비밀번호 사용]을 클릭하고 비밀번호를 지정한다. [다음]을 클릭한다.
[다음]을 클릭한다.
오라클 베이스에 /oracle/database/oracle을 선택하고, [다음]을 클릭한다.
[다음]을 클릭한다.
문제가 없다면 자동으로 다음으로 넘어간다.
[완료]을 클릭한다.

설치 중이다. root 계정으로 스크립트를 실행하라는 메시지가 나오면 아래와 같이 실행하자.
root@wl /oracle/database/oraInventory # ./orainstRoot.sh
다음 권한 변경 중/oracle/database/oraInventory.
그룹에 대한 읽기, 쓰기 권한을 추가하는 중입니다.
월드에 대한 읽기, 쓰기, 실행 권한을 제거하는 중입니다.

그룹 이름 변경 중 /oracle/database/oraInventory 대상 oinstall.
스크립트 실행이 완료되었습니다.
root@wl /oracle/database/oraInventory # cd ../oracle/product/11.2.0/grid/
root@wl /oracle/database/oracle/product/11.2.0/grid # ./root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /oracle/database/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 /var/opt/oracle/oratab file...
Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2010-08-22 23:01:22: Checking for super user privileges
2010-08-22 23:01:22: User has super user privileges
2010-08-22 23:01:22: Parsing the host name
Using configuration parameter file: /oracle/database/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.
CRS-4664: Node wl successfully pinned.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting

wl     2010/08/22 23:01:57     /oracle/database/oracle/product/11.2.0/grid/cdata/wl/backup_20100822_230157.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
Updating inventory properties for clusterware
Oracle Universal Installer 시작 중...

스왑 공간 확인 중: 500MB 이상이어야 합니다..   실제 10985MB    성공
The inventory pointer is located at /var/opt/oracle/oraInst.loc
The inventory is located at /oracle/database/oraInventory
'UpdateNodeList'을(를) 성공했습니다.
root@wl /oracle/database/oracle/product/11.2.0/grid #
[닫기]를 클릭한다.

Oracle Database 설치

oracle@wl /root/src/oracle/database # ./runInstaller
잠시 기다리면 인스톨러가 실행된다.
[My Oracle Support]계정이 있는 경우 입력한다. 없다면 선택을 해지하고 [다음]을 클릭한다. (중요 보안 문제에 대한 알림을 받지 않겠느냐는 메시지에는 [예]를 클릭하자)
[데이터베이스 생성 및 구성]를 선택하고 [다음]을 클릭한다.
[서버 클래스]를 선택하고 [다음]을 클릭한다.
[다음]을 클릭한다.
[고급설치]를 선택하고 [다음]을 클릭한다.
[다음]을 클릭한다.
[다음]을 클릭한다.
[다음]을 클릭한다.
[다음]을 클릭한다.
[다음]을 클릭한다.

사용할 메모리 용량, 문자집합을 선택하고 [다음]을 클릭한다. 필자는 512MB, AL32UTF8로 정해주었으며 샘플 스키마 생성을 선택했다.

[다음]을 클릭한다.
Oracle Grid Infrastructure 설치시 지정한 암호를 입력하고 [다음]을 클릭한다.
[다음]을 클릭한다.
Oracle Grid Infrastructure 설치시 생성했던 ASM 저장소가 선택되어있을 것이다. [다음]을 클릭한다.
[모든 계정에 동일한 비밀번호 사용]을 선택하고 비밀번호를 입력한 후, [다음]을 클릭한다.
[다음]을 클릭한다.
조건을 검사하는 중이다. 문제 없다면 자동으로 다음으로 넘어간다.
[완료]을 클릭한다.

제품을 설치하고 데이터베이스를 생성하는 중이다. 설치 마지막에 루트 스크립트를 실행하라고 나오면 아래와 같이 루트 권한으로 실행한다.

root@wl /oracle/database/oracle/product/11.2.0/dbhome_1 # ./root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /oracle/database/oracle/product/11.2.0/dbhome_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]:
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]:
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]:

Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
root@wl /oracle/database/oracle/product/11.2.0/dbhome_1 #
[닫기]을 클릭한다. https://localhost:1158/em을 기억하자.

Oracle Enterprise Manager 11g

Database Control

RSS ATOM XHTML 5 CSS3