문서 제목

Similar documents
歯815설치1.PDF

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O

62

목 차

Microsoft PowerPoint - Linux_10gRAC_3Node

untitled

Simplify your Job Automatic Storage Management DB TSC

오라클 데이터베이스 10g 핵심 요약 노트

Oracle Database 10g: Self-Managing Database DB TSC

AKG 설 맞이 사내 특판 이벤트

Copyright 2012, Oracle and/or its affiliates. All rights reserved.,.,,,,,,,,,,,,.,...,. U.S. GOVERNMENT END USERS. Oracle programs, including any oper

슬라이드 1

ODS-FM1

PCServerMgmt7

untitled

Remote UI Guide

Copyright 2012, Oracle and/or its affiliates. All rights reserved.,,,,,,,,,,,,,.,..., U.S. GOVERNMENT END USERS. Oracle programs, including any operat

목차 1. 시스템구성 개요 정의 목적 환경 준비사항 Oracle Install configuration Xshell 에

본문서는 초급자들을 대상으로 최대한 쉽게 작성하였습니다. 본문서에서는 설치방법만 기술했으며 자세한 설정방법은 검색을 통하시기 바랍니다. 1. 설치개요 워드프레스는 블로그 형태의 홈페이지를 빠르게 만들수 있게 해 주는 프로그램입니다. 다양한 기능을 하는 플러그인과 디자인

最即時的Sybase ASE Server資料庫診斷工具

chapter1,2.doc

소개 TeraStation 을 구입해 주셔서 감사합니다! 이 사용 설명서는 TeraStation 구성 정보를 제공합니다. 제품은 계속 업데이트되므로, 이 설명서의 이미지 및 텍스트는 사용자가 보유 중인 TeraStation 에 표시 된 이미지 및 텍스트와 약간 다를 수

SQL Developer Connect to TimesTen 유니원아이앤씨 DB 기술지원팀 2010 년 07 월 28 일 문서정보 프로젝트명 SQL Developer Connect to TimesTen 서브시스템명 버전 1.0 문서명 작성일 작성자

CD-RW_Advanced.PDF

Solaris Express Developer Edition

목차 BUG offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate

PowerPoint Presentation

Backup Exec

세미나(장애와복구-수강생용).ppt

MS-SQL SERVER 대비 기능

슬라이드 1

10X56_NWG_KOR.indd

Assign an IP Address and Access the Video Stream - Installation Guide

The Self-Managing Database : Automatic Health Monitoring and Alerting

Sun Java System Messaging Server 63 64

R50_51_kor_ch1

01Àå

Copyright 2004 Sun Microsystems, Inc Network Circle, Santa Clara, CA U.S.A..,,. Sun. Sun. Berkeley BSD. UNIX X/Open Company, Ltd.. Sun, Su

PRO1_09E [읽기 전용]

Oracle9i Real Application Clusters

초보자를 위한 ADO 21일 완성

목차 제 1 장 inexio Touch Driver소개 소개 및 주요 기능 제품사양... 4 제 2 장 설치 및 실행 설치 시 주의사항 설치 권고 사양 프로그램 설치 하드웨

PRO1_02E [읽기 전용]

Jerry Held

ENT5_ora11g_R2_ hwp

Microsoft Word - 10g RAC on Win2k.doc

슬라이드 1

데이터베이스_오라클_부록(최종).indd

문서 대제목

05Àå

PowerPoint Presentation

휠세미나3 ver0.4

슬라이드 1

solution map_....

Advanced Product Service

K7VT2_QIG_v3

untitled

Portal_9iAS.ppt [읽기 전용]

Microsoft Word - 기술노트36_11g R1 Clusterware를 이용한 Oracle HA 구성 _최종본_.doc

vm-웨어-01장

MySQL-Ch10

1. efolder 시스템구성 A. DB B. apache - mod-perl - PHP C. SphinxSearch ( 검색서비스 ) D. File Storage 2. efolder 설치순서 A. DB (MySQL) B. efolder Service - efolder

