Transcript
Page 1: Enterprise Manager Grid Control

Author ๋ฐ•๋•์šฐ ๊ณผ์žฅ, ๋…ธ์žฌ๊ตฌ ๋Œ€๋ฆฌ

Creation Date 2010-05-03

Last Updated

Version 1.0

Copyright(C) 2009 Goodus Inc.

All Rights Reserved

๊ธฐ์ˆ ๋…ธํŠธ 48 ํšŒ

Enterprise Manager Grid Control

Page 2: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 2 -

Contents

1. GRID CONTROL OVERVIEW ............................................................................................................................. 5

1.1. WHAT IS ENTERPRISE MANAGER 10G GRID CONTROL? .......................................................................................................... 5

1.1.1. Key Challenges for Administrator ............................................................................................................................. 5

1.1.2. What is Enterprise Manager Grid Control? .......................................................................................................... 5

1.1.3. Enterprise Manager Grid Control Features ........................................................................................................... 6

1.1.4. Expected Effect of Enterprise Manager Grid Control ...................................................................................... 6

1.2. ENTERPRISE MANAGER 10G GRID CONTROL ARCHITECTURE ................................................................................................. 8

1.2.1. Web Based Application.................................................................................................................................................. 8

1.2.2. Grid Control Architecture .............................................................................................................................................. 8

1.2.3. Managed Targets ............................................................................................................................................................ 10

2. GRID CONTROL INSTALLATION .................................................................................................................... 10

2.1. INSTRALLATION OVERVIEW .......................................................................................................................................................... 10

2.2. PREINSTRALLATION CHECKS ........................................................................................................................................................ 11

2.2.1. Hardware Requirements .............................................................................................................................................. 11

2.2.2. Network Ports .................................................................................................................................................................. 11

2.2.3. Grid Control Directory Structure (Unix) ................................................................................................................ 11

2.2.4. Grid Control Certification Matrix ............................................................................................................................. 11

2.3. ORACLE MANAGEMENT REPOSITORY INSTALLATION .............................................................................................................. 14

2.3.1. Management Repository Install Process .............................................................................................................. 14

2.3.2. Install & Configure Repository Database ............................................................................................................ 15

2.4. ORACLE MANAGEMENT SERVICE INSTALLATION...................................................................................................................... 21

2.4.1. OMS(Oracle Management Service Installation ................................................................................................. 21

2.4.2. Contact Enterprise Manager Grid Contring Using Your Internet Browser .......................................... 26

2.5. ORACLE MANAGEMENT AGENT INSTALLATION ....................................................................................................................... 27

2.5.1. Oracle Management Agent (OMA) may be installed .................................................................................... 27

2.5.2. Oracle Management Agent Installation from the Grid Control product CDs (Unix) ...................... 27

2.5.3. Deploying an Agent on another server ............................................................................................................... 33

2.5.4. Agent Status Check ....................................................................................................................................................... 35

2.5.5. Rediscover or Reconfigure Agent ........................................................................................................................... 36

2.5.6. Securing Agent ................................................................................................................................................................ 36

3. MANAGING THE GRID CONTROL COMPONENTS .................................................................................... 37

3.1. STARTING UP AND SHUTTING DOWN THE GRID CONTROL. ................................................................................................. 37

3.1.1. Control Utilites ................................................................................................................................................................. 37

3.1.2. Starting Up the Grid Control..................................................................................................................................... 37

3.1.3. Shutting Down the Grid Control ............................................................................................................................. 38

Page 3: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 3 -

3.1.4. Loading Grid Control on OS Booting ................................................................................................................... 39

3.2. GRID CONTROL CONFIGURATION .............................................................................................................................................. 40

3.2.1. Configuring Database Targets .................................................................................................................................. 40

3.2.2. Changing Registration Passwrod ............................................................................................................................ 43

3.2.3. Creating Grid Control Super Adminstrator and Administrator ................................................................. 43

3.2.4. Setup Prefered Credential .......................................................................................................................................... 45

4. MANAGING HOSTS ......................................................................................................................................... 46

4.1. HOST INFOMATION ....................................................................................................................................................................... 46

4.1.1. Host Home page ............................................................................................................................................................ 46

4.1.2. Host Availability ............................................................................................................................................................... 47

4.1.3. Hardware Detail Information ..................................................................................................................................... 48

4.1.4. Operating System Detail Information ................................................................................................................... 49

4.1.5. Alert History ...................................................................................................................................................................... 50

4.2. HOST PERFORMANCE .................................................................................................................................................................... 51

4.2.1. Performance Summary ................................................................................................................................................. 51

4.2.2. Detail Information .......................................................................................................................................................... 51

4.3. HOST MANAGEMENT .................................................................................................................................................................... 52

4.3.1. Required Installation ..................................................................................................................................................... 52

5. MANAGING DATABASE .................................................................................................................................. 58

5.1. DATABASE HOME PAGE ............................................................................................................................................................... 58

5.1.1. Database Home page ................................................................................................................................................... 58

5.1.2. Database Home Components .................................................................................................................................. 59

5.1.3. Managing Databases .................................................................................................................................................... 61

5.2. DATABASE PERFORMANCE ........................................................................................................................................................... 62

5.2.1. Monitoring Database Performance ........................................................................................................................ 62

5.2.2. Using Advisors in Grid Control ................................................................................................................................ 65

5.2.3. ADDM(Automatic Database Diagnostic Monitor) ........................................................................................... 66

5.2.4. Top Consumers ................................................................................................................................................................ 66

5.2.5. Instance Activity .............................................................................................................................................................. 67

5.2.6. Historical SQL (AWR) .................................................................................................................................................... 67

5.2.7. Active Session History (ASH) Report ..................................................................................................................... 69

5.2.8. Top Jobs .............................................................................................................................................................................. 70

5.2.9. Hang Analysis ................................................................................................................................................................... 70

5.3. DATABASE MANAGEMENT ........................................................................................................................................................... 71

5.3.1. Database Administration Features .......................................................................................................................... 71

5.3.2. Database Availablity ...................................................................................................................................................... 71

5.3.3. Storage Management ................................................................................................................................................... 72

5.3.4. Database Configuration ............................................................................................................................................... 73

Page 4: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 4 -

5.4. DATA MANAGEMENT .................................................................................................................................................................... 77

5.4.1. Database Objects ............................................................................................................................................................ 77

5.4.2. Objects Reorganization ................................................................................................................................................ 78

5.4.3. Data Masking .................................................................................................................................................................... 80

5.4.4. User Defined Types........................................................................................................................................................ 82

6. ENTERPRISE MANAGER TIP ........................................................................................................................... 83

6.1. ENTERPRISE MANAGER FRAMEWORK SECURITY ํ™—์„ฑํ™” ....................................................................................................... 83

6.2. GRID CONTROL ์—์„œ SYSMAN ์œ ์ €์˜ ํŒจ์Šค์›Œ๋“œ ๋ณ€๊ฒฝ ................................................................................................ 83

6.3. ORACLE MANAGEMENT SERVICE(OMS) ์—๋Ÿฌ์‹œ ํ™•์ธ๋กœ๊ทธ ............................................................................................... 85

6.4. ORACLE MANAGEMENT AGENT(OMA) ์—๋Ÿฌ์‹œ ํ™•์ธ๋กœ๊ทธ ................................................................................................ 85

6.5. DEBUG ๋ฅผ ์œ„ํ•œ AGENT LOGGING ๋ ˆ๋ฒจ ์กฐ์ • ...................................................................................................................... 86

7. REFERENCE ........................................................................................................................................................ 87

Page 5: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 5 -

1. Grid Control Overview

1.1. What is Enterprise Manager 10g Grid Control?

1.1.1. Key Challenges for Administrator

์˜ค๋Š˜๋‚  Data Center ์—์„œ๋Š” ๋‹ค์–‘ํ•œ ํ”Œ๋žซํผ(ํ•˜๋“œ์›จ์–ด, ๋„คํŠธ์›Œํฌ, ์Šคํ† ๋ฆฌ์ง€, ์†Œํ”„ํŠธ์›จ์–ด ๋“ฑ) ์— ๋Œ€ํ•œ ํ†ตํ•ฉ

์ ์ธ ๊ด€๋ฆฌ ์†”๋ฃจ์…˜์„ ํ•„์š”๋กœ ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

์„ฑ๋Šฅ ๋ฐ ๊ฐ€์šฉ์„ฑ์˜ ํ™•๋ณด

์žฅ์•  ๋ฐœ์ƒ์‹œ ์‹ž์†ํžˆ ๋Œ€์ฒ˜ํ•  ์ˆ˜ ์žˆ๋Š” ํ•ด๊ฒฐ์ฑ€ ์ œ๊ณต

์•ž์œผ๋กœ ๋ฐœ์ƒํ•  ๋น„์šฉ์„ ํฌํ•จ ( ์ถ”๊ฐ€ ๋น„์šฉ ์ ƒ๊ฐ )

IT์™€ ๋น„์ฆˆ๋‹ˆ์Šค ๋ผ์ธ์„ ์—ฐ๊ฒฐํ•˜์—ฌ ์šฐ์„ ์ˆš์œ„๋ฅผ ์ •ํ•จ.

1.1.2. What is Enterprise Manager Grid Control?

Enterprise Manager Grid Control 10g ๋Š” ์˜ค๋ผํด Grid ์™€ ๋ชจ๋“  ์ž‘๋™์ค‘์ธ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ๋ชจ๋“  ๋ฉด์„ ๊ด€

๋ฆฌํ•˜๊ธฐ ์œ„ํ•œ ํ†ตํ•ฉ๋œ ์†”๋ฃจ์…˜์€ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

๊ทธ๋ฆผ 1 EM ๊ตฌ์„ฑ

Page 6: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 6 -

1.1.3. Enterprise Manager Grid Control Features

๊ทธ๋ฆผ 2 EM 10g Grid Control ํ•ต์‹ฌ ๊ธฐ๋Šฅ

ํ‘œ 1 Oracle Database ๋ฅผ ์œ„ํ•œ EM ์˜ ์ฃผ์š” ๊ธฐ๋Šฅ

1.1.4. Expected Effect of Enterprise Manager Grid Control

Enterprise Manager Grid Control 10g IT ์„œ๋น„์Šค์˜ ๊ฐ€์šฉ์„ฑ๊ณผ ํ’ˆ์งˆ์„ ํ–ฅ์ƒ์‹œํ‚ค๊ณ  ์‹œ์Šคํ…œ ๊ด€๋ฆฌ๋น„์šฉ์„ ์ ˆ

๊ฐํ•˜์—ฌ ์‚ฌ๋‚ด ROA(Return of Assets)๋ฅผ ๊ทน๋Œ€ํ™” ์‹œํ‚ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํŠนํžˆ ์„ฑ๋Šฅ๋ถ„์„, DB ๊ด€๋ฆฌ, ์ตœ๊ณ ์˜ ์žฅ์• 

์˜ˆ๋ฐฉ ๋“ฑ ์ข…ํ•ฉ์ ์ธ ๊ด€๋ฆฌ๋ฅผ ์ œ๊ณตํ•จ์œผ๋กœ์จ IT ์šด์˜์˜ ์ตœ์ ์˜ ์ƒํƒœ๋ฅผ ์œ ์ง€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 7: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 7 -

๊ทธ๋ฆผ 3 IT ์šด์˜ ์ตœ์ ํ™” ๊ณผ์ •

๊ทธ๋ฆผ 4 Grid Control ์„ ์‚ฌ์šฉํ•œ DB ์ตœ์ ํ™” ์‹คํ˜„

๊ทธ๋ฆผ 5 Grid Control ๋„์ž… ํ›„ ๊ธฐ๋Œ€ ํšจ๊ณผ

Page 8: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 8 -

1.2. Enterprise Manager 10g Grid Control Architecture

1.2.1. Web Based Application

Oracle Enterprise Manager 10g Grid Control ๋Š” Web Application ๋ฐฉ์‹์œผ๋กœ ๊ตฌํ˜„๋˜์–ด ์žˆ์œผ๋ฉฐ ๊ฐ

์ธํ„ฐ๋„ท ๋ธŒ๋ผ์šฐ์ €๋ฅผ ํ†ตํ•ด ์ ‘๊ทบํ•˜์—ฌ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๊ทธ๋ฆผ 6 Grid Control Home Page

1.2.2. Grid Control Architecture

Management EM Repository ์— Management EM ๋ฅผ ์œ„ํ•œ ๋ฐ์ดํ„ฐ๋ฅผ ์ €์žฅ ๊ด€๋ฆฌํ•˜๊ณ , Management

EM Service ์™€ Agent ์™€์˜ ํ†ต์‹ž์„ ํ†ตํ•ด Enterprise Manager ์„œ๋น„์Šค ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

๊ทธ๋ฆผ 7 Grid Control Architecture

Page 9: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 9 -

๊ทธ๋ฆผ 8 Grid Control Architecture

๊ทธ๋ฆผ 9 Grid Control Architecture

Https ๋Š” http ์™€ ๊ฑฐ์˜ ๊ฐ™์ง€๋งŠ ๋ชจ๋“  ํ†ต์‹ž๋‚ด์šฉ์„ ์•”ํ˜ธํ™”ํ•˜๋Š” ๊ฒƒ์ด๋ฉฐ, s ๋Š” secure socket, ์ฆ‰ ์•†์ ‚ํ•œ ํ†ต์‹ž๋ง

์„ ๋œปํ•ฉ๋‹ˆ๋‹ค. ํ•˜์ง€๋งŠ https ์•”ํ˜ธํ™”๋ฅผ ํ•˜๋ ค๋ฉด ์›น์„œ๋ฒ„์— ๋ถ€ํ•˜๊ฐ€ ์ƒ๊ธฐ๊ณ , ํ•„์š”ํ•œ ์ธ์ฆ์„œ๋ฅผ ๋น„์‹ผ ๋ˆ์„ ์ฃผ๊ณ  ์‚ฌ

์•ผํ•˜๋ฏ€๋กœ, ์šฐ๋ฆฌ๋‚˜๋ผ ์›น์‚ฌ์ดํŠธ์—์„œ๋Š” ์ž˜ ์“ฐ์ด์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์™ธ๊ตญ์˜ ๊ธˆ์œต ์‚ฌ์ดํŠธ๋‚˜ Gmail ๋“ฑ์—์„œ๋Š” https ๋ฅผ

ํ•„์ˆ˜์ ์œผ๋กœ ์‚ฌ์šฉํ•œ๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.

Page 10: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 10 -

1.2.3. Managed Targets

Enterprise Manager 10g Grid Control ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ด€๋ฆฌ ํ•ญ๋ชฉ์„ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.

Oracle Databases

Oracle Database Listeners

Oracle Application Servers

Oracle Applications

Oracle Collaboration Suite

Most operating systems that are certified to run Oracle products

Third-party products and applications

๊ทธ๋ฆผ 10 EM ์ ์šฉ ๋ฒ”์œ„

2. Grid Control Installation

2.1. Instrallation Overview

Grid Control Framework ์„ค์น˜ ๊ณผ์ •์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

Completing preinstallation checks

Installing the OMR and OMS

Completing postinstallation configuration

Page 11: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 11 -

2.2. Preinstrallation Checks

2.2.1. Hardware Requirements

RAM

Small enterprises: 1 GB minimum, 2 GB recommended

Larger enterprises: 2 GB minimum, 4 GB recommended

Disk space

OMS : 3 GB minimum, 5GB recommended

OMR : software 2 GB minimum + database 1GB minimum

OMA: Approximately 1GB for each managed target

2.2.2. Network Ports

Oracle Management Agent Port = 3872

Enterprise Manager Central Console Port = 4889

Listener for Oracle Database(10.2.0.4) Port = 1521

2.2.3. Grid Control Directory Structure (Unix)

Grid Control ์˜ ๊ฐ ์†Œํ”„ํŠธ์›จ์–ด๋Š” ๊ธฐ๋ณธ์ ์œผ๋กœ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ๋กœ๋กœ ๊ตฌ์„ฑ๋ฉ๋‹ˆ๋‹ค.

2.2.4. Grid Control Certification Matrix

๋ฉ”ํƒ€๋งํฌ ๋ฌธ์„œ ID : 412431.1 ๋ฅผ ์ฐธ๊ณ ํ•˜๋ฉด, OMS ๋ฒ„์ ‚๋ณ„ ์„ค์น˜ ๊ฐ€๋Šฅํ•œ OS ๋ฒ„์ ‚ ๋ฐ Repository ๋ฒ„์ ‚

์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ, ๊ด€๋ฆฌ ๋Œ€์ƒ์ด ๋  ์„œ๋ฒ„์—์„œ ์„ค์น˜ ๊ฐ€๋Šฅํ•œ Agent ๋ฒ„์ ‚์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Agent ๋ฒ„์ ‚์€ EM ์œผ๋กœ ๊ด€๋ฆฌ๋  ๋Œ€์ƒ๊ณผ์˜ ํ˜ธํ™–์—ฌ๋ถ€๋ฅผ ๋ฐ˜๋“œ์‹œ ์‚ดํŽด๋ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๋‹ค์Œ์€ OMS, OMA ๋ฒ„์ ‚ ๋‘˜๋‹ค 10.2.0.5 ์ธ ๊ฒฝ์šฐ์˜ Matrix ํ‘œ์ž…๋‹ˆ๋‹ค.

OMS : 10gR5 Release : 10.2.0.5

Platform OS versions Status

Linux x86

RHEL 3.0, 4.0, 5.0 ; SLES 9, 10; OEL 4, 5; Asianux 2.0; Oracle VM (NOTE: RHEL and OEL Updates are supported Available

Page 12: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 12 -

Supported Repository Versions

Management Connectors

Browser Certifications

Supported 10gR5 Agents : 10.2.0.5

Platform OS versions Status

Linux x86

RHEL 3.0, 4.0(Metalink Note 729543.1), 5.0; SLES 9, 10; OEL4, 5; Asianux 2.0; Oracle VM (NOTE: RHEL and OEL Updates are supported Available

Windows x86 Win2k SP4; Win XP SP2; Win Server 2003 (SP2, R2); Available

Windows x86

Win2k SP4; Win Server 2003 (SP2, R2); Windows Vista; Windows 2008; Windows 2008 Hyper-V Available

Linux x64 (AMD64/EM64T)

RHEL 3.0, 4.0, 5.0; SLES 9, 10; OEL 4, 5; Oracle VM (NOTE: RHEL and OEL Updates are supported Available

Solaris SPARC (64-BIT) Solaris 8,9,10; Solaris 10 3/05 Local Container, Solaris 10 10/08 Logical Domains

Available

HP-UX Itanium 11.23, 11.31

Available

HP-UX PA-RISC (64-BIT) 11.11, 11.23, 11.31

Available

AIX 5L (64-BIT) 5.2, 5.3, 6.1

Available

For additional information on the release of other platform release dates, please

see( Metalink Note 793512.1) Available

DB Family Version Supported (RAC & StandAlone, Enterprise Edition)

DB-9.2 9.2.0.6, 9.2.0.7, 9.2.0.8

DB-10gR1 10.1.0.4 (Default), 10.1.0.5

DB-10gR2 10.2.0.2 , 10.2.0.3 (Metalink Note 9119013),10.2.0.4

DB-11g 11.1.0.6 , 11.1.0.7

NOTE: Please refer to Database Platform Certification for more

information. Oracle Enterprise Manager support for listed repositories follows the support policy - i.e. when Premier Support ends for a DB version, EM Support for the supported repository also ends. For reference, see

Oracle Lifetime Support Policy and Error Correction Policy.

Connector Connector Version Target Version Supported

HP ServiceCenter 1.0.4.0.0

HP ServiceCenter 6.1

HP Service Manager 1.0.4.0.0

HP Service Manager 7.0

HP OpenView Operations 1.0.4.0.0, 1.1.4.0.0

HP OpenView Operations Unix version 8.0.x

IBM Tivoli Enterprise Console 1.0.4.0.0

IBM Tivoli Enterprise Console versions 3.8 and 3.9

Microsoft Systems Center Operations Manager

1.0.5.0.0 Microsoft Systems Center Operations Manager version 2007

BMC Remedy Service Desk 1.0.4.0.0, 1.1.5.0.0

Remedy Service Desk IT Service Management 7.0.03 with the latest Incident Management patch, IT Service Management Patch 008

Supported Browsers

Netscape 7.2, 8.1, 9

Internet Explorer 6.0 SP2, 7.0 SP1

Mozilla 1.7

Firefox 1.0.4, 1.5, 2.0, 3.0

Safari 1.2, 3.0.4, 3.1

Page 13: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 13 -

Windows Vista; Windows 2008; Windows 2008 Hyper-V

Linux Itanium

RHEL 3.0, 4.0 (Metalink Note 729543.1), 5; SLES 9, 10 NOTE: RHEL Updates are supported Available

Linux x64 (AMD64/EM64T)

RHEL 3.0, 4.0 (Metalink Note 729543.1), 5; SLES 9, 10; OEL4 ; OEL 5; Oracle VM (NOTE: RHEL and OEL Updates are supported Available

Solaris SPARC (64-BIT)

Solaris 8,9,10; Solaris 10 3/05 Local Container, Solaris 10 10/08 Logical Domains Available

Solaris x86 Solaris 10

Available

Solaris x64 Solaris 10

Available

HP-UX Itanium 11.23, 11.31

Available

HP-UX PA-RISC (64-BIT) 11.11, 11.23, 11.31

Available

AIX 5L (64-BIT) 5.2, 5.3, 6.1

Available

Windows x64 (AMD & Xeon (EM64T)) Win XP, Win Server 2003 (SP1, SP2, R2), Windows Vista, Windows 2008

Available

Linux on Power

RHEL 4.0 (Metalink Note 729543.1), 5; SLES 9, 10 NOTE: RHEL Updates are supported Available

Linux on z System

RHEL 4.0 (Metalink Note 729543.1), 5; SLES 9, 10 NOTE: RHEL Updates are supported Available

HP Tru64 5.1 B

Available

Windows Itanium (64-BIT) Windows 2003 SP2, Windows 2008, Windows Vista

Available

For additional information on the release of other platform release dates, please see( Metalink Note 793512.1) Available

Managed Targets (select OMS & Agent Version)

NOTE: Oracle Enterprise Manager support for managing the listed targets follows the support policy for the target. When Premier Support ends for a target, Enterprise Manager Support for managing the target also ends. For reference, see Oracle Lifetime Support Policy. and Error Correction Policy."

DB Targets 8.1.7.4 9.2.0.8 10.1.0.4, 10.1.0.5 10.2.0.1 10.2.0.2, 10.2.0.3 , 10.2.0.4 11.1.0.6 , 11.1.0.7 11.2.0.1 (Metalink Note 953846.1) Content DB 10.1.3.2.0 , Content DB 10.2.0.0.0

MiddleWare Targets 9.0.4.2, 9.0.4.3 10.1.2.0.1 10.1.2.0.2(Ph 2), 10.1.2.1 PS, 10.1.2.2 PS , 10.1.2.3 10.1.3.0.0, 10.1.3.1, 10.1.3.2 10.1.3.3,10.1.3.4 Oracle Access Manager 10.1.4.0.1, 10.1.4.2 Oracle Identity Federation 10.1.4.0.1, 10.1.4.2 Oracle Identity Manager 9.0.1, 9.1.0.1 Oracle Identity Management Infrastructure 10.1.4.0.1, 10.1.4.2 (including Oracle Internet Directory) WebLogic Server 10.3.1, 10.3, 10.0.x, 9.x, 8.1.x, 7.x Coherence EE and GE 3.4.x, 3.3.x Oracle Service Bus(OSB) 10.3, 3.0, 2.6.1, 2.6 Standalone Oracle WebCache 9.0.4.0, 10.1.2.0 Oracle BPEL Process Manager 10.1.3.4,10.1.3.3, 10.1.3.1, 10.1.2 BI-EE 10.1.3.2, 10.1.3.3; BI DAC Server (BI Applications 7.9.1 to 7.9.4) Standalone Oracle HTTP Server 10.1.2.0 (Based on Apache 1.3) Apache HTTP Server 2.0

CS/Beehive Targets OCS 9.0.4.2 OCS 10.1.1 OCS 10.1.2.0.0 OCS 10.1.2.4 Beehive 1.4

Oracle-Built Management Plug-ins

Plug-in Plugin Version Target Version Supported

Microsoft SQL Server

4.0.3.0.0, 3.4.3.1.0, 3.3.3.1.0, 3.2.3.1.0, 3.1.3.1.0

Standard, Enterprise, Workgroup editions of SQL Server 2000, 2005(32- bit), 2005(64-bit running on x64 or Itanium), 2005 Cluster: Active/Active and Active/Passive, Microsoft SQL Server 2008 (32-bit),Microsoft SQL Server 2008 (64-bit) running on x64 or Itanium-based servers

F5 BigIP Local Traffic Manager 2.2.1.1.0, 2.0.1.0.0

F5 BigIP Local Traffic Manager v9.1.x

Juniper NetScreen Firewall 2.1.1.0.0, 2.0.1.0.0

NetScreen Firewalls with ScreenOS Version 5.0.0 +, ScreenOS version 5.0.0. Supported NetScreen Firewall versions:,NetScreen-5 Series,NetScreen-

Page 14: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 14 -

25/50,NetScreen-204/208,NetScreen-500,NetScreen-5200/5400,ISG Series

Checkpoint Firewall 2.1.1.0.0, 2.0.1.0.0

NG-AI (R54),NG-AI (R55),NG-AI (R60), NGX

IBM DB2

3.4.1.0.0, 3.3.1.0.0, 3.2.1.0.0, 3.1.1.0.0, 3.0.1.0.0

Single-partition IBM DB2 Universal Database (UDB) for Linux, UNIX, and Windows (LUW) Version 8.2 FixPak 2 (equivalent to version 8.1 FixPak 9) or higher.

EMC Celerra** 2.0.2.1.0

Clarion (NS 600/700 and NS 700G), Celerra Software/CLI version 5.3

Microsoft Active Directory 2.0.2.1.0, 2.0.1.0.0, 2.1.2.1.0

Windows Server 2003 Active Directory, Windows Server 2008 Active Directory

Microsoft Internet Information Services

2.0.1.0.0, 2.2.2.1.0 Internet Information Services 6.0.x. 7.0.x

Microsoft BizTalk Server 2.0.2.1.0

BizTalk Server 2004

Microsoft Commerce Server 2.0.2.1.0

All editions of Commerce Server 2002

Microsoft .NET Framework 2.0.2.2.0, 2.0.2.1.0, 2.0.1.0.0, 2.1.2.2.0

.NET Framework 1.1.x, 2.0.x, 3.0.x, 3.5.x

Microsoft Internet and Security Acceleration Server

2.0.2.1.0 All editions of ISA Server 2004

EMC Symmetrix DMX System** 1.0.3.1.0, 1.0.1.0.0

EMC Solutions Enabler 6.3.x and 6.4.x

EMC CLARiiON System** 1.1.3.0.0, 1.0.3.0.0

Navicli Version 6.24.0 +, CLARiiON CX Class Systems

VMware ESX Server 1.1.3.1.0, 1.1.3.0.0, 1.0.3.0.0

VMware ESX Server 3.0.0,3.0.1,3.0.2,3.5i

Sybase Adaptive server Enterprise 1.2.1.1.0, 1.1.1.0.0, 1.0.1.0.0

Version 12.5.4 or higher of Express (XE), Enterprise (EE), and Developer (DE) editions of Sybase Adaptive Server

Apache Tomcat 1.0.3.0.0

Apache Tomcat 6.0.x, 5.5.x, 5.0.3 through 5.0.30.

HP Oracle Exadata Storage Server 1.1.4.0.0, 1.0.3.0.0

HP Oracle Exadata Storage Server 11g Release 1 (11.1)

SAP R3

SAP R3

Dell Change Automation 1.0.4.0.0

Dell Change Automation Systems

NetApp Filer** 10.2.0.5

6.x,7.0.x

IBM WebSphere Application Server 10.2.0.5

WebSphere Application Server 6.1x, 6.0.x, 5.1.x

IBM WebSphere MQ 10.2.0.5

WebSphere MQ 6.0.x, 5.3.x

JBoss Application Server 10.2.0.5

Application Server 4.0.x, 4.2

Microsoft Exchange 10.2.0.5

Microsoft Exchange 2003

For Partner-built Plug-ins visit link (**) For additional certification details for this storage plug-in, please see MetaLink Note:465462.1

Applications Management Packs

Plug-in Target Version Supported

E-Business

Application Management Pack for Oracle E-Business Suite version 3.0*, Application Change Management Pack for Oracle E-Business Suite Version 3.0* *Patches required : 8474729, 8338853 & 8537296.

Siebel Siebel 7.7, 7.8, 8.0 on Windows, Linux, Solaris, HP UX, HP AIX Platforms Siebel 8.1.1 Application Management pack on Linux.

Click here to view Peoplesoft versions certified with Oracle Enterprise Manager

2.3. Oracle Management Repository Installation

2.3.1. Management Repository Install Process

1) Create the Oracle Inventory directory.

2) Create a new ORACLE_HOME.

3) Select the product to install. (Contain Label Security option)

4) Specify Super Administrator and Database passwords.

5) Configure MetaLink and proxy information.

