11gR2 RAC Installation Manual (with ASM+Rawdevice

)

Author Creation Date Last Updated Version

정철우 2010-04-01

1.0

Copyright(C) 2004 Goodus Inc. All Rights Reserved

Version 1

변경일자 2010.04.01

변경자(작성자) 정철우 최초 작성

주요내용

11gR2 RAC Installation Manual
Contents
1. 2. 개요 ..................................................................................................................................... 4 Hardware Requirements .................................................................................................... 4 1.1 1.2 1.3 3. 4. Shared Storage Option ............................................................................................4 Disk Space ...............................................................................................................5 Memory : At least 2.5GB ..........................................................................................5

Network Requirements(IP address requirements) ............................................................ 6 Tuning AIX System Environment ....................................................................................... 8 4.1. 4.2. 4.3. 4.4. 4.5. 4.6. Checking Asynchronous Input Output Processes for AIX 5L ..................................8 Tuning Virtual Memory Manager (VMM) .................................................................9 Increasing System Block Size Allocation .................................................................9 Configuring Shell Limits ..........................................................................................9 Configuring User Process Parameters ...................................................................10 Configuring Network Tuning Parameters ..............................................................10

5.

Software Requirements ................................................................................................... 11 5.1. 5.2. Operating system ..................................................................................................11 Packages & Patches ...............................................................................................11 5.2.1. 5.2.2. AIX 6.1...................................................................................................................11 AIX 5.3...................................................................................................................11

6. 7.

참고문서 ............................................................................................................................. 12 System Overview.............................................................................................................. 13 7.1. 7.2. System Architecture. .............................................................................................13 H/W and S/W Requirement ..................................................................................13 7.2.1. 7.2.2. 7.3. 7.4. Hardware ...............................................................................................................13 Software ................................................................................................................13

IP 구성정보 .............................................................................................................14 HACMP Status ........................................................................................................14

8.

Installation Steps ............................................................................................................. 15 8.1. Preparing the system.............................................................................................15 8.1.1. 8.1.2. 8.1.3. 8.1.4. Host file Configuration ............................................................................................15 ORACLE User and DBA Group Creation ................................................................15 ASM Disk Check ....................................................................................................15 SSH Configuration .................................................................................................16 - 2 –

11gR2 RAC Installation Manual
8.1.5. 8.1.6. 8.2. NPT Service Configuration .....................................................................................16 User OS enviropment Configuration .......................................................................16 Grid Infrastructure Software Installation .............................................................17 8.2.1. 8.2.2. 8.2.3. 8.3. 8.4. 8.5. 9. Cluvfy.sh 수행 .......................................................................................................17 Rootpre.sh(root 유저로 반드시 양 노드 모두 수행) .............................................23 GRID Infrastructure Software Installation................................................................25

Database Software Installation.............................................................................41 Check Public/Inter-connect Configuration ...........................................................48 OCR & VOTE Disk Migration ASM To Rawdevice ...................................................49

Create Database ............................................................................................................... 50 9.1. 9.2. 9.3. 9.4. 9.5. DBCA ......................................................................................................................50 Manual DB Creation ...............................................................................................62 DATABASE Status...................................................................................................66 ASM Resource 제거 ................................................................................................66 Network Setting.....................................................................................................66 9.5.1. 9.5.2. 9.5.3. 9.6. 9.7. 9.8. SCAN_LISTENER 제거..........................................................................................66 Remote Listener 제거 ............................................................................................66 LISTENER.ORA ....................................................................................................66

Archive Log Mode 변경...........................................................................................67 CRS Resource Status .............................................................................................68 DB Parameter ........................................................................................................68

10. 마치며 ................................................................................................................................ 73

- 3 –

4 – . NFS). 11gR2 부터는 Oracle clusterware 와 ASM 이 통합되었습니다. 그러나 본 문서에서는 RAWDEVICE 를 Data Storage 영역으로 사용할 것이므로. Software 상에서는 지원하나. 11gR2 부터는 Grid Infrastructer(이하 Grid) 구성시에 ASM Diskgroup 를 생성할 수 있기 때문에 OCR 과 Voting Disk 도 ASM 영역에 생성할 수 있도록 변경 되었습니다. 그러나 앞서 이야기 한 것처럼 11gR2 부터는 rawdevice 를 GUI 메뉴 상에서 지원하지 않으며. RAC 에서 구성 가능한 (Shared Access) 방법은 ASM. 신규 시스템 구 축 일 경우 GUI 상에서 RAWDEVICE 를 미지원 한다는건 불편한 사항일 수 밖에 없습니다. CRS 구성 후 ASM Instance 를 구성해 야 했기 때문에 CRS 구성시 필요한 OCR 과 Voting Disk 는 ASM 영역을 사용할 수 없어. 본 문서는 AIX5L 기반의 장비에서 작성 되었으며. 더 이상 OS Vendor Cluster 없이 RAC 구성이 가능하다는 의미 이기도 합니다. (정확히 이야기 하면.1 Shared Storage Option RAC 구성시 사전에 결정해야 될 가장 중요한 부분은 Data Storage 입니다. OUI or DBCA 등의 GUI 에선 미지원.11gR2 RAC Installation Manual 1. 기존에 Storage 영역으로 가장 많이 사용하고 있는 RAWDEVICE 에 대한 미 지원이라고 할 수 있습니다. 본 문서는 RAWDEVICE 를 사용하여 11gR2 RAC 를 구축하는 것을 주제로 다루고 있습니다. 이는 기존 RAC 홖경에서 ASM 을 Storage 영역으로 사용하더라도. 2. Shraed Access 가능한 . 다른 unix or linux 플랫폼에도 동일한 방법으로 적용 가능 합니다. RAC 시스템을 업그레이드 할때는 RAWDEVICE 를 지원하지만. 특히 Grid Install 시에는. 개요 10g 또는 11gR1 홖경에서 기존에 RAC 를 운영하던. Shared File System(CFS. RAWDEVICE 나 Shared File System(CFS or NFS)를 사용해야 했으나. 즉 Oracle 에서 11gR2 RAC 구성시 권고하는 대로 ASM 을 사용하거나 Shared File System (CFS or NFS)을 사용하게 되면. Hardware Requirements 1. 반드시 ASM 또는 Shared File System 으로만 OCR 과 Voting Disk 생성이 가능합니다. RAWDEVICE 입니다.) 물롞 기존에 운영 중인던. 11gR1 까지는 ASM Software 는 Database Software 를 공유하여 사용하였으나. DBA 들의 11gR2 RAC 에 대한 가지고 있는 불만 중 하나는.

GPFS on IBM platforms NFS(Network file system) . *10g R2 부터는 Cluster Ready Service(CRS)가 Oracle Clusterware 로 명칭이 변경되었으나. or a reserve_policy setting.Upgrades only (OUI.3 Memory : At least 2.Not supported on AIX Based Systems Raw Devices .75 imes the size of RAM .5GB 1.) 1.  Oracle does not recommend the use of GPFS for voting disks if HACMP is used. then ensure that the setting is reserve_policy = no_reserve. If the attribute is reserve_policy.11gR2 RAC Installation Manual RAWDEVICE 생성을 위해 IBM 에서 지원하는 OS Vendor clusterware(HACMP)를 사용할 것 입니다.  Disk lock속성을 reserve_policy=no_reserve로 설정해야 양 노드에서 Access 가능.5 times the size of RAM Equal to the size of RAM 0.5GB RAM Between 1.5 – . If the attribute is reserve_lock. DBCA Not Supported) OCR and Storage Option Voting Disks ASM GPFS Local file system Yes Yes No Oracle Clusterware binaries No Yes Yes Oracle RAC binaries No Yes Yes Oracle Database Files Yes Yes No Oracle Recovery Files Yes Yes No [Supported Storage Options for Oracle Clusterware and Oracle RAC]  Note :  You cannot place ASM files on GPFS.strongly recommended CFS(cluster file system) .  AIX에서 ASM Disk는 /dev/rhdiskN을 Default Path로 찾음 (The response is either a reserve_lock setting. then ensure that the setting is reserve_lock = no. 3 Vote Disk(at least 280MB) /tmp 4GB : 7.2     Disk Space Oracle Clusterware Home and log files : 2GB Oracle Database(Oracle base) Oracle Clusterware Files : 10GB  2 OCR Disk(at least 280MB). 본 문서에서는 편의상 CRS 로 명칭     ASM(Automatic Storage Management) .5GB and 2GB Between 2GB and 8GB More than 8GB Swap Space 1.

다음에 나올 SCAN VIP 가 DHCP 로 동적으로 할당되게 됩니다. GNS 를 통해 추가된 node 에 IP 할당을 동적으로 수행할 수 있습니다. 반드시 양 노드 중간에 Switch 를 사용하여 Interconnect 를 구성해야 합니다.11gR2 RAC Installation Manual 3.6 – . . 첫번째는 GNS(Gird Naming Service) 로서. Network Requirements(IP address requirements) Cache Fusion 에 의한 부하를 최소화시키기 위해 InterConnect 용 NIC 에 최소한 Gigabit Line 을 사용할 것을 권고합니다. 참고로 11gR2 RAC 는 최대 100 대의 노드를 Cluster 홖경으로 구축할 수 있습니다.  NIC Bonding : Network interface를 다중화 하여 network interface (private and public) Failover 하도록 권장. DNS 및 /etc/hosts 에 등록 private IP address (interconnect) UDP 지원 해야 함. GNS 를 사용하기 위해서는 아래와 같이 DNS 에 GNS NAME 과 GNS VIP 를 등록해 주어야 합니다. Grid 홖경에서 다수의 Node 를 RAC Cluster 상에서 add 하거나 Remove 하는 과정을 갂단하게 하는 Grid plug and play (GPnP)를 위한 개념이라고 볼 수 있으며. GNS 를 사용하게 되면.             For each Node public IP address TCP/IP 을 지원 해야 함. Grid 설치시 사용 여부를 선택 할 수 있습니다. (Heartbeat Fatal에 의한 Split Brain 방지)  GNS(Grid Naming Service) : Cluster 내에서 Grid Control를 사용하기 위한 Naming Service로서 설치 전 DNS에 등록하여 사용한다. 11gR2 RAC 에서는 Network 관련 2 가지의 새로운 개념이 등장 하였습니다. GNS 는 기존의 2node RAC 홖경을 위한 개념이라기 보다는. Public interface 와 다른 Subnet 을 사용 Virtural IP address (failover) DNS 및 /etc/hosts 에 등록 이미 사용되지 않은 IP 와 Hostname 을 사용 Public interface 와 동일한 Subnet 을 사용 Interface Names : 모든 노드의 public interface name과 private interface name는 반드시 양 노드가 동일하게 설정한다. 또한 11gR2 RAC 에서는 Interconnect Line 을 Cross-Cable 을 이용하여 양 서버를 Direct 로 연결 할 수 없으며.

SCAN NAME 을 아래와 같이 DNS 상에 등록해줘야 합니다.) SCAN 사용시 Client 에서는 Tnsnames. Client 에서 접속시 기존 RAC 와 동일하게 VIP 를 사용해서 접속하면 됩니다. GNS 사용을 설정하지 않았습니다. SCAN_LISTENER 와 SCAN VIP 가 Clusterware Resource 에 등록되게 됩니다. (Default 로 Remote Listener 에 SCAN 이 등록됨) SCAN 은 Grid 설치 시 반드시 구성해야 하며. GNS 을 사용하지 않는다면. Public 와 SCAN Vip 의 subset 은 동일하여야 합니다.11gR2 RAC Installation Manual 본 문서에서는 2Node RAC 를 구축할 것 이므로. (SCAN 이 없이 EM 을 구성하는 방법은 현재로서는 알려져 있지 않습니다. GOODUS = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = cluster01-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = GOODUS) ) ) SCAN 을 제거하게 되면.    Virtual IP address 사용 DHCP 사용 GPnP(Grid Plug and Play) 사용시에 구성  SCAN(SINGLE CLIENT ACCESS NAME) : 11gR2 RAC 에서 새로 나온 두번째 network 관련 개념으로서 Cluster 로 구성되어 운영중인 Oracle Database 에 접근하는 모든 Client 에서 SCAN 으로 접속이 가능한 신 기능이다.7 – . (최소 1개의 IP 등록) SCAN 에 할당한 IP 수 만큼. SCAN 은 Grid 설치 후에 제거는 가능하지만. 기본적으로 3개의 Public IP 를 동일한 이름으로 등록해줘야 하며. SCAN 으로 접속시 자동으로 Server Side Load Balancing 을 수행한다.ora 에 다음과 같이 설정하여 접속을 수행하게 됩니다. 11gR2 RAC 에서는 EM 구성시 Scan Listener 를 이용해서 접속하기 때문에 EM 을 사용하기 위해서는 SCAN 을 제거하면 안됩니다. .