Corporate PPT Template

Document Server Information Items Description Test Date 2011 / 05 / 31 CPU Intel(R) Xeon(R) CPU 2.40GHz X 8 Main Memory 1GB O/S version OEL 5.

Oracle Database 11g R2 Installation Guide for OEL5(x86) Writer : 이경호

Microsoft PowerPoint - Tech-iSeminar_10g_RAC_CRS.ppt

GNU/Linux 1, GNU/Linux MS-DOS LOADLIN DOS-MBR LILO DOS-MBR LILO... 6

Oracle Regular Expression

Microsoft Word - CNVZNGWAIYSE.docx

untitled

Windows 네트워크 사용 설명서

MPLAB C18 C

Interstage5 SOAP서비스 설정 가이드

다음 사항을 꼭 확인하세요! 도움말 안내 - 본 도움말에는 iodd2511 조작방법 및 활용법이 적혀 있습니다. - 본 제품 사용 전에 안전을 위한 주의사항 을 반드시 숙지하십시오. - 문제가 발생하면 문제해결 을 참조하십시오. 중요한 Data 는 항상 백업 하십시오.

MySQL-Ch05

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>

Interstage4 설치가이드

DE1-SoC Board

APOGEE Insight_KR_Base_3P11

28 THE ASIAN JOURNAL OF TEX [2] ko.tex [5]

<목 차 > 제 1장 일반사항 4 I.사업의 개요 4 1.사업명 4 2.사업의 목적 4 3.입찰 방식 4 4.입찰 참가 자격 4 5.사업 및 계약 기간 5 6.추진 일정 6 7.사업 범위 및 내용 6 II.사업시행 주요 요건 8 1.사업시행 조건 8 2.계약보증 9 3

Tablespace On-Offline 테이블스페이스 온라인/오프라인

<BED5BACEBCD32E696E6464>

manual pdfÃÖÁ¾

Microsoft Word - 기술노트[06회] 9i (R2) RAC 구성 on sun Cluster.doc

6주차.key

untitled

I T C o t e n s P r o v i d e r h t t p : / / w w w. h a n b i t b o o k. c o. k r

Sena Technologies, Inc. HelloDevice Super 1.1.0


Integ

untitled

PowerPoint 프레젠테이션

LXR 설치 및 사용법.doc

본 기기에 대하여 언제, 어디서나 자유롭게 LG 넷하드를 구입해주셔서 감사합니다. LG 넷하드는 인터넷이 연결된 곳이라면 언제 어디서나 자유롭게 파일을 저장하고 공유할 수 있는 장치입니다. 2

01장

8 장데이터베이스 8.1 기본개념 - 데이터베이스 : 데이터를조직적으로구조화한집합 (cf. 엑셀파일 ) - 테이블 : 데이터의기록형식 (cf. 엑셀시트의첫줄 ) - 필드 : 같은종류의데이터 (cf. 엑셀시트의각칸 ) - 레코드 : 데이터내용 (cf. 엑셀시트의한줄 )

uFOCS

PRO1_04E [읽기 전용]

ARMBOOT 1

Transcription:

1 : Oracle9i JRE(Java Runtime Environment) OUI(Oracle Universal Installer) OS 25MB Memory 512 MB RAM # grep MemTotal /proc/meminfo Swap Space RAM 2 400 MB # /sbin/swapon s CD-ROM Drive Disk Space Temporary Disk Space LINUX CD-ROM Oracle 9i 25 GB 1 GB /tmp directory 400 MB Free 400 MB TEMP (Oracle) TMPDIR(OS program ) H/W Oracle 9010 for Linux 1

OS SuSE 72 (Kernel 244) System Libraries GNU C Library version 22 Operating System Patches JRE Sun JRE 131 JDK Oracle HTTP Server Powered by Apache uses Sun JDK 131 and Blackdown 118_v3 Oracle 9010 for Linux 2