6) Specify the database name and file locations.

7) Run appropriate configuration assistants.

Page 15: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 15 -

2.3.2. Install & Configure Repository Database

OMS(Oracle Management Server)๋ฅผ ์„ค์น˜ํ•˜๊ฒŒ ์•ž์„œ OMR(Oracle Management Repository)๋ฅผ ๋จผ์ €

๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค. Repository ๋ฅผ ๊ตฌ์„ฑ์‹œ OMS ์—์„œ ํ•„์š”๋กœ ํ•˜๋Š” ์˜ต์…˜์˜ ์„ค์น˜์™€ ํŒจ์น˜๋ฅผ ์šฐ์„  ์ˆ˜ํ–‰ํ•ด ๋‘

๋Š” ๊ฒƒ์€ OMS ์„ค์น˜ ์‚ฌ์ ‚์— ๊ถŒ์žฅ๋˜๋Š” ์‚ฌํ•ญ์ž…๋‹ˆ๋‹ค.

OMR ์€ ์„ค์น˜ํ•  OMS ์˜ ๋ฒ„์ ‚๊ณผ ํ˜ธํ™–๋˜๋„๋ก ํŒจ์น˜๋ฅผ ํ•ด๋‘์–ด์•ผ ํ•˜๋ฉฐ(Matix ์ฐธ์กฐ), OMR ์ž์ฒด๋Š”

Single ๋˜๋Š” RAC ๋กœ ๊ตฌ์„ฑ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

1) OS ํ™–๊ฒฝ๋ณ€์ˆ˜๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.(Unix ์ธ ๊ฒฝ์šฐ)

# Set up the ORACLE environments umask 022 set -o vi PATH=/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:. export PATH ## Oracle Environment Variables export ORACLE_BASE=/oracle/OracleHome export ORACLE_HOME=$ORACLE_BASE/db10g export OMS_HOME=$ORACLE_BASE/oms10g export AGENT_HOME=$ORACLE_BASE/agent10g export ORACLE_SID=EMREP export ORACLE_OWNER=ora10 export NLS_LANG=American_America.KO16KSC5601 export LD_LIBRARY_PATH=/usr/local/lib:$ORACLE_HOME/lib;$ORACLE_HOME/lib32 export PATH=$PATH:$ORACLE_HOME/OPatch:.:$PATH:.:$ORACLE_HOME/bin: /usr/bin:/usr/ccs/bin:/usr/local/bin:/usr/sbin:/usr/ucb #stty erase ^H #set -o vi export DISPLAY=localhost:0.0 # ๋˜๋Š” ์ž์‹ž์˜ IP, X ๋ธŒ๋ผ์šฐ์ €๊ฐ€ ์ง€์›๋˜์•ผ ํ•จ. #PS1=`hostname`:'$PWD>' alias ll='ls -laF' export LANG=C alias oh="cd $ORACLE_HOME" alias ss="sqlplus '/as sysdba'" alias emrep="export ORACLE_SID=EMREP"

Page 16: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 16 -

2) Installation ํƒ€์ž…์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค . ํƒ€์ž…์€ Custom ์„ ์„ ํƒํ•˜๊ณ , Product Languages ์˜ต์…˜์„ ์„ ํƒํ•˜

์—ฌ Korean ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

3) Product ๊ตฌ์„ฑ์š”์†Œ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. OMR ์„ ์œ„ํ•ด์„œ๋Š” Oracle Label Security ์˜ต์…˜์„ ๋ฐ˜๋“œ์‹œ

์„ ํƒํ•˜์—ฌ์•ผ ํ•ฉ๋‹ˆ๋‹ค. Enterprise Manager Database Control ์˜ต์…˜์€ ์„ค์น˜ํ•  ํ•„์š”๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.

Oracle Label Security ์˜ต์…˜์€ 8i ๋•Œ ์ฒ˜์Œ ๋‚˜์™”์œผ๋ฉฐ, ๋ฏผ๊ฐํ•œ ์ •๋ณด์— ๋Œ€ํ•œ ํฌ๊ด„์ ์ธ ๋ณดํ˜ธ ๊ธฐ๋Šฅ์„

์ œ๊ณตํ•œ๋‹ค. ์ฒ˜์Œ์—๋Š” ๊ธฐ๋ฐ€ ์ •๋ณด๋ฅผ ๋ณดํ˜ธํ•˜๊ณ ์ž ํ•˜๋Š” ์ •๋ถ€๊ธฐ๊ด€ ๋“ฑ์—์„œ ์ฃผ๋กœ ํ™—์šฉ๋˜์—ˆ์œผ๋ฉฐ,

๋‹ค๋‹จ๊ณ„ ๋ณด์•† ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜์—ฌ ์‹ค์ œ ๋ฐ์ดํ„ฐ ๋ณด์•† ๋ฐ ํ”„๋ผ์ด๋ฒ„์‹œ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•ฉ๋‹ˆ๋‹ค.

Page 17: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 17 -

4) ์†Œํ”„ํŠธ์›จ์–ด ์„ค์น˜ํ›„ Repository์šฉ DB๋ฅผ ๊ตฌ์„ฑํ•˜๋„๋ก ํ•ฉ๋‹ˆ๋‹ค.

5) ์„ค์น˜ ๊ตฌ์„ฑ ๋‚ด์šฉ์„ ๋‹ค์‹œ ํ•œ๋ฒˆ ํ™•์ธ ํ›„ ์†Œํ”„ํŠธ์›จ์–ด ์„ค์น˜๋ฅผ ์ง‚ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

( ์†Œํ”„ํŠธ์›จ์–ด ํŒจ์น˜๋ฅผ ๋จผ์ € ํ•˜๊ณ ์ž ํ•˜๋Š” ๊ฒฝ์šฐ ํŒจ์น˜ ์ดํ›„ DB๋ฅผ ์ƒ์„ฑํ•˜๋„๋ก ํ•ฉ๋‹ˆ๋‹ค.)

Page 18: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 18 -

6) ์„ค์น˜ ์ง‚ํ–‰ ํ™”๋ฉด์ด๋ฉฐ, ์„ค์น˜ ์ค‘ ์˜ค๋ฅธ์ชฝ ์ฐฝ์ด ๋ณด์ด๋ฉด root ์œ ์ €๋กœ root.sh ๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

7) ์„ค์น˜ ์‚ฌํ›„ ๊ตฌ์„ฑ์œผ๋กœ ๋ฆฌ์Šค๋„ˆ ๋ฐ DB๋ฅผ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค.

Page 19: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 19 -

8) ๋ฆฌ์Šค๋„ˆ๋ฅผ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค.(์—ฌ๊ธฐ์„œ๋Š” ์ผ๋ฐ˜์ ์ธ ๊ตฌ์„ฑ์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. LISTENER, 1521ํฌํŠธ)

9) DB๋ฅผ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค. (Custom Database๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.)

10) ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ตฌ์„ฑ์š”์†Œ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. ๋ฐ˜๋“œ์‹œ Oracle Label Security ์˜ต์…˜์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

Page 20: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 20 -

11) ์„ค์น˜ํ•  DB ๊ตฌ์„ฑ์š”์†Œ๋ฅผ ๋‹ค์‹œ ํ•œ๋ฒˆ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

12) DB๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.

13) ์„ค์น˜ ๊ฒฐ๊ณผ๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

Page 21: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 21 -

2.4. Oracle Management Service Installation

2.4.1. OMS(Oracle Management Service Installation

1) Grid Control 10.2.0.1 Product ๋””๋ ‰ํ† ๋ฆฌ์—์„œ runInstaller ๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

2) ์ด๋ฏธ ์กฒ์žฌํ•˜๋Š” DB๋ฅผ ์ด์šฉํ•˜์—ฌ Grid Control์„ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค.

$ cd /oracle/media/gc

$ ./runInstaller

Starting Oracle Universal Installerโ€ฆ

โ€ฆ

Page 22: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 22 -

3) $OMS_HOME(/oracle/OracleHomes ๊นŒ์ง€๋งŠ) ์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. agent10g ๋ฐ oms10g ๊ฐ€ ํ•˜์œ„

๋””๋ ‰ํ† ๋ฆฌ๋กœ ์ž๋™ ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค.

4) Product-Specific Prerequisite Checks

์‹œ์Šคํ…œ์˜ hostname์€ ๊ฐ€๊ธ‰์  Full Hostname (๋„์—์ธํฌํ•จ)์œผ๋กœ ํ•˜๋Š” ๊ฒƒ์„ ๊ถŒ์žฅํ•จ. ์›น์ƒ์—์„œ์˜

ํŽ˜์ด์ง€ ์ ‚ํ™–์‹œ hostname์„ ์ฐธ๊ณ ํ•ฉ๋‹ˆ๋‹ค. /etc/hosts ํŒŒ์ผ๋กœ๋ถ€ํ„ฐ hostname์ด ์ฐธ์กฐ๋˜๋ฏ€๋กœ ์„ค์น˜์ ‚์—

/etc/hosts ์— hostname์ด ๋“ฑ๋ก๋˜์–ด ์žˆ๋Š” ์ง€ ํ™•์ธ ํ•  ํ•„์š”๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 23: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 23 -

5) OMR DB๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. (OMR ์ ‘์† ์ •๋ณด๋ฅผ ์ž…๋ ฅ ํ›„ Prefill Tablespace Locations ๋ฅผ ํด๋ฆญํ•˜๋ฉด

๋‘๊ฐœ์˜ ํ…Œ์ด๋ธ”์ŠคํŽ˜์ด์Šค์˜ ๊ฒฝ๋กœ๊ฐ€ ์ž๋™ ์„ค์ •๋ฉ๋‹ˆ๋‹ค.)

๋งŠ์•ฝ ์ ‘์†์ด ๋˜์ง€ ์•Š๋Š”๋‹ค๋ฉด DB ๋ฐ ๋ฆฌ์Šค๋„ˆ์˜ ์ƒํƒœ๋ฅผ ์ฒดํฌํ•˜์‹œ๊ณ , /etc/hosts์— hostname์ด ๊ณ ์ • IP๋กœ ์„ค์ •์ด ๋˜์–ด ์žˆ๋Š”์ง€ ์ฒดํฌํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.

๋˜ํ•œ OMR์ •๋ณด๋ฅผ ์ฝ๋Š” ์ค‘ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•œ๋‹ค๋ฉด ๋‹ค์Œ ํŒŒ๋ผ๋ฉ”ํ„ฐ์™€ ํŒจํ‚ค์ง€๊ฐ€ ์„ค์ •๋˜์–ด ์žˆ๋Š”์ง€

ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. ์„ค์ •๋˜์–ด ์žˆ์ง€ ์•Š๋Š” ๊ฒฝ์šฐ์—๋Š” initSID.ora ๋˜๋Š”, spfileSID.ora ํŒŒ์ผ์„ ์ˆ˜์ •ํ•˜๊ณ ,

DBMS_SHARED_POOL Package ๋ฅผ ์„ค์น˜ํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.

SQL> ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;

SQL> ALTER SYSTEM SET aq_tm_processes=2;

SQL> @ $ORACLE_HOME/rdbms/admin/dbmspool

6) ์•”ํ˜ธ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. (Secure ๋ชจ๋“œ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Agent ์„ค์น˜์‹œ์—๋„ ํŒจ์Šค์›Œ๋“œ๋ฅผ ์š”๊ตฌํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.)

Page 24: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 24 -

7) Summary ํ™•์ธ ํ›„ ์ธ์Šคํ†จ์„ ์ง‚ํ–‰ํ•˜๋ฉฐ, ์˜ค๋ฅธ์ชฝ ์ฐฝ์ด ๋ณด์ด๋ฉด root ์œ ์ €๋กœ ์Šคํฌ๋ฆฑํŠธ๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

8) ์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด ๋‹ค์Œ ์Šคํฌ๋ฆฑํŠธ๋ฅผ root. ์œ ์ €๋กœ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

/oracle/OracleHome/oms10g/allroot.sh

/oracle/oraInventory/orainstRoot.sh (์ธ๋ฒคํ† ๋ฆฌ๋ฅผ ์ƒˆ๋กœ ๊ตฌ์„ฑํ•œ ๊ฒฝ์šฐ๋งŠ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค. )

$ su root # cd /oracle/OracleHome/oms10g # ./allroot.sh Starting to execute allroot.sh ......... Starting to execute /oracle/OracleHomes/oms10g/root.sh ...... Running Oracle10 root.sh script... The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /oracle/OracleHomes/oms10g Enter the full pathname of the local bin directory: [/usr/local/bin]: The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying dbhome to /usr/local/bin ... The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying oraenv to /usr/local/bin ... The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying coraenv to /usr/local/bin ... Adding entry to /var/opt/oracle/oratab file... Entries will be added to the /var/opt/oracle/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed. chmod: WARNING: /oracle/OracleHomes/oms10g/bin/emtgtctl2: Corresponding set-ID also disabled on file since set-ID requires execute permission Finished execution of /oracle/OracleHomes/oms10g/root.sh ...... Starting to execute /oracle/OracleHomes/agent10g/root.sh ...... Running Oracle10 root.sh script... The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /oracle/OracleHomes/agent10g Enter the full pathname of the local bin directory: [/usr/local/bin]: The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying dbhome to /usr/local/bin ... The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying oraenv to /usr/local/bin ... The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying coraenv to /usr/local/bin ... Entries will be added to the /var/opt/oracle/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed. Finished product-specific root actions. Finished execution of /oracle/OracleHomes/agent10g/root.sh ......

Page 25: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 25 -

9) Grid Control ๊ด€๋ ฆ ๊ตฌ์„ฑ์„ ์œ„ํ•œ ์„ค์น˜๊ฐ€ ์ž๋™์œผ๋กœ ์ง‚ํ–‰๋ฉ๋‹ˆ๋‹ค. ๋ชจ๋“  ๊ณผ์ •์ด ์„ฑ๊ณต์ ์œผ๋กœ ์ˆ˜ํ–‰๋˜์–ด์•ผ

ํ•˜๋ฉฐ, ์‹คํŒจ์‹œ ์ •์ƒ์ ์œผ๋กœ Grid Control์„ ๊ตฌ์„ฑํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.

10) ์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๊ตฌ์„ฑ ์ •๋ณด๋ฅผ ๋ฐ˜๋“œ์‹œ ํ™•์ธํ•˜์‹œ๊ณ  ์‚ฌ์šฉํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.

This information is also available at: /oracle/OracleHomes/oms10g/agent10g/sysman/setupinfo.txt See below for information pertaining to your Enterprise Manager installation: 1. Use the following URL to access the Enterprise Manager Grid Control: http://goodus:4889/em 2. The Enterprise Manager installation includes an Oracle Application Server instance, which is administered using a special "ias_admin" user account. The following information was defaulted for the embedded Application Server instance: Instance Name: EnterpriseManager0.new ias_admin password: This password is the same the SYSMAN account. 3. The connection details for the Enterprise Manager Repository are: Host: 127.0.0.1 Port: 1521 SID: EMREP 4. The Enterprise Manager Release Notes are located at: /oracle/OracleHomes/oms10g/agent10g/relnotes/README_EM.txt

Page 26: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 26 -

2.4.2. Contact Enterprise Manager Grid Contring Using Your Internet Browser

์›น๋ธŒ๋ผ์šฐ์ €๋ฅผ ์‹คํ–‰ํ•˜์—ฌ http://<OMS_HOSTNAME>:4889/em ๋˜๋Š”

http://<OMS_HOSTNAME>:7777/em ์œผ๋กœ ์ ‘์†ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์™ธ๋ถ€์—์„œ ์ ‘์†ํ•˜๋ ค๋Š” ๊ฒฝ์šฐ DNS์—

๋“ฑ๋ก๋˜์–ด ์žˆ๋Š” HostName์„ ์‚ฌ์šฉํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค. ๋งŠ์ผ DNS์— ๋“ฑ๋ก์ด ๋˜์–ด ์žˆ์ง€ ์•Š์€ ๊ฒฝ์šฐ

Windows ์šด์˜์ฒด์ œ์˜ hosts ํŒŒ์ผ์— EM ์„œ๋ฒ„์˜ hostname์„ ์ถ”๊ฐ€ํ•˜์…”์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๊ฒฝ๋กœ c:\windows\system32\drivers\etc\hosts

11.11.11.11 goodus

http://goodus:4889/em ๋งํฌ๋กœ ์ด๋™ํ•œ ๋’ค sysman // oracle 0 ๋กœ ์ ‘์†ํ•ฉ๋‹ˆ๋‹ค.

Page 27: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 27 -

2.5. Oracle Management Agent Installation

2.5.1. Oracle Management Agent (OMA) may be installed

OMA ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ฐฉ๋ฒ•์œผ๋กœ ์„ค์น˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Interactively from the Grid Control product CDs โ€“ (2.5.2)

Agent Deploy application

nfsagentinstall script

agentDownload script - (2.5.3)

Cluster Agent installation

Management Agent cloning

Interactive installation using OUI from Grid Control product CDs

Silent installation using the Grid Control product CDs

2.5.2. Oracle Management Agent Installation from the Grid Control product CDs (Unix)

1) OMS์„œ๋ฒ„์— agent๋ฅผ ์„ค์น˜ํ•  ์„œ๋ฒ„์˜ Host ์ •๋ณด๋ฅผ /etc/hosts์— ๋“ฑ๋กํ•ฉ๋‹ˆ๋‹ค.

2) Agent๋ฅผ ์„ค์น˜ํ•  ์„œ๋ฒ„์— OMS์— ๋Œ€ํ•œ Host ์ •๋ณด๋ฅผ /etc/hosts์— ๋“ฑ๋กํ•ฉ๋‹ˆ๋‹ค.

## Oracle Enterprise Manager 10g Grid Control - Management Server

11.11.11.11 goodus

3) ํ˜„์žฌ Oracle DB๊ฐ€ ์ด๋ฏธ ๊ตฌ์„ฑ๋˜์–ด ์žˆ๊ณ  Inventory๋ฅผ ๋ณ„๋„๋กœ ๊ตฌ์„ฑํ•˜๊ธฐ ์›ํ•œ๋‹ค๋ฉด, /etc/oraInst.loc๋ฅผ

๋ฐฑ์—…๋ฐ›๊ณ  ์ œ๊ฑฐํ•ด ๋‘ก๋‹ˆ๋‹ค.

mv /etc/oraInst.loc /etc/oraInst.loc.db

Page 28: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 28 -

4) ํ˜„์žฌ Oracle DB์˜ ๋ฒ„์ ‚์„ ์ฒดํฌํ•ฉ๋‹ˆ๋‹ค. ๋ฒ„์ ‚์— ๋”ฐ๋ผ ํ˜ธํ™– ๊ฐ€๋Šฅํ•œ ๋ฒ„์ ‚์˜ Agent๋ฅผ ์„ค์น˜ํ•ด์•ผ

ํ•ฉ๋‹ˆ๋‹ค.

(์—ฌ๊ธฐ์„œ๋Š” 10.2.0.4 ๋ฒ„์ ‚์˜ Oracle DB๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์ด๋•Œ Agent๋Š” 10.2.0.5 ๋ฒ„์ ‚์„ ์‚ฌ์šฉํ•  ์ˆ˜

์žˆ์Šต๋‹ˆ๋‹ค. )

sqlplus โ€ž/as sysdbaโ€Ÿ

-- version ์ฒดํฌ

col comp_name for a30

col product for a40

col status for a30

col version for a20

set lines 150

set pages 9999

select * from v$version;

select comp_name, version, status from dba_registry;

select * from product_component_version;

5) Grid Control ์—์„œ Oracle DB์˜ ๋ชจ๋‹ˆํ„ฐ๋งํ•˜๊ธฐ ์œ„ํ•ด DB์˜ ๋ชจ๋‹ˆํ„ฐ๋ง ์Šคํ‚ค๋งˆ dbsnmp ์˜ lock์„

ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค.

