Você está na página 1de 8

Opera Hotel Edition

Oracle Database Control set up for the Oracle


10g database

Version 4.0.3.01
July 31, 2006
Oracle Database Control

Copyright

 2006 MICROS Systems, Inc. All rights reserved. No part of this publication may be
reproduced, photocopied, stored on a retrieval system, or transmitted without the express prior
written consent of the publisher. MICROS Systems, Inc. retains the right to update or change
the contents of this document without prior notice. MICROS Systems, Inc. assumes no
responsibility for the contents of this document.

OPERA is a trademark of MICROS Systems, Inc.

On Oracle and the On Oracle logo are trademarks of Oracle Corporation.

Information in this document is subject to change without notice.

MICROS Systems, Inc. makes no warranty of any kind with regard to this material, including
but not limited to the implied warranties of marketability and fitness for a particular purpose.

MICROS Systems, Inc. shall not be liable for errors contained herein or for incidental or
consequential damages in connection with the furnishing, performance, or use of this material.

Document Number:

MICROS Systems, Inc.


Fidelio Technologies Inc.
2640 Golden Gate Parkway, Suite 211
Naples, FL 34105
Voice. (239) 643-7999 / Fax. (239) 643-7911

MICROS SYSTEMS, INC. PAGE 2 8/1/2006


Oracle Database Control

Table of Contents

INTRODUCTION ........................................................................ 4
INTENDED AUDIENCE ............................................................... 4
OVERVIEW OF DB CONTROL ..................................................... 4
DB CONTROL COMMANDS ......................................................... 4
EXAMPLE CONFIGURATION ...................................................... 5
DROP DB CONTROL................................................................... 8

MICROS SYSTEMS, INC. PAGE 3 8/1/2006


Oracle Database Control

Introduction
This article details the installation and configuration of the Oracle Database Control utility for Oracle
10.2.0.2.1 database that is installed for Opera version 4.0.3.01.

Intended Audience
This document is intended for Micros staff charged with installing Opera. It assumes that the installer has
knowledge of Oracle and the SQL language, and the reader should be familiar with the architecture of an
Opera installation.

Overview of DB Control
Oracle Enterprise Manager (OEM) Console can be configured on the database servers to monitor
performance and email alters on critical database issues.

DB Control commands
Set the $ORACLE_HOME to the 10.2 Database home.

To get a list of options, issue the command: emca -h


<$ORACLE_HOME>/emca [operation] [mode] [dbType] [flags] [parameters]

Configure Database Control for a database:


-config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup]
[parameters]

De-configure Database Control:


-deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]

Parameters for single instance databases


HOST: Database hostname
SID: Database SID
PORT: Listener port number
ORACLE_HOME: Database ORACLE_HOME
HOST_USER: Host username for automatic backup
HOST_USER_PWD: Host user password for automatic backup
BACKUP_SCHEDULE: Automatic backup schedule (HH:MM)
EMAIL_ADDRESS: Email address for notifications
MAIL_SERVER_NAME: Outgoing Mail (SMTP) server for notifications
ASM_OH: ASM ORACLE_HOME
ASM_SID: ASM SID
ASM_PORT: ASM port
ASM_USER_ROLE: ASM user role
ASM_USER_NAME: ASM username
ASM_USER_PWD: ASM user password
SRC_OH: ORACLE_HOME for the database to be upgraded
DBSNMP_PWD: Password for DBSNMP user
SYSMAN_PWD: Password for SYSMAN user
SYS_PWD: Password for SYS user
DBCONTROL_HTTP_PORT: Database Control HTTP port
AGENT_PORT: EM agent port
RMI_PORT: RMI port for Database Control
JMS_PORT: JMS port for Database Control

MICROS SYSTEMS, INC. PAGE 4 8/1/2006


Oracle Database Control

Example configuration
1. Set the Oracle Home
Oracle_home=g:\oracle\1020

2. Run the following command to create the DB Control:


g:\oracle\1020\bin\emca –config dbcontrol db –repos create

Enter the following information:

Database SID: OPERA


Listener port number: 1521
Password for SYS user: OPERA10G
Password for DBSNMP user: OPERA10G
Password for SYSMAN user: OPERA10G
Email address for notification <optional>: You can enter an email address here for email
notifications or this can be configured later.

3. Configuration complete, now open a windows explorer window for the selected url name of
http://<server_name>:1158/em, in this example it was http://nplsmokedb1:1158/em

MICROS SYSTEMS, INC. PAGE 5 8/1/2006


Oracle Database Control

4. Login using the SYSMAN/OPERA10G username and password.

5. Upon logging in for the first time, accept all the defaults on the first screen and click, I agree.

MICROS SYSTEMS, INC. PAGE 6 8/1/2006


Oracle Database Control

MICROS SYSTEMS, INC. PAGE 7 8/1/2006


Oracle Database Control

Drop DB Control
1. Set the Oracle Home
Oracle_home=g:\oracle\1020

2. Run the following command to drop the DB Control:


g:\oracle\1020\bin\emca –deconfig dbcontrol db –repos drop

MICROS SYSTEMS, INC. PAGE 8 8/1/2006

Você também pode gostar