2 SuSE 72 root Linux 9i SGA(System Global Area) Linux IPC(Interprocess Commuication) SGA 1 ipcs, 2 (SHMMAX) (SHMMNI) (SHMSEG) (SHMMNS) SHMMAX * SHMSEG init<sid>ora init<sid>ora Kernel Parameter root # cd /proc/sys/kernel # cat sem 250 32000 32 128 Oracle 9010 for Linux 3

# echo SEMMSL_value SEMMNS_value SEMOPM_value SEMMNI_value > sem # cat shared_memory_parameter # echo 2147483648 > shmmax oracle 9i SHMMAX 2147483648 (, 2 GB ) SHMMIN 1 ( ) SHMMNI 100 SHMSEG 4096 SEMMNS 256 SEMMNI 100 SEMMNI SEMMSL PROCESSES 10 SEMOPM 100 Semop call operations SEMVMX 32767, Linux Oracle 9010 for Linux 4

Oracle 9i RAC 2 3 Kernel Rebuild (FC HBA driver, Softdog Modules ) 4 5 - - - - < > LINUX Oracle 9010 for Linux 5

Database Administrator LINUX groupadd dba, [root /]# groupadd -g 5000 dba /etc/group dba LINUX useradd oracle ID oracle DBA ORACLE_HOME /bin/bash, /bin/sh, /bin/csh, /bin/ksh LINUX oracle, /home1/oracle Oracle 9010 for Linux 6

oracle oracle profile cshrc ORACLE_HOME LD_LIBRARY_PATH Shared Library LD_LIBARARY_PATH $ORACLE_HOME/lib ORACLE_SID Oracle Oracle System Identifier(SID) PATH $ORACLE_HOME/bin, /bin, /usr/bin NLS_LANG Oracle DISPLAY Oracle Universal Installer Servername name IP address,x Server, Screen ## Environment variables for Oracle export ORACLE_HOME=/home/oracle/ export NLS_LANG=AMERICAN_AMERICAKO16KSC5601 export PATH=$PATH:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib export ORACLE_SID=RAC1 ##CLASSPATH must include the following JRE locations: CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib Oracle 9010 for Linux 7

3 CD-ROM CD-ROM Oracle CD-ROM RockRidge CD-ROM CD-ROM root, /cdrom ( ) ) $ su root # mount t iso9660 /dev/cdrom /cdrom # exit $ oracle CD-ROM orainst orainst logout login $ cd /cdrom/oracle9i $ /runinstaller : root Oracle 9i RAC 1 Oracle 9i software install 2 RAC configuration setting 3 DBCA script 4 Database 5 Other nodes setting Oracle 9010 for Linux 8

Oracle 9i Software Install Welcome [ 3-1] Installer runinstaller Next DeInstall Products, Installed Products Oracle 9010 for Linux 9

Inventory Location [ 3-2] Inventory Location (OK) Oracle 9010 for Linux 10

Unix Group Name [ 3-3] Unix Group Name Unix Group Name DBA Next Oracle 9010 for Linux 11

OrainstRootsh [ 3-4 ] OrainstRootsh /tmp/orainstrootsh Continue Oracle 9010 for Linux 12

File Locations [ 3-5 ] File Location ORACLE_HOME Next ORACLE_BASE Path: ORACLE_BASE ( :/home/ora815) (OK) Oracle 9010 for Linux 13

Available Products [ 3-6 ] Available Products Oracle9i 90100 Client/Server Client OUI Oracle9i Client Product Language Oracle 9010 for Linux 14

Product Language [ 3-7 ] Product Language Korean > OK [ 3-6 ] Next Oracle 9010 for Linux 15

Installation Types [ 3-8 ] Installation Types Typical Minimal Custom ORACLE 9i RAC Custom Oracle 9010 for Linux 16

Available Product Components [ 3-9 ] Available Product Components 9i RAC Oracle 9i Real Application Clusters 90100 Enterprise Oracle Management Server repository Database Oracle 9010 for Linux 17