이는 RAC 구성이 완료된 후 SCAN 을 제거하여 기존 10g RAC 환경과 동일하게 사용하기 위함 입니다. 만약 EM를 사용할 예정이라면 반드시 권고사항 대로 3개의 SCAN-IP를 할당하셔야 합니다. (1개만 사용할 경우.1.11gR2 RAC Installation Manual 본 문서에서는 DNS 서버 없이 /etc/hosts 파일에 1 개의 scan ip 만을 지정해서 구성하였습니다. 삭제할 수 있습니다.  Checking Asynchronous Input Output Processes for AIX 5L AIX 6.8 – . client에서 scan-ip가 자동 할당된 노드로만 TNS를 이용하여 접속이 가능합니다. Tuning AIX System Environment 4.1 . Srvctl 명령어를 통해 SCAN 및 SCAN Listener 를 추가.) 4.

4. Increasing System Block Size Allocation chdev -l sys0 -a ncargs='128' 4.3.3  lsattr -El aio0 -a maxreqs maxreqs 65536 Maximum number of REQUESTS True  Async I/O setup # smitty aio "change/show characteristics of asynchronous I/O" "State to be configured at system restart" Defined ---> available 로 setting 후 반드시 재부팅(init 6) 4.4. crs)의 shell limit를 조절 Shell Limit Maximum number of open file descriptors Hard limit -1 (unlimited) .9 – .  Tuning Virtual Memory Manager (VMM) Recommended Values for Virtual Memory Manager Parameter minperm% maxperm% maxclient% = lru_file_repage strict_maxclient strict_maxperm Value 3(default is 20) 90(default is 80) 90(default is 80) 0(default is 1) 1(default is 1) 0(default is 0)  Example vmo -p -o minperm%=3 vmo -p -o maxperm%=90 vmo -p -o maxclient%=90 vmo -p -o lru_file_repage=0 vmo -p -o strict_maxclient=1 vmo -p -o strict_maxperm=0 You must restart the system for these changes to take effect.11gR2 RAC Installation Manual   ioo -o aio_maxreqs aio_maxreqs = 65536 AIX 5.conf nofile Software의 성능 개선을 위해 Oracle S/W 의 설치 user(oracle. Configuring Shell Limits Item in limits.2.

11gR2 RAC Installation Manual Maximum number of processes available to a single user Maximum size of the stack segment of the process maxuproc stack 16384 -1 (unlimited)  /etc/security/limits(모든 노드에 추가) default:        fsize = -1 core = 2097151 cpu = -1 data = -1 rss = -1 stack = -1 nofiles = -1 /etc/chdev -l sys0 -a maxuproc = 16384  Maximum number of processes available(Oracle S/W user) (모든 노드에 추가)  4. then /usr/sbin/no -o udp_sendspace=65536 /usr/sbin/no -o udp_recvspace=655360 /usr/sbin/no -o tcp_sendspace=65536 /usr/sbin/no -o tcp_recvspace=65536 /usr/sbin/no -o rfc1323=1 . Configuring User Process Parameters 각 user에 최대 허락된 maximum number of processes = 2048 or 그 이상으로 조정 # smit chgsys Maximum number of PROCESSES allowed for each user = 2048 or 그 이상으로 조정 press F10 to exit 4.5.10 – .6.net if [ -f /usr/sbin/no ] . Configuring Network Tuning Parameters Recommended Value 512 1 2*65536 65536 65536 655360 65536 Network Tuning Parameter ipqmaxlen rfc1323 sb_max tcp_recvspace tcp_sendspace udp_recvspace udp_sendspace  /etc/rc.

perf.1 Packages & Patches 5.compat.compat.aix.hacmp.8 or later.0.adt. 5.adt.perf.0. HACMP 5.rte rsct.base bos.proctools rsct.1 HACMP filesets (cluster.1.rte 8.0. Oracle RAC : xLC.libperfstat bos. Software Requirements 5.libperfstat bos.perf.adt.8 and xlC.aix61.rte rsct. AIX 5.basic.clients.1.8 or later ADA : OC Systems PowerAda 5.aix50.base bos.rte xlC.rte 8.rte GPFS AIX 6L: gpfs.2.8.1.0.2.perf. AIX 5L: gpfs.hacmp.*) rsct.perf.1 TL 02 SP5 ("6100-02-05") 64-bit kernel 5.11gR2 RAC Installation Manual /usr/sbin/no -o sb_max=2*655360 /usr/sbin/no -o ipqmaxlen=512 fi 5.2.2.adt.0 (or later) patches (or later versions) IZ41855 IZ51456 IZ52319 Obtaining C/C++ Compilers : xLC.perfstat bos.0.hacmp.0.libm bos.3 TL 09 SP1 ("5300-09-01") 64 bit kernel (Part Number E10854-01) AIX 6.perf.lib bos.rte 8.rte 10.adt.lib bos.clients.3 packages (or later versions) bos.base 3.8 and xlC.4.basic.rte 8.8.2.aix.perfstat bos.11 – .libm bos.proctools rsct.clients.rte 10.2.compat.rte xlC.1.1.0.   Operating system AIX 5L V5.adt. AIX 6.4d .0.compat.basic.1.0.es.rte rsct.rte rsct.0 (or later) patches (or later versions) IZ42940 IZ49516 IZ52331 packages (or later versions) bos.0.base 3.

16 (32-bit): IY58350: SDK 1.4.Server. Oracle XML Developer’s Kit (XDK).1 April 2008 PTF for AIX Pro*C/C++.0.250 IZ55274 (SR8a) Pro*FORTRAN : IBM XL Fortran v. client and server: mqm.0. Oracle Call Interface.2.Bnd Oracle JDBC/OCI Drivers(AIX 5L v5.1 Oracle Messaging Gateway IBM WebSphere MQ V6.0 gcc 3.12 – .3) APAR required for JDK 1.HP-UX.11gR2 RAC Installation Manual JDK : Use one of the following Java versions: Java 6 64-bit 6.2 (64-bit): IY63533: JDK 1.1 : Oracle Database on Unix AIX.Solaris.0.3.Client.1.0 for AIX PTF 8.45 Pro*COBOL IBM COBOL for AIX version 3.3. 참고문서 # E10814-01 : Oracle Grid Infrastructure Installation Guide. GNU Compiler Collection (GCC) February 2007 XL C/C++ Enterprise Edition V8.0.5 to 11.0. 11.1 32-Bit SR7P: CA131IFX-20040721A IY65305: JAVA142 32-bit PTF: CA142IFX-20041203 6.4.Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8. Oracle C++ Call Interface.Mac OS X.0. 11gR2 for IBM AIX on POWER Systems (64-Bit) # Note ID 169706.1 Micro Focus Server Express 5.2) .50 IZ30726 (SR2) Java 5 64-bit 5.Bnd mqm.0.Linux.2 64-bit SR1 caix64142-20040917 APARs required for JDK 1.

Hardware CPU Physical Memory 7.4 Value Remark .3 TL11 30G 4GB 5.2.11gR2 RAC Installation Manual 7.1.2.1. 7.13 – . 11gRAC IBM P590 2Nodes RAC * 1Set 7. H/W and S/W Requirement NAME Value 5Ghz * 4 30GB Remark 7.2. System Overview System Architecture. Software NAME OS Kernel SWAP /tmp size HACMP AIX 5.2.

20.1 10.255. IP 구성정보 Host Name Goodus1 Goodus2 Goodus1-ipc Goodus2-ipc Goodus1-vip Goodus2-vip Goodus-scan Type Public IP Public IP Private IP (Interconnect) Private IP (Interconnect) VIP (Virtual IP) VIP (Virtual IP) SCAN-IP Value 20.0 net_ether_01 255. HACMP Status Net Type Netmask ether ether ether ether Attribute Node Alias for HB public private public private goodus1 goodus1 goodus2 goodus2 IP Address # /usr/es/sbin/cluster/utilities/cllsif Adapter Type Network Hardware Address Interface Name Global Name goodus1 en14 goodus1-ipc en15 goodus2 en14 goodus2-ipc en15 boot service boot service net_ether_01 255.2 State: UP State: On line State: On line .20.20.1 10.20.1 State: UP State: On line State: On line Address: 20.255.20.20.11gR2 RAC Installation Manual 7.HACMP Cluster Status Monitor ------------------------------------Cluster: k2rac (1268804794) Wed Mar 31 14:59:50 2010 State: UP SubState: STABLE Nodes: 2 Node: goodus1 State: UP Interface: goodus1 (0) Interface: goodus1-ipc (1) Resource Group: goodus1_rg Resource Group: goodus_reg Node: goodus2 State: UP Interface: goodus2 (0) Interface: goodus2-ipc (1) Resource Group: goodus2_rg Resource Group: goodus_reg Address: 20.10.255.20.1 State: UP Address: 10.10.20.20.2 # /usr/es/sbin/cluster/clstat clstat .20.10.255.2 State: UP Address: 10.20.4.10.0 net_ether_02 255.4 20.255.10.255.20.0 net_ether_02 255.2 10.10.3.10.20.10.3 20.20.14 – .5 7.1 20.10.255.10.20.20.10.2 10.1 20.20.2 20.255.0 20.20.10.