SQL> connect system/******

Connected.

SQL> alter user dbsnmp identified by dbsnmp account unlock;

User altered.

6) ํ™–๊ฒฝ ๋ณ€์ˆ˜ ๋“ฑ๋ก (.profile ๋“ฑ ์ˆ˜์ •)

OS ํ™–๊ฒฝ ๋ณ€์ˆ˜ ํŒŒ์ผ(.profile)์— ๋‹ค์Œ ํ™–๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์„ค์น˜ ์ดํ›„ ORACLE_HOME์€ ๊ธฐ์กฒ์˜

DBMS๊ฐ€ ์„ค์น˜๋œ ๊ฒฝ๋กœ๋กœ ์›์ƒ ๋ณต๊ท€ํ•ฉ๋‹ˆ๋‹ค.

export AGENT_HOME=/oracle/OracleHomes/agent10g

export ORACLE_HOME=$AGENT_HOME

export DISPLAY=11.11.11.11:0.0 โ€“ ์„ค์น˜ํ•  ์ฝ˜์†”์˜ IP

* ์„ค์น˜ํ•  ํ”Œ๋žซํผ์ด AIX 5L์ธ ๊ฒฝ์šฐ unset OBJECT_MODE ๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค. Agent ์„ค์น˜์‹œ ์ปดํŒŒ์ผ ์ค‘

์ผ๋ถ€๋Š” 32bit Library ๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ๋•Œ๋ฌธ์— ๊ฐ‚ํ˜น OBJECT_MODE=64๋กœ ์„ธํŒ…๋˜์–ด ์žˆ๋Š” ๊ฒฝ์šฐ

์ปดํŒŒ์ผ์—์„œ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

7) X Window๊ฐ€ ์‚ฌ์šฉ๊ฐ€๋Šฅํ•œ ์ƒํƒœ์—์„œ ์†Œํ”„ํŠธ์›จ์–ด๊ฐ€ ์žˆ๋Š” CD์˜ runInstaller๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

~/agent/aix/agent/runInstaller

Page 29: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 29 -

8) Additional Management Agent๋ฅผ ์„ ํƒํ•˜์—ฌ Agent ์„ค์น˜๋ฅผ ์ง‚ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

9) Agent๊ฐ€ ์„ค์น˜๋  ๋ถ€๋ชจ ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. (10g R1 Agent์˜ ๊ฒฝ์šฐ์—๋Š” ์‹ค์ œ ์„ค์น˜๋  Agent

๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์„ ํƒํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.) ๊ทธ๋ฆฌ๊ณ  ์‚ฌ์šฉํ•  Product Language๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

Agent Home : /oracle/OracleHomes/agent10g

Page 30: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 30 -

10) OMS ์„œ๋ฒ„ ์ •๋ณด๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. ์ด๋•Œ OMS ์„œ๋ฒ„์˜ ํ˜ธ์ŠคํŠธ๋ช…์„ ์ž…๋ ฅํ•ด์•ผ ํ•˜๋ฏ€๋กœ ๋ฐ˜๋“œ์‹œ ๋จผ์ €

/etc/hosts ์— OMS hostname์ด ๋“ฑ๋ก๋˜์–ด ์žˆ๋Š” ์ง€ ํ™•์ธํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๋งŠ์•ฝ OMS์™€ ํ†ต์‹ž์ด ๋˜์ง€

์•Š๋Š” ๋‹ค๋ฉด, ๋‹ค์Œ์œผ๋กœ ์ง‚ํ–‰์‹œ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

11) ์—ฐ๊ฒฐ์ด ๋˜์–ด ๋‹ค์Œ์œผ๋กœ ์ง‚ํ–‰ํ–ˆ์„ ๋•Œ ํŒจ์Šค์›Œ๋“œ๋ฅผ ์ž…๋ ฅํ•˜๋Š” ๋ž€์ด ๋œจ๋Š” ๊ฒฝ์šฐ OMS ์„ค์น˜์‹œ ๋ณด์•†

์„ค์ •์„ ํ•œ ์ƒํƒœ๋กœ https ํ”„๋กœํ† ์ฝœ๋กœ ํ†ต์‹ž์ด ๋ฉ๋‹ˆ๋‹ค. OMS ์—์„œ ์„ค์น˜์‹œ ์ž…๋ ฅํ•œ ํŒจ์Šค์›Œ๋“œ๋ฅผ

๋„ฃ์œผ์‹œ๊ณ  ์ง‚ํ–‰ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค. ํŒจ์Šค์›Œ๋“œ๊ฐ€ ํ‹€๋ฆฎ๊ฒฝ์šฐ Agent ๊ตฌ์„ฑ์‹œ agent๋ฅผ secure ๋ชจ๋“œ๋กœ ๋ณ€๊ฒฝํ•˜์—ฌ

OMS์™€ ํ†ต์‹žํ•˜๋ ค ํ•  ๋•Œ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค,

Page 31: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 31 -

12) ์„ค์น˜์ ‚ ๊ตฌ์„ฑ์„ ํ™•์ธํ•˜์‹œ๊ณ  ์„ค์น˜๋ฅผ ์ง‚ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

13) ์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด root ์œ ์ €๋กœ root.sh๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

14) ์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด Agent๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” ํ™”๋ฉด์œผ๋กœ ์ง‚ํ–‰๋ฉ๋‹ˆ๋‹ค.

Page 32: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 32 -

15) Agent๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ์„ค์น˜๋˜๋ฉด ์ž๋™์œผ๋กœ OMS์™€ ํ†ต์‹ž๋˜๋ฉฐ EM ํ™ˆํŽ˜์ด์ง€์˜ ๋Œ€์ƒ โ€“ ํ˜ธ์ŠคํŠธ์—

์„ค์น˜๋œ ์„œ๋ฒ„๊ฐ€ ๋“ฑ๋ก๋˜์–ด ๋ณด์ด๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

http://hostname:<port>/em ๋˜๋Š” https:/hostname:<port>/em

(10.2 / 11G ์—์„œ๋Š” https ๊ฐ€ default ์ด๋‹ค)

-- EM URL ์ฐพ๋Š” ๋ฐฉ๋ฒ•

1. emctl status dbconsole ๋ช…๋ น์–ด

2. <ORACLE_HOME>/<hostname_SID>/sysman/config/emd.propeties ์—์„œ REPOSITORY_URL ํ™•์ธ

Page 33: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 33 -

2.5.3. Deploying an Agent on another server

OMS ์„œ๋ฒ„์™€ Agent ๋ฅผ ์„ค์น˜ํ•  ์„œ๋ฒ„์˜ ํ”Œ๋žซํผ์ด ๊ฐ™์€ ๊ฒฝ์šฐ, ๊ทธ๋ฆฌ๊ณ  httpget ์ด ์ง€์›๋˜๋Š” ๊ฒฝ์šฐ์—๋Š”

OMS ์„œ๋ฒ„๋กœ๋ถ€ํ„ฐ Agent ์„ค์น˜์— ํ•„์š”ํ•œ ๊ตฌ์„ฑํŒŒ์ผ์„ ๋‹ค์šด๋กœ๋“œํ•˜์—ฌ ์„ค์น˜ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์ทจํ•  ์ˆ˜ ์žˆ์Šต

๋‹ˆ๋‹ค. (์—ฌ๊ธฐ์„œ๋Š” Linux ์ธ ๊ฒฝ์šฐ ์„ค์น˜ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์˜ˆ๋กœ ๋“ญ๋‹ˆ๋‹ค.)

16) ์›น๋ธŒ๋ผ์šฐ์ €๋กœ Agent Download Link์— ์ ‘์†ํ•˜์—ฌ Agent ๋ฅผ ๋‹ค์šด๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค.

OMS ๊ฐ€ Linux ์ธ ๊ฒฝ์šฐ URL : http://<OMS_HOST>:4889/agent_download/10.2.0.1/linux

17) agentDownload.linux ๋ฅผ ์ˆ˜ํ–‰ํ•˜์—ฌ ์„ค์น˜๋ฅผ ์ง‚ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

# ORACLE_HOME ์„ AGENT_HOME ์œผ๋กœ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. $ export AGENT_HOME=/u01/app/oracle/OracleHomes/agent10g $ export ORACLE_HOME=$AGENT_HOME # PATH ์— jdk ๊ฒฝ๋กœ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. (๋ฐ˜๋“œ์‹œ full path ๋กœ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. ORACLE_HOME ๋ณ€๊ฒฝ์œผ๋กœ ์ธํ•œ ๊ฒฝ๋กœ ์ง€์ • ๋ฌธ์ œ) $ PATH=$PATH:/u01/app/oracle/product/10.2.0/db_1/jdk/bin # agentDownload ํŒŒ์ผ์— ์‹คํ–‰๊ถŒํ•œ์„ ๋ถ€์—ฌํ•œ๋’ค ์‹คํ–‰์‹œํ‚ต๋‹ˆ๋‹ค. (์ž๋™ ์„ค์น˜) $ chmod 755 agentDownload.solaris # ์‹คํ–‰์‹œ โ€“b ์˜ต์…˜์„ ์ฃผ์–ด agent ๊ฐ€ ์„ค์น˜๋  Directory ๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. $ ./agentDownload.solaris โ€“b /u01/app/oracle/OracleHomes/agent10g agentDownload.solaris invoked on Wed Aug 20 11:27:45 KST 2008 with Arguments "-b /u01/app/oracle/OracleHomes/agent10g" Platform=SunOS, OS=solaris GetPlatform:returned=0, and os is set to: solaris, platform=SunOS Creating /u01/agentDownload10.2.0.1.0Oui ... LogFile for this Download can be found at: "/u01/agentDownload10.2.0.1.0Oui/agentDownload.solaris082008112745.log" Running on Selected Platform: SunOS Installer location: /u01/agentDownload10.2.0.1.0Oui Downloading Agent install response file ... --2010-04-29 11:27:46-- http://new:4889/agent_download/10.2.0.1.0/agent_download.rsp Resolving new... 61.250.99.225 Connecting to new|61.250.99.225|:4889... connected. HTTP request sent, awaiting response... 200 OK Length: 19978 (20K) [text/plain] Saving to: `agent_download.rsp' 100%[====================================================================================================>] 19,978 --.-K/s in 0.001s 2010-04-29 11:27:46 (14.9 MB/s) - `agent_download.rsp' saved [19978/19978] Finished Downloading with Status=0 Downloaded response with status=0 Downloading Oracle Installer ...

Page 34: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 34 -

--2010-04-29 11:27:46-- http://new:4889/agent_download/10.2.0.1.0/solaris/oui/oui_solaris.jar Resolving new... 61.250.99.225 Connecting to new|61.250.99.225|:4889... connected. HTTP request sent, awaiting response... 200 OK Length: 45007923 (43M) [application/java-archive] Saving to: `oui_solaris.jar' --- ์ค‘๊ฐ‚ ์ƒ๋žต --- Initializing Java Virtual Machine from /tmp/OraInstall2010-04-29_11-27-58AM/jre/1.4.2/bin/java. Please wait... Oracle Universal Installer, Version 10.2.0.1.0 Production Copyright (C) 1999, 2005, Oracle. All rights reserved. You can find a log of this install session at: /u01/app/oracle/oraInventory/logs/installActions2010-04-29_11-27-58AM.log .................................................................................................... 100% Done. Loading Product Information .............................................................................................................. 100% Done. Analyzing dependencies ............................................................... 47% Done. ............................................................... 95% Done. ...... 100% Done. ----------------------------------------------------------------------------- Summary Global Settings Source: http://new:4889/agent_download/10.2.0.1.0/solaris/agent/stage/products.xml Oracle Home: /u01/app/oracle/OracleHomes/agent10g (agent10g) Installation Type: Complete Product Languages English Space Requirements /u01/ Required 885MB : Available 12.82GB /tmp/ Required 57MB (only as temporary space) : Available 1.60GB New Installations (65 products) Oracle Management Agent 10.2.0.1.0 Enterprise Manager Agent 10.2.0.1.0 Enterprise Manager Agent Core Files 10.2.0.1.0 Oracle Recovery Manager 10.2.0.1.0 Enterprise Manager Common Files 10.2.0.1.0 Enterprise Manager Common Core Files 10.2.0.1.0 --- ์ค‘๊ฐ‚ ์ƒ๋žต --- Oracle Universal Installer 10.2.0.1.0 Oracle One-Off Patch Installer 10.2.0.1.0 Installer SDK Component 10.2.0.1.0 Java Runtime Environment 1.4.2.0.0 Sun JDK 64 bit 1.4.2.0.8 ----------------------------------------------------------------------------- Installation in progress (Wed Aug 20 11:28:29 KST 2008) ............................................................... 26% Done. ............................................................... 52% Done. ............................................................... 79% Done. ............ 84% Done. Install successful Linking in progress (Wed Aug 20 11:33:09 KST 2008) Link successful Setup in progress (Wed Aug 20 11:35:11 KST 2008) ................. 100% Done. Setup successful End of install phases.(Wed Aug 20 11:35:41 KST 2008) WARNING: The following configuration scripts need to be executed as the "root" user. #!/bin/sh #Root script to run /u01/app/oracle/OracleHomes/agent10g/root.sh To execute the configuration scripts: 1. Open a terminal window 2. Log in as "root" 3. Run the scripts 4. Return to this window and click "OK" to continue Starting to execute configuration assistants Configuration assistant "Agent Configuration Assistant" succeeded The installation of Oracle Management Agent was successful. Please check '/u01/app/oracle/oraInventory/logs/silentInstall2010-04-29_11-27-58AM.log' for more details. Querying Agent status: Agent is running Removing the copied stuff.....

Page 35: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 35 -

Removed: /u01/agentDownload10.2.0.1.0Oui/oui_solaris.jar Removed: /u01/agentDownload10.2.0.1.0Oui/agent_download.rsp Removed:/u01/agentDownload10.2.0.1.0Oui/Disk1 Log name of installation can be found at: "/u01/app/oracle/OracleHomes/agent10g/agentDownload.solaris082008112745.log" /u01/app/oracle/OracleHomes/agent10g/root.sh needs to be executed by root to complete this installation.

18) root ์œ ์ €๋กœ ์ ‘์†ํ•˜์—ฌ root.sh ๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

19) Agent ์‚ญ์ œ ๋ฐฉ๋ฒ•

2.5.4. Agent Status Check

Agent ์„ค์น˜ ํ›„ ๊ธฐ๋™ ์ƒํƒœ๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. $ ./emctl status agent Oracle Enterprise Manager 10g Release 10.2.0.1.0. Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Agent Version : 10.2.0.1.0 OMS Version : 10.2.0.1.0 Protocol Version : 10.2.0.0.0 Agent Home : /u01/app/oracle/OracleHomes/oms10g/agent10g Agent binaries : /u01/app/oracle/OracleHomes/oms10g/agent10g Agent Process ID : 15164 Parent Process ID : 15151 Agent URL : https://lee:3872/emd/main/ Repository URL : https://new:1159/em/upload Started at : 2010-04-29 11:38:08 Started by user : oracle Last Reload : 2010-04-29 11:38:08 Last successful upload : 2010-04-29 11:46:18 Total Megabytes of XML files uploaded so far : 5.76 Number of XML files pending upload : 0 Size of XML files pending upload(MB) : 0.00 Available disk space on upload filesystem : 56.79% Last successful heartbeat to OMS : 2010-04-29 11:45:46 --------------------------------------------------------------- Agent is Running and Ready

# ๋‹ค๋ฅธ ํ„ฐ๋ฏธ๋„ ์ฐฝ์„ ์—ด์–ด root User ๋กœ root.sh ๋ฅผ ์ˆ˜ํ–‰ ํ›„ ์„ค์น˜๋ฅผ ๊ณ„์† ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค. lee [/data/media/companion]# /u01/app/oracle/OracleHomes/oms10g/agent10g/root.sh Running Oracle10 root.sh script... The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/OracleHomes/agent10g Enter the full pathname of the local bin directory: [/usr/local/bin]: The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying dbhome to /usr/local/bin ... The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying oraenv to /usr/local/bin ... The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying coraenv to /usr/local/bin ... Entries will be added to the /var/opt/oracle/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed. Finished product-specific root actions.

1. Agent ํ”„๋กœ์„ธ์Šค๋ฅผ ์ข…๋ฃŒํ•ฉ๋‹ˆ๋‹ค

$ cd $AGENT_HOME/bin $ ./emctl stop agent $ cd

2. AGENT_HOME ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์‚ญ์ œํ•ฉ๋‹ˆ๋‹ค. $ cd /u01/app/oracle/OracleHomes $ rm โ€“rf agent10g

3. oraInventory ๋‚ด์šฉ์„ ์ •๋ฆฌํ•ฉ๋‹ˆ๋‹ค. $ cd /u01/app/oracle/oraInventory/CotentsXML $ cd inventory.xml inventory.xml.orig $ vi inventory.xml Remove entry associated with โ€œagent10gโ€

Page 36: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 36 -

2.5.5. Rediscover or Reconfigure Agent

Agent ๋ฅผ ์žฌ๋ฐœ๊ฒฌ ๋˜๋Š” ์žฌ๊ตฌ์„ฑํ•˜๊ธฐ ์œ„ํ•ด agentca ๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. (10g R2 ์ด์ƒ)

์žฌ๊ตฌ์„ฑ ํ›„ ์ž‘์—…๊ณผ ๊ด€๋ ฆ๋œ ์‚ฌํ•ญ์€ ๋กœ๊ทธํŒŒ์ผ์„ ์ฐธ๊ณ ํ•˜์‹ญ์‹œ์˜ค.

Rediscover Agent (agentca -d) , Reconfigure Agent (agentca -f)

goodus:/oracle/OracleHomes/agent10g/bin>agentca -d Stopping the agent using /oracle/OracleHomes/agent10g/bin/emctl stop agent Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0. Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved. Stopping agent ... stopped. Running agentca using /oracle/OracleHomes/agent10g/oui/bin/runConfig.sh ORACLE_HOME=/oracle/OracleHomes/agent10g ACTION= Configure MODE=Perform RESPONSE_FILE=/oracle/OracleHomes/agent10g/response_file RERUN=TRUE INV_PTR_LOC=/oracle/OracleHomes/agent10g/oraInst.loc COMPONENT_XML={oracle.sysman.top.agent.10_2_0_1_0.xml} Perform - mode is starting for action: Configure Perform - mode finished for action: Configure You can see the log file: /oracle/OracleHomes/agent10g/cfgtoollogs/oui/configActions2009-09-30_02-54-14-AM.log goodus:/oracle/OracleHomes/agent10g/bin>agentca -f Stopping the agent using /oracle/OracleHomes/agent10g/bin/emctl stop agent Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0. Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved. Stopping agent ... stopped. Running agentca using /oracle/OracleHomes/agent10g/oui/bin/runConfig.sh ORACLE_HOME=/oracle/OracleHomes/agent10g ACTION= Configure MODE=Perform RESPONSE_FILE=/oracle/OracleHomes/agent10g/response_file RERUN=TRUE INV_PTR_LOC=/oracle/OracleHomes/agent10g/oraInst.loc COMPONENT_XML={oracle.sysman.top.agent.10_2_0_1_0.xml} Perform - mode is starting for action: Configure Perform - mode finished for action: Configure You can see the log file: /oracle/OracleHomes/agent10g/cfgtoollogs/oui/configActions2009-09-30_03-00-55-AM.log

2.5.6. Securing Agent

Secure ๋ชจ๋“œ์ธ OMS ์™€ ์•”ํ˜ธํ™”๋œ ํ†ต์‹ž์„ ์œ„ํ•ด Secure ๋ชจ๋“œ๋กœ ์ ‚ํ™–ํ•ฉ๋‹ˆ๋‹ค. You can see the log file: /oracle/OracleHomes/agent10g/cfgtoollogs/oui/configActions2009-09-30_03-00-55-AM.log goodus:/oracle/OracleHomes/agent10g/bin> goodus:/oracle/OracleHomes/agent10g/bin>emctl secure agent Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0. Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved. Agent successfully stopped... Done. Securing agent... Started. Enter Agent Registration Password : OMS ์— ์ž…๋ ฅํ•œ ํŒจ์Šค์›Œ๋“œ๋ฅผ ์ž˜๋ชป ๋„ฃ์€ ๊ฒฝ์šฐ Agent successfully restarted... Done. Securing agent... Failed. goodus:/oracle/OracleHomes/agent10g/bin>emctl secure agent Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0. Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved. Agent successfully stopped... Done. Securing agent... Started. Enter Agent Registration Password : OMS ์— ์ž…๋ ฅํ•œ ํŒจ์Šค์›Œ๋“œ๋ฅผ ์ •ํ™•ํžˆ ๋„ฃ์€ ๊ฒฝ์šฐ Agent successfully restarted... Done. Securing agent... Successful. #Agent ์— ๊ฐฑ์‹ž์ด ์žˆ๋Š” ๊ฒฝ์šฐ Upload ๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค. goodus:/oracle/OracleHomes/agent10g/bin>emctl upload agent Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0. Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved. --------------------------------------------------------------- EMD upload completed successfully

Page 37: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 37 -

3. Managing the Grid Control Components

3.1. Starting Up and Shutting Down the Grid Control.

3.1.1. Control Utilites

3.1.2. Starting Up the Grid Control

Grid Control ์„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ ƒ์ฐจ๋กœ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.

1) Start the OMR database listener. (lsnrctl start)

2) Start the OMR database. (sqlplus >>> startup)

3) Start all OMSs. (opmnctl startall, emctl start oms)

4) Start the OMA on the OMS/OMR server. (emctl start agent)

5) Start the OMA on managed servers. (emctl start agent)

goodus:/oracle/OracleHomes/db10g/bin>export ORACLE_HOME=$ORACLE_BASE/db10g goodus:/oracle/OracleHomes/db10g/bin>export PATH=$DB_PATH goodus:/oracle/OracleHomes/db10g/bin>cd $ORACLE_HOME/bin goodus:/oracle/OracleHomes/db10g/bin>sqlplus "/as sysdba" SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 30 19:17:51 2009 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. Connected to an idle instance. SQL> startup ORACLE instance started. Total System Global Area 536870912 bytes Fixed Size 1268484 bytes Variable Size 239076604 bytes Database Buffers 289406976 bytes Redo Buffers 7118848 bytes Database mounted. Database opened. SQL> exit Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod With the Partitioning, Oracle Label Security, OLAP, Data Mining and Real Application Testing options goodus:/oracle/OracleHomes/db10g/bin>lsnrctl start LISTENER LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 30-SEP-2009 19:18:46 Copyright (c) 1991, 2007, Oracle. All rights reserved. Starting /oracle/OracleHomes/db10g/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 10.2.0.4.0 - Production System parameter file is /oracle/OracleHomes/db10g/network/admin/listener.ora Log messages written to /oracle/OracleHomes/db10g/network/log/listener.log

Component Control Utilities OMR OMS OMA

Sqlplus opmnctl emctl

emctl Lsnrctl

dcmctl As Control

Page 38: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 38 -

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=goodus)(PORT=1521))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0))) Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=goodus)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production Start Date 30-SEP-2009 19:18:47 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /oracle/OracleHomes/db10g/network/admin/listener.ora Listener Log File /oracle/OracleHomes/db10g/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=goodus)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0))) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully goodus:/oracle/OracleHomes/db10g/bin>export ORACLE_HOME=$ORACLE_BASE/oms10g goodus:/oracle/OracleHomes/db10g/bin>export PATH=$OMS_PATH goodus:/oracle/OracleHomes/oms10g/bin>cd $OMS_HOME/opmn/bin goodus:/oracle/OracleHomes/oms10g/opmn/bin>opmnctl startall opmnctl: starting opmn and all managed processes... goodus:/oracle/OracleHomes/oms10g/opmn/bin>cd $OMS_HOME/bin goodus:/oracle/OracleHomes/oms10g/bin>emctl start oms Oracle Enterprise Manager 10g Release 5 Grid Control Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved. opmnctl: opmn is already running Starting HTTP Server ... Oracle Management Server Already Started. goodus:/oracle/OracleHomes/oms10g/opmn/bin>cd $OMS_HOME/bin goodus:/oracle/OracleHomes/oms10g/bin>emctl start oms Oracle Enterprise Manager 10g Release 5 Grid Control Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved. opmnctl: opmn is already running Starting HTTP Server ... Oracle Management Server Already Started. goodus:/oracle/OracleHomes/oms10g/bin>export ORACLE_HOME=$ORACLE_BASE/agent10g goodus:/oracle/OracleHomes/oms10g/bin>export PATH=$AGENT_PATH goodus:/oracle/OracleHomes/oms10g/bin>cd $AGENT_HOME/bin goodus:/oracle/OracleHomes/agent10g/bin>emctl start agent Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0. Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved. Starting agent .................. started.

3.1.3. Shutting Down the Grid Control

Grid Control ์„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ ƒ์ฐจ๋กœ ์ข…๋ฃŒํ•ฉ๋‹ˆ๋‹ค.

1) Stop the OMA on managed servers (optional). (emctl stop agent)

2) Stop the OMA on the OMS/OMR server. (emctl stop agent)

3) Stop all OMSs. (emctl stop oms opmnctl stopall)

4) Stop the OMR database. (sqlplus >>> Shutdown immediate)

5) Stop the OMR database listener. (lsnrctl stop)

goodus:/oracle/OracleHomes/db10g/bin>export ORACLE_HOME=$ORACLE_BASE/agent10g goodus:/oracle/OracleHomes/db10g/bin>export PATH=$AGENT_PATH goodus:/oracle/OracleHomes/db10g/bin>cd $AGENT_HOME/bin goodus:/oracle/OracleHomes/agent10g/bin>emctl stop agent Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0. Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved. Stopping agent ... stopped. goodus:/oracle/OracleHomes/agent10g/bin>export ORACLE_HOME=$ORACLE_BASE/oms10g goodus:/oracle/OracleHomes/agent10g/bin>export PATH=$OMS_PATH goodus:/oracle/OracleHomes/agent10g/bin>cd $OMS_HOME/bin goodus:/oracle/OracleHomes/oms10g/bin>emctl stop oms Oracle Enterprise Manager 10g Release 5 Grid Control Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved. Oracle Management Server is Down.

Page 39: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 39 -

goodus:/oracle/OracleHomes/oms10g/bin>cd .. goodus:/oracle/OracleHomes/oms10g>cd opmn/bin goodus:/oracle/OracleHomes/oms10g/opmn/bin>opmnctl stopall opmnctl: stopping opmn and all managed processes... goodus:/oracle/OracleHomes/oms10g/opmn/bin>export ORACLE_HOME=$ORACLE_BASE/db10g goodus:/oracle/OracleHomes/oms10g/opmn/bin>export PATH=$DB_PATH goodus:/oracle/OracleHomes/oms10g/opmn/bin>cd $ORACLE_HOME/bin goodus:/oracle/OracleHomes/db10g/bin>lsnrctl stop LISTENER LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 30-SEP-2009 19:11:58 Copyright (c) 1991, 2007, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=goodus)(PORT=1521))) The command completed successfully goodus:/oracle/OracleHomes/db10g/bin>sqlplus "/as sysdba" SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 30 19:12:37 2009 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production With the Partitioning, Oracle Label Security, OLAP, Data Mining and Real Application Testing options SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> exit Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production With the Partitioning, Oracle Label Security, OLAP, Data Mining and Real Application Testing options

3.1.4. Loading Grid Control on OS Booting

Grid Control ์„ ๋ถ€ํŒ… ๋กœ๋“œ ํŒŒ์ผ๋กœ Start/Stop ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋‹จ, OMR ์€ ์ด๋ฏธ Startup ๋œ ์ƒํƒœ์—ฌ์•ผ

ํ•ฉ๋‹ˆ๋‹ค.

# /etc/init.d/gcstartup start [๋˜๋Š” stop ] -- root user ์—์„œ ์ˆ˜ํ–‰ new [/etc/init.d]# gcstartup stop opmnctl: stopping opmn and all managed processes... ================================================================================ opmn id=new:6200 3 of 5 processes stopped. ias-instance id=EnterpriseManager0.new ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -------------------------------------------------------------------------------- ias-component/process-type/process-set: OC4J/OC4J_EM/default_island Error --> Process (pid=1123) time out while waiting for a managed process to stop Log: /u01/app/oracle/OracleHomes/oms10g/oms10g/opmn/logs/OC4J~OC4J_EM~default_island~1 -------------------------------------------------------------------------------- ias-component/process-type/process-set: WebCache/WebCacheAdmin/WebCacheAdmin Error --> Process (pid=1037) time out while waiting for a managed process to stop Log: /u01/app/oracle/OracleHomes/oms10g/oms10g/opmn/logs/WebCache~WebCacheAdmin~1 opmnctl: graceful stop of processes failed, trying forceful shutdown...

Page 40: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 40 -

new [/etc/init.d]# gcstartup start opmnctl: starting opmn and all managed processes... Oracle Enterprise Manager 10g Release 10.2.0.1.0. Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. Starting agent ......................... started. # oms ์‹œ์ž‘ ๋ฐ ์ข…๋ฃŒ, ์ƒํƒœ ํ™•์ธ $ OMS_HOME/opmn/bin/opmnctl startall $ OMS_HOME/opmn/bin/opmnctl stopall $ OMS_HOME/opmn/bin/opmnctl status # agent ์‹œ์ž‘ ๋ฐ ์ข…๋ฃŒ $ AGENT_HOME/bin/emctl start agent $ AGENT_HOME/bin/emctl stop agent

3.2. Grid Control Configuration

3.2.1. Configuring Database Targets

Grid control ์—์„œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ์ƒํƒœ๋ฅผ ๋ชจ๋‹ˆํ„ฐ๋ง ํ•˜๊ณ  ์„ฑ๋Šฅ์— ๋Œ€ํ•œ ์ •๋ณด ๋“ฑ์„ ์ˆ˜์ง‘ํ•˜๋ ค๋ฉด ๋ชจ๋‹ˆํ„ฐ๋ง

๋Œ€์ƒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ๋Œ€ํ•œ ์ ‘์†์ด ๊ฐ€๋Šฅํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์ด ๋•Œ ํ•„์š”ํ•œ ๊ฒƒ์ด โ€œMonitoring Credentialโ€ ์ž…๋‹ˆ

๋‹ค. ์ด๋Š” ๊ด€๋ฆฌ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ๋Œ€ํ•œ ์‚ฌ์šฉ์ž๋ช…(dbsnmp), ์•”ํ˜ธ(์—ฌ๊ธฐ์„œ๋Š” oracle)์„ ์„ค์ •ํ•˜๋Š” ๊ฒƒ์ž…๋‹ˆ

๋‹ค.

1) Grid Control ์„ ์‹คํ–‰ํ•˜์—ฌ Targets(๋Œ€์ƒ) Databases(๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค)๋ฅผ ์„ ํƒํ•˜์—ฌ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

๋งŠ์•ฝ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๊ฐ€ ๋ณด์ด์ง€ ์•Š๋Š” ๊ฒฝ์šฐ์—๋Š” ์ถ”๊ฐ€๋ฅผ ๋ˆŒ๋Ÿฌ ์ˆ˜๋™์œผ๋กœ ๋“ฑ๋กํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

(hostname ์ธ์‹ ๋“ฑ ๋ฌธ์ œ๋กœ ์ธํ•ด)

Page 41: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 41 -

2) ๋ชจ๋‹ˆํ„ฐ๋ง ๊ณ„์ •์ด ์ž ๊ฒจ ์žˆ๊ฑฐ๋‚˜ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์ง€ ์•Š์œผ๋ฉด ์œ„ ๊ทธ๋ฆฐ์ฒ˜๋Ÿผ DB ์ƒํƒœ๊ฐ€ ์ •์ƒ์ ์œผ๋กœ

๋ชจ๋‹ˆํ„ฐ๋ง ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋ชจ๋‹ˆํ„ฐ๋ง ๋Œ€์ƒ DB๋ฅผ ์„ ํƒํ•œ ํ›„ Configure(๋ชจ๋‹ˆํ„ฐ๋ง ๊ตฌ์„ฑ) ๋ฒ„ํŠบ์„

ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

3) ๋ชจ๋‹ˆํ„ฐ๋ง ๊ตฌ์„ฑ์—์„œ ์•”ํ˜ธ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ(์—ฌ๊ธฐ์„œ๋Š” oracle) ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

Page 42: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 42 -

4) ๋งŠ์•ฝ ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜๋ฉด dbsnmp ๊ณ„์ •์— ๋Œ€ํ•ด account unlock์„ ์ˆ˜ํ–‰ํ•˜๊ณ  ์•”ํ˜ธ๋ฅผ

์žฌ์„ค์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

SQL> ALTER USER dbsnmp identified by oracle account unlock; User altered.

5) ์„ค์ •์ด ์™„๋ฃŒ๋˜๋ฉด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ƒํƒœ๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ๋ชจ๋‹ˆํ„ฐ๋ง๋˜๋ฉฐ, ํด๋ฆญํ•˜๋ฉด ์ƒํƒœ๋ฅผ ํ™•์ธํ•  ์ˆ˜

์žˆ์Šต๋‹ˆ๋‹ค. ๋งŠ์•ฝ ํ˜„ ํŽ˜์ด์ง€์—์„œ ์ƒํƒœ์ •๋ณด๊ฐ€ ๋ณด์—ฌ์ง€์ง€ ์•Š๋Š”๋‹ค๋ฉด ์šฐ์ธก ์ƒ๋‹จ์— ๋ฐ์ดํ„ฐ ์ƒˆ๋กœ ๊ณ ์นจ

๋ฒ„ํŠบ์„ ๋ˆŒ๋Ÿฌ ์ •๋ณด๋ฅผ ๊ฐฑ์‹žํ•˜์‹ญ์‹œ์˜ค.

Page 43: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 43 -

3.2.2. Changing Registration Passwrod

Secure ๋ชจ๋“œ๋กœ Agent ์™€ ํ†ต์‹žํ•˜๊ธฐ ์œ„ํ•ด ๋“ฑ๋ก๋œ ์•”ํ˜ธ๋ฅผ ์ถ”๊ฐ€ํ•˜๊ฑฐ๋‚˜ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋“ฑ๋ก ์•”ํ˜ธ๋Š” ์ด ์ €์žฅ์†Œ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์ž„์˜์˜ OMS ๋กœ๋ถ€ํ„ฐ Oracle Agents ๋ฅผ ๋ณดํ˜ธํ•˜๊ธฐ ์œ„ํ•ด ๊ด€๋ฆฌ์ž

๊ฐ€ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ๋“ฑ๋ก ์•”ํ˜ธ๋ฅผ ์ •์˜ํ•˜๋Š” ๊ฒฝ์šฐ ์•”ํ˜ธ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์—†๊ฒŒ ๋˜๋Š” ๋งŠ๊ธฐ ๋‚ ์งœ๋ฅผ ์ง€์ •ํ•˜๊ฑฐ

๋‚˜, ์•”ํ˜ธ๋ฅผ ํ•œ ๋ฒˆ ์‚ฌ์šฉํ•œ ํ›„ ์ €์žฅ์†Œ์—์„œ ์ž๋™์œผ๋กœ ์‚ญ์ œ๋˜๋„๋ก ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค

3.2.3. Creating Grid Control Super Adminstrator and Administrator

Grid Control ๊ด€๋ฆฌ์ž๋ฅผ ์ถ”๊ฐ€๋กœ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

1) ์ƒ๋‹จ์˜ ์„ค์ •(Setup)์„ ํด๋ฆญํ•˜๊ณ , ์™ผ์ชฝ ๋ฉ”๋‰ด์—์„œ ๊ด€๋ฆฌ์ž(Administrator)๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

์ƒ์„ฑ(Create) ๋˜๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ƒ์„ฑ(Create Like)๋ฅผ ํด๋ฆญํ•˜์—ฌ ์ƒˆ๋กœ์šด ๊ด€๋ฆฌ์ž๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

Page 44: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 44 -

2) ๊ด€๋ฆฌ์ž๋ช…์€ emadmin, ์•”ํ˜ธ๋Š” emadmin, ์ ‚์ž๋ฉ”์ผ ํ•ญ๋ชฉ์„ ์ž…๋ ฅํ•œ ๋’ค, Super Administrator(์Šˆํผ

๊ด€๋ฆฌ์ž)๋ฅผ ์ฒดํฌํ•œ ๋’ค ๋‹ค์Œ์œผ๋กœ ์ง‚ํ–‰ํ•ฉ๋‹ˆ๋‹ค. ๋‹ค์ŒํŽ˜์ด์ง€์—์„œ ๊ฒ€ํ†  ํ›„ ์™„๋ฃŒํ•ฉ๋‹ˆ๋‹ค.

3) ์ƒˆ๋กœ์šด ๊ด€๋ฆฌ์ž๊ฐ€ ์ถ”๊ฐ€๋œ ๊ฒƒ์„ ํ™•์ธ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 45: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 45 -

3.2.4. Setup Prefered Credential

Target์— ๋Œ€ํ•œ ์„ ํ˜ธ์ธ์ฆ์„œ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. ํ˜ธ์ŠคํŠธ์˜ ๊ฒฝ์šฐ๋Š” ๋Œ€์ƒ ํ˜ธ์ŠคํŠธ ์‹œ์Šคํ…œ์˜ ๋ชจ๋‹ˆํ„ฐ๋ง์„ ์œ„ํ•ด

์ตœ์ƒ์œ„ ๊ถŒํ•œ์„ ๊ฐ–๋Š” root ์˜ ์ •๋ณด๋‚˜ ์ ‘์† ๋ฐ ๋ชจ๋‹ˆํ„ฐ๋ง ๊ฐ€๋Šฅํ•œ ์‚ฌ์šฉ์ž์˜ ๊ณ„์ •์ •๋ณด๋ฅผ ๋ฏธ๋ฆฌ ์ž…๋ ฅํ•ด ๋‘์‹ค

์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋ฐ ๋‹ค๋ฅธ ๋Œ€์ƒ๋“ค ์—ญ์‹œ ๋ชจ๋‹ˆํ„ฐ๋ง ๋ฐ ๊ฐ ๊ธฐ๋Šฅ์—์„œ ๊ถŒํ•œ์ด๋‚˜ ์ ‘์† ์ •๋ณด๊ฐ€

ํ•„์š”ํ•œ ๊ฒฝ์šฐ, ์‚ฌ์ ‚์— ์ ‘์† ์ •๋ณด ๋“ฑ์„ ์ž…๋ ฅํ•ด ๋‘์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ฐ™์€ ๊ฒฝ์šฐ ์„ฑ๋Šฅ

๋ชจ๋‹ˆํ„ฐ๋ง ๋ฐ Job ๋“ฑ์„ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ๋ฐ˜๋“œ์‹œ ์„ค์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

1) Grid Control URL ์—์„œ EM Super Admin ์ธ SYSMAN์œผ๋กœ ์ ‘์†ํ•ฉ๋‹ˆ๋‹ค.

2) Grid Control์˜ Home page์˜ ์˜ค๋ฅธ์ชฝ ์ƒ๋‹จ์˜ โ€œPreferenceโ€ ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

3) โ€œPrefered Credentialโ€์„ ์„ ํƒํ•˜์—ฌ Target DB์— ๋Œ€ํ•œ SYSDBA ๊ถŒํ•œ ์‚ฌ์šฉ์ž๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

4) ์ƒ๋‹จ Preference(ํ™–๊ฒฝ์„ค์ •) => ์™ผ์ชฝ Prefered Credential(์„ ํ˜ธ ์ธ์ฆ์„œ) => ๋ฉ”์ธ ํ™”๋ฉด :

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค โ€“ ์ธ์ฆ์„œ ์„ค์ •์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

5) ๋Œ€์ƒ ์ธ์ฆ์„œ์— ์›ํ•˜๋Š” DB์˜ ์ ‘์† ์ •๋ณด๋ฅผ ์ž…๋ ฅ ํ•œ๋’ค ํ…Œ์ŠคํŠธ๋ฅผ ๊ฑฐ์ณ ์ ‘์† ์—ฌ๋ถ€๋ฅผ ํ™•์ธ ํ•œ ํ›„

์ ์šฉํ•ฉ๋‹ˆ๋‹ค.

Page 46: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 46 -

4. Managing Hosts

4.1. Host Infomation

4.1.1. Host Home page

๊ด€๋ฆฌ ๋Œ€์ƒ(Targets)์˜ ํ˜ธ์ŠคํŠธ์—๋Š” Agent ๊ฐ€ ์„ค์น˜๋œ ์„œ๋ฒ„๋“ค์˜ ๋ชฉ๋ก์„ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ํŠน์ • ํ˜ธ์ŠคํŠธ๋ฅผ ์„ ํƒํ•˜๋ฉด, ๊ทธ ํ˜ธ์ŠคํŠธ์— ๋Œ€ํ•œ ๋Œ€๋žต์ ์ธ ์ƒํƒœ์ •๋ณด, OS ๊ตฌ์„ฑ์ •๋ณด, ๊ฒฝ๋ณด, ์ •์ฑ€ ์œ„๋ฐ˜,

๋ณด์•†, ์ž‘์—… ํ™—๋™ ์ƒํƒœ๋ฅผ ๋ณด์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 47: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 47 -

4.1.2. Host Availability

ํ˜ธ์ŠคํŠธ์˜ ๊ฐ€์šฉ ์ƒํƒœ ๋‚ด์—ญ์„ ํ™•์ธํ•˜์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์„œ๋ฒ„์˜ ์ž‘๋™ ์ค‘์ง€๋‚˜ ์—์ด์ ‚ํŠธ๊ฐ€ ์—ฐ๊ฒฐ์ด ์•†๋˜์—ˆ์„

๋•Œ ๋“ฑ ์ƒํƒœ์˜ ๊ธฐ๋ก์ด ๋‚จ์Šต๋‹ˆ๋‹ค.

[ํ˜„์žฌ ์‚ฌ์šฉ์ž ๋ณด๊ธฐ]๋Š” ํ˜„์žฌ ํ˜ธ์ŠคํŠธ์— ๋กœ๊ทธ์ธ๋œ ์‚ฌ์šฉ์ž ํ˜„ํ™ฉ์„ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 48: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 48 -

4.1.3. Hardware Detail Information

ํ˜ธ์ŠคํŠธ์˜ ๊ตฌ์„ฑ ํ•ญ๋ชฉ ์ค‘ ํ•˜๋“œ์›จ์–ด ํ”Œ๋žซํผ์˜ ๋งํฌ๋ฅผ ์„ ํƒํ•˜๋ฉด ํ•˜๋“œ์›จ์–ด ์„ธ๋ถ€ ์ •๋ณด๋ฅผ ํ™•์ธ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ

๋‹ค .

CPU

I/O Devices

Network Interfaces

Disk capacity

Memory

Link to historical infomation

Page 49: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 49 -

4.1.4. Operating System Detail Information

ํ˜ธ์ŠคํŠธ์˜ ๊ตฌ์„ฑ ํ•ญ๋ชฉ ์ค‘ ์šด์˜ ์ฒด์ œ๋ฅผ ์„ ํƒํ•˜๋ฉด ์šด์˜ ์ฒด์ œ ์„ธ๋ถ€ ์ •๋ณด๋ฅผ ๋ณด์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ผ๋ฐ˜์ ์ธ OS

์†์„ฑ ๋ฐ ํŒŒ์ผ์‹œ์Šคํ…œ, ์„ค์น˜๋œ ํŒจํ‚ค์ง€๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์šด์˜ ์ฒด์ œ ์„ธ๋ถ€ ์ •๋ณด โ€“ ์ผ๋ฐ˜ ์‚ฌํ•ญ : ์šด์˜์ฒด์ œ ์†์„ฑ

์šด์˜ ์ฒด์ œ ์„ธ๋ถ€ ์ •๋ณด โ€“ ํŒŒ์ผ ์‹œ์Šคํ…œ

์šด์˜ ์ฒด์ œ ์„ธ๋ถ€ ์ •๋ณด โ€“ ํŒจํ‚ค์น˜

Page 50: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 50 -

4.1.5. Alert History

ํ˜ธ์ŠคํŠธ์˜ ์‹œ์Šคํ…œ ๋กœ๊ทธ์— ๊ธฐ๋ก๋œ ์—๋Ÿฌ๋‚˜ ๊ฒฝ๊ณ  ์ƒํƒœ๋ฅผ ๋ชจ๋‹ˆํ„ฐ๋งํ•˜๊ฑฐ๋‚˜ ์ž„๊ณ„์น˜ ์ˆ˜์ค€ ์ดํ•˜๋กœ ์ƒํƒœ๊ฐ€ ๋ณ€๊ฒฝ

๋œ ๊ฒฝ์šฐ ์•Œ๋ ค ์ค๋‹ˆ๋‹ค.

๊ฐ๊ฐ์˜ ์ธก์ •๋œ ๊ฒฝ๋ณด ๋ฉ”์‹œ์ง€๋ฅผ ํด๋ฆญํ•˜๋ฉด ์„ธ๋ถ€ ์ •๋ณด๋ฅผ ๋ณด์—ฌ ์ค๋‹ˆ๋‹ค.

Page 51: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 51 -

4.2. Host Performance

4.2.1. Performance Summary

ํ˜ธ์ŠคํŠธ์˜ ์„ฑ๋Šฅ ํƒญ์—์„œ๋Š” ํ˜ธ์ŠคํŠธ์˜ ์„ฑ๋Šฅ๊ณผ ๊ด€๋ ฆ๋œ ์ง€ํ‘œ๋ฅผ ๋ณด์—ฌ ์ค๋‹ˆ๋‹ค. ๊ธฐ๋ณธ์ ์œผ๋กœ CPU ํ™—์šฉ๋ฅ , ๋ฉ”๋ชจ๋ฆฌ

ํ™—์šฉ๋ฅ , ๋””์Šคํฌ I/O ํ™—์šฉ๋ฅ , ์ƒ์œ„ ํ”„๋กœ์„ธ์Šค๋ฅผ ๋ณด์—ฌ์ฃผ๋ฉฐ, ๊ฐ๊ฐ์˜ ์„ธ๋ถ€ ์ •๋ณด๋„ ํ™•์ธ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

4.2.2. Detail Information

ํ˜ธ์ŠคํŠธ์˜ ์„ฑ๋Šฅ ํƒญ์—์„œ๋Š” ๊ธฐ๋ณธ์ ์œผ๋กœ ํ˜ธ์ŠคํŠธ์˜ ์„ฑ๋Šฅ์— ๋Œ€ํ•œ ์š”์•ฝ์ ์ธ ์ •๋ณด์™€ ๋”๋ถˆ์–ด ๊ฐ ๋ณด๊ธฐ ํ•ญ๋ชฉ์—์„œ

CPU ์„ธ๋ถ€์ •๋ณด, ๋ฉ”๋ชจ๋ฆฌ ์„ธ๋ถ€์ •๋ณด, ๋””์Šคํฌ ์„ธ๋ถ€์ •๋ณด, ํ”„๋กœ๊ทธ๋žจ ๋ฆฌ์†Œ์Šค ์‚ฌ์šฉ๋ฅ ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๊ทธ๋ฆฐ - CPU, ๋ฉ”๋ชจ๋ฆฌ ์„ธ๋ถ€์ •๋ณด

Page 52: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 52 -

๊ทธ๋ฆฐ - ๋””์Šคํฌ ์„ธ๋ถ€์ •๋ณด

๊ทธ๋ฆฐ - ํ”„๋กœ๊ทธ๋žจ ๋ฆฌ์†Œ์Šค ์‚ฌ์šฉ๋ฅ 

4.3. Host Management

4.3.1. Required Installation

Enterprise Manager ์—์„œ ๊ด€๋ฆฌ๋  ์ˆ˜ ์žˆ๋Š” ํ˜ธ์ŠคํŠธ๋Š” ๋‹ค์Œ Linux OS ๊ฐ€ ์„ค์น˜๋˜์–ด ์žˆ๋Š” ๋Œ€์ƒ์— ํ•œํ•˜์—ฌ

๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

Enterprise Linux 4, Enterprise Linux 5

RedHat Enterprise Linux 4, RedHat Enterprise Linux 5

Suse Enterprise Linux 9, Suse Enterprise Linux 10

Enterprise Manager ๋ฅผ ํ†ตํ•ด ํ˜ธ์ŠคํŠธ๋ฅผ ๊ด€๋ฆฌํ•˜๋ ค๋ฉด ๋‹ค์Œ ์Šคํฌ๋ฆฑํŠธ๋ฅผ ์„ค์น˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค

YAST(Yet Another Setup Tool) ๋ฐ EM ๋ž˜ํผ ์Šคํฌ๋ฆฝํŠธ ์„ค์น˜ (http://oss.oracle.com/projects/yast)

YAST ๋Š” Linux System ์„ ๊ตฌ์„ฑํ•˜๊ณ  ๊ด€๋ฆฌํ•˜๊ธฐ ์‰ฝ๊ฒŒ ํ•˜๊ธฐ ์œ„ํ•œ ์œ ํ‹ธ๋ฆฌํ‹ฐ๋กœ ์ œ๊ณต๋˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

Page 53: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 53 -

YAST ์„ค์น˜ ๋ฐ ๊ตฌ์„ฑ (RedHat Enterprise Linux 5 ์‚ฌ์šฉ์‹œ)

http://oss.oracle.com/projects/yast ์‚ฌ์ดํŠธ์—์„œ yast_el5_x86_32.tar ๋ฅผ ๋‹ค์šด ๋ฐ›์Šต๋‹ˆ๋‹ค. ํ˜ธ์ŠคํŠธ์— ์—…๋กœ๋“œํ•œ ํ›„ root ์œ ์ €๋กœ ์••์ถ•์„ ํ‘ผ๋’ค install.sh ๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค. [root@goodus yast_el5_x86_32]# ./install.sh Now checking the necessary rpms........... Checking dbus ....... found Checking hal ....... found Checking perl ....... found Checking coreutils ....... found Checking curl ....... found Checking unzip ....... found Checking tar ....... found Checking gzip ....... found Checking glibc-common ....... found Checking initscripts ....... found Checking cracklib ....... found Checking perl-Digest-SHA1 ....... not found Checking boost ....... found Now checking the necessary tools........... Checking /bin/bash ....... found Checking /bin/ln ....... found Checking /bin/mktemp ....... found Checking /bin/rm ....... found Checking /bin/sed ....... found Checking /bin/sh ....... found Checking /sbin/ldconfig ....... found Checking /usr/bin/env ....... found Checking /usr/bin/find ....... found Checking /usr/bin/host ....... found Checking /usr/bin/perl ....... found Checking /usr/bin/python ....... found Checking /usr/bin/xargs ....... found Checking /usr/sbin/lsof ....... found The following requirements aren't found. perl-Digest-SHA1 Some requirements are not statisfied, please install them first. Or use system-config-packages to adjust OS installation and make sure that Development Tools, Authoring and Publishing, Server, Legacy Software Development are selected! # ์œ„์™€ ๊ฐ™์ด ์‚ฌ์ ‚ ์š”๊ตฌ์‚ฌํ•ญ์—์„œ ํ•„์š”ํ•œ package ๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ OS ์„ค์น˜์šฉ CD ๋‚˜ ์ธํ„ฐ๋„ท์œผ๋กœ๋ถ€ํ„ฐ ํ•ด๋‹น RPM ์„ ๊ตฌํ•ด ์„ค์น˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค ์œ„์™€ ๊ฐ™์€ ๊ฒฝ์šฐ perl-Digest-SHA1 ํŒจํ‚ค์ง€๊ฐ€ ์—†๋Š” ์ƒํƒœ์ž…๋‹ˆ๋‹ค. RHEL 5 CD ์— ๋‹ค์Œ rpm ์ด ์žˆ์œผ๋‹ˆ ์ฐพ์•„์„œ upload ํ•œ ํ›„ ํŒจํ‚ค์ง€๋ฅผ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค. perl-Digest-SHA1-2.11-1.2.1.i386.rpm [root@goodus yast]# rpm -Uvh perl-Digest-SHA1-2.11-1.2.1.i386.rpm warning: perl-Digest-SHA1-2.11-1.2.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:perl-Digest-SHA1 ########################################### [100%] # ์‚ฌ์ ‚์— ํ•„์š”ํ•œ RPM ์„ ๋ชจ๋‘ ๊ตฌ์„ฑํ•˜์˜€๋‹ค๋ฉด, ๋‹ค์‹œ install.sh ๋ฅผ ์ˆ˜ํ–‰ํ•˜์—ฌ YAST ๊ด€๋ ฆ ํŒจํ‚ค์ง€๋ฅผ ๋ชจ๋‘ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค. [root@goodus yast_el5_x86_32]# ./install.sh Now checking the necessary rpms........... Checking dbus ....... found Checking hal ....... found Checking perl ....... found Checking coreutils ....... found Checking curl ....... found Checking unzip ....... found

Page 54: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 54 -

Checking tar ....... found Checking gzip ....... found Checking glibc-common ....... found Checking initscripts ....... found Checking cracklib ....... found Checking perl-Digest-SHA1 ....... found Checking boost ....... found Now checking the necessary tools........... Checking /bin/bash ....... found Checking /bin/ln ....... found Checking /bin/mktemp ....... found Checking /bin/rm ....... found Checking /bin/sed ....... found Checking /bin/sh ....... found Checking /sbin/ldconfig ....... found Checking /usr/bin/env ....... found Checking /usr/bin/find ....... found Checking /usr/bin/host ....... found Checking /usr/bin/perl ....... found Checking /usr/bin/python ....... found Checking /usr/bin/xargs ....... found Checking /usr/sbin/lsof ....... found Environment is OK. Now begin installing yast......... Environment is OK. Now begin installing yast......... Preparing... ########################################### [100%] 1:liby2util ########################################### [100%] Preparing... ########################################### [100%] 1:blocxx ########################################### [100%] Preparing... ########################################### [100%] 1:libxcrypt ########################################### [100%] Preparing... ########################################### [100%] 1:testutf8 ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-core ########################################### [100%] Preparing... ########################################### [100%] 1:hwinfo ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-hardware-detectio########################################### [100%] Preparing... ########################################### [100%] 1:libzypp ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-pkg-bindings ########################################### [100%] Preparing... ########################################### [100%] 1:yast2 ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-network ########################################### [100%] Preparing... ########################################### [100%] 1:perl-Parse-RecDescent ########################################### [100%] Preparing... ########################################### [100%] 1:perl-gettext ########################################### [100%] Preparing... ########################################### [100%] 1:perl-X500-DN ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-pam ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-perl-bindings ########################################### [ 14%] 2:yast2-mail-aliases ########################################### [ 29%] 3:yast2-ldap-client ########################################### [ 43%] 4:yast2-security ########################################### [ 57%] 5:yast2-country ########################################### [ 71%] 6:yast2-installation ########################################### [ 86%] 7:yast2-users ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-nfs-client ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-runlevel ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-ncurses ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-EM ########################################### [100%] Finished. Use /sbin/yast or /sbin/yast2 to start it # ๋ฆฌ๋ˆ…์Šค OS ์ปค๋งจ๋“œ ์ƒํƒœ์—์„œ /sbin/yast ๋˜๋Š”, /sbin/yast2 ๋ฅผ ์ž…๋ ฅํ•˜์—ฌ System Administration ์œ ํ‹ธ๋ฆฌํ‹ฐ๋ฅผ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 55: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 55 -

YAST ์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋˜์—ˆ์œผ๋ฉด Enterprise Manager์—์„œ ํ˜ธ์ŠคํŠธ์˜ ๊ด€๋ฆฌ ํ•ญ๋ชฉ์—์„œ [์™„๋ฃŒ] ๋ฒ„ํŠบ์„

๋ˆ„๋ฅด๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์ด System ๊ด€๋ฆฌ ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์„œ๋น„์Šค ํ•ญ๋ชฉ์—์„  ํ˜„์žฌ ๋ฆฌ๋ˆ…์Šค์— ๋“ฑ๋ก๋œ ์„œ๋น„์Šค๋“ค์˜ ๋ชฉ๋ก๊ณผ ์ž‘๋™์—ฌ๋ถ€๋ฅผ ๊ฒฐ์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 56: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 56 -

๊ธฐ๋ณธ ์‹œ์Šคํ…œ ์‹คํ–‰ ๋ ˆ๋ฒจ์€ OS ๋ถ€ํŒ…์‹œ ๋กœ๋”ฉ๋  ๋ฐฉ์‹์„ ๊ฒฐ์ •ํ•ฉ๋‹ˆ๋‹ค.

๋„คํŠธ์›Œํฌ ์นด๋“œ์— ๋Œ€ํ•œ ์„ค์ •๊ฐ’์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 57: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 57 -

ํ˜ธ์ŠคํŠธ ์กฐํšŒ ํ…Œ์ด๋ธ”์€ /etc/hosts๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ํ…Œ์ด๋ธ”๋กœ Enterprise Manager ์—์„œ root ์ธ์ฆ์„œ๋กœ

๋“ฑ๋ก์ด ๋˜์–ด ์žˆ๋Š” ๊ฒฝ์šฐ ์ถ”๊ฐ€/ํŽธ์ง‘/์‚ญ์ œ๊ฐ€ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

NFS ํด๋ผ์ด์–ธํŠธ ๊ธฐ๋Šฅ์œผ๋กœ ์›๊ฒฉ์ง€ ํŒŒ์ผ ์‹œ์Šคํ…œ์„ ์‚ฌ์šฉํ•˜์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์‚ฌ์šฉ์ž ๋ฐ ๊ทธ๋ฃน์„ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 58: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 58 -

5. Managing Database

5.1. Database Home Page

5.1.1. Database Home page

๋Œ€์ƒ โ€“ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ•ญ๋ชฉ์—์„œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํ˜ธ์ŠคํŠธ์— ๊ตฌ์„ฑ๋˜์–ด ์žˆ๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋ชฉ๋ก์„ ๋ณด์—ฌ

์ค๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ด๋ฆ„์„ ํด๋ฆญํ•˜๋ฉด ์ ‚๋ฐ˜์ ์ธ DBMS ์ƒํƒœ๋ฅผ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค.

Page 59: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 59 -

5.1.2. Database Home Components

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ™ˆ์—์„œ๋Š” ํ•ด๋‹น ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค์˜ ์ƒํƒœ, ๊ตฌ์„ฑ์ •๋ณด, ํ˜ธ์ŠคํŠธ์™€ ๊ด€๋ ฆ๋œ ๋ฆฌ์†Œ์Šค

์‚ฌ์šฉ๋ฅ , ์„ฑ๋Šฅ ๋ฐ ๊ฐ€์šฉ์„ฑ, ๊ณต๊ฐ‚์š”์•ฝ, ๊ฒฝ๋ณด, ์ž‘์—… ๋“ฑ์˜ ํ•ญ๋ชฉ์ด ์š”์•ฝ๋˜์–ด ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

์ผ๋ฐ˜ ์‚ฌํ•ญ : ์ ‚์ฒด์ ์ธ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ƒํƒœ ๋ฐ ๊ธฐ๋ณธ์ ์ธ ๊ตฌ์„ฑ ์ •๋ณด๋ฅผ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค.

ํ˜ธ์ŠคํŠธ CPU : ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ํ•ด๋‹นํ•˜๋Š” ํ˜ธ์ŠคํŠธ์˜ CPU ์‚ฌ์šฉ๋ฅ ์„ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค.

ํ™—์„ฑ ์„ธ์…˜ : CPU ์†Œ๋ชจ๋Ÿ‰, ๋Œ€๊ธฐ์ค‘์ธ ์„ธ์…˜, ์‚ฌ์šฉ์ž I/O์— ๋Œ€ํ•œ ๋น„์œจ์„ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค.โ€Ÿ

SQL ์‘๋‹ต ์‹œ๊ฐ‚ : ์ฐธ์กฐ ๋ชจ์Œ ์‘๋‹ต ์‹œ๊ฐ‚์— ๋Œ€ํ•œ ์ถ”์ ๋œ SQL ์ง‘ํ•ฉ์˜ ํ˜„์žฌ ์‘๋‹ต ์‹œ๊ฐ‚์„ ๋ณผ

์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ˜„์žฌ ์‘๋‹ต ์‹œ๊ฐ‚๊ณผ ์ฐธ์กฐ ๋ชจ์Œ ์‘๋‹ต ์‹œ๊ฐ‚์ด ๋™์ผํ•˜๋ฉด ์‹œ์Šคํ…œ์ด ์ •์ƒ์ ์œผ๋กœ

์‹คํ–‰๋˜๊ณ  ์žˆ๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ํ˜„์žฌ ์‘๋‹ต ์‹œ๊ฐ‚์ด ์ฐธ์กฐ ๋ชจ์Œ ์‘๋‹ต ์‹œ๊ฐ‚๋ณด๋‹ค ๊ธธ ๊ฒฝ์šฐ ํ•˜๋‚˜

์ด์ƒ์˜ SQL ๋ฌธ์ด ์ •์ƒ ์ƒํƒœ๋ณด๋‹ค ๋Š๋ฆฌ๊ฒŒ ์ˆ˜ํ–‰๋˜๊ณ  ์žˆ๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ํ˜„์žฌ ์‘๋‹ต ์‹œ๊ฐ‚์ด

์งง์„์ˆ˜๋ก SQL ๋ฌธ์ด ๋” ํšจ์œจ์ ์œผ๋กœ ์‹คํ–‰๋˜๊ณ  ์žˆ๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.

์‘๋‹ต ์‹œ๊ฐ„ ๊ณ„์‚ฐ

์ตœ๊ทบ ๋ชจ์Œ์˜ ์‘๋‹ต ์‹œ๊ฐ‚์€ ๋‹ค์Œ ๊ณต์‹์„ ์‚ฌ์šฉํ•˜์—ฌ ๊ณ„์‚ฐ๋ฉ๋‹ˆ๋‹ค.

์ตœ๊ทบ SQL ์‘๋‹ต ์‹œ๊ฐ‚ = Sum i=1,N (ElapsedTimePerExec * BaselineExecCount)i

์ฐธ์กฐ ๋ชจ์Œ์˜ ์‘๋‹ต ์‹œ๊ฐ‚์€ ๋‹ค์Œ ๊ณต์‹์„ ์‚ฌ์šฉํ•˜์—ฌ ๊ณ„์‚ฐ๋ฉ๋‹ˆ๋‹ค.

SQL ์‘๋‹ต ์‹œ๊ฐ‚ = Sum i=1,N (BaselineElapsedTime)i

SQL ๋ฌธ์ด ์ฐธ์กฐ ๋ชจ์Œ์— ํฌํ•จ๋˜๋ ค๋ฉด ๋‹ค์Œ ์กฐ๊ฑด์„ ์ถฉ์กฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

์ฐธ์กฐ ๋ชจ์Œ์ด ์ƒ์„ฑ๋  ๋•Œ ์ ์–ด๋„ ๋‹ค์„ฏ ๋ฒˆ ์‹คํ–‰๋จ

SYS, SYSMAN ๋˜๋Š” DBSNMP ์— ์˜ํ•ด ์‹คํ–‰๋˜์ง€ ์•Š์Œ

ํ•ด๋‹น ์‹œ๊ฐ‚ ๊ฐ‚๊ฒฉ ๋™์•† ๋ธํƒ€ ์‹คํ–‰ ํšŸ์ˆ˜๊ฐ€ ์ ์–ด๋„ 50 ํšŒ์ž„

๋ธํƒ€ ์‹คํ–‰ ํšŸ์ˆ˜๊ฐ€ ์ถ”์ ๋œ SQL ๋ฌธ์—์„œ ์ƒ์œ„ 25 ์œ„์— ์†ํ•จ

9i ๋ฒ„์ „์—์„œ SQL ์ธก์ • ๋‹จ์œ„ ๋ณด๊ธฐ

9i ๋ฒ„์ ‚์„ ์‚ฌ์šฉ ์ค‘์ธ๋ฐ SQL ์ž‘์—… ์ธก์ • ๋‹จ์œ„๋ฅผ ๋ณด๋ ค๋Š” ๊ฒฝ์šฐ ํ•ด๋‹น ์ธก์ • ๋‹จ์œ„๋ฅผ ๊ตฌ์„ฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๊ตฌ์„ฑํ•˜์ง€ ์•Š์œผ๋ฉด [SQL ์‘๋‹ต ์‹œ๊ฐ‚]์ด [๊ตฌ์„ฑ๋˜์ง€ ์•Š์Œ]์œผ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋ฉด ๊ตฌ์„ฑ์„ ๋ˆŒ๋Ÿฌ

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ตฌ์„ฑ ๋งˆ๋ฒ•์‚ฌ๋ฅผ ํ˜ธ์ถ—ํ•ฉ๋‹ˆ๋‹ค. ๊ตฌ์„ฑ ํ›„์—๋Š” [SQL ์‘๋‹ต ์‹œ๊ฐ‚] ์ฐจํŠธ๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

์ง‚๋‹จ ์š”์•ฝ : Automatic Database Diagnostic Monitor(ADDM) ๊ณผ Alert Log ์ •๋ณด๋ฅผ

์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

๊ณต๊ฐ‚ ์š”์•ฝ : ์ €์žฅ ๊ณต๊ฐ‚๊ณผ ๊ด€๋ ฆํ•œ ์ด์Šˆ์‚ฌํ•ญ, ์„ฑ๋Šฅ ํ–ฅ์ƒ์„ ์šฐํ•œ ๊ถŒ์žฅ์‚ฌํ•ญ ๋ฐ ๊ณต๊ฐ‚ ๋ฌธ์ œ์™€

๊ด€๋ ฆ๋œ ์ •๋ณด๋ฅผ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค.

๊ณ ๊ฐ€์šฉ์„ฑ : ๊ฐ€์šฉ์„ฑ์„ ๋†’์ด๊ณ  ๊ณ„ํš๋œ ์ž‘๋™ ์ค‘์ง€ ์‹œ๊ฐ‚๊ณผ ๊ณ„ํš๋˜์ง€ ์•Š์€ ์ž‘๋™ ์ค‘์ง€ ์‹œ๊ฐ‚์„

์—†์• ๊ฑฐ๋‚˜ ์ตœ์†Œํ™”ํ•จ์œผ๋กœ์จ ์•†์ •์„ฑ, ๋ณต๊ตฌ ๊ฐ€๋Šฅ์„ฑ, ์‹œ๊ธฐ ์ ์ ƒํ•œ ์˜ค๋ฅ˜ ํƒ์ง€ ๋ฐ ์ง€์†์ ์ธ

์ž‘๋™์„ ๋ณด์žฅํ•˜๋Š” ๋ช‡ ๊ฐ€์ง€ ์œ ์šฉํ•œ ๋ชจ๋‹ˆํ„ฐ๋ง ๋„๊ตฌ๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

Page 60: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 60 -

์š”์†Œ ์„ค๋ช…

์ฝ˜์†” ์ด ๋งํฌ๋ฅผ ๋ˆ„๋ฅด๋ฉด ๊ฐ€์šฉ์„ฑ ์š”์•ฝ, ๋ฐฑ์—…/๋ณต๊ตฌ ์š”์•ฝ, Data Guard ์š”์•ฝ ๋ฐ ๊ฐ€์šฉ์„ฑ ์ด๋ฒคํŠธ๋ฅผ

ํฌํ•จํ•œ ๊ณ ๊ฐ€์šฉ์„ฑ ์ฝ˜์†”์˜ ์ƒํƒœ๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

Data Guard ๋Œ€๊ธฐ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ™–๊ฒฝ์˜ ์ƒ์„ฑ, ๊ด€๋ฆฌ ๋ฐ ๋ชจ๋‹ˆํ„ฐ๋ง ์ธก๋ฉด์„ ์ž๋™ํ™”ํ•˜์—ฌ ์ค‘์š”ํ•œ ๋ฐ์ดํ„ฐ๋ฅผ

๋ณดํ˜ธํ•ฉ๋‹ˆ๋‹ค. Data Guard ๋Š” ์šด์šฉ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๊ฐ€ ์†์‹ค๋˜๊ฑฐ๋‚˜ ์†์ƒ๋œ ๊ฒฝ์šฐ์— ๋ณต๊ตฌํ•  ์ˆ˜

์žˆ๋„๋ก ํŠธ๋žœ์žญ์…˜ ๋ฐฉ์‹์ด ๋™์ผํ•œ Oracle ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ๋ณต์‚ฌ๋ณธ์„ ์œ ์ง€ ๊ด€๋ฆฌํ•˜๋Š”

ํ”„๋กœ์„ธ์Šค๋ฅผ ์ž๋™ํ™”ํ•ฉ๋‹ˆ๋‹ค.

Data Guard ๋งํฌ๋ฅผ ๋ˆ„๋ฅด๋ฉด ์˜ค๋ฅ˜, ์žฅ์•  ๋ฐ ์†์ƒ์œผ๋กœ๋ถ€ํ„ฐ ๋ฐ์ดํ„ฐ๋ฅผ ๋ณดํ˜ธํ•  ์ˆ˜ ์žˆ๋Š” [Data

Guard] ํŽ˜์ด์ง€๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ ‡์ง€ ์•Š์œผ๋ฉด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๊ฐ€ ์†์ƒ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ธ์Šคํ„ด์Šค

๋ณต๊ตฌ ์‹œ๊ฐ‚

๊ณ ์žฅ ๋ณต๊ตฌ์— ์†Œ์š”๋˜๋Š” ์˜ˆ์ƒ ์‹œ๊ฐ‚(์ดˆ)์„ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

์ธ์Šคํ„ด์Šค ๋ณต๊ตฌ ์‹œ๊ฐ‚ ๋งํฌ๋ฅผ ๋ˆ„๋ฅด๋ฉด [์ธ์Šคํ„ด์Šค ๋ณต๊ตฌ] ์„น์…˜์— ์ ํ•ฉํ•œ ์‹œ๊ฐ‚(์ดˆ)์„ ์„ค์ •ํ•  ์ˆ˜

์žˆ๋Š” [๋ณต๊ตฌ ์„ค์ •] ํŽ˜์ด์ง€๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

๋งˆ์ง€๋ง‰ ๋ฐฑ์—… ์ด์ ‚ Oracle 10g ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ๋งˆ์ง€๋ง‰ ๋ฐฑ์—… ์‹œ๊ฐ‚, ์ตœ๊ทบ ๋ฐฑ์—… ์‹œ๊ฐ‚ ๋ฐ Oracle 10g ๋˜๋Š”

์ดํ›„ ๋ฒ„์ ‚์˜ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ๋Œ€ํ•œ ๋ฐฑ์—…์ด ์„ฑ๊ณต์ ์ด์—ˆ๋Š”์ง€ ์—ฌ๋ถ€๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. 10g ๋˜๋Š”

์ดํ›„ ๋ฒ„์ ‚์˜ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ๋Œ€ํ•œ ๋ฐฑ์—…์„ ์‹คํŒจํ•œ ๊ฒฝ์šฐ [๋งˆ์ง€๋ง‰ ๋ฐฑ์—…] ๋งํฌ์— ๋ฐฑ์—… ๊ฒฐ๊ณผ๊ฐ€

ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

๋ฐฑ์—…์„ ์„ฑ๊ณตํ•œ ๊ฒฝ์šฐ ๋งˆ์ง€๋ง‰ ๋ฐฑ์—… ๋งํฌ๋ฅผ ๋ˆ„๋ฅด๋ฉด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ์ตœ๊ทบ ๋ฐฑ์—… ์ž‘์—…๊ณผ ์ด์ ‚

๋ฐฑ์—… ์ž‘์—…์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋Š” [๋ฐฑ์—… ๋ณด๊ณ ์„œ] ํŽ˜์ด์ง€๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

์‚ฌ์šฉ๋œ

์•„์นด์ด๋ธŒ ์˜์—ญ

์ด ๋งํฌ๋ฅผ ๋ˆ„๋ฅด๋ฉด [์•„์นด์ด๋ธŒ ์˜์—ญ] ํŽ˜์ด์ง€๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. [๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค ํ™ˆ]

ํŽ˜์ด์ง€์— [์‚ฌ์šฉ๋œ ์•„์นด์ด๋ธŒ ์˜์—ญ] ์š”์†Œ๋ฅผ ํ‘œ์‹œํ•˜๋ ค๋ฉด [๋ณต๊ตฌ ์„ค์ •] ํŽ˜์ด์ง€์—์„œ

[ARCHIVELOG ๋ชจ๋“œ]๋ฅผ ์„ ํƒํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์•„์นด์ด๋ธŒ ๋กœ๊น…์„ ์‚ฌ์šฉ์œผ๋กœ ์„ค์ •ํ•œ ์ƒํƒœ์—์„œ

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ๋Œ€ํ•ด ํ”Œ๋ž˜์‹œ ๋ณต๊ตฌ ์˜์—ญ์„ ๊ตฌ์„ฑํ•˜์ง€ ์•Š์€ ๊ฒฝ์šฐ, ์‚ฌ์šฉ๋œ ์•„์นด์ด๋ธŒ ์˜์—ญ

๋น„์œจ์ด ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ

ํ”Œ๋ž˜์‹œ ๋ณต๊ตฌ

์˜์—ญ

[ํ”Œ๋ž˜์‹œ ๋ณต๊ตฌ ์˜์—ญ]์„ ์ง€์ •ํ•œ ๊ฒฝ์šฐ ์ด ์š”์†Œ๋Š” ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ณต๊ตฌ ์˜์—ญ(์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์˜์—ญ๊ณผ

ํ™•๋ณด ๊ฐ€๋Šฅํ•œ ์˜์—ญ)์˜ ๋น„์œจ์„ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

ํ”Œ๋ž˜์‹œ ๋ณต๊ตฌ ์˜์—ญ์€ Oracle ๊ด€๋ฆฌ ๋””๋ ‰ํ† ๋ฆฌ ๋˜๋Š” ๋ฐฑ์—… ๋ฐ ๋ณต๊ตฌ ํŒŒ์ผ์— ๋Œ€ํ•ด ์ค‘์•™ ์ง‘์ค‘์ ์ธ

๋””์Šคํฌ ์œ„์น˜๋ฅผ ์ œ๊ณตํ•˜๋Š” Automatic Storage Management ๋””์Šคํฌ ๊ทธ๋ฃน์ž…๋‹ˆ๋‹ค. Oracle ์€

ํ”Œ๋ž˜์‹œ ๋ณต๊ตฌ ์˜์—ญ์— ์•„์นด์ด๋ธŒ๋œ ๋กœ๊ทธ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.

RMAN ์€ ํ”Œ๋ž˜์‹œ ๋ณต๊ตฌ ์˜์—ญ์— ๋ฐฑ์—…์„ ์ €์žฅํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ ๋งค์ฒด ๋ณต๊ตฌ ์ค‘ ํŒŒ์ผ์„ ๋ณต์›ํ•  ๋•Œ

์ด ์˜์—ญ์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ํ”Œ๋ž˜์‹œ ๋ณต๊ตฌ ์˜์—ญ์€ ํ…Œ์ดํ”„์— ๋Œ€ํ•œ ๋””์Šคํฌ ์บ์‹œ๋กœ๋„ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.

์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ํ”Œ๋ž˜์‹œ ๋ณต๊ตฌ ์˜์—ญ ๋งํฌ๋ฅผ ๋ˆ„๋ฅด๋ฉด ํ”Œ๋ž˜์‹œ ๋ณต๊ตฌ ๊ฐ’์„ ์„ค์ •ํ•  ์ˆ˜ ์žˆ๋Š” [๋ณต๊ตฌ

์„ค์ •] ํŽ˜์ด์ง€๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

ํ”Œ๋ž˜์‹œ๋ฐฑ ์‹œ๊ฐ‚ ํ”Œ๋ž˜์‹œ๋ฐฑ ๋กœ๊น…์„ ํ™—์„ฑํ™”ํ•œ ๊ฒฝ์šฐ ์ด ์š”์†Œ๋Š” ํ”Œ๋ž˜์‹œ๋ฐฑ ๋ฐ์ดํ„ฐ์—์„œ ์ตœํ•˜์œ„ SCN ์˜ ์‹œ๊ฐ‚์„

ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

ํ”Œ๋ž˜์‹œ๋ฐฑ ๋กœ๊น… ํ”Œ๋ž˜์‹œ๋ฐฑ ๋กœ๊น…์˜ ํ™—์„ฑํ™” ๋˜๋Š” ๋น„ํ™—์„ฑํ™” ์—ฌ๋ถ€๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. ํ”Œ๋ž˜์‹œ๋ฐฑ ๋กœ๊ทธ๋Š” ํ”Œ๋ž˜์‹œ๋ฐฑ

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋˜๋Š” Oracle ์—์„œ ์ƒ์„ฑํ•˜๋Š” ๋กœ๊ทธ์ž…๋‹ˆ๋‹ค. Oracle ์€

ํ”Œ๋ž˜์‹œ๋ฐฑ ๋กœ๊ทธ๋ฅผ ํ”Œ๋ž˜์‹œ ๋ณต๊ตฌ ์˜์—ญ์—๋งŠ ๊ธฐ๋กํ•  ์ˆ˜ ์žˆ๊ณ  ๋””์Šคํฌ์— ๋ฐฑ์—…ํ•  ์ˆ˜๋Š” ์—†์Šต๋‹ˆ๋‹ค.

ํ”Œ๋ž˜์‹œ๋ฐฑ ๋กœ๊น… ๋งํฌ๋ฅผ ๋ˆ„๋ฅด๋ฉด ํ”Œ๋ž˜์‹œ๋ฐฑ ๋กœ๊ทธ๋ฅผ ํ™—์„ฑํ™”ํ•˜๊ฑฐ๋‚˜ ๋น„ํ™—์„ฑํ™”ํ•  ์ˆ˜ ์žˆ๋Š” [๋ณต๊ตฌ

์„ค์ •] ํŽ˜์ด์ง€์˜ [ํ”Œ๋ž˜์‹œ ๋ณต๊ตฌ] ์„น์…˜์œผ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค. ํ”Œ๋ž˜์‹œ๋ฐฑ ๋กœ๊ทธ๋ฅผ ํ™—์„ฑํ™”ํ•˜๋ ค๋ฉด

ํ”Œ๋ž˜์‹œ ๋ณต๊ตฌ ์˜์—ญ์„ ์ง€์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

์ŠคํŠธ๋ฆฐ

๊ตฌ์„ฑ ์š”์†Œ

ํ˜„์žฌ ํ™—์„ฑ ์ŠคํŠธ๋ฆฐ ๊ตฌ์„ฑ ์š”์†Œ ์ˆ˜๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. ์ด ๋งํฌ๋ฅผ ๋ˆ„๋ฅด๋ฉด ์ŠคํŠธ๋ฆฐ ๊ตฌ์„ฑ์˜ ๊ฐœ์š”๋ฅผ

๋ณผ ์ˆ˜ ์žˆ๋Š” [์ŠคํŠธ๋ฆฐ ๊ฐœ์š”] ํŽ˜์ด์ง€๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

Page 61: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 61 -

๊ฒฝ๋ณด : ๋ชจ๋‹ˆํ„ฐ๋ง ์ธก์ • ๋‹จ์œ„ ์ž„๊ณ„๊ฐ’์— ๋„๋‹ฌํ•˜๋ฉด ๊ฒฝ๋ณด๊ฐ€ ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค. ๊ฒฝ๋ณด๋Š” ๋ชจ๋‹ˆํ„ฐ๋œ

์ธก์ • ๋‹จ์œ„์— ๋Œ€ํ•œ ๊ฒฝ๊ณ  ๋˜๋Š” ์œ„๊ธฐ ์ž„๊ณ„๊ฐ’์— ๋„๋‹ฌํ–ˆ๋‹ค๋Š” ์ž ์žฌ์  ๋ฌธ์ œ๋ฅผ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋‹ค์–‘ํ•œ ๋Œ€์ƒ ๊ฐ€์šฉ์„ฑ ์ƒํƒœ์— ๋Œ€ํ•ด์„œ๋„ ๊ฒฝ๋ณด๊ฐ€ ์ƒ์„ฑ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋Œ€์ƒ์˜ ์ž‘๋™์ด ์ค‘์ง€๋จ

๋Œ€์ƒ์„ ๋ชจ๋‹ˆํ„ฐํ•˜๋Š” Oracle Management Agent ์— ์—ฐ๊ฒฐํ•  ์ˆ˜ ์—†์Œ

์ž‘์—… ํ™—๋™ : ์ž‘์—… ํ™—๋™์— ๋Œ€ํ•œ ์ž‘์—… ์‹คํ–‰ ์ƒํƒœ๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

5.1.3. Managing Databases

Grid Control ์—์„œ๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์—์„œ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋Š” ์˜ˆ์™ธ์ ์ธ ์ƒํ™ฉ์„ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๊ฒฝ๋ณด(Alerts)๋Š” User ์—๊ฒŒ ์˜ํ–ฅ์„ ๋ฏธ์น  ์ˆ˜ ์žˆ๋Š” ๋ฌธ์ œ์— ๋Œ€ํ•ด ๋ฏธ๋ฆฌ ์•Œ๋ ค์ค๋‹ˆ๋‹ค.

์ธก์ •(Metric ) ๋œ ์ด๋ ฅ์€ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ์„ฑ๋Šฅ์— ๋Œ€ํ•œ ๊ฒฝํ–ฅ์„ ์•Œ๋ ค์ค๋‹ˆ๋‹ค.

Grid Control ์€ Oracle 8i ๋ฐ 9i ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋„ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋งค์ผ ์ˆ˜ํ–‰ํ•  ๊ด€๋ฆฌ ์—…๋ฌด

์„ฑ๋Šฅ ๋ชจ๋‹ˆํ„ฐ๋ง ( Statspack ๋ฐ Dynamic Performance Views ์ด์šฉ)

๋ฌธ์ œ SQL ๊ฒ€์ถ—

์‹ค์‹œ๊ฐ‚ ์„ฑ๋Šฅ ๋ชจ๋‹ˆํ„ฐ๋ง

์„ฑ๋Šฅ ๋ฐ์ดํ„ฐ ์ด๋ ฅ ํ™•์ธ

Alert ๋ฐ Metric ์„ค์ •

Page 62: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 62 -

5.2. Database Performance

5.2.1. Monitoring Database Performance

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋Œ€์ƒ์œผ๋กœ ์„ฑ๋Šฅ๊ณผ ํ†ต๊ณ„์— ๊ด€๋ ฆ๋œ ํ•ญ๋ชฉ๋“ค์„ ๋ชจ๋‹ˆํ„ฐ๋งํ•˜์—ฌ ๊ทธ๋ž˜ํ”„๋กœ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„ฑ๋Šฅ ํŽ˜์ด์ง€์—์„œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ž‘์—…์„ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ํ˜„์žฌ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ์•†ํŒŽ์œผ๋กœ ์ž ์žฌ๋˜์–ด ์žˆ๋Š” ๋ฌธ์ œ ํ™•์ธ

๋ณ‘๋ชฉ ์›์ธ ํŒŒ์•…

์ตœ์ƒ์œ„ SQL, ์ตœ์ƒ์œ„ ์„ธ์…˜, ์ตœ์ƒ์œ„ ํŒŒ์ผ ๋ฐ ์ตœ์ƒ์œ„ ๊ฐ์ฒด์— ๋Œ€ํ•œ ์ •๋ณด์— ์•ก์„ธ์Šค

์„ฑ๋Šฅ ๋ถ„์„์„ ์œ„ํ•ด ADDM ์‹คํ–‰

์„ธ์…˜ ์ƒ˜ํ”Œ๋ง ๋ฐ์ดํ„ฐ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ์„ฑ๋Šฅ ์ง‚๋‹จ ๋ณด๊ณ ์„œ ์ž‘์„ฑ

๋Š๋ฆฌ๊ฑฐ๋‚˜ ์ •์ง€๋œ ์‹œ์Šคํ…œ์— ๋Œ€ํ•ด ๋ฉ”๋ชจ๋ฆฌ ์•ก์„ธ์Šค ๋ชจ๋“œ๋กœ ์ ‚ํ™–

๊ธฐํƒ€ ๋ชจ๋‹ˆํ„ฐ๋ง ๋งํฌ ์•ก์„ธ์Šค

์ฐจํŠธ์™€ ํ•จ๊ป˜ ๋‚˜ํƒ€๋‚˜๋Š” ๋งํฌ ๋˜๋Š” ํŽ˜์ด์ง€์˜ ํ•˜๋‹จ์— ์žˆ๋Š” ๋งํฌ์—์„œ ๋“œ๋ฆฏ๋‹ค์šดํ•˜์—ฌ ๋‹ค์Œ ์ž‘์—…์„

์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์„ฑ๋Šฅ ๋ฌธ์ œ์˜ ์›์ธ ํŒŒ์•… ๋ฐ ํ•ด๊ฒฐ

์„ฑ๋Šฅ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด ๋ฆฌ์†Œ์Šค๋ฅผ ์ถ”๊ฐ€ ๋˜๋Š” ์žฌ๋ถ„๋ฐฐํ•ด์•ผ ํ•˜๋Š”์ง€ ์—ฌ๋ถ€ ๊ฒฐ์ •

์ตœ์ ์˜ ์„ฑ๋Šฅ์„ ์œ„ํ•ด SQL ๊ณ„ํš ๋ฐ ์Šคํ‚ค๋งˆ ํŠœ๋‹

Page 63: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 63 -

ํ˜ธ์ŠคํŠธ ์ฐจํŠธ - ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์™ธ๋ถ€์—์„œ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋Š” ๋ฌธ์ œ๋ฅผ ๋ณด์—ฌ ์ค๋‹ˆ๋‹ค. ๋กœ๋“œ ํ‰๊ท ์€

์‹คํ–‰ ๋Œ€๊ธฐ์—ด ๊ธธ์ด์˜ ์ด๋™ ํ‰๊ท ์ž…๋‹ˆ๋‹ค. ์‹คํ–‰ ๋Œ€๊ธฐ์—ด ๊ธธ์ด๋Š” CPU ์‹œ๊ฐ‚ ๋™์•†์˜ ๊ฒฝํ•ฉ ๋ ˆ๋ฒจ์„

๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค. Windows์™€ ๊ฐ™์€ ํ”Œ๋žซํผ์—์„œ ๋กœ๋“œ ํ‰๊ท ์„ ์ œ๊ณตํ•˜์ง€ ์•Š์„ ๊ฒฝ์šฐ์—๋Š” CPU

ํ™—์šฉ๋ฅ ์ด ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. ์ฐจํŠธ ์˜ค๋ฅธ์ชฝ์— ์žˆ๋Š” [๋กœ๋“œ ํ‰๊ท ] ๋ฒ”๋ก€๋ฅผ ๋ˆ„๋ฅด๋ฉด [ํ˜ธ์ŠคํŠธ ์„ฑ๋Šฅ]

ํŽ˜์ด์ง€๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

ํ˜ธ์ŠคํŠธ ์ฐจํŠธ ํ•ด์„ - ๊ฐ’์ด ๋†’๋‹ค๋Š” ๊ฒƒ์€ ์•„์ฃผ ๋ง‹์€ ์‚ฌ์šฉ์ž๊ฐ€ CPU ์‹œ๊ฐ‚ ๋™์•† ๋Œ€๊ธฐํ•˜๊ณ  ์žˆ์Œ์„

๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค. ์ด ๊ฐ’์„ [์„ธ์…˜] ์ฐจํŠธ์˜ [์‚ฌ์šฉ๋œ CPU]์˜ ๊ฐ’๊ณผ ๋น„๊ตํ•˜์‹ญ์‹œ์˜ค. ์„ธ์…˜ ๊ฐ’์ด ๋‚ฎ๊ณ  ์‹คํ–‰

๋Œ€๊ธฐ์—ด ๊ธธ์ด ๊ฐ’์ด ๋†’๋‹ค๋ฉด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๊ฐ€ ์•„๋‹Œ ํ˜ธ์ŠคํŠธ์˜ ๋‹ค๋ฅธ ๊ณณ์—์„œ CPU๋ฅผ ์‚ฌ์šฉํ•˜๊ณ 

์žˆ์Œ์„ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค. [๋ฉ”๋ชจ๋ฆฌ ์•ก์„ธ์Šค] ๋ชจ๋“œ๋ฅผ ์„ ํƒํ•œ ๊ฒฝ์šฐ [ํ˜ธ์ŠคํŠธ] ์ฐจํŠธ๋Š” ํ™”๋ฉด์ด ์ตœ๊ทบ์—

๋กœ๋“œ๋˜์—ˆ๊ณ  ์บ์‹œ์— ์ €์žฅ๋œ ๋‚ด์—ญ ๋ฐ์ดํ„ฐ๊ฐ€ ์—ฌ์ ‚ํžˆ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•  ๋•Œ๋ฅผ ์ œ์™ธํ•˜๊ณ  ์ฒ˜์Œ์— ๋‚ด์—ญ

๋ฐ์ดํ„ฐ๋ฅผ ํ‘œ์‹œํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ํ˜ธ์ŠคํŠธ ๋ฐ์ดํ„ฐ๋Š” ํ™”๋ฉด์ด ์ฒ˜์Œ ์•ก์„ธ์Šค๋œ ์‹œ๊ฐ‚๋ถ€ํ„ฐ ์บ์‹œ์—

์ €์žฅ๋˜๊ณ  ์ ์ฐจ์ ์œผ๋กœ [ํ˜ธ์ŠคํŠธ] ์ฐจํŠธ์˜ ๋‚ด์—ญ์„ ์ฐฟ์›๋‹ˆ๋‹ค.

์ง€๊ธˆ ADDM ์‹คํ–‰ - ์ด ๋‹จ์ถ”๋ฅผ ๋ˆ„๋ฅด๋ฉด ์ƒˆ AWR ์Šค๋ƒ…์ƒท์ด ์ƒ์„ฑ๋˜๊ณ  ํ˜„์žฌ ๋ฐ ์ด์ ‚ ์Šค๋ƒ…์ƒท์—์„œ

ADDM์ด ์‹คํ–‰๋ฉ๋‹ˆ๋‹ค. ์•„์ด์ฝ˜์„ ๋ˆ„๋ฅด๋ฉด ADDM(์ž๋™ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ง‚๋‹จ ๋ชจ๋‹ˆํ„ฐ)์— ์•ก์„ธ์Šคํ• 

์ˆ˜ ์žˆ๋Š”๋ฐ, ์—ฌ๊ธฐ์„œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ์„ฑ๋Šฅ ๋ถ„์„๊ณผ ์Šค๋ƒ…์ƒท ์„ธ๋ถ€ ์ •๋ณด๋ฅผ ๋ณด๊ฑฐ๋‚˜, ์ ‚์ฒด ๋ถ„์„

๋ณด๊ณ ์„œ๋ฅผ ์ธ์‡„ํ•˜๊ฑฐ๋‚˜, ์ƒˆ๋กœ์šด ์„ฑ๋Šฅ ๋ถ„์„์„ ์œ„ํ•ด ์ฆ‰์‹œ ADDM์„ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ASH ๋ณด๊ณ ์„œ ์‹คํ–‰ - ASH(ํ™—์„ฑ ์„ธ์…˜ ๋‚ด์—ญ) ๋ณด๊ณ ์„œ๊ฐ€ ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค. ์ด ๋ณด๊ณ ์„œ๋Š” ์ง€์ •๋œ ๊ธฐ๊ฐ‚

๋™์•†์˜ ์„ธ์…˜ ์ƒ˜ํ”Œ๋ง ๋ฐ์ดํ„ฐ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„ฑ๋Šฅ ์ง‚๋‹จ ๋ณด๊ณ ์„œ์ž…๋‹ˆ๋‹ค.

ํ‰๊ท  ํ™œ์„ฑ ์„ธ์…˜ ์ฐจํŠธ - ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋‚ด์—์„œ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋Š” ๋ฌธ์ œ๋ฅผ ๋ณด์—ฌ ์ค๋‹ˆ๋‹ค. ๋Œ€๊ธฐ

ํด๋ž˜์Šค ๋ฒ”์ฃผ๋Š” CPU ๋˜๋Š” ๋””์Šคํฌ I/O์™€ ๊ฐ™์€ ๋ฆฌ์†Œ์Šค๋ฅผ ๊ธฐ๋‹ค๋ฆฌ๊ณ  ์žˆ๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ˆ˜๋ฅผ

๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค. ์ฐจํŠธ๋Š” ์ธ์Šคํ„ด์Šค์— ๋Œ€ํ•œ ๋กœ๋“œ๋ฅผ ํ‘œ์‹œํ•˜๊ณ  ์„ฑ๋Šฅ ๋ณ‘๋ชฉ์„ ์‹๋ณ„ํ•ฉ๋‹ˆ๋‹ค. ๋ฌธ์ œ ์˜์—ญ์„

์‹ž์†ํ•˜๊ฒŒ ์‹๋ณ„ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋ณด๋‹ค ์‹ฌ๊ฐํ•œ ๋ฌธ์ œ๋Š” ์ฐจํŠธ์— ๋ณด๋‹ค ํฐ ์ƒ‰์ƒ ๋ธ”๋ก์œผ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

์ตœ๊ณ ์ ์— ์žˆ๋Š” ๊ฐ€์žฅ ํฐ ๋Œ€๊ธฐ ํด๋ž˜์Šค๋ฅผ ๋ˆ„๋ฅด๊ฑฐ๋‚˜ [์ž‘์—… ์„ธ๋ถ€ ์ •๋ณด] ์•„๋ž˜์˜ ํ•ด๋‹น ๋Œ€๊ธฐ

ํด๋ž˜์Šค(๋…ธ๋ž€์ƒ‰์œผ๋กœ ๊ฐ•์กฐ ํ‘œ์‹œ)๋ฅผ ๋ˆ„๋ฅด์‹ญ์‹œ์˜ค. ๊ทธ๋Ÿฌ๋ฉด ์„ ํƒํ•œ ๋Œ€๊ธฐ ํด๋ž˜์Šค์— ๋Œ€ํ•ด ๋Œ€๊ธฐ

ํด๋ž˜์Šค์˜ ์ตœ์ƒ์œ„ SQL, ์„ธ์…˜, ํŒŒ์ผ, ๊ฐ์ฒด ๋ฐ ์—ฐ๊ด€๋œ ๋Œ€๊ธฐ ์ด๋ฒคํŠธ๋ฅผ ๋ณด์—ฌ์ฃผ๋Š” [๋Œ€๊ธฐ ์ค‘์ธ ํ™—์„ฑ

์„ธ์…˜] ํŽ˜์ด์ง€๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

ํ‰๊ท  ํ™œ์„ฑ ์„ธ์…˜ ์ฐจํŠธ ํ•ด์„ - [์„ธ์…˜ ์ˆ˜]๋Š” ๋ชจ๋“  ํ™—์„ฑ ์„ธ์…˜์ด ๋งˆ์ง€๋ง‰ ์ƒ˜ํ”Œ๋ง ๊ฐ‚๊ฒฉ์—์„œ ์†Œ๋น„ํ•œ

์‹œ๊ฐ‚์„ ์—ฌ๋Ÿฌ ๋Œ€๊ธฐ ํด๋ž˜์Šค๋กœ ๋ถ„๋ฅ˜ํ•˜์—ฌ ๊ฐ ๋Œ€๊ธฐ ํด๋ž˜์Šค์˜ ์–‘์„ ํ•ฉ์‚ฐํ•œ ๋‹ค์Œ ์ด ๊ฐ’์„ ์ƒ˜ํ”Œ๋ง

๊ฐ‚๊ฒฉ์œผ๋กœ ๋‚˜๋ˆ„์–ด ๊ณ„์‚ฐ๋ฉ๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, ๋งˆ์ง€๋ง‰ ์ƒ˜ํ”Œ๋ง ๊ฐ‚๊ฒฉ(15์ดˆ)์— ์„ธ ๊ฐœ์˜ ํ™—์„ฑ ์„ธ์…˜์ด

์žˆ์œผ๋ฉฐ, ๊ฐ ์„ธ์…˜์€ ์ ƒ๋ฐ˜์˜ ์‹œ๊ฐ‚(๊ฐ๊ฐ 7.5์ดˆ)์„ CPU์—์„œ ๋ณด๋‚ด๊ณ  ๋‚˜๋จธ์ง€ ์ ƒ๋ฐ˜์˜ ์‹œ๊ฐ‚์„ ์œ ํœด

์ƒํƒœ๋กœ ๋ณด๋‚ด๋Š” ๊ฒฝ์šฐ ํ•ด๋‹น ์ƒ˜ํ”Œ๋ง ๊ฐ‚๊ฒฉ ๋™์•† CPU์— ๋Œ€ํ•ด 3 x 7.5 / 15 = 1.5๊ฐœ์˜ ํ™—์„ฑ ์„ธ์…˜์ด

๋‚˜ํƒ€๋‚ฉ๋‹ˆ๋‹ค. ํ‰๊ท  ํ™—์„ฑ ์„ธ์…˜ ์ฐจํŠธ์˜ ์ตœ๊ณ ๊ฐ’์„ [์ธ์Šคํ„ด์Šค ์ฒ˜๋ฆฌ๋Ÿ‰] ์ฐจํŠธ์˜ ์ตœ๊ณ ๊ฐ’๊ณผ

๋น„๊ตํ•˜์‹ญ์‹œ์˜ค. [ํ‰๊ท  ํ™—์„ฑ ์„ธ์…˜] ์ฐจํŠธ์— ํ‘œ์‹œ๋œ ๋Œ€๊ธฐ ์ค‘์ธ ์„ธ์…˜ ์ˆ˜๊ฐ€ ๋ง‹์œผ๋ฉด ๋‚ด๋ถ€ ๊ฒฝํ•ฉ์„

๋‚˜ํƒ€๋‚ด๋Š” ๊ฒƒ์ด์ง€๋งŠ ์ฒ˜๋ฆฌ๋Ÿ‰์ด ๋†’์œผ๋ฉด ํ—ˆ์šฉํ•  ๋งŠํ•œ ์ƒํ™ฉ์ž…๋‹ˆ๋‹ค. ๋˜ํ•œ ๋‚ด๋ถ€ ๊ฒฝํ•ฉ์€ ๋‚ฎ์ง€๋งŠ

์ฒ˜๋ฆฌ๋Ÿ‰์ด ๋†’์œผ๋ฉด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๊ฐ€ ํšจ์œจ์ ์œผ๋กœ ์ˆ˜ํ–‰๋˜๊ณ  ์žˆ๋Š” ๊ฒƒ์ด์ง€๋งŠ, ๋‚ด๋ถ€ ๊ฒฝํ•ฉ์€ ๋†’์ง€๋งŠ

์ฒ˜๋ฆฌ๋Ÿ‰์ด ๋‚ฎ์œผ๋ฉด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํŠœ๋‹์„ ๊ณ ๋ คํ•˜์‹ญ์‹œ์˜ค.

Page 64: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 64 -

ํ‰๊ท  ํ™—์„ฑ ์„ธ์…˜ ๊ทธ๋ž˜ํ”„์—์„œ ์šฐ์ธก์— ๋ชจ๋‹ˆํ„ฐ๋ง ๋˜๋Š” ๊ฐ ํ•ญ๋ชฉ์˜ ์ด๋ฆ„์„ ํด๋ฆญํ•˜๋ฉด ๊ฐ๊ฐ ์„ธ๋ถ€์ 

์ธ ๋‚ด์šฉ์„ ๋ณด์—ฌ์ฃผ๋Š” ํŽ˜์ด์ง€๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค. ์•„๋ž˜๋Š” ๋Œ€๊ธฐ์ค‘์ธ ํ™—์„ฑ ์„ธ์…˜์— ๋Œ€ํ—ˆ์—ฌ User I/O ๋ฅผ

ํด๋ฆญํ–ˆ์„ ๋•Œ ๋ณด์—ฌ์ง€๋Š” ํŽ˜์ด์ง€์ž…๋‹ˆ๋‹ค.

ํ‰๊ท  ํ™—์„ฑ ์„ธ์…˜ ๊ทธ๋ž˜ํ”„์—์„œ Concurrency ํ•ญ๋ชฉ์„ ํด๋ฆญํ•˜๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋‚ด์šฉ์„ ํ™•์ธ ํ•  ์ˆ˜

์žˆ์Šต๋‹ˆ๋‹ค.

๋Œ€๊ธฐ ์ค‘์ธ ํ™—์„ฑ ์„ธ์…˜ ๊ทธ๋ž˜ํ”„ ๋ณด๊ธฐ

[์„ฑ๋Šฅ] ํŽ˜์ด์ง€์—์„œ ์„ ํƒํ•œ ๋Œ€๊ธฐ ํด๋ž˜์Šค์— ๋Œ€ํ•œ ๋Œ€๊ธฐ ์ด๋ฒคํŠธ ๋ณด๊ธฐ

๋‹ค์Œ์˜ ์ธก์ • ๋‹จ์œ„์˜ ์ตœ์ƒ์˜ ํ•ญ๋ชฉ ๋ณด๊ธฐ

์ตœ์ƒ์œ„ SQL

์ตœ์ƒ์œ„ ์„ธ์…˜

์ตœ์ƒ์œ„ ์„œ๋น„์Šค

์ตœ์ƒ์œ„ ๋ชจ๋“ˆ

์ตœ์ƒ์œ„ ์ž‘์—…

์ตœ์ƒ์œ„ ํด๋ผ์ด์–ธํŠธ

์ตœ์ƒ์œ„ ํŒŒ์ผ (RAC ์ œ์™ธ)

์ตœ์ƒ์œ„ ๊ฐ์ฒด (RAC ์ œ์™ธ)

Page 65: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 65 -

์ฒ˜๋ฆฌ๋Ÿ‰ ์ฐจํŠธ - ํ‰๊ท  ํ™—์„ฑ ์„ธ์…˜ ์ฐจํŠธ์— ํ‘œ์‹œ๋˜๋Š” ๊ฒฝํ•ฉ๊ณผ ์‚ฌ์šฉ์ž๋ฅผ ์œ„ํ•ด ์ˆ˜ํ–‰๋˜๋Š”

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ž‘์—…๋Ÿ‰์„ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

[์ดˆ๋‹น] ๋ณด๊ธฐ์—๋Š” ์ดˆ๋‹น ๋กœ๊ทธ์˜จ, ์ดˆ๋‹น ํŠธ๋žœ์žญ์…˜, ์ดˆ๋‹น ๋ฌผ๋ฆฌ์  ์ฝ๊ธฐ ๋ฐ ์ดˆ๋‹น ๋ฆฌ๋‘ ํฌ๊ธฐ๊ฐ€

ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

[ํŠธ๋žœ์žญ์…˜๋‹น ์ˆ˜] ๋ณด๊ธฐ์—๋Š” ํŠธ๋žœ์žญ์…˜๋‹น ๋ฌผ๋ฆฌ์  ์ฝ๊ธฐ ๋ฐ ํŠธ๋žœ์žญ์…˜๋‹น ๋ฆฌ๋‘ ํฌ๊ธฐ๊ฐ€

ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

I/O ์ฐจํŠธ โ€“ I./O์™€ ๊ณผ๋ ฆํ•œ ์ž‘์—…๋Ÿ‰์„ ์œ ํ˜•๋ณ„๋กœ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

๋™๊ธฐ์‹ ๋‹จ์ผ ๋ธ”๋ก ์ฝ๊ธฐ์— ๋Œ€ํ•œ ๋Œ€๊ธฐ ์‹œ๊ฐ‚ - ์ด ์ฐจํŠธ์— ํ‘œ์‹œ๋˜๋Š” ๋Œ€๊ธฐ ์‹œ๊ฐ‚์ด 10๋ฐ€๋ฆฌ์ดˆ

๋ฏธ๋งŠ์ผ ๊ฒฝ์šฐ ๋Œ€๋ถ€๋ถ„์˜ ์‹œ์Šคํ…œ์ด ๋ฌธ์ œ ์—†์ด ์ž‘๋™ํ•˜๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.

ํ•จ์ˆ˜ ์ฐจํŠธ - RMAN, ์ง์ ‘ ์ฝ๊ธฐ, ์ง์ ‘ ์“ฐ๊ธฐ ๋“ฑ์˜ ๊ตฌ์„ฑ ์š”์†Œ๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. I/O MB ๋˜๋Š”

I/O ์š”์ฒญ์˜ ์„ธ๋ถ€ ์ •๋ณด์— ๋Œ€ํ•œ ์‹ค์‹œ๊ฐ‚ ๋ฐ์ดํ„ฐ๋‚˜ ๋‚ด์—ญ ๋ฐ์ดํ„ฐ๋ฅผ ๋ณผ ์ˆ˜ ์žˆ๋Š” [I/O ์„ธ๋ถ€

์ •๋ณด] ํŽ˜์ด์ง€๋กœ ์ด๋™ํ•˜๋ ค๋ฉด ์ฐจํŠธ ์˜ค๋ฅธ์ชฝ์— ์žˆ๋Š” ๋ฒ”๋ก€ ์ค‘ ํ•˜๋‚˜๋ฅผ ๋ˆ„๋ฅด์‹ญ์‹œ์˜ค.

I/O ์œ ํ˜• ์ฐจํŠธ - ์†Œ๋Ÿ‰ ์ฝ๊ธฐ, ์†Œ๋Ÿ‰ ์“ฐ๊ธฐ, ๋Œ€๋Ÿ‰ ์ฝ๊ธฐ, ๋Œ€๋Ÿ‰ ์“ฐ๊ธฐ ๋“ฑ์˜ ๊ตฌ์„ฑ ์š”์†Œ๋ฅผ

ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค

์†Œ๋น„์ž ๊ทธ๋ฃน ์ฐจํŠธ -- ๋ฆฌ์†Œ์Šค ์†Œ๋น„์ž ๊ทธ๋ฃน์„ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

๋ณ‘๋ ฌ ์‹คํ–‰ ์ฐจํŠธ - ๋ณ‘๋ ง ์งˆ์˜์™€ ๊ด€๋ ฆ๋œ ์‹œ์Šคํ…œ ์ธก์ • ๋‹จ์œ„๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. ์ด ์ฐจํŠธ์—๋Š”

์ƒ˜ํ”Œ๋ง๋œ ์„ธ์…˜ ์ž‘์—…์˜ ์ตœ๊ณ  ๋ฐฑ๋ถ„์œจ์„ ๋‚˜ํƒ€๋‚ด๋Š” ํŠน์ • ๋Œ€๊ธฐ ์ด๋ฒคํŠธ๋ฅผ ๊ธฐ๋‹ค๋ฆฌ๋Š” ๋ณ‘๋ ง ์งˆ์˜๊ฐ€

ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

์„œ๋น„์Šค ์ฐจํŠธ - ํ‘œ์‹œ๋œ ๊ธฐ๊ฐ‚ ๋™์•† ํ•ด๋‹น ๋Œ€๊ธฐ ์ด๋ฒคํŠธ๋ฅผ ๊ธฐ๋‹ค๋ฆฌ๋Š” ์ตœ์ƒ์œ„ ์„œ๋น„์Šค๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

๋‹จ, ํ™—์„ฑ ์„œ๋น„์Šค๋งŠ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. ์„œ๋น„์Šค์™€ ์—ฐ๊ด€๋œ ๋ชจ๋“  ๋Œ€๊ธฐ ํด๋ž˜์Šค์— ๋Œ€ํ•œ ์„ธ์…˜ ๋กœ๋“œ๋ฅผ

ํ‘œ์‹œํ•˜๋Š” ์‹ค์‹œ๊ฐ‚ ๋ฐ์ดํ„ฐ๋ฅผ ๋ณผ ์ˆ˜ ์žˆ๋Š” [์„œ๋น„์Šค ์ž‘์—…] ํŽ˜์ด์ง€๋กœ ์ด๋™ํ•˜๋ ค๋ฉด ์ฐจํŠธ ์˜ค๋ฅธ์ชฝ์—

์žˆ๋Š” ์„œ๋น„์Šค ๋ฒ”๋ก€ ์ค‘ ํ•˜๋‚˜๋ฅผ ๋ˆ„๋ฅด์‹ญ์‹œ์˜ค.

5.2.2. Using Advisors in Grid Control

Grid Control์—์„œ๋Š” ์„ฑ๋Šฅ๊ณผ ๊ด€๋ ฆ๋œ ๋ช‡๊ฐ€์ง€ ๊ถŒ๊ณ ์ž(Advisors)๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

ADDM(Automatic Database Diagnostic Monitor)

Segment Advisor

Undo Management

Memory Advisor

SQL Access Advisor

SQL Tuning Advisor

MTTR Advisor

Page 66: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 66 -

5.2.3. ADDM(Automatic Database Diagnostic Monitor)

Oracle Database 10g ์—์„œ ADDM ์„ ์‚ฌ์šฉํ•˜๋ฉด ์ž๋™์œผ๋กœ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„ฑ๋Šฅ ๋ฌธ์ œ๋ฅผ ์ง‚๋‹จํ•˜๊ณ , ์›

์ธ์„ ๊ทœ๋ช…ํ•˜๋ฉฐ, ํ•ด๊ฒฐ์ฑ€์„ ์ œ์‹œํ•ฉ๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„ฑ๋Šฅ ํƒญ ํ•˜๋‹จ์˜ ๋งํฌ์—์„œ ์ค‘์•™ ๊ถŒ๊ณ ์ž๋ฅผ ์„ ํƒํ•˜๋ฉด ๋‹ค์–‘ํ•œ ๊ถŒ๊ณ ์ž(Advisor)๋ฅผ

์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ADDM ํ•ญ๋ชฉ์„ ์„ ํƒํ•˜๋ฉด ํ˜„์žฌ ๋˜๋Š” ๊ณผ๊ฑฐ์‹œ์ ์˜ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„ฑ๋Šฅ์„ ๋ถ„์„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์˜ํ–ฅ ํ•ญ๋ชฉ์—์„œ๋Š” ADDM ์—์„œ ๊ถŒํ˜ธํ•˜๋Š” ๋‚ด์šฉ์ด ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

์˜ํ–ฅ์—์„œ ๊ถŒ๊ณ ํ•˜๋Š” ๋‚ด์šฉ์„ ํด๋ฆญํ•˜๋ฉด ์„ธ๋ถ€ ์ •๋ณด๋ฅผ ๋ณผ ์ˆ˜ ์žˆ์œผ๋ฉฐ, ํŠนํžˆ SQL Tuning ๊ณผ ๊ด€๋ ฆํ•˜

์—ฌ ํŠน์ • TOP SQL ์— ๋Œ€ํ•œ ์„ธ๋ถ€์ ์ธ ๋‚ด์šฉ์„ ์ฐธ๊ณ ํ•˜์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Statistics

SQL Activity

SQL Plan

Tuning Information

5.2.4. Top Consumers

์ตœ์ƒ์œ„ ์†Œ๋น„์ž ํŽ˜์ด์ง€์—์„œ๋Š” ์ตœ๊ทบ 5 ๋ถ„ ๋™์•†์ด ์ตœ์ƒ์œ„ ์„œ๋น„์Šค, ๋ชจ๋“ˆ, ํด๋ผ์ด์–ธํŠธ, ์ž‘์—…์— ๋Œ€ํ•œ ์ •

๋ณด๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

Page 67: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 67 -

5.2.5. Instance Activity

์„ฑ๋Šฅ ํŽ˜์ด์ง€์˜ ์ถ”๊ฐ€ ๋ชจ๋‹ˆํ„ฐ๋ง ๋งํฌ ํ•ญ๋ชฉ์—๋Š” ์ธ์Šคํ„ด์Šค ์ž‘์—… ๋ฐ ํ™—๋™์— ๊ด€ํ•œ ํŽ˜์ด์ง€๊ฐ€ ๋งํฌ๋˜์–ด

์žˆ์Šต๋‹ˆ๋‹ค. ์ปค์„œ, ํŠธ๋žœ์žญ์…˜, ์„ธ์…˜, Logical I/O, Physical I/O, Network I/O, ํ…Œ์ด๋ธ” ๋“ฑ์— ๋Œ€ํ•œ ์ž‘์—… ์ฐจ

ํŠธ๋ฅผ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค.

5.2.6. Historical SQL (AWR)

SQL ํŠœ๋‹ ๊ถŒ๊ณ ์ž๋‚˜ ์Šค๋ƒ…์ƒท์„ ํ†ตํ•ด ์–ป์–ด์ง‚ ๋ฐ์ดํ„ฐ๋ฅผ ๋ถ„์„ํ•˜์—ฌ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค์˜ ์ƒํƒœ์™€

ํ†ต๊ณ„์น˜ ํ™•์ธํ•˜๊ณ , Top Event ๋ฐ Top SQL ์— ๋Œ€ํ•œ ๋ถ„์„์„ ํ†ตํ•ด ์ ‚๋ฐ˜์ ์ธ ํŠœ๋‹์„ ์œ„ํ•œ ์ž๋ฃŒ๋กœ ํ™—

์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์„ฑ๋Šฅ ํŽ˜์ด์ง€์˜ ์ถ”๊ฐ€ ๋ชจ๋‹ˆํ„ฐ๋ง ๋งํฌ ํ•ญ๋ชฉ ์ค‘ ์Šค๋ƒ…์ƒท์„ ์„ ํƒํ•˜์—ฌ ์ €์žฅ๋œ ์ด๋ ฅ์„ ํ™•์ธํ•˜๊ณ , ์ด๊ฒƒ์„

AWR ๋ณด๊ณ ์„œ๋ฅผ ํ†ตํ•ด ์ผ๋ชฉ์š”์—ฐํ•˜๊ฒŒ ์š”์•ฝ ์ •๋ฆฌ๋œ ๋‚ด์šฉ์„ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 68: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 68 -

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค โ€“ ์„œ๋ฒ„ ํƒญ์˜ ํ†ต๊ณ„๊ด€๋ฆฌ โ€“ ์ž๋™ ์ž‘์—… ๋กœ๋“œ ์ €์žฅ์†Œ(AWR)

AWR ๋ณด๊ณ ์„œ

Page 69: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 69 -

5.2.7. Active Session History (ASH) Report

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„ฑ๋Šฅ ๋ถ„์„ ๋ฆฌํฌํŠธ๋Š” ํŠน์ •์‹œ์ ์— ์„ธ์…˜ ๊ธฐ๋ฐ˜์œผ๋กœ ์ถ”์ถ—๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•˜๊ณ  ์žˆ

์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ธฐ๊ฐ‚ ๋™์•†์˜ AWR ์Šค๋ƒ…์ƒท์—์„œ์˜ ์ฒ˜์Œ๊ณผ ๋ ๋‘ ์‹œ์  ์–ป์–ด ๋ถ„์„ํ•œ ๊ฒฐ๊ณผ์ž…๋‹ˆ๋‹ค.

AWR ๋ณด๊ณ ์„œ์—๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ํ•ญ๋ชฉ์ด ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.

Top Events

Load Profile

Top SQL

Top Sessions

Top Objects/Files/Latches

Activity Over Time

Page 70: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 70 -

5.2.8. Top Jobs

์ตœ์ƒ์œ„ ์ž‘์—… ํŽ˜์ด์ง€์—์„œ๋Š” ์„ธ์…˜, ์„œ๋น„์Šค, ๋ชจ๋“ˆ, ์ž‘์—…, ํด๋ผ์ด์–ธํŠธ, ํŒŒ์ผ, ๊ฐ์ฒด, SQL, PL/SQL์—

๋Œ€ํ•œ ๋ชจ๋“  ๋Œ€๊ธฐ ํด๋ž˜์Šค ๋ฐ ๊ด€๋ ฆ ํ†ต๊ณ„๋ฅผ ํ‘œ์‹œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ASH(ํ™—์„ฑ ์„ธ์…˜ ๋‚ด์—ญ) ๋ณด๊ณ ์„œ๋ฅผ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

SQL ํŠœ๋‹ ๊ถŒ๊ณ ์ž ์ผ์ •์„ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

SQL ํŠœ๋‹ ์ง‘ํ•ฉ์„ ์ƒ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ตœ์ƒ์œ„ SQL๊ณผ ์„ธ์…˜ ์ •๋ณด๋ฅผ ํ†ตํ•ด ์ƒํ˜ธ์ ์œผ๋กœ ์„ฑ๋Šฅ ๋ฌธ์ œ๋ฅผ ์กฐ์‚ฌํ•ด ๋‚˜๊ฐˆ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

5.2.9. Hang Analysis

์ •์ง€ ๋ถ„์„ ํŽ˜์ด์ง€์—์„œ๋Š” ๋ณ‘๋ชฉ์˜ ์›์ธ์ด ๋˜๋Š” ์„ธ์…˜์„ ํ™•์ธํ•˜๊ณ , ํ•ด๋‹น ์„ธ์…˜์„ ์ฐจ๋‹จํ•˜๊ฑฐ๋‚˜ ์ฐจ๋‹จ๋œ

์„ธ์…˜์— ๋Œ€ํ•œ ์„ธ์…˜ ์„ธ๋ถ€ ์ •๋ณด๋ฅผ ๊ฒ€ํ† ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ํ† ํด๋กœ์ง€ ์„ธ์…˜ ID ํ™•์ธ โ€“ ์„ธ์…˜ ์ž‘์—…์„ ๋ถ„์„ํ•˜์—ฌ ํ•ด๋‹น ์„ธ์…˜์„ ์ข…๋ฃŒํ•  ์ง€ ์—ฌ๋ถ€๋ฅผ ํŒ๋‹จํ•  ์ˆ˜

์žˆ์Šต๋‹ˆ๋‹ค. ํ† ํด๋กœ์ง€ ์„ธ์…˜ ID ๋ฅผ ํด๋ฆญํ•˜๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์„ธ๋ถ€ ์ •๋ณด๋ฅผ ํ™•์ธ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์„ธ์…˜ ID

์„ธ์…˜ ๊ฐ’

์ฐจ๋‹จ ์„ธ์…˜ ID

์ผ๋ ฆ ๋ฒˆํ˜ธ

SQL ์ฃผ์†Œ

SQL ํ•ด์‹œ ๊ฐ’

ํŒŒ์ผ ๋ฒˆํ˜ธ

Page 71: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 71 -

์ด๋ฒคํŠธ ์ด๋ฆ„

์‚ฌ์šฉ์ž ID

5.3. Database Management

5.3.1. Database Administration Features

Grid Control ๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผ ๊ด€๋ฆฌํ•˜๊ธฐ ์œ„ํ•œ ๊ธฐ๋Šฅ๋“ค์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

๋ณด์•† ๊ด€๋ฆฌ

์Šคํ‚ค๋งˆ ๊ด€๋ฆฌ

์ €์žฅ ๊ณต๊ฐ‚ ๊ด€๋ฆฌ

์ธ์Šคํ„ด์Šค ๊ด€๋ฆฌ

๋ฐฑ์—… ๋ฐ ๋ณต๊ตฌ

์ž์› ์†Œ๋น„ ๊ทธ๋ฃน ๋ฐ ๊ณ„ํš (Resource Consumer Groups and Plans)

ํ”„๋กœ์‹œ์ €, ํ•จ์ˆ˜, ํŒจํ‚ค์ง€, ์ž๋ฐ” ํด๋ž˜์Šค ๋“ฑ์˜ ์†Œ์Šค ํƒ€์ž… ์ œ๊ณต

5.3.2. Database Availablity

Grid Control ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ๊ฐ€์šฉ์„ฑ์„ ์œ„ํ•œ ์„ค์ • ๋ฐ ๊ด€๋ฆฌ๋ฅผ ์†์‰ฝ๊ฒŒ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฐฑ์—… ๋ฐ ๋ณต๊ตฌ ๋ฅผ ์œ„ํ•œ ์„ค์ • ๋ฐ ๊ด€๋ฆฌ๋ฅผ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์„ค์ • - ๋ฐฑ์—…/๋ณต๊ตฌ ์„ค์ •, Recovery Catalog ์„ค์ •

๊ด€๋ฆฌ - ๋ฐฑ์—… ์ผ์ • ์žก๊ธฐ, ๋ฐฑ์—… ๊ด€๋ฆฌ, ๋ฐฑ์—… ๋ณด๊ณ ์„œ, ๋ณต์› ์ง€์  ๊ด€๋ฆฌ, ๋ณต๊ตฌ ์ˆ˜ํ–‰, ํŠธ๋žœ์žญ์…˜ ๋ณด๊ธฐ

Data Guard ๋ฅผ ์†์‰ฝ๊ฒŒ ๊ตฌ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

RAC ์ธ ๊ฒฝ์šฐ ์„œ๋น„์Šค ๊ด€๋ฆฌ๊ฐ€ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

Page 72: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 72 -

5.3.3. Storage Management

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ €์žฅ ๊ณต๊ฐ‚๊ณผ ๊ด€๋ ฆํ•œ ์ •๋ณด ๋ณด๊ธฐ ๋ฐ ์„ค์ •์„ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ €์žฅ ์˜์—ญ ๊ด€๋ฆฌ๋Š” ๋‹ค์Œ ํ•ญ๋ชฉ์„ ํฌํ•จํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

Control Files

Tablespaces

Temporary Tablespaces

Datafiles

Undo Segments(Rollback Segments)

Redo Log Groups

Archive Logs

Migrate ASM

Make Locally Managed Tablespace

ํ…Œ์ด๋ธ”์ŠคํŽ˜์ด์Šค ๊ด€๋ฆฌ ํ•ญ๋ชฉ์„ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ ํŒŒ์ผ ๋ณด๊ธฐ ๋ฐ ์ถ”๊ฐ€ ๋“ฑ์˜ ์ž‘์—…์„ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 73: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 73 -

5.3.4. Database Configuration

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” ํ•ญ๋ชฉ๋“ค์„ ๋‚˜์—ดํ•˜๊ณ  ๊ทธ ๊ฐ’์„ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ตฌ์„ฑ์—๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ํ•ญ๋ชฉ์œผ๋กœ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฉ”๋ชจ๋ฆฌ ๊ถŒ๊ณ ์ž

์ž๋™ ์‹คํ–‰ ์ทจ์†Œ ๊ด€๋ฆฌ

์ดˆ๊ธฐํ™” ๋งค๊ฐœ๋ณ€์ˆ˜ (SPFILE)

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ธฐ๋Šฅ ์‚ฌ์šฉ๋Ÿ‰ ๋ณด๊ธฐ

๋ฉ”๋ชจ๋ฆฌ ๊ถŒ๊ณ ์ž ํŽ˜์ด์ง€์—์„œ๋Š” ํ• ๋‹น๋œ SGA์™€ PGA ๊ตฌ์„ฑ์š”์†Œ ๋‚ด์—ญ์„ ๋ณด์—ฌ ์ค๋‹ˆ๋‹ค.

Page 74: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 74 -

์ž๋™ ์‹คํ–‰ ์ทจ์†Œ ๊ด€๋ฆฌ ํŽ˜์ด์ง€์—์„œ๋Š” ์ธ์Šคํ„ด์Šค์— ๋Œ€ํ•œ ํ˜„์žฌ ์‹คํ–‰ ์ทจ์†Œ ์„ค์ •์„ ํ™•์ธํ•˜๊ณ  ์‹คํ–‰

์ทจ์†Œ ๊ถŒ๊ณ ์ž๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์–ธ๋‘ ํ…Œ์ด๋ธ”์ŠคํŽ˜์ด์Šค ์š”๊ตฌ ์‚ฌํ•ญ์„ ๋ถ„์„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 75: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 75 -

Page 76: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 76 -

์ดˆ๊ธฐํ™” ๋งค๊ฐœ๋ณ€์ˆ˜ ํŽ˜์ด์ง€์—์„œ๋Š” ํ˜„์žฌ ์ธ์Šคํ„ด์Šค์˜ ์„ค์ •๋œ ๋งค๊ฐœ๋ณ€ ์ˆ˜์™€ SPFile์˜ ์„ค์ •๊ฐ’์„

ํ™•์ธํ•˜๊ณ , ์ผ๋ถ€๋Š” ๋ณ€๊ฒฝ ํ›„ ์ ์šฉ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ธฐ๋Šฅ ์‚ฌ์šฉ๋Ÿ‰ ํ†ต๊ณ„ ํŽ˜์ด์ง€์—์„œ๋Š” ๋‹ค์–‘ํ•œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ธฐ๋Šฅ์ด ์‚ฌ์šฉ๋˜๋Š”

๋Œ€๋žต์ ์ธ ๋นˆ๋„๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

Page 77: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 77 -

5.4. Data Management

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ์Šคํ‚ค๋งˆ ํ•ญ๋ชฉ์—์„œ๋Š” ๋ฐ์ดํ„ฐ ๋ฐ ๊ฐ์ข… ์˜ค๋ธŒ์ ํŠธ์˜ ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•œ ๊ธฐ๋Šฅ๋“ค์„ ์ œ๊ณตํ•˜๊ณ 

์žˆ์Šต๋‹ˆ๋‹ค.

5.4.1. Database Objects

๋ฐ์ดํ„ฐ ๋ฒ ์ด์Šค๋ฅผ ๊ตฌ์„ฑํ•˜๊ณ  ์žˆ๋Š” ์˜ค๋ธŒ์ ํŠธ๋ฅผ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค. ํ…Œ์ด๋ธ”, ์ธ๋ฑ์Šค, ๋ทฐ(View), ๋™์˜์–ด

(Synonym), ์‹œํ€€์Šค(Sequence), ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋งํฌ(Database Link), ๋””๋ ‰ํ† ๋ฆฌ ๊ฐ์ฒด(Directory) ์˜ ์ƒ

์„ฑ ๋ฐ ๋ณ€๊ฒฝ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ๊ฐ ๊ฐ์ฒด์— ๋Œ€ํ•œ ์žฌ๊ตฌ์„ฑ ์ž‘์—…์„ ์ˆ˜ํ–‰ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ํ…Œ์ด๋ธ” ๊ด€๋ฆฌ โ€“ ํ…Œ์ด๋ธ” ๋ชฉ๋ก ๋ณด๊ธฐ ๋ฐ ์ƒ์„ฑ/๋ณ€๊ฒฝ/์‚ญ์ œ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

ํ…Œ์ด๋ธ”์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.

Page 78: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 78 -

์ธ๋ฑ์Šค ๊ตฌ์„ฑ ๋ชฉ๋ก์„ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.

๋ทฐ ๊ตฌ์„ฑ ๋ชฉ๋ก์„ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.

5.4.2. Objects Reorganization

๊ฐ์ฒด๋ฅผ ์žฌ๊ตฌ์„ฑ ํ•ฉ๋‹ˆ๋‹ค. ๋‹ค์Œ์„ ์œ„ํ•ด ์žฌ๊ตฌ์„ฑ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

- ๋‹จํŽธํ™”๋œ ์ธ๋ฑ์Šค ์žฌ๊ตฌ์ถ•

- ๋‹จํŽธํ™”๋œ ํ…Œ์ด๋ธ” ์žฌ๊ตฌ์ถ•

- ๋‹ค๋ฅธ ํ…Œ์ด๋ธ”์ŠคํŽ˜์ด์Šค์— ๊ฐ์ฒด ์žฌ๋ฐฐ์น˜

- ์ตœ์ ์˜ ์ €์žฅ ์˜์—ญ ์†์„ฑ์œผ๋กœ ๊ฐ์ฒด ์žฌ์ƒ์„ฑ

1) ์œ ํ˜•์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

Page 79: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 79 -

2) ์žฌ๊ตฌ์„ฑํ•  ๊ฐ์ฒด์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

3) ๊ฐ์ฒด ์žฌ๊ตฌ์„ฑ๊ณผ ๊ด€๋ ฆํ•œ ์˜ต์…˜์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

4) ๊ฐ์ฒด ์žฌ๊ตฌ์„ฑ ์Šคํฌ๋ฆฑํŠธ ์ž‘์„ฑ๋ฉ๋‹ˆ๋‹ค.

5) ๊ฐ์ฒด ์žฌ๊ตฌ์„ฑํ•  ์ผ์ •์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

Page 80: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 80 -

6) ๊ฐ์ฒด ์žฌ๊ตฌ์„ฑ ์ ‚ ์Šคํฌ๋ฆฑํŠธ๋ฅผ ๊ฒ€ํ† ํ•ฉ๋‹ˆ๋‹ค.

7) ์ž‘์—…์„ ์ œ์ถ—ํ•˜๋ฉด ์ผ์ •์ด ๋“ฑ๋ก๋˜๊ณ  ์žฌ๊ตฌ์„ฑ ์ž‘์—…์„ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.

5.4.3. Data Masking

๋ฐ์ดํ„ฐ ๋งˆ์Šคํ‚น์€ ํ…Œ์ŠคํŠธ ๋˜๋Š” ๋น„์šด์šฉ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ๋ฏผ๊ฐํ•œ ์ •๋ณด๋ฅผ ์•†์ ‚ํ•˜๊ฒŒ ํ•˜๋Š” ํ”„๋กœ์„ธ์Šค์ž…

๋‹ˆ๋‹ค. ์ด ๊ธฐ๋ฒ•์€ ์ง‚์งœ์ฒ˜๋Ÿผ ๋ณด์ด๋Š” ์œ ์‚ฌํ•œ ์œ ํ˜•์˜ ๊ฐ€์งœ ๋ฐ์ดํ„ฐ๋กœ ์ •๋ณด๋ฅผ ๊ฒน์ณ์”€์œผ๋กœ์จ ๋ฏผ๊ฐํ•œ ์ •

๋ณด๋ฅผ ์œ„์žฅํ•˜๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๋งˆ์Šคํ‚น ์ •์˜๋Š” ๋งˆ์Šคํฌ๋  ์—ด ๋ฐ ๋งˆ์Šคํฌ๋œ ๋ฐ์ดํ„ฐ์˜ ํ˜•์‹์„ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค.

๋งˆ์Šคํ‚น ์ž‘์—…์— ๋Œ€ํ•ด ์ƒˆ ๋งˆ์Šคํ‚น ์ •์˜๋ฅผ ์ƒ์„ฑํ•˜๊ฑฐ๋‚˜ ๊ธฐ์กฒ ์ •์˜๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ˜•์‹ ๋ผ์ด

๋ธŒ๋Ÿฌ๋ฆฌ๋Š” ๋ฐ”๋กœ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋งˆ์Šคํ‚น ํ˜•์‹ ๋ชจ์Œ์„ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.

์ปฌ๋Ÿผ์˜ ์ผ๋ถ€ ํ•ญ๋ชฉ์„ ๋‹ค๋ฅธ ๋ฌธ์ž์—ด๋กœ ๋Œ€์ฒดํ•˜์—ฌ ๋ฐ์ดํ„ฐ๋ฅผ ๋ณดํ˜ธํ•˜๊ณ ์ž ํ•  ๋–„ ์ฃผ๋กœ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.

Page 81: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 81 -

๋งˆ์Šคํ‚น ์ •์˜๋ฅผ ์ƒ์„ฑํ•˜๊ธฐ ์ ‚์— ๋‹ค์Œ ๊ถŒ๊ณ  ์‚ฌํ•ญ ์ •๋ณด๋ฅผ ์ˆ™์ง€ํ•˜์‹ญ์‹œ์˜ค.

์„ ํƒํ•œ ํ˜•์‹์ด ๊ฒ€์‚ฌ ์ œ์•ฝ ์กฐ๊ฑด์„ ์œ„๋ฐ˜ํ•˜์ง€ ์•Š๊ณ  ๋ฐ์ดํ„ฐ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์‘์šฉ ํ”„๋กœ๊ทธ๋žจ์„

์ฐจ๋‹จํ•˜์ง€ ์•Š๋Š”์ง€ ํ™•์ธํ•˜์‹ญ์‹œ์˜ค.

ํŠธ๋ฆฌ๊ฑฐ, PL/SQL ๋“ฑ์˜ ๊ฒฝ์šฐ ๋ฐ์ดํ„ฐ ๋งˆ์Šคํ‚น์€ ๊ฐ์ฒด๋ฅผ ์žฌ์ปดํŒŒ์ผํ•ฉ๋‹ˆ๋‹ค.

๋ถ„ํ•  ํ…Œ์ด๋ธ”์„ ๋งˆ์Šคํ‚นํ•˜๋Š” ๊ฒฝ์šฐ, ํŠนํžˆ ๋ถ„ํ•  ์˜์—ญ ํ‚ค๋ฅผ ๋งˆ์Šคํ‚นํ•˜๋Š” ๊ฒฝ์šฐ ์ฃผ์˜ํ•˜์‹ญ์‹œ์˜ค.

์ด๋Ÿฌํ•œ ๊ฒฝ์šฐ ํ–‰์ด ๋‹ค๋ฅธ ๋ถ„ํ•  ์˜์—ญ์œผ๋กœ ์ด๋™ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ ๋งˆ์Šคํ‚น์€ ํด๋Ÿฌ์Šคํ„ฐํ™”๋œ ํ…Œ์ด๋ธ”์„ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ ๋งˆ์Šคํ‚น์€ ๊ฐ์ฒด

ํ…Œ์ด๋ธ”, XML ํ…Œ์ด๋ธ”, ๊ฐ€์ƒ ์—ด ๋“ฑ์—์„œ ๋งˆ์Šคํ‚น ์ •๋ณด๋ฅผ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ๋งˆ์Šคํ‚น์—

๋Œ€ํ•ด ๊ด€๊ณ„ํ˜• ํ…Œ์ด๋ธ”์ด ์ง€์›๋ฉ๋‹ˆ๋‹ค.

๊ฐ์ฒด๊ฐ€ ๋ทฐ, ๊ตฌ์ฒดํ™”๋œ ๋ทฐ, PL/SQL ๋“ฑ๊ณผ ๊ฐ™์€ ํ…Œ์ด๋ธ”์˜ ๋งจ ์œ„์—์„œ ๊ณ„์ธตํ™”๋œ ๊ฒฝ์šฐ ์œ ํšจํ™”๋ฅผ

์œ„ํ•ด ์žฌ์ปดํŒŒ์ผ๋ฉ๋‹ˆ๋‹ค.

1) ์ƒ์„ฑ์„ ๋ˆŒ๋Ÿฌ ๋ฐ์ดํ„ฐ ๋งˆ์Šคํ‚น ์ƒ์„ฑ ๋‹จ๊ณ„๋ฅผ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.

2) ๋งˆ์Šคํ‚นํ•  ํ…Œ์ด๋ธ”์˜ ์—ด์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

3) ๋งˆ์Šคํ‚น ์ •์˜๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.

Page 82: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 82 -

4) ์ƒ์„ฑ๋˜๋ฉด ์Šคํฌ๋ฆฑํŠธ ์ƒ์„ฑ์„ ๋ˆŒ๋Ÿฌ ํ•ด๋‹น ์ปฌ๋Ÿผ์— ๋Œ€ํ•œ ๋งˆ์Šคํ‚น ์˜ต์…˜์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

5.4.4. User Defined Types

์‚ฌ์šฉ์ž๊ฐ€ ์ •์˜ํ•œ ๋ฐฐ์—ด ์œ ํ˜•, ๊ฐ์ฒด ์œ ํ˜•, ํ…Œ์ด๋ธ” ์œ ํ˜•์— ๋Œ€ํ•˜์—ฌ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

๊ฐ ์œ ํ˜• ๋ชฉ๋ก์˜ ์ด๋ฆ„์„ ํด๋ฆญํ•˜๋ฉด ์ •์˜๋œ ์œ ํ˜•์˜ ํŠน์„ฑ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Page 83: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 83 -

6. Enterprise Manager Tip

6.1. Enterprise Manager Framework Security ํ™œ์„ฑํ™”

Enterprise Manager Framework Security ๋ฅผ ํ™—์„ฑํ™”์‹œํ‚ค๊ธฐ ์œ„ํ•ด์„œ๋Š” ์ถ”๊ฐ€์ ์ธ ์„ค์ •์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

์•„๋ž˜์˜ ๋‚ด์šฉ๋Œ€๋กœ OMS ๋ฅผ ๋ณด์•†ํ™”์‹œํ‚ค๊ณ  OMA ์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ค์‹œ update ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

1. OMS ๋ฅผ โ€œopmnctl stopallโ€ ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ •์ง€์‹œํ‚ต๋‹ˆ๋‹ค. ํ•ด๋‹น ๋ช…๋ น์–ด๋กœ Oracle HTTP

Server ์™€ ๋‹ค๋ฅธ ๊ตฌ์„ฑ์š”์†Œ๋“ค์ด ์ •์ง€๋ฉ๋‹ˆ๋‹ค.

2. โ€œemctl secure omsโ€ ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ OMS ์˜ ๋ณด์•†๋ชจ๋“œ๋ฅผ ํ™—์„ฑํ™”์‹œํ‚ต๋‹ˆ๋‹ค.

3. โ€œopmnctl startallโ€ ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ OMS ์˜ ์ ‚์ฒด ์„œ๋น„์Šค๋ฅผ Restart ์‹œํ‚ต๋‹ˆ๋‹ค.

4. OMA ์„œ๋น„์Šค๋ฅผ ๋ฉˆ์ถ– ํ›„, โ€œemctl secure agentโ€ ๋ช…๋ น์–ด๋กœ OMA ์˜ ๋ณด์•†์„ค์ •์„ ํ™—์„ฑํ™” ์‹œํ‚จ ํ›„,

์„œ๋น„์Šค๋ฅผ ์žฌ์‹œ์ž‘ ํ•ฉ๋‹ˆ๋‹ค.

5. OMA ์˜ ๋ณด์•†๋ชจ๋“œ๊ฐ€ ๋ชจ๋‘ ํ™—์„ฑํ™” ๋˜๋ฉด, OMS ์—์„œ โ€œemctl secure lockโ€ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•˜์—ฌ,

HTTP ํฌํŠธ์— Lock ์„ ๊ฑธ์–ด๋†“์Šต๋‹ˆ๋‹ค. ์ด๋ ‡๊ฒŒ ๋˜๋ฉด ๋ณด์•†๋ชจ๋“œ์ธ HTTPS ๋กœ๋งŠ ์„œ๋น„์Šค๊ฐ€ ๋ฉ๋‹ˆ๋‹ค.

[์ฐธ๊ณ ] โ€œemctl secureโ€ ๋ช…๋ น์–ด์— ๋Œ€ํ•œ ์—๋Ÿฌ๋Š” โ€œ$ORACLE_HOME/sysman/log/secure.logโ€๋ฅผ ์ฐธ๊ณ ํ•˜

์—ฌ ํ•ด๊ฒฐํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

6.2. Grid Control์—์„œ SYSMAN ์œ ์ €์˜ ํŒจ์Šค์›Œ๋“œ ๋ณ€๊ฒฝ

Grid Control ์—์„œ SYSMAN ์œ ์ €์˜ ํŒจ์Šค์›Œ๋“œ๋Š” OMR ๋ฟ๋งŠ ์•„๋‹ˆ๋ผ OMS ์—๋„ ์•”ํ˜ธํ™”๋˜์–ด ์ €์ •๋˜

์–ด ์žˆ๊ธฐ ๋•Œ๋ฌธ์—, OMS ์™€ OMR ์˜ SYSMAN ์œ ์ € ํŒจ์Šค์›Œ๋“œ๊ฐ€ ๋‹ค๋ฅผ ๊ฒฝ์šฐ OMS ๋ฅผ ์‹œ์ž‘์‹œํ‚ค๊ฑฐ๋‚˜ ๊ธฐ

๋Šฅ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์—†๊ฒŒ ๋ฉ๋‹ˆ๋‹ค. ๋”ฐ๋ผ์„œ ์•„๋ž˜์™€ ๊ฐ™์€ ์ ƒ์ฐจ๋กœ SYSMAN ์œ ์ €์˜ ํŒจ์Šค์›Œ๋“œ๋ฅผ ๋ณ€๊ฒฝํ•˜์—ฌ

์•ผ ํ•ฉ๋‹ˆ๋‹ค.

1. SYSMAN ์œ ์ €์˜ ํŒจ์Šค์›Œ๋“œ๋ฅผ ๋ณ€๊ฒฝํ•˜๋Š” ๋™์•† Lock ์ด ๋ฐœ์ƒํ•˜๋Š” ๊ฒƒ์„ ๋ง‰๊ธฐ ์œ„ํ•ด, ๋ชจ๋‹ˆํ„ฐ๋งํ•˜๊ณ 

์žˆ๋Š” Agent ๋“ค์„ ๋ชจ๋‘ Stop ์‹œํ‚ต๋‹ˆ๋‹ค. ( $emctl stop agent )

2. OMS ์„œ๋น„์Šค๋ฅผ ์ •์ง€์‹œํ‚ต๋‹ˆ๋‹ค. ( $OMS_HOME/opmn/bin/opmnctl stopall )

3. emoms.properties ํŒŒ์ผ์„ ๋ฐฑ์—…ํ•˜๊ณ , ์•„๋ž˜์™€ ๊ฐ™์ด ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

$OMS_HOME/sysman/config/cp emoms.properties emoms.properties.orig

$vi emoms.properties

oracle.sysman.eml.mntr.emdRepPwd=new_password

oracle.sysman.eml.mntr.emdRepPwdEncrypted=FALSE

Page 84: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 84 -

4. OMR ์˜ SYSMAN ์œ ์ €์˜ ํŒจ์Šค์›Œ๋“œ๋ฅผ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.

SQL> alter user sysman identified by <newpassword>;

5. OMS ์„œ๋น„์Šค๋ฅผ ์žฌ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.

$OMS_HOME/opmn/bin/opmnctl startall

$OMS_HOME/sysman/config/vi emoms.properties

(oracle.sysman.eml.mntr.emdRepPwdEncrypted ์˜ ๊ฐ’์„ FALSE ์—์„œ TRUE ๋กœ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.)

6. Grid Control Console ์—์„œ SYSMAN ์˜ ํŒจ์Šค์›Œ๋“œ๋ฅผ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค. ("OMS and Repository")

1) Grid Control Console ์— ๋กœ๊ทธ์ธ

2) ํŽ˜์ด์ง€ ์˜ค๋ฅธ์ชฝ ์œ„์— Setup ์„ ํด๋ฆญ

3) Management Services and Repository ํƒญ์„ ์„ ํƒ

4) "Overview" ํŽ˜์ด์ง€ ๋ฐ‘์—, "Monitoring Configuration" ๋งํฌ๋ฅผ ํด๋ฆญํ•˜๋ฉด ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ๋ฉ”์‹œ์ง€

๊ฐ€ ๋‚˜ํƒ€๋‚ฉ๋‹ˆ๋‹ค.

Communication from the Oracle Management Service host to the Agent host failed. Refer to

help for details.

IOException in sending Request :: Connection refused

์ด๊ฒƒ์€ Agent ๊ฐ€ ์‹œ์ž‘๋˜์ง€ ์•Š์•˜๊ธฐ ๋•Œ๋ฌธ์ด๋ฉฐ, โ€œOKโ€๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

5) ์ฒซ๋ฒˆ์งธ ๋‹จ๊ณ„์—์„œ ์ •์ง€์‹œ์ผฐ๋˜ Agent ๋ฅผ ์žฌ์‹œ์ž‘ ์‹œํ‚ต๋‹ˆ๋‹ค. ($ emctl start agent )

6) Grid Control console ๋กœ ๋Œ์•„๊ฐ€ "Monitoring Configuration"๋ฅผ ๋‹ค์‹œํ•œ๋ฒˆ ํด๋ฆญํ•˜๋ฉด Agent ๊ฐ€ ์‹œ

์ž‘๋ฉ๋‹ˆ๋‹ค. Monitoring Configuration ํŽ˜์ด์ง€์—์„œ "Repository password" ํ•„๋“œ์— ๋ณ€๊ฒฝํ•  SYSMAN

์˜ ํŒจ์Šค์›Œ๋“œ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

7) โ€œOKโ€๋ฅผ ํด๋ฆญํ•˜๋ฉด targets.xml ํŒŒ์ผ์ด ์—…๋ฐ์ดํŠธ ๋˜๋ฉด์„œ SYSMAN ์œ ์ €์˜ ํŒจ์Šค์›Œ๋“œ๊ฐ€ ๋ณ€๊ฒฝ๋ฉ๋‹ˆ๋‹ค.

Page 85: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 85 -

6.3. Oracle Management Service(OMS) ์—๋Ÿฌ์‹œ ํ™•์ธ๋กœ๊ทธ

OMS ์˜ logging ๊ด€๋ ฆ ์„ค์ •์€ $OMS_HOME/sysman/config/emomslogging.properties ์—์„œ

์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

log4j.category.em.ovm=DEBUG, emovmlogAppender

log4j.appender.emovmlogAppender=org.apache.log4j.RollingFileAppender

log4j.appender.emovmlogAppender.File=

/private/rahgupta/app/oracle/product/10.2.0/EMHomes/oms10g/sysman/log/emovm.log

log4j.appender.emovmlogAppender.Append=true

log4j.appender.emovmlogAppender.MaxFileSize =5000000

log4j.appender.emovmlogAppender.MaxBackupIndex=100

log4j.appender.emovmlogAppender.layout=org.apache.log4j.PatternLayout

log4j.appender.emovmlogAppender.layout.ConversionPattern=%d [%t] %-5p %c{2} %M.%L -

%m\n

๋˜ํ•œ log ๋“ค์„ ํ™•์ธํ•ด์•ผํ•  ๊ฒฝ์šฐ OMS ์—์„œ ์ฃผ๋กœ ํ™•์ธํ•ด์•ผํ•  log ๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.

$OMS_HOME/sysman/log/emoms.log

$OMS_HOME/sysman/log/emoms.trc

$OMS_HOME/sysman/log/emovm.log*

$OMS_HOME/opmn/logs/OC4J~OC4J_EM~default_island~1

6.4. Oracle Management Agent(OMA) ์—๋Ÿฌ์‹œ ํ™•์ธ๋กœ๊ทธ

Grid Control Console ์˜ โ€œVirtual Server Home Pageโ€ ํŽ˜์ด์ง€์—์„œ Agent ์˜ Alert ๊ณผ Agent ๋กœ๊ทธ๋ฅผ

ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ•ด๋‹น ํŽ˜์ด์ง€๋Š” ์•„๋ž˜์™€ ๊ฐ™์€ ๋กœ๊ทธ๋“ค์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

$AGENT_HOME/sysman/log/emagent.log

$AGENT_HOME/sysman/log/emagent.nohup

$AGENT_HOME/sysman/log/emagent.trc

$AGENT_HOME/sysman/log/emagentfetchlet.log

$AGENT_HOME/sysman/log/emagentfetchlet.trc

- emagent.log = Agent process ๋ฅผ Logging ํ•˜๋ฉฐ, ์ ‚์ฒด ๋‚ด์šฉ์€ local language ๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

emagent.nohup = Agent watchdog ์˜ ์ž‘์—…๋‚ด์—ญ๋“ฑ์„ Logging ํ•ฉ๋‹ˆ๋‹ค.

- emagent.trc = Agent process ์˜ Trace ํŒŒ์ผ์ด๋ฉฐ, ์˜์–ด๋กœ๋งŠ ๊ธฐ๋ก๋ฉ๋‹ˆ๋‹ค.

- emagentfetchlet.log = Java Fetchlets ์— ๋Œ€ํ•ด Logging ํ•ฉ๋‹ˆ๋‹ค.

- emagentfetchlet.trc = Java Fetchlets ์˜ Trace ํŒŒ์ผ์ž…๋‹ˆ๋‹ค.

Page 86: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 86 -

6.5. Debug๋ฅผ ์œ„ํ•œ Agent Logging ๋ ˆ๋ฒจ ์กฐ์ •

Agent ์˜ Debug ๋ ˆ๋ฒจ์„ ์กฐ์ •ํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์€ ์ ƒ์ฐจ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

1. $AGENT_HOME/sysman/config/emagentlogging.properties ํŒŒ์ผ์— ์•„๋ž˜ ๋‚ด์šฉ๋“ค์„ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.

log4j.rootCategory=DEBUG (๊ธฐ๋ณธ๊ฐ’=WARN) , emagentlogAppender, emagenttrcAppender

2. $AGENT_HOME/sysman/config/emd.properties ํŒŒ์ผ์˜ ์•„๋ž˜ ๋‚ด์šฉ๋“ค๋„ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.

tracelevel.command=DEBUG

tracelevel.Dispatcher=DEBUG

3. ์œ„ ๋‚ด์šฉ๋“ค์ด ๋ชจ๋‘ ๋ณ€๊ฒฝ๋˜์—ˆ๋‹ค๋ฉด, ์„ค์ •๋‚ด์šฉ์„ ์ ์šฉํ•˜๊ธฐ ์œ„ํ•ด์—ฌ Agent ๋ฅผ ์žฌ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.

$AGENT_HOME/bin/emctl reload agent

Trace Level Level ๋ณ„ ๋ชฉ์ 

ERROR Trace ํŒŒ์ผ์— ์ค‘์š”ํ•œ ์—๋Ÿฌ ๋‚ด์šฉ๋“ค์„ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค. ์ผ๋ฐ˜์ ์œผ๋กœ ๊ฐ€์žฅ ์ ์€

Tracing Data ์–‘์„ Logging ํ•ฉ๋‹ˆ๋‹ค.

WARN ์ค‘์š”ํ•œ ์—๋Ÿฌ ๋‚ด์šฉ๋“ค๊ณผ ํ•จ๊ป˜ ๊ฒฝ๊ณ ์„ฑ ์ •๋ณด๋ฅผ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค. [๊ธฐ๋ณธ๊ฐ’]

INFO ์ค‘์š”ํ•œ ์—๋Ÿฌ ๋‚ด์šฉ๊ณผ ๊ฒฝ๊ณ ์„ฑ ์ •๋ณด์™€ ํ•จ๊ป˜ ์ถ”๊ฐ€ ์ •๋ณด๋“ค์„ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.

DEBUG ์ค‘์š”์—๋Ÿฌ ์ •๋ณด์™€ ๊ฒฝ๊ณ ์„ฑ ๋‚ด์šฉ ๊ทธ๋ฆฌ๊ณ  ์ถ”๊ฐ€์ ์ธ ์ •๋ณด๋ฅผ ํฌํ•จํ•˜๋ฉฐ,

debugging ์— ๋Œ€ํ•œ ์ •๋ณด๋„ Logging ๋ฉ๋‹ˆ๋‹ค. ์ผ๋ฐ˜์ ์œผ๋กœ ๊ฐ€์žฅ ๋งŽ์€

Tracing Data ์–‘์„ Logging ํ•ฉ๋‹ˆ๋‹ค.

Logging Level ๋น„๊ต = ERROR < [WARN] < INFO < DEBUG

Page 87: Enterprise Manager Grid Control

Oracle 10g EM Grid Control

- 87 -

7. Reference

01. OTN - Oracle Enterprise Manager 10g Grid Control Documentations

02. Oracle Enterprise Manager 10g Grid Control Books


Recommended