Component Locations [ 3-10 ] Component Locations Next Oracle 9010 for Linux 18

Shared Configuration File Name [ 3-11 ] Shared Configuration File Name Oracle 9i RAC quorum raw device Next Oracle 9010 for Linux 19

Cluster Nodes Selection [ 3-12 ] Cluster Nodes Selection Oracle 9i RAC node Primary node software node software node Next node rcp rsh Oracle 9010 for Linux 20

Privileged Operating System Groups [ 3-13 ] Privileged Operating System Groups OS GROUP DBA NEXT Oracle 9010 for Linux 21

JDK Home Directory [ 3-14 ] JDK Home Directory JDK Next Oracle 9010 for Linux 22

Summary [ 3-15 ] Summary Oracle 9010 for Linux 23

DBA Group [ 3-16 ] Install Oracle 9010 for Linux 24

CDROM Change [ 3-17 ] Cdrom change CD (/mnt mount ) #umount /mnt or eject (Auto mount ) #mount /dev/cdrom /mnt OK Oracle 9010 for Linux 25

Setup Privileges [ 3-18 ] Setup Privileges rootsh script root /var/opt/oracle direcory chown owner group rootsh script OK # mkdir /var/opt/oracle # chown oracle9i:dba /var/opt/oracle # cd $ORACLE_HOME #/rootsh Oracle 9010 for Linux 26

End of Installation [ 3-20 ] End of Installation Oracle Software install Install Next Install Exit Oracle 9010 for Linux 27

RAC Configuration Setting Cluster Software platform Linux Oracle nmcfgora, ocmargsora file root Cluster Software node node $ cd $ORACLE_HOME/oracm/admin (node1 ) DefinedNodes : RAC node (/etc/hosts file machine name ) CmDiskFile : Shared Configuration File Name CmHostName : hostname ClusterName : Cluster name PollInterval : node Cluster Manager Server Member (milliseconds) $ vi ocmargsora # Sample Configuration file $ORACLE_HOME/oracm/admin/ocmargsora watchdogd -l 0 -g oinstall -e /opt/oracle/oracm/log/wdd-node1log oranm /e:/opt/oracle/oracm/log/nm-node1log oracm /e:/opt/oracle/oracm/log/cm-node1log /a:0 norestart 5 node log setting Clusert Server startup $ cd $ORACLE_HOME/oracm/bin $ su -- root #/ocmstartsh node nm-node2log NODE(0) IS ACTIVE MEMBER OF CLUSTER NODE(1) IS ACTIVE MEMBER OF CLUSTER Oracle 9010 for Linux 28

DBCA Scripts Database DBCA Welcome [ 4 1 ] DBCA Welcome Database Configuration Assitant Welcome Single Instance Oracle Database Next Oracle 9010 for Linux 29

Operations [ 4-2 ] Operations DBCA Wizard Database Create database Next Oracle 9010 for Linux 30

Database Templates [ 4 3 ] Database Templates New Database Next Oracle 9010 for Linux 31

Database Identification [ 4-4 ] Database Identification Oracle (SID) Next Oracle 9010 for Linux 32

Database Options [ 4 5 ] Database Options Database Next Oracle 9010 for Linux 33

Database Connection Options [ 4-6 ] Database Connection Options (Shared Service Mode), Multi-Threaded Server (Dedicated Server Mode) Dedicated Server Mode Next Oracle 9010 for Linux 34

Initialization Parameters [ 4 7 ] Initialization Parameters SGA SGA 1/2 All Initialization Parameters Oracle 9010 for Linux 35

Initialization Parameters (DB Sizing) [ 4 8 ] Database Sizing Database Archive tab Data block OLTP (2048), DSS 16K (Hybrid) Character Sets (National Character Set) AL16UTF16 Oracle 9010 for Linux 36

Initialization Parameters (File Locations) [ 4 9 ] File Locations Trace Directory Next Spfile uncheck Oracle 9010 for Linux 37