20.15 – .154 Mar 25 15:07 /dev/rhdisk154 해당 디스크의 reserve_policy 는 no_reserve 로 설정되어 있어야 함.20.11gR2 RAC Installation Manual 8.) [root@ ~]# mkdir -p /oracle/db [root@ ~]# mkdir -p /oracle/grid [root@ ~]# groupadd -g 300 dba [root@ ~]# cat /etc/passwd | grep ora oracle:!:300:300:Oracle DBA:/oracle/db:/usr/bin/ksh oragrid:!:301:300:Oracle CRS Admin:/oracle/grid:/usr/bin/ksh [root@ ~]# cat /etc/group | grep dba dba:!:300:oracle.3 20.20.1. DNS 가 아닌 hosts 파일에 등록 (양 노드 동일한 ip 설정) (root 사용자로 양 노드 수행합니다.1.20.20.20. 동일 유저로 구성이 간편함) (root 사용자로 양 노드 모두 수행합니다.10.20.5 # Interconnect IP 10.1. Installation Steps Preparing the system 8.1 loopback localhost # loopback (lo0) name/address 20.0.4 # SCAN IP 20. .20.20. Interconnect 주소를 등록합니다.CAP_BYPASS_RAC_VMM. Host file Configuration /etc/hosts 파일에 각노드의 Pulic IP 주소 및 VIP.10.1 10.1 goodus1 20. 8. 11g 에선 GRID 유저와 DB 유저를 별도로 생성할 것을 권고 (단 별도로 유저 생성시 Permission 관련 문제가 많이 발생함으로.20.CAP_PROPAGATE oragrid [root@ ~]# /usr/bin/chuser capabilities=CAP_NUMA_ATTACH. ORACLE User and DBA Group Creation Oracle 사용자가 사용할 dba 그룹과 Oracle 사용자를 생성합니다.CAP_BYPASS_RAC_VMM.CAP_PROPAGATE oracle 8.2 goodus1-vip goodus2-vip goodus-scan goodus1-ipc goodus2-ipc 8.0.3.1.10.) [oracle@goodus1:/oracle]$ cat /etc/hosts 127. ASM Disk Check 설치 중 OCR.oragrid [root@ ~]# chown –R oracle :dba /oracle/db [root@ ~]# chown –R oragrid :dba /oracle/grid [root@ ~]# chmod –R 775 /oracle/db [root@ ~]# /usr/bin/chuser capabilities=CAP_NUMA_ATTACH.2 goodus2 # IP For Service 20.2.1. VOTE 생성용으로 사용할 ASM Disk 확인 goodus1:/root># chown oragrid:dba /dev/rhdisk154 goodus1:/root># chmod 660 /dev/rhdisk154 goodus1:/root># ls –l /dev/rhdisk154 crw-rw---1 oragrid dba 15. Scan vip 의 경우 설치 후 제거를 할 예정으로.10.

) GOODUS1-> 2 번 노드는 GOODUS2 (노란색 음영부분)  11gR2 부터는 TNS_ADMIN. ORA_CRS_HOME 을 user profile 에서 unset 해야 함. (grid 설치 단계에서 자동 설정 가능하나. start 되어야만 함. EDITOR=vi.0:23 /usr/sbin/xntpd –x 8. (oracle 사용자로 아래와 같이 양 노드 설정합니다. User OS enviropment Configuration Oracle 사용자의 Cshell 환경을 설정 합니다. export LANG export ORACLE_BASE=/oracle/db export GI_HOME=/oracle/grid export ORACLE_HOME=/oracle/db/11g export ORACLE_SID=GOODUS1 .pub >> authorized_keys ssh goodus2 cat /oracle/grid/.1.profile 을 아래와 같이 생성합니다.ssh/id_rsa. (셋팅시 grid 설치 중 roo.ssh/ 8. Checking NTP daemon's boot time configuration. the Shell checks # periodically.pub >> authorized_keys ssh goodus1 cat /oracle/grid/.tcpip".profile umask 022 if [ -s "$MAIL" ] then echo "$MAILMSG" fi # This is at Shell startup. gpnptool rc=256  Grid Home 은 Oralce Base 아래에 위치할 수 없음 [oracle@goodus1:/oracle/db]$ cat .4.ssh/id_rsa.6. export EDITOR HOST=`hostname` USER=`logname` PS1='['`logname`'@'`hostname`':$PWD]$ ' set -o vi stty -istrip erase alias ls='ls -aCF' alias ll='ls -alF' alias rm='rm -i' alias vi='/usr/bin/vi' LANG=C. NPT Service Configuration 양 노드간의 Time Sync 를 위해 Network Protocol Daemon 이 반드시 x 옵션을 사용하여. for slewing option "-x" [oracle@goodus1:/oracle/db]$ ps -ef | grep ntp root 152084 180318 0 Mar 18 .sh 수행시 GPnp Profile Create Fail 에러 발생 함) Failed to create a peer profile for Oracle Cluster GPnP. /oracle/db/. cluster Verify 수행을 위해 사전 구성) /usr/bin/ssh-keygen -t rsa /usr/bin/ssh-keygen -t dsa ssh goodus1 cat /oracle/grid/.1. ORA_NLS10.pub >> authorized_keys ssh goodus2 cat /oracle/grid/. In normal # operation.pub >> authorized_keys scp authorized_keys goodus2:/oracle/db/. in file "/etc/rc.ssh/id_dsa.ssh/id_dsa.1.11gR2 RAC Installation Manual 8.16 – .5. SSH Configuration 설치간 양 노드에 oracle 및 grid 유저로 ssh 접속이 가능해야 함.

Grid Infrastructure Software Installation 8.20.10.--------------.20. Gateway HW Address MTU -----..UTF8 export AIXTHREAD_SCOPE=S PATH=$PATH:$ORACLE_HOME/bin:/oracle/dba:$GI_HOME/bin:$ORACLE_HOME/OPatch 8.2 20.20.sh stage -pre crsinst -n goodus1.20. Node Name Status Comment -----------.-----en14 20.20.20.20.1 10.10.20.20.0 20..1.--------------.1 00:14:5E:78:E9:6C 1500 en15 10.10.2 20. Gateway HW Address MTU -----. Cluvfy.--------------.0 10.2. Check: Node reachability from node "goodus1" Destination Node Reachable? -----------------------------------.2 20..1 20..10.-----------------------goodus1 passed goodus2 passed Verification of the hosts config file successful Interface information for node "goodus1" Name IP Address Subnet Gateway Def.10.goodus2 -verbose Performing pre-checks for cluster services setup Checking node reachability.20.) runInstaller 수행전 아래와 같이 cluvfy.-----------------------.20.10.----------------.--------------..10.1 20. [oracle@goodus1:/oracle/INST/grid]$ .sh 를 수행하여 설치과정에 miss 나 fail 부분을 미리 check 한다.1 00:14:5E:78:E9:46 1500 Interface information for node "goodus2" Name IP Address Subnet Gateway Def.2.-----------------------goodus1 passed goodus2 passed Result: User equivalence check passed for user "oragrid" Checking node connectivity.--------------. Checking hosts config file..--------------.20.20.-----------------------goodus2 yes goodus1 yes Result: Node reachability check passed from node "goodus1" Checking user equivalence.20.20.20.20.1 20.2 10.20.--------------.1 00:14:5E:78:E9:5C 1500 en15 10.10.-----en14 20.17 – .10..--------------.20./runcluvfy.0" .10.10. Check: User equivalence for user "oragrid" Node Name Comment -----------------------------------.10.20.20.1 00:14:5E:78:E9:88 1500 Check: Node connectivity of subnet "20.0 10.sh 수행 (oracle 사용자로 goodus1 에서 수행합니다..11gR2 RAC Installation Manual export NLS_LANG=AMERICAN_AMERICA.20.0 20.----------------.

0" that are likely candidates for VIP are: goodus1 en14:20.10.20.20.10.10.-----------------------.20.20.10.10.10.---------------goodus1:en15 goodus2:en15 yes Result: Node connectivity passed for subnet "10.1 goodus2 en14:20.20.20.20.20.9371GB (2.---------------goodus1:10.1195136E7Kb) 10Gb (1.0KB) 10GB (1.-----------------------.0" with node(s) goodus1.0KB) passed Result: Total memory check passed Check: Available memory Node Name Available Required Comment -----------.2 Result: Node connectivity check passed Check: Total memory Node Name Available Required Comment -----------.0KB) passed Result: Available memory check passed Check: Swap space Node Name Available Required Comment -----------.1 goodus2 en15:10.0" that are likely candidates for a private interconnect are: goodus1 en15:10.0" Source Destination Connected? -----------------------------.---------goodus1 30.10.-----------------------.5GB (1572864.20.5GB (1572864.-----------------------------.10.048576E7Kb) Passed Result: Swap space check failed Check: Free disk space for "goodus1:/tmp/" .7197072E7KB) 50MB (51200.2 passed Result: TCP connectivity check passed for subnet "20.20.1326208E7KB) 1.-----------------------.875GB (3.7733012E7KB) 50MB (51200.0" Source Destination Connected? -----------------------------.10.-----------------------------.0" Source Destination Connected? -----------------------------.---------goodus1 26.10.18 – .048576E7KB) failed Goodus2 29.0" Interfaces found on subnet "20.20.20.1 goodus2:10.10.goodus2 Check: TCP connectivity of subnet "20.11gR2 RAC Installation Manual Source Destination Connected? -----------------------------.1719424E7KB) 1.-----------------------.---------goodus1 512MB (524288.---------------goodus1:20.10.10.25GB (3.-----------------------------.10.20.0" with node(s) goodus1.20.20.10.2 Interfaces found on subnet "10.-----------------------------.10.0KB) passed goodus2 29.10.1 goodus2:20.0" Check: Node connectivity of subnet "10.75Gb (3.0KB) passed goodus2 25.2 passed Result: TCP connectivity check passed for subnet "10.-----------------------.goodus2 Check: TCP connectivity of subnet "10.---------------goodus1:en14 goodus2:en14 yes Result: Node connectivity passed for subnet "20.10.4483GB (2.20.

---------goodus1 2 2 passed goodus2 2 2 passed Result: Run level check passed Check: Hard limits for "maximum open file descriptors" Node Name Type Available Required Comment ---------------.-----------.-----------goodus1 yes yes no N/A failed goodus2 yes yes no N/A failed Result: Membership check for user "oragrid" in group "oinstall" [as Primary] failed Check: Membership of user "oragrid" in group "dba" Node Name User Exists Group Exists User in Group Comment ---------------.-----------------------.-----------.5644GB 1GB passed Result: Free disk space check passed for "goodus1:/tmp/" Check: Free disk space for "goodus2:/tmp/" Path Node Name Mount point Available Required Comment ---------------.-----------------------.-----------.-----------------------.-----------.19 – .-----------.-----------------------.-----------.11gR2 RAC Installation Manual Path Node Name Mount point Available Required Comment ---------------.-----------.-----------/tmp/ goodus2 /tmp 2.-----------------------.-----------.-----------.-----------.-----------.---------------goodus1 yes yes yes passed goodus2 yes yes yes passed Result: Membership check for user "oragrid" in group "dba" passed Check: Run level Node Name run level Required Comment -----------.-----------------------goodus1 exists passed goodus2 exists passed Result: Group existence check passed for "dba" Check: Membership of user "oragrid" in group "oinstall" [as Primary] Node Name User Exists Group Exists User in Group Primary Comment ---------------.-----------.8295GB 1GB passed Result: Free disk space check passed for "goodus2:/tmp/" Check: User existence for "oragrid" Node Name Status Comment -----------.-----------.-----------.-----------.---------------goodus1 hard 9223372036854775807 65536 passed .-----------.-----------------------goodus1 exists(301) passed goodus2 exists(301) passed Checking for multiple users with UID value 301 Result: Check for multiple users with UID value 301 passed Result: User existence check passed for "oragrid" Check: Group existence for "oinstall" Node Name Status Comment -----------.-----------------------goodus1 does not exist failed goodus2 does not exist failed Result: Group existence check failed for "oinstall" Check: Group existence for "dba" Node Name Status Comment -----------.-----------/tmp/ goodus1 /tmp 2.-----------.-----------.

3-5300.-----------------------.-----------------------.02.-----------------------.-----------------------.1007 5.09.4.-----------------------.-----------------------.-----------.---------goodus1 powerpc powerpc passed goodus2 powerpc powerpc passed Result: System architecture check passed Check: Kernel version Node Name Available Required Comment -----------.1007 5.---------goodus1 128 128 passed goodus2 128 128 passed Result: Kernel parameter check passed for "ncargs" Check: Package existence for "cluster.-----------.-----------------------.01 passed Result: Kernel version check passed Check: Kernel parameter for "SEM_NSEMS_MAX" Node Name Configured Required Comment -----------.02.license-5.3-5300.---------goodus1 5.01 passed goodus2 5.3-5300.---------------goodus1 hard 16384 16384 passed goodus2 hard 16384 16384 passed Result: Hard limits check passed for "maximum user processes" Check: Soft limits for "maximum user processes" Node Name Type Available Required Comment ---------------.3-5300.-----------------------.-----------.11.11.-----------.20 – .11gR2 RAC Installation Manual goodus2 hard 9223372036854775807 65536 Result: Hard limits check passed for "maximum open file descriptors" passed Check: Soft limits for "maximum open file descriptors" Node Name Type Available Required Comment ---------------.09.---------goodus1 32768 256 passed goodus2 32768 256 passed Result: Kernel parameter check passed for "SEM_NSEMS_MAX" Check: Kernel parameter for "SEM_VALUE_MAX" Node Name Configured Required Comment -----------.-----------------------.---------goodus1 32767 100 passed goodus2 32767 100 passed Result: Kernel parameter check passed for "SEM_VALUE_MAX" Check: Kernel parameter for "ncargs" Node Name Configured Required Comment -----------.-----------.1" .-----------.---------------goodus1 soft 9223372036854775807 1024 passed goodus2 soft 9223372036854775807 1024 passed Result: Soft limits check passed for "maximum open file descriptors" Check: Hard limits for "maximum user processes" Node Name Type Available Required Comment ---------------.-----------------------.-----------.-----------.-----------.---------------goodus1 soft 16384 2047 passed goodus2 soft 16384 2047 passed Result: Soft limits check passed for "maximum user processes" Check: System architecture Node Name Available Required Comment -----------.

.-----------------------.0-0 bos.perf.proctools-5. passed goodus2 rsct.rte-2.2-0 bos." Node Name Available Required Comment -----------..-----------------------..9..license-5.perfstat-.3.1.11..perfstat-.base-5..-----------------------.basic..---------goodus1 rsct. passed . passed Result: Package existence check passed for "bos.perfstat-.perfstat-5...perf.adt.libperfstat-5. passed goodus2 bos.basic.lib-5.libm-5...1 passed Result: Package existence check passed for "cluster.---------goodus1 rsct.base-.perf.0-0 bos..lib-.compat.proctools-.license-5.-----------------------.compat.clients...rte-2..perf.-----------------------.adt.rte-. passed Result: Package existence check passed for "bos.0" Check: Package existence for "bos.4.libm-.---------goodus1 bos.rte-.3.basic.2-0 bos.4.proctools-.0-0 bos.3.license-5.9.adt.." Node Name Available Required Comment -----------.12. passed Result: Package existence check passed for "bos.basic..lib-.perf." Node Name Available Required Comment -----------.4.3.3.lib-.9..0-0 rsct..clients.-----------------------.-----------------------.11.0 passed goodus2 bos.3.3.0-0 bos.proctools-5..1-0 cluster.-----------------------.perfstat-.-----------------------.adt.0-0 bos.libperfstat-5..4.3.-----------------------.adt." Check: Package existence for "rsct.clients.9.---------goodus1 bos.4.0-0 bos.compat.clients..." Node Name Available Required Comment -----------.21 – ..adt.1-0 bos.rte-.-----------------------.base-.perfstat-5.-----------------------..adt.11.1-0 cluster.adt.3.-----------------------.adt.3." Node Name Available Required Comment -----------." Node Name Available Required Comment -----------.." Check: Package existence for "bos..perf..11.9..libperfstat-5.perf." Check: Package existence for "bos.0-0 bos.perf.adt.rte-.0 passed Result: Package existence check passed for "bos.perf.perf..libm-..base-.-----------------------.0-0 rsct.adt.proctools-.---------goodus1 bos.0" Node Name Available Required Comment -----------.11..." Check: Package existence for "rsct.adt.proctools-. passed Result: Package existence check passed for "rsct.11gR2 RAC Installation Manual Node Name Available Required Comment -----------.libm-.11.perf. passed Result: Package existence check passed for "bos.4.3.rte-.compat..perf. passed goodus2 bos.perf.4.libperfstat-5..compat.3.3.0-0 rsct.12.basic.adt.perf.1-0 bos.4." Node Name Available Required Comment -----------..adt.12..perf.lib-.license-5.11.11.libperfstat-5.1.rte-." Check: Package existence for "bos..-----------------------.1" Check: Package existence for "bos.11.license-5.basic... passed goodus2 bos.adt.. passed goodus2 bos..---------goodus1 bos.perf... passed goodus2 rsct.clients..0-0 bos. passed Result: Package existence check passed for "bos.1 passed goodus2 cluster...rte-.adt.perf.---------goodus1 bos..perf.base-5.-----------------------.lib-5.libperfstat-5.-----------------------.9." Check: Package existence for "bos.3.. passed goodus2 bos.rte-2.rte-2..4.adt.adt.3.3...12.---------goodus1 cluster.libm-.-----------------------.11.0-0 rsct..libm-5.---------goodus1 bos.base-..

0 passed Result: Package existence check passed for "xlC..-----------------------.22 – . The NTP configuration file "/etc/ntp.0" Check: Operating system patch for "Patch IZ42940" Node Name Applied Required Comment -----------. Core file name pattern consistency check passed.-----------------------goodus1 does not exist passed goodus2 does not exist passed Result: User "oragrid" is not part of "root" group.1.-----------------------.conf" is available on all nodes NTP Configuration file check passed Checking daemon liveness.0.1.-----------------------.---------goodus1 022 0022 passed goodus2 022 0022 passed Result: Default user file creation mask check passed Starting Clock synchronization checks using Network Time Protocol(NTP).rte-10.---------goodus1 missing Patch IZ42940 failed goodus2 missing Patch IZ42940 failed Result: Operating system patch check failed for "Patch IZ42940" Check: Operating system patch for "Patch IZ49516" Node Name Applied Required Comment -----------.aix50.rte-.0" Node Name Available Required Comment -----------.-----------------------..3-0 xlC...rte-10.aix50.-----------------------.0.-----------------------.1..-----------------------..---------goodus1 missing Patch IZ52331 failed goodus2 missing Patch IZ52331 failed Result: Operating system patch check failed for "Patch IZ52331" Checking for multiple users with UID value 0 Result: Check for multiple users with UID value 0 passed Check: Current group ID Result: Current group ID check passed Checking Core file name pattern consistency.3-0 xlC. ..0.-----------------------.compat.0.11gR2 RAC Installation Manual Result: Package existence check passed for "rsct.0.-----------------------.1.1.rte-10.clients.-----------------------.rte-10. Checking to make sure user "oragrid" is not in "root" group Node Name Status Comment -----------.0.rte-10.1.aix50.0 passed goodus2 xlC." Check: Package existence for "xlC.aix50.. Check passed Check default user file creation mask Node Name Available Required Comment -----------.aix50.rte-10.---------goodus1 missing Patch IZ49516 failed goodus2 missing Patch IZ49516 failed Result: Operating system patch check failed for "Patch IZ49516" Check: Operating system patch for "Patch IZ52331" Node Name Applied Required Comment -----------.-----------------------. NTP Configuration file check started.aix50...---------goodus1 xlC.

-----------------------goodus1 yes goodus2 yes Result: NTP daemon slewing option check passed Checking NTP daemon's boot time configuration. rootpre. 8... Group "hagsuser" does not exist..tcpip".sh(root 유저로 반드시 양 노드 모두 수행) [root@goodus1:/oracle/INST/grid]$ umask 022 -> root 유저의 umask 는 반드시 022 로 설정 (아닐 경우 설치시 오라클 유저가 클러스터 환경을 인식 못함) [root@goodus1:/oracle/INST/grid]$ sh rootpre. Copying new kernel extension to /etc.sh[413]: test: argument expected Checking if group services should be configured.23 – .11:11:54. unloading it Unconfigured the kernel extension successfully Unloaded the kernel extension successfully Successfully loaded /etc/pw-syscall.sh rootpre..11gR2 RAC Installation Manual Check: Liveness for "xntpd" Node Name Running? -----------------------------------.2.64bit_kernel already loaded.64bit_kernel with kmid: 0x4717e00 Successfully configured /etc/pw-syscall. for slewing option "-x" Check: NTP daemon's boot time configuration Node Name Slewing Option Set? -----------------------------------. Creating required group for group services: hagsuser Please add your Oracle userid to the group: hagsuser . rootpre.-----------------------goodus1 yes goodus2 yes Result: Liveness check passed for "xntpd" Checking NTP daemon command line for slewing option "-x" Check: NTP daemon command line Node Name Slewing Option Set? -----------------------------------.64bit_kernel with kmid: 0x4717e00 The kernel extension was successfuly loaded..1999 Oracle Corporation Kernel Extension /etc/pw-syscall.. Rootpre.. in file "/etc/rc.2..sh output will be logged in /tmp/rootpre.sh[348]: test: argument expected Loading the kernel extension from /etc Oracle Kernel Extension Loader for AIX Copyright (c) 1998.-----------------------goodus1 yes goodus2 yes Result: NTP daemon's boot time configuration check for slewing option passed Result: Clock synchronization check using Network Time Protocol(NTP) passed Result: User ID < 65535 check passed Result: Kernel 64-bit mode check passed.11:11:54 check_prereq[11]: test: argument expected Saving the original files in /etc/ora_save_10-03-18..out_10-03-18.

rootpre. /opt/ORCLcluster 디렉토리가 생성되며 ..... Copying new kernel extension to /etc.. unloading it Unconfigured the kernel extension successfully Unloaded the kernel extension successfully Successfully loaded /etc/pw-syscall.24 – . 2 번 노드도 동일한 방법으로 수행 ( rootpre 는 1 번노드의 rootpre dir 을 tar 로 묶어서 전송) 정상적으로 수행되면. [root@goodus1:/oracle/INST/grid]$ vi /etc/group hagsuser:!:205:oragrid:oracle -> oracle.out_10-03-18.. Install 시 node information 단계에서 양 노드가 안보이는 문제 발생함..1999 Oracle Corporation Kernel Extension /etc/pw-syscall.64bit_kernel already loaded. 으로 종료되면.. Please confirm your Oracle userid is a member of the group: hagsuser Configuring HACMP group services socket for possible use by Oracle.sh[413]: test: argument expected Checking if group services should be configured. 수행시 Checking if group services should be configured.15:53:42..15:53:42 check_prereq[11]: test: argument expected Saving the original files in /etc/ora_save_10-03-18. rootpre..sh rootpre. oragrid 유저 추가 rootpre 재수행 [root@goodus1:/oracle/INST/grid]$ sh rootpre.sh[348]: test: argument expected Loading the kernel extension from /etc Oracle Kernel Extension Loader for AIX Copyright (c) 1998. HACMP 와 ORACLE CLUSTERWARE 를 연동해주는 Library 생성됨 [oracle@goodus1:/oracle/db]$ ls -l /opt/ORCLcluster/lib lrwxrwxrwx 1 root system 33 Mar 18 15:53 libskgxn2..so* -rwxr-xr-x 1 root system 208646 Mar 18 15:53 libskgxnr. Nothing to configure..so@ -> /opt/ORCLcluster/lib/libskgxnr.11gR2 RAC Installation Manual Configuring HACMP group services socket for possible use by Oracle.64bit_kernel with kmid: 0x3fba400 Successfully configured /etc/pw-syscall.so* .64bit_kernel with kmid: 0x3fba400 The kernel extension was successfuly loaded.sh output will be logged in /tmp/rootpre.

11gR2 RAC Installation Manual 8.sh can be found at the top level of the CD or the stage area.25. Actual 30720 MB Checking monitor: must be configured to display at least 256 colors Passed Passed 주) 설치화면에서 일부 서버 정보는 삭제하였음을 양해 바랍니다. rootpre. ******************************************************************************** Has 'rootpre. [oracle@goodus1:/oracle/INST/grid/install]$ ./install/. .3...2. Actual 3778 MB Checking swap space: must be greater than 150 MB.sh' before you proceed with Oracle installation.235. Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle installation.sh'.oui [oragrid@goodus1:/oracle/INST/grid]$ .120:1 [oragird@goodus1:/oracle/INST/grid]$ chmod +x run* [oragrid@goodus1:/oracle/INST/grid]$ chmod +x .25 – . (oragrid 사용자로 goodus1 에서 수행합니다) . Checking Temp space: must be greater than 190 MB./install/* [oragrid@goodus1:/oracle/INST/grid]$ chmod +x ./runInstaller ******************************************************************************** Your platform requires the root user to perform certain pre-installation OS preparation. Answer 'n' to abort installation and then ask root to run 'rootpre. GRID Infrastructure Software Installation 11gR2 부터는 Clusterware 가 Grid infrastructure 내에 포함되어 있다. The root user should run the shell script 'rootpre./lsnodes -n goodus1 1 goodus2 2 [oragrid@goodus1:/oracle/INST/grid]$ export DISPLAY=10.sh' been run by root? [y/n] (n) y Starting Oracle Universal Installer.

11gR2 RAC Installation Manual

- 26 –

11gR2 RAC Installation Manual

SCAN_NAME 에 지정된 이름이 DNS Server or /etc/hosts 파일에 반드시 존재해야함

SSH Connectivity->Setup 을 클릭하면 ssh 환경을 자동으로 구성해 줌. ssh goodus1, goodus2 수행시 password 인증 없이 접속 가능해야 에러 발생하지 않음(local 에도 접속 가능해야함)

- 27 –

11gR2 RAC Installation Manual

반드시 양 노드의 NIC Interface 명은 용도별로 동일해야 함.

- 28 –

External Redundancy 선택) ASM Instance Password 는 오라클에서 요구하는 복잡성을 만족할 것을 권고 (8 자리. 특수문자.29 – . 숫자 포함) .11gR2 RAC Installation Manual OCR 과 VOTE 를 구성하기 위한 Diskgroup 생성 (Disk 가 1 개뿐이므로.

30 – .11gR2 RAC Installation Manual Password 는 오라클에서 요구하는 복잡성을 만족할 것을 권고 (8 자리. 특수문자. 숫자 포함) .

설치 후 RAWDEVICE 로 전환 예정임으로 Skip .11gR2 RAC Installation Manual ASM 을 관리하기 위한 별도의 OS Group 을 생성할 것을 권고하나.31 – .

11gR2 RAC Installation Manual Grid 는 $ORACLE_BASE 의 하위 dir 에 설치할 수 없음 이 단계에서 [INS-20702] Unexpected internal driver error 가 발생할 경우 설치를 종료하고 runInstaller -ignoreInternalDriverError 옵션으로 설치 재 수행 .32 – .

실제로는 Cluster name.33 – .11gR2 RAC Installation Manual 해당 OS Package 는 하위 버전 Package 이므로. 만약 OS Parameter 설정에 문제가 있을 경우 Fix&Check Again 을 클릭하면. ignore all 에 체크하여 진행. OS 수정 스크립트 자동 생성됨. . SCAN Name 등이 모두 정상적으로 표시됨.

sh -> /oracle/grid/root.34 – .11gR2 RAC Installation Manual 반드시 순차적으로 root 유저로 goodus1goodus2 순서로 /oracle/oraInventory/orainstRoot.sh 를 수행 완료 후에 OK 버튼을 Click 합니다. .

write permissions for group.execute permissions for world. Copying oraenv to /usr/local/bin . 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.write.sh Changing permissions of /oracle/oraInventory. The execution of the script is complete.write permissions for group. Adding read. [root@goodus2 ~]# /oracle/oraInventory/orainstRoot. Removing read.. 2010-03-24 17:14:59: Parsing the host name 2010-03-24 17:14:59: Checking for super user privileges 2010-03-24 17:14:59: User has super user privileges Using configuration parameter file: /oracle/grid/crs/install/crsconfig_params Creating trace directory stty: tcgetattr: Not a typewriter User oragrid has the required capabilities to run CSSD in realtime mode LOCAL ADD MODE Creating OCR keys for user 'root'.sh Changing permissions of /oracle/oraInventory. Changing groupname of /oracle/oraInventory to dba... Removing read. Operation successful. Now product-specific root actions will be performed.11gR2 RAC Installation Manual [root@goodus1 ~]# /oracle/oraInventory/orainstRoot.... The execution of the script is complete.sh script. The following environment variables are set as: ORACLE_OWNER= oragrid ORACLE_HOME= /oracle/grid Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin ..execute permissions for world..sh script. privgrp 'system'..sh Running Oracle 11g root. Changing groupname of /oracle/oraInventory to dba.write. goodus1:/root># /oracle/grid/root. Creating /etc/oratab file.. Adding read.35 – .. root wallet root wallet cert root cert export peer wallet profile reader wallet pa wallet peer wallet keys pa wallet keys peer cert request pa cert request peer cert pa cert peer root cert TP profile reader root cert TP pa root cert TP peer pa cert TP pa peer cert TP profile reader pa cert TP profile reader peer cert TP peer user cert pa user cert Adding daemon to inittab . Copying coraenv to /usr/local/bin .

cssd' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'goodus1' CRS-2676: Start of 'ora.gpnpd' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'goodus1' CRS-2676: Start of 'ora.diskmon' on 'goodus1' CRS-2676: Start of 'ora.cssd' on 'goodus1' CRS-2672: Attempting to start 'ora. ohasd is starting CRS-2672: Attempting to start 'ora.cssdmonitor' on 'goodus1' CRS-2677: Stop of 'ora.mdnsd' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'goodus1' succeeded CRS-2673: Attempting to stop 'ora. CRS-2673: Attempting to stop 'ora. Operation successful..asm' on 'goodus1' succeeded .cssdmonitor' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'goodus1' succeeded CRS-2673: Attempting to stop 'ora.--------1.cssdmonitor' on 'goodus1' CRS-2676: Start of 'ora.gipcd' on 'goodus1' succeeded CRS-2676: Start of 'ora.mdnsd' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora.asm' on 'goodus1' CRS-2677: Stop of 'ora.36 – .11gR2 RAC Installation Manual CRS-4123: Oracle High Availability Services has been started.cssdmonitor' on 'goodus1' succeeded CRS-2673: Attempting to stop 'ora. CRS-2672: Attempting to start 'ora.diskmon' on 'goodus1' CRS-2676: Start of 'ora.gipcd' on 'goodus1' succeeded CRS-2673: Attempting to stop 'ora.mdnsd' on 'goodus1' CRS-2677: Stop of 'ora.diskmon' on 'goodus1' succeeded CRS-2676: Start of 'ora.ctssd' on 'goodus1' CRS-2676: Start of 'ora.mdnsd' on 'goodus1' CRS-2676: Start of 'ora.gpnpd' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora. clscfg: -install mode specified Successfully accumulated necessary OCR keys.diskmon' on 'goodus1' succeeded CRS-2676: Start of 'ora.gpnpd' on 'goodus1' CRS-2677: Stop of 'ora. Creating OCR keys for user 'root'.crsd' on 'goodus1' CRS-2677: Stop of 'ora.gipcd' on 'goodus1' CRS-2676: Start of 'ora.gpnpd' on 'goodus1' CRS-2676: Start of 'ora.gipcd' on 'goodus1' CRS-2677: Stop of 'ora.ctssd' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora.gipcd' on 'goodus1' CRS-2672: Attempting to start 'ora. privgrp 'system'. ONLINE a7b39f2bdee54f5ebf32bd638daa1426 (/dev/rhdisk154) [DGDATA] Located 1 voting disk(s).cssdmonitor' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'goodus1' CRS-2676: Start of 'ora.cssd' on 'goodus1' succeeded CRS-2673: Attempting to stop 'ora.mdnsd' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora.asm' on 'goodus1' succeeded CRS-2673: Attempting to stop 'ora.crsd' on 'goodus1' succeeded CRS-4256: Updating the profile Successful addition of voting disk a7b39f2bdee54f5ebf32bd638daa1426.ctssd' on 'goodus1' succeeded CRS-2673: Attempting to stop 'ora.gipcd' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora.----------------------------. DiskGroup DGDATA created successfully.asm' on 'goodus1' CRS-2676: Start of 'ora.ctssd' on 'goodus1' succeeded ASM created and started successfully.mdnsd' on 'goodus1' CRS-2676: Start of 'ora. Successfully replaced voting disk group with +DGDATA.cssd' on 'goodus1' CRS-2672: Attempting to start 'ora.ctssd' on 'goodus1' CRS-2676: Start of 'ora.cssd' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'goodus1' CRS-2677: Stop of 'ora. CRS-4256: Updating the profile CRS-4266: Voting file(s) successfully replaced ## STATE File Universal Id File Name Disk group -.ctssd' on 'goodus1' CRS-2677: Stop of 'ora.

olr Configure Oracle Grid Infrastructure for a Cluster ... 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.crsd' on 'goodus1' CRS-2676: Start of 'ora...cssd' on 'goodus2' succeeded Actual 30464 MB Passed .evmd' on 'goodus1' CRS-2676: Start of 'ora. restarting to join the cluster CRS-2672: Attempting to start 'ora. succeeded Updating inventory properties for clusterware Starting Oracle Universal Installer.DGDATA..sh script. The following environment variables are set as: ORACLE_OWNER= oragrid ORACLE_HOME= /oracle/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 . Creating /etc/oratab file. ohasd is starting CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node goodus1.cssdmonitor' on 'goodus2' CRS-2677: Stop of 'ora.. Copying coraenv to /usr/local/bin .cssd' on 'goodus2' CRS-2672: Attempting to start 'ora... The inventory pointer is located at /etc/oraInst.gpnpd' on 'goodus2' CRS-2676: Start of 'ora. 2010-03-25 11:18:02: Parsing the host name 2010-03-25 11:18:02: Checking for super user privileges 2010-03-25 11:18:02: User has super user privileges Using configuration parameter file: /oracle/grid/crs/install/crsconfig_params stty: tcgetattr: Not a typewriter User oragrid has the required capabilities to run CSSD in realtime mode LOCAL ADD MODE Creating OCR keys for user 'root'....diskmon' on 'goodus2' succeeded CRS-2676: Start of 'ora. number 1.37 – .gipcd' on 'goodus2' CRS-2676: Start of 'ora. Operation successful.sh Running Oracle 11g root.cssdmonitor' on 'goodus2' succeeded CRS-2672: Attempting to start 'ora.dg' on 'goodus1' succeeded goodus1 2010/03/24 17:22:26 /oracle/grid/cdata/goodus1/backup_20100324_172226..crsd' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora. Adding daemon to inittab CRS-4123: Oracle High Availability Services has been started.cssdmonitor' on 'goodus2' succeeded An active cluster was found during exclusive startup.diskmon' on 'goodus2' CRS-2676: Start of 'ora..evmd' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora.sh script.mdnsd' on 'goodus2' CRS-2676: Start of 'ora.dg' on 'goodus1' CRS-2676: Start of 'ora.cssdmonitor' on 'goodus2' CRS-2676: Start of 'ora.11gR2 RAC Installation Manual CRS-2672: Attempting to start 'ora. and is terminating CRS-2673: Attempting to stop 'ora.gipcd' on 'goodus2' succeeded CRS-2672: Attempting to start 'ora...gpnpd' on 'goodus2' succeeded CRS-2672: Attempting to start 'ora.asm' on 'goodus1' CRS-2676: Start of 'ora.mdnsd' on 'goodus2' succeeded CRS-2672: Attempting to start 'ora. Now product-specific root actions will be performed. [root@goodus2:/oracle]$ /oracle/grid/root.loc The inventory is located at /oracle/oraInventory 'UpdateNodeList' was successful.DGDATA. Checking swap space: must be greater than 500 MB. privgrp 'system'.asm' on 'goodus1' succeeded CRS-2672: Attempting to start 'ora.

succeeded Updating inventory properties for clusterware Starting Oracle Universal Installer.ctssd' on 'goodus2' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'goodus2' CRS-2676: Start of 'ora... Checking swap space: must be greater than 500 MB.38 – .asm' on 'goodus2' CRS-2676: Start of 'ora. 무시하고 진행. .ctssd' on 'goodus2' CRS-2676: Start of 'ora..loc The inventory is located at /oracle/oraInventory 'UpdateNodeList' was successful.olr Configure Oracle Grid Infrastructure for a Cluster .evmd' on 'goodus2' succeeded goodus2 2010/03/25 11:20:18 /oracle/grid/cdata/goodus2/backup_20100325_112018.evmd' on 'goodus2' CRS-2676: Start of 'ora.crsd' on 'goodus2' succeeded CRS-2672: Attempting to start 'ora.11gR2 RAC Installation Manual CRS-2672: Attempting to start 'ora. Actual 30464 MB Passed 앞에서 ignore 하고 넘어간 OS Package 로 인해 오류 발생. The inventory pointer is located at /etc/oraInst..asm' on 'goodus2' succeeded CRS-2672: Attempting to start 'ora.

.39 – .11gR2 RAC Installation Manual 설치를 종료합니다.

goodus1.20.20.bin oragrid 237576 1 0 11:25:25 .20...bin root 409880 1 0 11:25:30 .info -l /oracle/grid/evm/log/evmlogger.0.gsd.SIMPLEX.0:00 /oracle/grid/bin/mdnsd.0:00 /oracle/grid/bin/orarootagent.goodus2.type ONLINE ONLINE goodus1 -> SCAN_LISTENER ora.11gR2 RAC Installation Manual [oracle@goodus1:/oracle/grid/bin]$ ps -ef | grep d..RUNNING..LARGESEND.vip ora.dg ora.10.CHECKSUM _OFFLOAD(ACTIVE).LOOPBACK.20.type ONLINE ONLINE goodus1->1 개의 SCAN IP 만 지정함으로 SCAN VIP 도 1 개 생성 ...0:00 /oracle/grid/bin/diskmon.SIMPLEX.bin reboot root 168070 1 3 11:26:08 .asm ora.10..gsd application OFFLINE OFFLINE ora.255.255 -> private tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0 lo0: flags=e08084b<UP.scan1.N1.oc4j.20.goodus1..CHAIN> inet 10.c0<UP.20.type ONLINE ONLINE goodus1 ora..goodus1.20.0.1 netmask 0xffffff00 broadcast 10..bin root 102490 1 6 11:26:07 .GROUPRT.0:00 /oracle/grid/bin/gipcd.GROUPRT.20.BROADCAST..1 netmask 0xffffff00 broadcast 20.eons.NOTRAILERS.0:00 /oracle/grid/bin/oraagent.bin oragrid 368946 434436 1 11:26:10 ..bin root 254100 1 0 11:25:49 .eons ora.bin root 282714 1 0 11:25:28 ..MULTICAST.0:00 /oracle/grid/bin/gpnpd.oc4j ora.0:00 /oracle/grid/bin/cssdmonitor oragrid 291002 1 0 11:25:24 .NOTRAILERS..ons ora.64BIT.15 -> vip inet 20.20.0:00 /oracle/grid/bin/evmd.0:00 /oracle/grid/bin/cssdagent oragrid 180648 127154 0 11:26:10 pts/1 0:00 grep d.c0<UP.vip ora.PSEG..BROADCAST.15 -> scan-vip tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0 en15: flags=5e080863.bi root 229850 1 0 11:25:30 .20.0:00 /oracle/grid/bin/oclskd.type ONLINE ONLINE goodus1 ora.ons application ONLINE ONLINE goodus2 ora..goodus2.t1.CHAIN> inet 20.SM2.0:00 /oracle/grid/bin/evmlogger.CHECKSUM _OFFLOAD(ACTIVE).5 netmask 0xffffff00 broadcast 20..SIMPLEX.15 -> public inet 20.bin -o /oracle/grid/evm/log/evmlogger.gsd application OFFLINE OFFLINE ora..MULTICAST...GROUPRT..type ONLINE ONLINE goodus1 ora.asm.up.bin reboot oragrid 274678 1 2 11:25:27 .asm application ONLINE ONLINE goodus2 ora.vip ora.RUNNING.255 inet6 ::1/0 tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1 goodus1:/root># /oracle/grid/bin/crs_stat -t Name Type Target State Host -----------------------------------------------------------ora.10..DATA.LARGESEND...0:00 /oracle/grid/bin/oclskd..goodus2.bin [oracle@goodus1:/oracle/grid/bin]$ ifconfig -a en14: flags=5e080863.type ONLINE ONLINE goodus1 ora.1 netmask 0xff000000 broadcast 127.BROADCAST.20..type OFFLINE OFFLINE ora.bin reboot oragrid 434436 1 13 11:25:50 .type ONLINE ONLINE goodus2 ora..type OFFLINE OFFLINE ora.RUNNING.rk.bin oragrid 172222 1 0 11:25:30 ..bin oragrid 397654 1 0 11:25:24 .0:00 /oracle/grid/bin/crsd.type ONLINE ONLINE goodus1 ora.ip.asm application ONLINE ONLINE goodus1 ora.MULTICAST.64BIT> inet 127.bin -d -f oragrid 188574 1 0 11:25:55 .0:00 /oracle/grid/bin/ocssd.3 netmask 0xffffff00 broadcast 20..bin root 115108 1 0 11:25:30 .log oragrid 373232 409880 4 11:25:30 .PSEG.0:02 /oracle/grid/bin/ohasd.ons.lsnr ora.ons application ONLINE ONLINE goodus1 ora.SM1.255.0:00 /bin/sh /oracle/grid/bin/ocssd root 426386 1 0 11:25:21 .64BIT.network ora.0:00 /oracle/grid/bin/octssd.40 – .type ONLINE ONLINE goodus1 ora.20.10..gsd ora.t1.er.

Answer 'y' if root has run 'rootpre.sh' been run by root? [y/n] (n) y Starting Oracle Universal Installer. Actual 30720 MB Passed Checking monitor: must be configured to display at least 256 colors.. Please wait .3.oui [oracle@goodus1:/oracle/INST/database]$ .25. .sh'. Actual 65536 Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-03-18_04-36-49PM.sh' before you proceed with Oracle installation./install/* [oracle@goodus1:/oracle/INST/database]$ chmod +x . rootpre..sh' so you can proceed with Oracle installation.1(staff).) [oracle@goodus1:/oracle/INST/database]$ id uid=300(oracle) gid=300(dba) groups=0(system). Answer 'n' to abort installation and then ask root to run 'rootpre./runInstaller ******************************************************************************** Your platform requires the root user to perform certain pre-installation OS preparation.. ******************************************************************************** Has 'rootpre.sh can be found at the top level of the CD or the stage area.11gR2 RAC Installation Manual 8.41 – .120:1 [oracle@goodus1:/oracle/INST/database]$ chmod +x run* [oracle@goodus1:/oracle/INST/database]$ chmod +x . Checking Temp space: must be greater than 190 MB. The root user should run the shell script 'rootpre.205(hagsuser) [oracle@goodus1:/oracle/INST/database]$ export DISPLAY=10.235. Actual 3465 MB Passed Checking swap space: must be greater than 150 MB.3(sys).4(adm)./install/. Database Software Installation (oracle 사용자로 goodus1 에서 수행합니다..

42 – .11gR2 RAC Installation Manual Critical Patch Update 시 공지를 위한 e-mail 주소 등록 요청 – 무시하고 진행 .

43 – .11gR2 RAC Installation Manual 반드시 양 노드를 모두 선택 .

11gR2 RAC Installation Manual Select Options 를 클릭해서 필요한 옵션을 선택 .44 – .

45 – .11gR2 RAC Installation Manual $ORACLE_HOME 은 $ORACLE_BASE 하위에 지정되어야 함 이 단계에서 [INS-20702] Unexpected internal driver error 가 발생할 경우 설치를 종료하고 runInstaller -ignoreInternalDriverError 옵션으로 설치 재 수행 .

46 – .11gR2 RAC Installation Manual 1 .

11gR2 RAC Installation Manual .47 – .

. The file "oraenv" already exists in /usr/local/bin.4. Private(Interconnect) ip 구성 정보를 확인합니다. 특히 interconnect 값이 틀리면 public ip 로 interconnect 을 수행하므로. Oifcfg getif 조회 값과 x$ksxpia 조회값이 반드시 올바른 값으로 일치해야 합니다...0 global public en15 10.sh 수행 완료 후 OK 버튼을 Click 합니다.20.. 설치 완료 8. Overwrite it? (y/n) [n]: Copying dbhome to /usr/local/bin .0 global cluster_interconnect .. The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /oracle/db/11g Enter the full pathname of the local bin directory: [/usr/local/bin]: The file "dbhome" already exists in /usr/local/bin. 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. 만약 이 값이 없거나.sh script... Failover 시 문제가 발생하게 됩니다. Goodus1:/oracle/db/11g># sh root.10. Check Public/Inter-connect Configuration 설치가 완료되면 현재 OCR 에 등록된 Public. Overwrite it? (y/n) [n]: Copying coraenv to /usr/local/bin .sh script. Finished product-specific root actions.20. Overwrite it? (y/n) [n]: Copying oraenv to /usr/local/bin .48 – . 값이 다르면 Failover 시 문제가 발생하게 됨을 유의하십시요..11gR2 RAC Installation Manual root 사용자로 goodus1  goodus2 순서로 /oracle/db/11g/root. Now product-specific root actions will be performed.) [oracle@goodus1:/oracle/db]$ oifcfg getif en14 20. (oracle 사용자로 양 노드 수행합니다.sh Running Oracle 11g root.10. The file "coraenv" already exists in /usr/local/bin.

Successful deletion of voting disk 4758848401d24f2dbffcfb7a7d81d6ea.5. CRS-4256: Updating the profile CRS-4266: Voting file(s) successfully replaced goodus1:/oracle/grid/bin># ./ocrconfig -delete +DATA goodus2:/oracle/grid/bin># ./ocrconfig -add /dev/rk2crs02_lv goodus1:/oracle/grid/bin># ./crsctl add css votedisk /dev/rk2vote02_lv Now formatting voting disk: /dev/rk2vote02_lv. CRS-4256: Updating the profile Successful addition of voting disk 46841e57daa74f83bfc127a0879929e1. OCR & VOTE Disk Migration ASM To Rawdevice (root 유저로 1 번노드에서 수행) OCR & Vote Disk 를 ASM Storage 에서 RAWDEVICE 로 Migration OCR Disk 는 owner (root:dba) permission (640) Vote Disk 는 owner (oracle:dba) permission (660) 으로 사전에 설정된 rawdevice 사용 (크기는 모두 280MB) # OCR Disk Migration goodus1:/oracle/grid/bin># ./ocrconfig -add /dev/rk2crs01_lv goodus1:/oracle/grid/bin># ./crsctl replace votedisk /dev/rk2vote01_lv Now formatting voting disk: /dev/rk2vote01_lv. ./ocrcheck Status of Oracle Cluster Registry is as follows : Version Total space (kbytes) Used space (kbytes) Available space (kbytes) : ID Device/File Name : : : 262120 2252 259868 : 1354159861 : /dev/rk2crs01_lv Device/File integrity check succeeded Device/File Name : /dev/rk2crs02_lv Device/File integrity check succeeded Device/File not configured Device/File not configured Device/File not configured Cluster registry integrity check succeeded Logical corruption check succeeded 3 # Vote Disk Migration goodus1:/oracle/grid/bin># .49 – . CRS-4603: Successful addition of voting disk /dev/rk2vote02_lv.11gR2 RAC Installation Manual 8.

ONLINE 46841e57daa74f83bfc127a0879929e1 (/dev/rk2vote01_lv) [] 7d9a1ca7177e4f4abfa95b8fbb02e168 (/dev/rk2vote02_lv) [] 1b38d780c3b54fd9bf61aeff14d42ddd (/dev/rk2vote03_lv) [] Located 3 voting disk(s)./crsctl query css votedisk ## STATE -----File Universal Id ----------------File Name Disk group --------.--------- 1. CRS-4603: Successful addition of voting disk /dev/rk2vote03_lv. ONLINE 2. goodus1:/oracle/grid/bin># .11gR2 RAC Installation Manual goodus1:/oracle/grid/bin># ./crsctl add css votedisk /dev/rk2vote03_lv Now formatting voting disk: /dev/rk2vote03_lv. (oracle 사용자로 goodus1에서 수행합니다. 생성된 Script에서 File Path를 Rawdevice로 수정 [goodus1(oracle):/oracle/db/11g/bin>dbca . 9.1. 여기선 최종 단계에서 Create Script만 수행하여. ONLINE 3. Create Database DBCA DBCA를 통해 DATABASE를 생성합니다.) DBCA 상에서는 RAWDEVICE 구성을 지원하지 않음으로. 9.50 – .

51 – .11gR2 RAC Installation Manual .

52 – .11gR2 RAC Installation Manual 반드시 Selet All로 양 노드 모두 선택 .

11gR2 RAC Installation Manual .53 – .

54 – .11gR2 RAC Installation Manual Sys. dbsnmp. sysman User Password 입력 Datafile을 생성할 ASM Disk Group 지정 . system.

11gR2 RAC Installation Manual Grid 구성시 ASM Instance 생성 단계에서 입력한 Password 입력 이 단계에서 ORA-01031 : insufficient privileages 에러 발생시 (Bug : 8421806) On Remote node : cd $GI_HOME/dbs.55 – . orapwd file=orapw+ASM On Local node : asmca -silent -postConfigureASM 완료 후 retry .

56 – .11gR2 RAC Installation Manual .

11gR2 RAC Installation Manual 11g부터는 SGA_TARGET + PGA_AGGREGATE_TARGET = MEMORY_TARGET으로 설정 .57 – .

11gR2 RAC Installation Manual .58 – .

. Maximum Log Members 5로 조정합니다.11gR2 RAC Installation Manual 좌측 프레임의 Controlfile을 클릭하여 Maximum Datafiles 값을 2048.59 – .

11gR2 RAC Installation Manual .60 – .

RAWDEVICE를 사용할 예정임으로. 실제론. Thead#2  Redo Log Group 6~10) Redo Log Goup의 FileSize를 500M로 조정합니다.11gR2 RAC Installation Manual 좌측 프레임의 Redo Log Groups을 클릭하여 각 Thread 당 Redo Log Group을 5개씩 할당 합니다. DATABAES CREATION은 하지 않고 Script만 생성 .61 – . (Thead# 1  Redo Log Group 1~5.

sql @/oracle/db/admin/GOODUS/scripts/CreateDBCatalog.sql #@/oracle/db/admin/GOODUS/scripts/labelSecurity.sql #@/oracle/db/admin/GOODUS/scripts/context.sql @/oracle/db/admin/GOODUS/scripts/CreateClustDBViews. export ORACLE_SID PATH=$ORACLE_HOME/bin:$PATH. Manual DB Creation 생성된 Script를 수정해서.sql SET VERIFY OFF connect "SYS"/"&&sysPassword" as SYSDBA set echo on spool /oracle/db/admin/GOODUS/scripts/CreateDB.sql #@/oracle/db/admin/GOODUS/scripts/emRepository.sql GOODUS1.sql #@/oracle/db/admin/GOODUS/scripts/apex.62 – .sql host echo "SPFILE='/dev/rspfile_lv" > /oracle/db/11g/dbs/initGOODUS1.sql #@/oracle/db/admin/GOODUS/scripts/xdb_protocol.sql CreateDB.ora @/oracle/db/admin/GOODUS/scripts/lockAccount.sql @/oracle/db/admin/GOODUS/scripts/CreateDBFiles.11gR2 RAC Installation Manual 9.sh를 수행합니다. (적색으로 표시된 부분을 ASM에서 RAWDEVICE명으로 수정) GOODUS1.sql #@/oracle/db/admin/GOODUS/scripts/owb. controlfile. 전체 datafile.sql #@/oracle/db/admin/GOODUS/scripts/ordinst.log append .sql #@/oracle/db/admin/GOODUS/scripts/interMedia.sql #@/oracle/db/admin/GOODUS/scripts/cwmlite.sql #@/oracle/db/admin/GOODUS/scripts/spatial.sh #!/bin/sh OLD_UMASK=`umask` umask 0027 mkdir -p /archive/datafile/GOODUS mkdir -p /oracle/db/admin/GOODUS/adump mkdir -p /oracle/db/admin/GOODUS/dpdump mkdir -p /oracle/db/admin/GOODUS/hdump mkdir -p /oracle/db/admin/GOODUS/pfile mkdir -p /oracle/db/cfgtoollogs/dbca/GOODUS umask ${OLD_UMASK} ORACLE_SID=GOODUS1.2. export PATH echo You should Add this entry in the /etc/oratab: GOODUS:/oracle/db/11g:Y /oracle/db/11g/bin/sqlplus /nolog @/oracle/db/admin/GOODUS/scripts/GOODUS1.sql @/oracle/db/admin/GOODUS/scripts/postDBCreation.sql (#처리된 sql 은 필요한 component 만 해제) set verify off ACCEPT sysPassword CHAR PROMPT 'Enter new password for SYS: ' HIDE ACCEPT systemPassword CHAR PROMPT 'Enter new password for SYSTEM: ' HIDE ACCEPT sysmanPassword CHAR PROMPT 'Enter new password for SYSMAN: ' HIDE ACCEPT dbsnmpPassword CHAR PROMPT 'Enter new password for DBSNMP: ' HIDE host /oracle/db/11g/bin/orapwd file=/oracle/db/11g/dbs/orapwGOODUS1 force=y host /oracle/db/11g/bin/srvctl add database -d GOODUS -o /oracle/db/11g -p /dev/rspfile_lv -n GOODUS host /oracle/db/11g/bin/srvctl add instance -d GOODUS -i GOODUS1 -n goodus1 host /oracle/db/11g/bin/srvctl add instance -d GOODUS -i GOODUS2 -n goodus2 host /oracle/db/11g/bin/srvctl disable database -d GOODUS @/oracle/db/admin/GOODUS/scripts/CreateDB. spfile의 경로를 할당된 Rawdevice로 변경 후 GOODUS1.sql #@/oracle/db/admin/GOODUS/scripts/JServer.

spool off spool off CreateClustDBViews.sql SET VERIFY OFF connect "SYS"/"&&sysPassword" as SYSDBA set echo on spool /oracle/db/admin/GOODUS/scripts/CreateDBFiles.sql SET VERIFY OFF connect "SYS"/"&&sysPassword" as SYSDBA set echo on spool /oracle/db/admin/GOODUS/scripts/CreateDBCatalog.log append @/oracle/db/11g/sqlplus/admin/help/hlpbld. @/oracle/db/11g/rdbms/admin/catoctk.sql. @/oracle/db/11g/rdbms/admin/catblock.63 – . CREATE TABLESPACE "USERS" LOGGING DATAFILE '/dev/rusers_lv' SIZE 1000M AUTOEXTEND OFF EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO.plb. ALTER DATABASE DEFAULT TABLESPACE "USERS". GROUP 5 ('/dev/rcoredo05_lv') SIZE 500M USER SYS IDENTIFIED BY "&&sysPassword" USER SYSTEM IDENTIFIED BY "&&systemPassword".sql. CREATE DATABASE "GOODUS" MAXINSTANCES 32 MAXLOGHISTORY 1 MAXLOGFILES 320 MAXLOGMEMBERS 5 MAXDATAFILES 2048 DATAFILE '/dev/rsystem01_lv' SIZE 1000M AUTOEXTEND OFF EXTENT MANAGEMENT LOCAL SYSAUX DATAFILE '/dev/rsysaux_lv' SIZE 1000M AUTOEXTEND OFF DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/dev/rtemp01_lv' SIZE 2000M AUTOEXTEND OFF UNDO TABLESPACE "UNDOTBS1" DATAFILE '/dev/rudo01_lv' SIZE 2000M AUTOEXTEND OFF CHARACTER SET UTF8 NATIONAL CHARACTER SET AL16UTF16 LOGFILE GROUP 1 ('/dev/rcoredo01_lv') SIZE 500M.sql.log append @/oracle/db/11g/rdbms/admin/catalog. GROUP 2 ('/dev/rcoredo02_lv') SIZE 500M. @/oracle/db/11g/rdbms/admin/owminst. GROUP 4 ('/dev/rcoredo04_lv') SIZE 500M. spool off CreateDBCatalog. connect "SYSTEM"/"&&systemPassword" @/oracle/db/11g/sqlplus/admin/pupbld.sql. connect "SYSTEM"/"&&systemPassword" set echo on spool /oracle/db/admin/GOODUS/scripts/sqlPlusHelp.sql SET VERIFY OFF connect "SYS"/"&&sysPassword" as SYSDBA set echo on .sql.sql.log append CREATE UNDO TABLESPACE "UNDOTBS2" DATAFILE '/dev/rundo02_lv' SIZE 2000M AUTOEXTEND OFF.sql helpus. spool off CreateDBFiles.11gR2 RAC Installation Manual startup nomount pfile="/oracle/db/admin/GOODUS/scripts/init. @/oracle/db/11g/rdbms/admin/catproc.ora". GROUP 3 ('/dev/rcoredo03_lv') SIZE 500M.

ora. spool off .'SYSTEM') ) LOOP dbms_output. select group# from v$log where group# =6.USERNAME).log append @/oracle/db/11g/rdbms/admin/catclust.sql. execute immediate 'alter user ' || sys.schema_name( item. GROUP 9 ('/dev/rcoredo09_lv') SIZE 500M. spool off lockAccount.sql SET VERIFY OFF set echo on spool /oracle/db/admin/GOODUS/scripts/lockAccount.disable(). GROUP 7 ('/dev/rcoredo07_lv') SIZE 500M. connect "SYS"/"&&sysPassword" as SYSDBA set echo on create spfile='/dev/rspfile_lv' FROM pfile='/oracle/db/admin/GOODUS/scripts/init. host echo remote_listener=goodus-scan:1521>>/oracle/db/admin/GOODUS/scripts/init.dbms_assert. GROUP 8 ('/dev/rcoredo08_lv') SIZE 500M. 'HH:MI:SS') from dual.log append execute DBMS_AUTO_TASK_ADMIN.ora'. 'EXPIRED') AND USERNAME NOT IN ( 'SYS'. select group# from v$log where group# =7. END. GROUP 10 ('/dev/rcoredo10_lv') SIZE 500M. END LOOP. shutdown immediate.put_line('Locking and Expiring: ' || item.ora.log.recomp_serial().USERNAME). select 'utl_recomp_begin: ' || to_char(sysdate. host echo cluster_database=true >>/oracle/db/admin/GOODUS/scripts/init.log append BEGIN FOR item IN ( SELECT USERNAME FROM DBA_USERS WHERE ACCOUNT_STATUS IN ('OPEN'. 'HH:MI:SS') from dual.11gR2 RAC Installation Manual spool /oracle/db/admin/GOODUS/scripts/CreateClustDBViews.false) || ' password expire account lock' .sql SET VERIFY OFF connect "SYS"/"&&sysPassword" as SYSDBA set echo on spool /oracle/db/admin/GOODUS/scripts/postDBCreation. select group# from v$log where group# =9. select group# from v$log where group# =10. ALTER DATABASE ADD LOGFILE THREAD 2 GROUP 6 ('/dev/rcoredo06_lv') SIZE 500M.enquote_name( sys. ALTER DATABASE ENABLE PUBLIC THREAD 2. select group# from v$log where group# =8. execute utl_recomp. host /oracle/db/11g/bin/srvctl enable database -d GOODUS. / spool off postDBCreation.64 – . 'LOCKED'. select 'utl_recomp_end: ' || to_char(sysdate.dbms_assert. host /oracle/db/11g/bin/srvctl start database -d GOODUS. connect "SYS"/"&&sysPassword" as SYSDBA #host /oracle/db/11g/bin/emca -config dbcontrol db -silent -cluster -DB_UNIQUE_NAME GOODUS -PORT 1521 EM_HOME /oracle/db/11g -LISTENER LISTENER -CLUSTER_NAME goodus-cluster -SERVICE_NAME GOODUS -SID GOODUS -ORACLE_HOME /oracle/db/11g -HOST goodus1 -LISTENER_OH /oracle/grid -LOG_FILE /oracle/db/admin/GOODUS/scripts/emConfig.

2.ora ############################################################################## # Copyright (c) 1991.thread=1 GOODUS1.0.11gR2 RAC Installation Manual exit.65 – .instance_number=2 GOODUS2.0 diagnostic_dest=/oracle/db memory_target=52935262208 ########################################### # Processes and Sessions ########################################### processes=1000 sessions=1105 ########################################### # Security and Auditing ########################################### audit_file_dest=/oracle/db/admin/GOODUS/adump audit_trail=db remote_login_passwordfile=exclusive ########################################### # Shared Server ########################################### dispatchers="(PROTOCOL=TCP) (SERVICE=GOODUSXDB)" GOODUS1. Init. 2002 by Oracle Corporation ############################################################################## ########################################### # Cache and I/O ########################################### db_block_size=8192 ########################################### # Cluster Database ########################################### #cluster_database=true #remote_listener=goodus-scan:1521 ########################################### # Cursors and Library Cache ########################################### open_cursors=300 ########################################### # Database Identification ########################################### db_domain="" db_name=GOODUS ########################################### # File Configuration ########################################### control_files=("/dev/rcontrol01_lv".undo_tablespace=UNDOTBS2 .0.instance_number=1 GOODUS2.undo_tablespace=UNDOTBS1 GOODUS2.thread=2 GOODUS1. "/dev/rcontrol02_lv") ########################################### # Miscellaneous ########################################### compatible=11. 2001.

Network Setting 9.dg' is missing.0 11.db CRS-2640: Required resource 'ora. SQL> show parameter remote NAME TYPE VALUE ------------------------------.5.ORA 11gR2 부터는 listener.66 – .5.3. . [oracle@goodus1:/oracle/db]$ srvctl start database -d GOODUS 9.0 STATUS --------------------------------VALID VALID VALID VALID VALID COMP_NAME ---------------------------------------Oracle Enterprise Manager Oracle Workspace Manager Oracle Database Catalog Views Oracle Database Packages and Types Oracle Real Application Clusters 9.2.11gR2 RAC Installation Manual 9. tnsnames.1. Local Listener Registration SQL> alter system set local_listener='GOODUS' scope=both sid='GOODUS1'. Listener Resource 는 grid 유저를 owner 로 함.2. System altered.0.0.DATA.5.2.goodus.2.5.----------.1.ora 는 $GRID_HOME/network/admin 에 위치하며.2.4.1. 안해주면 DB Startup 시 아래와 같은 에러 발생 PRCR-1079 : Failed to start resource ora.0. ASM Resource 제거 (oragrid 유저로 1 번 노드에서 수행) [oracle@goodus1:/oracle/grid]$ srvctl stop database -d GOODUS [oracle@goodus1:/oracle/grid]$ srvctl stop diskgroup -g data [oracle@goodus1:/oracle/grid]$ srvctl stop asm -n goodus1 [oracle@goodus1:/oracle/grid]$ srvctl stop asm -n goodus2 [oracle@goodus1:/oracle/grid]$ srvctl remove diskgroup -g data -f [oracle@goodus1:/oracle/grid]$ srvctl remove asm -f [oracle@goodus1:/oracle/grid]$ srvctl modify database -d goodus -z --> dependency 제거 .1.1.2. Remote Listener 제거 (Scan Listener 를 사용하지 않으므로. 제거) SQL> alter system set remote_listener='' sid='*'.0 11.0 11.1. SQL> alter system set local_listener='GOODUS' scope=both sid='GOODUS2'. LISTENER.0.0 11. DATABASE Status VERSION -----------------------------11.ora 는 $ORACLE_HOME/network/admin 의 것을 사용함.-----------------------------remote_listener string 9.3.0. SCAN_LISTENER제거 (oragrid 유저로 1 번 노드에서 수행) [oracle@goodus1:/oracle/grid]$ srvctl stop scan_listener [oracle@goodus1:/oracle/grid]$ srvctl stop scan [oracle@goodus1:/oracle/grid]$ srvctl remove scan_listener -y [oracle@goodus1:/oracle/grid]$ sudo su Goodus1:/root># /oracle/grid/bin/srvctl remove scan -y 9.

ora Listener Log File /oracle/grid/log/diag/tnslsnr/goodus2/listener/alert/log..20.20. [oracle@goodus1:/oracle/db]$ srvctl stop database -d GOODUS SQL> startup mount SQL> alter database archivelog.20..4)(PORT = 1526)) (FAIL_OVER=ON) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = GOODUS) ) ) 9.. The command completed successfully Tnsnames. (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=20.. Instance "GOODUS1".20. Archive Log Mode 변경 (oracle user 로 1 번 노드에서 수행) SQL> alter system set cluster_database=false scope=spfile sid='*'.ora GOODUS = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 20.2)(PORT=1526))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=20.20.xml Listening Endpoints Summary.20.4)(PORT=1526))) Services Summary.. Service "GOODUS" has 1 instance(s). .20. SQL> alter system set log_archive_dest_1 = 'location=/arch2' scope=spfile sid='GOODUS2'. has 1 handler(s) for this service.xml Listening Endpoints Summary.20. SQL> alter system set log_archive_dest_1 = 'location=/arch1' scope=spfile sid='GOODUS1'... status READY.20.ora Listener Log File /oracle/grid/log/diag/tnslsnr/goodus1/listener/alert/log.67 – . status READY. Service "GOODUS" has 1 instance(s).1)(PORT=1526)(IP=FIRST)))) [oracle@goodus1:/oracle/grid/network/admin]$ lsnrct status Listener Parameter File /oracle/grid/network/admin/listener. SQL> alter system set log_archive_format = 'arch_%t_%r_%s.3)(PORT = 1526)) (ADDRESS = (PROTOCOL = TCP)(HOST = 20.arc' scope=spfile sid='*'..20.11gR2 RAC Installation Manual [oracle@goodus1:/oracle/grid/network/admin]$ cat listener.20. has 1 handler(s) for this service.20.3)(PORT=1526))) Services Summary..1)(PORT=1526))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=20.20.20..ora LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON [oracle@goodus1:/oracle/grid/network/admin]$ cat endpoints_listener. (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=20.ora LISTENER_GOODUS1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=goodus1vip)(PORT=1526))(ADDRESS=(PROTOCOL=TCP)(HOST=20. SQL> alter database open.. The command completed successfully [oracle@goodus2:/oracle/grid/network/admin]$ lsnrct status Listener Parameter File /oracle/grid/network/admin/listener.6.. Instance "GOODUS2".

8. CRS Resource Status Target -----ONLINE ONLINE OFFLINE ONLINE OFFLINE ONLINE ONLINE ONLINE OFFLINE ONLINE ONLINE ONLINE ONLINE OFFLINE ONLINE State ----ONLINE on ONLINE on OFFLINE ONLINE on OFFLINE ONLINE on ONLINE on ONLINE on OFFLINE ONLINE on ONLINE on ONLINE on ONLINE on OFFLINE ONLINE on [oracle@goodus1:/oracle/db]$ crsstat HA Resource ----------ora.goodus1.68 – .vip ora.net1.network ora.eons ora.vip ora.oc4j ora.goodus.7.lsnr ora.goodus1. [oracle@goodus1:/oracle/db]$ srvctl start database -d GOODUS 9.gsd ora.LISTENER.ons ora.goodus2.gsd ora.LISTENER_GOODUS1.GOODUS2 Disk Groups: Services: Database is administrator managed 9.lsnr ora.lsnr ora.goodus1.LISTENER_GOODUS2. SQL> shutdown immediate.goodus2.ons goodus1 goodus1 goodus1 goodus1 goodus1 goodus2 goodus2 goodus2 goodus1 goodus1 goodus1 [oracle@goodus1:/oracle/db]$ srvctl config database -d GOODUS Database unique name: GOODUS Database name: GOODUS Oracle home: /oracle/db/11g Oracle user: oracle Spfile: /dev/rspfile_lv Domain: Start options: open Stop options: immediate Database role: PRIMARY Management policy: AUTOMATIC Server pools: GOODUS Database instances: GOODUS1.goodus2.11gR2 RAC Installation Manual SQL> alter system set cluster_database=true scope=spfile sid='*'.db ora.ons ora.goodus1.goodus2. DB Parameter TYPE ----------boolean integer integer integer string string integer string string VALUE -----------------------------FALSE 0 0 show parameter NAME -----------------------------------O7_DICTIONARY_ACCESSIBILITY active_instance_count aq_tm_processes archive_lag_target asm_diskgroups asm_diskstring asm_power_limit asm_preferred_read_failure_groups audit_file_dest 1 /oracle/db/admin/GOODUS/adump .gsd ora.

11gR2 RAC Installation Manual audit_sys_operations audit_syslog_level audit_trail background_core_dump background_dump_dest backup_tape_io_slaves bitmap_merge_area_size blank_trimming buffer_pool_keep buffer_pool_recycle cell_offload_compaction cell_offload_decryption cell_offload_parameters cell_offload_plan_display cell_offload_processing cell_partition_large_extents circuits client_result_cache_lag client_result_cache_size cluster_database cluster_database_instances cluster_interconnects commit_logging commit_point_strength commit_wait commit_write compatible control_file_record_keep_time control_files control_management_pack_access core_dump_dest cpu_count create_bitmap_area_size create_stored_outlines cursor_sharing cursor_space_for_time db_16k_cache_size db_2k_cache_size db_32k_cache_size db_4k_cache_size db_8k_cache_size db_block_buffers db_block_checking db_block_checksum db_block_size db_cache_advice db_cache_size db_create_file_dest db_create_online_log_dest_1 db_create_online_log_dest_2 db_create_online_log_dest_3 db_create_online_log_dest_4 db_create_online_log_dest_5 db_domain db_file_multiblock_read_count db_file_name_convert db_files db_flash_cache_file db_flash_cache_size boolean string string string string boolean integer boolean string string string boolean string string boolean string integer big integer big integer boolean integer string string integer string string string integer string string string integer integer string string boolean big integer big integer big integer big integer big integer integer string string integer string big integer string string string string string string string integer string integer string big integer FALSE DB partial /oracle/db/diag/rdbms/goodus/GOODUS1/trace FALSE 1048576 FALSE ADAPTIVE TRUE AUTO TRUE DEFAULT 3000 0 TRUE 2 1 11.0.0.0 7 /dev/rk2coredo39_lv.69 – . /dev/rk2coredo40_lv DIAGNOSTIC+TUNING /oracle/db/diag/rdbms/goodus/GOODUS1/cdump 8 8388608 EXACT FALSE 0 0 0 0 0 0 FALSE TYPICAL 8192 ON 10G 16 1000 0 .2.

dat FALSE /oracle/db TRUE 60 33120 TRUE FALSE 0 240 LOW FALSE asynch 2 FALSE 1 131072 0 TRUE GOODUS1 1 RDBMS TRUE 0 320M 0 1 320M NONE no 0 0 0 GOODUS .dat /oracle/db/11g/dbs/dr2GOODUS.11gR2 RAC Installation Manual db_flashback_retention_target db_keep_cache_size db_lost_write_protect db_name db_recovery_file_dest db_recovery_file_dest_size db_recycle_cache_size db_securefile db_ultra_safe db_unique_name db_writer_processes dbwr_io_slaves ddl_lock_timeout deferred_segment_creation dg_broker_config_file1 dg_broker_config_file2 dg_broker_start diagnostic_dest disk_asynch_io dispatchers distributed_lock_timeout dml_locks dst_upgrade_insert_conv enable_ddl_logging event fal_client fal_server fast_start_io_target fast_start_mttr_target fast_start_parallel_rollback file_mapping fileio_network_adapters filesystemio_options fixed_date gcs_server_processes global_context_pool_size global_names global_txn_processes hash_area_size hi_shared_memory_address hs_autoregister ifile instance_groups instance_name instance_number instance_type java_jit_enabled java_max_sessionspace_size java_pool_size java_soft_sessionspace_limit job_queue_processes large_pool_size ldap_directory_access ldap_directory_sysauth license_max_sessions license_max_users license_sessions_warning listener_networks local_listener integer big integer string string string big integer big integer string string string integer integer integer boolean string string boolean string boolean string integer integer boolean boolean string string string integer integer string boolean string string string integer string boolean integer integer integer boolean file string string integer string boolean integer big integer integer integer big integer string string integer integer integer string string 1440 0 NONE GOODUS 0 0 PERMITTED OFF GOODUS 1 0 0 TRUE /oracle/db/11g/dbs/dr1GOODUS.70 – .

0.11gR2 RAC Installation Manual lock_name_space lock_sga log_archive_config log_archive_dest log_archive_dest_1 log_archive_dest_state_1 log_archive_duplex_dest log_archive_format log_archive_local_first log_archive_max_processes log_archive_min_succeed_dest log_archive_start log_archive_trace log_buffer log_checkpoint_interval log_checkpoint_timeout log_checkpoints_to_alert log_file_name_convert max_dispatchers max_dump_file_size max_enabled_roles max_shared_servers memory_max_target memory_target nls_calendar nls_comp nls_currency nls_date_format nls_date_language nls_dual_currency nls_iso_currency nls_language nls_length_semantics nls_nchar_conv_excp nls_numeric_characters nls_sort nls_territory nls_time_format nls_time_tz_format nls_timestamp_format nls_timestamp_tz_format object_cache_max_size_percent object_cache_optimal_size olap_page_pool_size open_cursors open_links open_links_per_instance optimizer_capture_sql_plan_baselines optimizer_dynamic_sampling optimizer_features_enable optimizer_index_caching optimizer_index_cost_adj optimizer_mode optimizer_secure_view_merging optimizer_use_invisible_indexes optimizer_use_pending_statistics optimizer_use_sql_plan_baselines os_authent_prefix os_roles string boolean string string string string string string boolean integer integer boolean integer integer integer integer boolean string integer string integer integer big integer big integer string string string string string string string string string string string string string string string string string integer integer big integer integer integer integer boolean integer string integer integer string boolean boolean boolean boolean string boolean FALSE location=/arch1 enable arch_%t_%r_%s.1 0 100 ALL_ROWS TRUE FALSE FALSE TRUE ops$ FALSE .2.arc TRUE 4 1 FALSE 0 22716416 0 1800 FALSE unlimited 150 0 0 BINARY AMERICAN BYTE FALSE AMERICA 10 102400 0 3500 4 4 FALSE 2 11.71 – .

72 – .11gR2 RAC Installation Manual parallel_adaptive_multi_user parallel_automatic_tuning parallel_degree_limit parallel_degree_policy parallel_execution_message_size parallel_force_local parallel_instance_group parallel_io_cap_enabled parallel_max_servers parallel_min_percent parallel_min_servers parallel_min_time_threshold parallel_server parallel_server_instances parallel_servers_target parallel_threads_per_cpu permit_92_wrap_format pga_aggregate_target plscope_settings plsql_ccflags plsql_code_type plsql_debug plsql_optimize_level plsql_v2_compatibility plsql_warnings pre_page_sga processes query_rewrite_enabled query_rewrite_integrity rdbms_server_dn read_only_open_delayed recovery_parallelism recyclebin redo_transport_user remote_dependencies_mode remote_listener remote_login_passwordfile remote_os_authent remote_os_roles replication_dependency_tracking resource_limit resource_manager_cpu_allocation resource_manager_plan result_cache_max_result result_cache_max_size result_cache_mode result_cache_remote_expiration resumable_timeout rollback_segments sec_case_sensitive_logon sec_max_failed_login_attempts sec_protocol_error_further_action sec_protocol_error_trace_action sec_return_server_release_banner serial_reuse service_names session_cached_cursors session_max_open_files sessions boolean boolean string string integer boolean string boolean integer integer integer string boolean integer integer integer boolean big integer string string string boolean integer boolean string boolean integer string string string boolean integer string string string string string boolean boolean boolean boolean integer string integer big integer string integer integer string boolean integer string string boolean string string integer integer integer TRUE FALSE CPU MANUAL 16384 FALSE GOODUS1 FALSE 160 0 0 AUTO TRUE 2 64 2 TRUE 5G IDENTIFIERS:NONE INTERPRETED FALSE 2 FALSE DISABLE:ALL FALSE 5000 TRUE enforced FALSE 0 on TIMESTAMP EXCLUSIVE FALSE FALSE TRUE FALSE 8 5 52448K MANUAL 0 0 TRUE 10 CONTINUE TRACE FALSE disable GOODUS 500 10 7528 .

11g R2 RAC 에 비록 GNS. 마치며 이상으로. 11gR2 RAC 를 RAWDEVICE 를 이용하여 구성하여 보았습니다.73 – . SCAN. rawdevice 로 환경 을 구성하였습니다. 10g RAC 환경과 유사하게 scan 과 gns 를 제거하고. CFS 를 이용하여 OCR 과 VOTE 를 생성하고. ACFS 등 여러 개념이 새로 나왔지만.11gR2 RAC Installation Manual sga_max_size sga_target shadow_core_dump shared_memory_address shared_pool_reserved_size shared_pool_size shared_server_sessions shared_servers skip_unusable_indexes smtp_out_server sort_area_retained_size sort_area_size spfile sql92_security sql_trace sqltune_category standby_archive_dest standby_file_management star_transformation_enabled statistics_level streams_pool_size tape_asynch_io thread timed_os_statistics timed_statistics trace_enabled tracefile_identifier transactions transactions_per_rollback_segment undo_management undo_retention undo_tablespace use_indirect_data_buffers use_sigio user_dump_dest utl_file_dir workarea_size_policy xml_db_events big integer big integer string integer big integer big integer integer integer boolean string integer integer string boolean boolean string string string string string big integer boolean integer integer boolean boolean string integer integer string integer string boolean boolean string string string string 16096M 0 partial 0 256M 5G 0 TRUE 0 65536 /dev/rk2coredo38_lv FALSE FALSE DEFAULT ?/dbs/arch MANUAL FALSE TYPICAL 0 TRUE 1 0 TRUE TRUE 8280 5 AUTO 21600 UNDOTBS1 FALSE TRUE /oracle/db/diag/rdbms/goodus/GOODUS1/trace AUTO enable 10. GPnP. . 차후 RAWDEVICE 로 전환하는 것도 크게 다르지 않기 때문에 기존과 같이 RAWDEVICE 로 11gR2 RAC 를 구축하려는 분들께 조금이나마 도움이 되길 바랍니다. 이 문서상에서 최대한 기존에 사용 중이던. 국내에서 주로 사용하는 최대 4 노드 이하의 RAC 환경에서 크게 이점이 있는 부분인지는 고민이 필요할 듯 합니다. 특히나 이해가 어려운 부분이 네트 웍 환경 설정에 관한 부분 인 듯 합니다. 이 문서에선 언급되지 않았지만. SCAN 을 이용하여 모든 CLIENT 에서 접속을 단순화 하고 서버측에서 LOAD BALANCING 을 하겠다는 것은 일견 편리한 듯 보이지만.

Sign up to vote on this title
UsefulNot useful