Database Storage [ 4 10 ] Database Storage Control file, Redolog file, Raw device control file options MAXDATAFILES, MAXINSTANCES, MAXLOGHISTORY, MAXLOGFILES Next Oracle 9010 for Linux 38

Creation Options [ 4 11 ] Create Options Database, Generate Database Creation Scripts Finish Oracle 9010 for Linux 39

Summary [ 4 12 ] Summary OK Oracle 9010 for Linux 40

Completed Scripts [ 4 13 ] Completed Scripts Scripts No Oracle 9010 for Linux 41

Create Database Scripts krcompaq:/home1/dbtech/home/admin/rac/scripts> ls -al -rw-r--r-- 1 dbtech dba 782 Sep 3 15:35 CreateDBsql -rw-r--r-- 1 dbtech dba 731 Sep 3 15:35 CreateDBCatalogsql -rw-r--r-- 1 dbtech dba 1387 Sep 3 15:35 CreateDBFilessql -rw-r--r-- 1 dbtech dba 969 Sep 3 15:35 JServersql -rw-r--r-- 1 dbtech dba 1165 Sep 3 15:35 RAC1sh -rw-r--r-- 1 dbtech dba 357 Sep 3 15:35 contextsql -rw-r--r-- 1 dbtech dba 1133 Sep 3 15:35 demoschemassql -rw-r--r-- 1 dbtech dba 2824 Sep 3 15:35 initora -rw-r--r-- 1 dbtech dba 174 Sep 3 15:35 intermediasql -rw-r--r-- 1 dbtech dba 169 Sep 3 15:35 ordinstsql -rw-r--r-- 1 dbtech dba 197 Sep 3 15:35 postdbcreationsql -rw-r--r-- 1 dbtech dba 150 Sep 3 15:35 spatialsql -rw-r--r-- 1 dbtech dba 245 Sep 3 15:35 ultrasearchsql CreateDBsql MAXDATAFILES, MAXINSTANCES, MAXLOGHISTORY, MAXLOGFILES Initora file cluster_database= true cluster_database_instances=2 thread=1 instance_name=rac1 instance_number=1 undo_tablespace = UNDOTBS1 RAC1sh RAC1sh Database node scrips $ sqlplus /nolog connect SYS/change_on_install as SYSDBA set echo on spool /opt/oracle/admin/rac/create/createclustdbviewslog @$ORACLE_HOME/rdbms/admin/catclustdbsql; spool off; rem Oracle9i: Redo log files for Second Instance (sample) alter database add logfile thread 2 group 4 '/dev/opsthr2grp4mem1rdo' size 5m; alter database add logfile thread 2 group 5 '/dev/opsthr2grp5mem1rdo' size 5m; alter database add logfile thread 2 group 6 '/dev/opsthr2grp6mem1rdo' size 5m; alter database enable thread 2; rem Oracle9i: Undo Tablespace for Second Instance (sample) create undo tablespace undotbs2 datafile '/dev/racundo02dbf' size 20m extent management local autoallocate; Oracle 9010 for Linux 42

Other Node Setting node Oracle node rcp ORACLE_SID = RAC2 node $ cd $ORACLE_HOME $ rcp R node1:/home/oracle/oracm $ cd $ORACLE_HOME/oracm/admin ocmargsora, nmcfgora file node2 ( Cluster Software setup ) $ cd $ORACLE_HOME $ rcp R node1:/home/oracle/admin $ cd $ORACLE_HOME/dbs $ ln s $ORACLE_HOME/admin/RAC/scripts/initora initrac2ora initrac2ora file cluster_database= true cluster_database_instances=2 thread=1 instance_name=rac2 instance_number=2 undo_tablespace = UNDOTBS2 Database startup Node1/Node2 restart Oracle Cluster software root (RAC Configuration Setting ) $ sqlplus /nolog SQL> startup SQL> select host_name, instance_name from gv$instance; HOST_NAME INSTANCE_NAME ---------- ---------------- node1 RAC1 node2 RAC2 Oracle 9010 for Linux 43