Sunteți pe pagina 1din 24

Oracle9i Database: Data Guard Administration

D12619GC10

Production 1.0 September 2002 Setup Document for NT


December 23, 2002

Terminology and Environment Description

Terminology
Site Administrator Point of contact responsible for setting up and testing classroom environment. The administrator is also responsible for explaining setup and login procedures to the instructor. Client/Server Course Course conducted with client/server architecture. Database server resides on the CLASSROOM SERVER and client software resides on each CLASSROOM WORKSTATION. Currently, most language courses (Introduction to Oracle: SQL and PL/SQL 8i, Introduction to Oracle for Experienced SQL Users 8i, Advanced SQL 8i, etc.) are client/server courses. CLASSROOM SERVER This is the database server for most language courses. Some courses may require middle tier software to be installed. CLASSROOM WORKSTATION - A PC used by a student to perform practice labs. For the language courses, the client must have all necessary software installed and running locally. For standalone courses, both client and server software must be locally. Some courses may require middle tier software to be installed. N-Tier Course Course conducted with database on CLASSROOM SERVER, client software installed on CLASSROOM WORKSTATION and middle tier installed on the CLASSROOM SERVER or the CLASSROOM WORKSTATION. Several courses require an N-Tier configuration. Currently all language courses (Oracle9i: Introduction to SQL, Oracle9i: Program with PL/SQL, etc ) are N-Tier courses. Standalone Course - Course conducted with database server, middle tier server (if required) and client software residing on each CLASSROOM WORKSTATION. Currently all DBA courses (Oracle9i Database Administration Fundamentals I and II, and Oracle9i Database Performance Tuning) are standalone courses. Oracle 9i Data Guard Administration is also a standalone course.

Specific software requirements for this course can be found in the section titled Course Specific Description and Information. Unless noted otherwise, the CLASSROOM SERVER can be used as the Instructors WORKSTATION.

Documentation
Documentation can be found at the Oracle University On-Site and Partner web site. Individual course setup documents are also available at this site. These documents provide step by step course setup instructions and tests that verify the setup. This documentation is intended primarily for the site administrators. In addition, there are instructor read me files on how to conduct each course on Windows NT. These files are intended for instructors, but site administrators should also review them. These read me files include corrections to demo, labs, and solution files.

Location of Course Files


Once downloaded, the course setup files will be extracted from the ZIP file. The extraction will create a directory structure, starting at the highest level of c:\oracourse. An environment variable %CLASS_SOURCE% is set to the location of the setup files. Default location is %CLASS_SOURCE%=c:\oracourse Client/Server Courses All demo, labs, and solution files are placed on each CLASSROOM WORKSTATION during the course setup. A folder structure is created that is course specific. The following folder structure is an example of a typical Client/Server course. c:\oraclass\demo \labs \solutions

Location of Course Files (continued)


Standalone Courses All demo, labs, and solution files are placed on each CLASSROOM WORKSTATION during the course setup. Additionally a database is created, to include and all data files, control files and redo log files. The folder structure is course specific. For example, the folder structure created for the Oracle9i Database: Data Guard Administration will be as follows: c:\oraclass\admin\bdumpA c:\oraclass\admin\bdumpB c:\oraclass\admin\bdumpC c:\oraclass\admin\cdumpA c:\oraclass\admin\cdumpB c:\oraclass\admin\cdumpC c:\oraclass\admin\create c:\oraclass\admin\pfile c:\oraclass\admin\udumpA c:\oraclass\admin\udumpB c:\oraclass\admin\udumpC c:\oraclass\backup\ c:\oraclass\demo c:\oraclass\donttouch c:\oraclass\oradataa\archive1 c:\oraclass\oradataa \archive2 c:\oraclass\oradataa\u01 c:\oraclass\oradataa\u02 c:\oraclass\oradataa\u03 c:\oraclass\oradataa\u04 c:\oraclass\oradataa\u05 c:\oraclass\oradataa\u06 c:\oraclass\oradatab\archive1 c:\oraclass\oradatab\archive2 c:\oraclass\oradatab\u01 c:\oraclass\oradatab\u02 c:\oraclass\oradatab\u03 c:\oraclass\oradatab\u04 c:\oraclass\oradatab\u05 c:\oraclass\oradatab\u06 c:\oraclass\oradatac\archive1 c:\oraclass\oradatac\archive2 c:\oraclass\oradatac\u01 c:\oraclass\oradatac\u02 c:\oraclass\oradatac\u03 c:\oraclass\oradatac\u04 c:\oraclass\oradatac\u05 c:\oraclass\oradatac\u06 c:\oraclass\student\labs c:\oraclass\student\solns

Multiple ORACLE_HOMEs
The software that you have installed determines the number of ORACLE_HOMEs created. The following table is provided as an example.

Oracle Home 1. 2. 3. OraHome92 isuites dev6i

Location c:\oracle\ora92

Software Installed Oracle9i Enterprise Edition R2

c:\oracle\isuites Oracle9i Application Server c:\dev6I Developer 6i

A description of the ORACLE_HOMEs required for this specific course can be found in the section titled Course Specific Description and Information.

Multiple ORACLE_HOMEs (continued)


For most courses each ORACLE_HOME registry value will have the following entries ORACLE_SID=DBA TNS_ADMIN=c:\oracle\ora92\network\admin SQLPATH=c:\oraclass\code_examples; c:\oraclass\demo; c:\oraclass\labs; c:\oraclass\solutions The ORACLE_SID entry forces each ORACLE application (SQL*Plus, Form Builder, etc.) installed into that ORACLE HOME to connect to the specified instance by default. In the example above the specified instance is DBA. The TNS_ADMIN entry forces all requests for service name resolution (system/manager@V901) to be resolved from one location. This eliminates the need for sqlnet.ora and tnsnames.ora in multiple ORACLE_HOMEs. The SQLPATH entry sets the search path for SQL*Plus, eliminating the need to type the full path when issuing the @ or START command in SQL*Plus. Each course setup document specifies which %ORACLE_HOME%\bin should appear first in the PATH variable. To change the order of the PATH variable, go to My Computer, right click, select Properties and edit the PATH System Variable.

NT Services
Running Oracle on the NT platform requires you to be familiar with NT services. Prior to starting an instance, an NT service must be started. The ORADIM Utility creates the NT-service that allows the instance to be started. Almost every Oracle executable runs as an NT Service including the Listener, Intelligent Agent, Names Server, Connect Manager and Oracle Management Server, etc., all run as NT services. Most of these services are created upon installing the software. To view, start, and stop services go to Start > Settings > Control Panel > Services.

Course Specific Description and Information

Specific Information for Oracle9i Database: Data Guard Administration


Oracle9i Database: Data Guard Administration is a Standalone course. On the Instructor CLASSROOM WORKSTATION and each student CLASSROOM WORKSTATION you will install the required software, configure the network and create two databases. One database will be created and serve as the repository for the Oracle Management Server. The students to perform practice exercises will use the other database.

Setup of Instructor and each Student CLASSROOM WORKSTATION

The Instructor CLASSROOM WORKSTATION and each student CLASSROOM WORKSTATION will have Oracle9i DB EE 9.2.0.1.0 installed. On the Instructor CLASSROOM WORKSTATION and each student CLASSROOM WORKSTATION one ORACLE HOME will exist.

Oracle Home 1. OraHome92

Location c:\oracle\ora92

Software Installed 9iDB EE 9.2.0.1.0

Two databases will be created DBAA and ORCL. Running a DOS command file will create the DBAA Database. The students to perform practices exercises use the DBAA Database. It is commonly know as the managed database. The ORCL Database, will be created using the Enterprise Manager Configuration Assistant. ORCL will be the repository for the Oracle Management Server (OMS).

Hardware Requirements Instructor CLASSROOM WORKSTATION and each Student CLASSROOM WORKSTATION

Minimum Operating System NT Workstation Service Pack 5


Pentium II 200

Recommended

CPU

Pentium II 233

Memory

512M

1G

Hard Drive

8 GB NTFS

Video

1024x768 resolution, 256 color, 70Hz refresh

Monitor

17 1024 x 768 resolution at 70MHz


4x CD-ROM SCSI or EIDE

CD-ROM

Ethernet

16 bits 10 Base T twisted pair

These minimums only consider NT 4.0 and Oracle software.

1. Configure CLASSROOM WORKSTATIONS


Overview: In this phase you will install software, configure the network, and create databases on all CLASSROOM WORKSTATIONS. These steps will be performed on the Instructor CLASSROOM WORKSTATION and each student CLASSROOM WORKSTATION. Duration: 2 hours and 40 minutes per CLASSROOM WORKSTATION Requirements: Ensure CLASSROOM WORKSTATION has NT 4.0 Server or Workstation, Service Pack 5, TCP/IP installed and the host name is resolvable through local host file or a Domain Name Server. Install Netscape Communicator 4.X or Internet Explorer 5.5, WinZip, and Adobe Acrobat. Open the setup file in WINZIP. Extract all files to c:\ and ensure that Use Folder Name box is checked. This will create the c:\oracourse folder structure required for the setup. Note: After all software is installed there will be the following ORACLE_HOME on each CLASSROOM WORKSTATION with the following software installed:

Oracle Home 1. OraHome92

Location c:\oracle\ora92

Software Installed 9iDB EE 9.2.0.1.0

Two databases will be created DBAA and ORCL. Running a DOS command file will create the DBAA database. The students to perform practices exercises use the DBA database. It is commonly know as the managed database. The ORCL database will be created using the Enterprise Manager Configuration Assistant. ORCL will be the repository for the Oracle Management Server (OMS).

1a. NT Setup
Overview: In this phase you will create an NT group, create an NT user, add rights and set user environment variables. Duration: 10 minutes

Task: Create NT group, users and rights Log into the CLASSROOM WORKSTATION as the administer. Go to Start Menu, Programs, Administrative Tools (Common), and open User Manager for Domains. Select User -New Local Group in the Menu Bar and enter "ORA_DBA" in the Group Name dialogue box. Add Administrator to the group ORA_DBA. Select User -New User in the Menu Bar. Enter "dba" for the Username and "oracle" for the Password. Ensure that "User Must Change Password at Next Login" and "Account Disabled" are not checked. Ensure that "User Cannot Change Password" and "Password Never Expires" are checked. Add the "dba" user to the "Administrators", "ORA_DBA" and "Users" Groups. Select Policies - User Rights. In the User Rights Policy screen check "Show Advanced Rights". In the "Right" drop down box select "Act as part of the operating system". Click the "Add" button. In the "Add Users and Groups" screen highlight the "Administrators" and the "ORA_DBA" groups and click "Add". Repeat this process for the following Advanced Rights, "Increase quotas", "Log on as a service", "Log on as a batch job" and "Replace a process level token". The end result is the Administrator and ORA_DBA groups should have the following Advanced Rights: Act as part of the operating system Increase quotas Log on as a batch job Log on as a service Replace a process level token Task: Setup User Environment Variables Log into the CLASSROOM WORKSTATION as the user "dba" with a password of "oracle". Set CLASS_HOME as a user environment variable with a value of the location of course lab/demo/solution files. The recommended and default location is c:\oraclass. To set a system variable access the System Properties property sheet by either right clicking on My Computer and selecting Properties or via the Control Panel System icon. Select the Environment tab and highlight any of the variables in the User Variables window then in the Variable text field enter CLASS_HOME and in the Value text field enter c:\oraclass. Click Apply to save the changes. Set ORACLE_HOME as a user environment variable. The recommended and default location is c:\oracle\ora92. To set a system variable access the System Properties property sheet by either right clicking on My Computer and selecting Properties or via the Control Panel System icon. Select the Environment tab and highlight any of the variables in the User Variables window then in the Variable text field enter ORACLE_HOME and in the Value text field enter c:\oracle\ora92. Click OK to save the changes.

1b. Install Oracle9i Database

Overview: In this phase you will install Oracle9i Database. During testing better results were achieved by copying all files from all 3 CDs to a staging area on the CLASSROOM WORKSTATION. Folders were created c:\temp\disk1, c:\temp\disk2 and c:\temp\disk3. Files were copied from each CD to these folders.

Duration: 40 minutes Task: Install Oracle9i Database Log into the CLASSROOM WORKSTATION as the administrator. Place the Oracle9i Database Release 2 9.2.0.1.0 CD (Part # A91798-01) into the CD-ROM or start the installer by double-clicking Setup. In the Welcome screen select "Next". In the File Location screen enter the Name and Path of the Oracle9i ORACLE_HOME then select Next Name: OraHome92 Path: c:\oracle\ora92 In the Available Products screen select "Oracle9i Database 9.2.0.1.0 then select "Next". In the "Installation Types" screen select "Enterprise Edition (2.86GB)" then select "Next". In the "Database Configuration" screen select "Software Only" then select "Next". In the Oracle Services for Microsoft Transaction Server screen select Next. In the Oracle Services for Microsoft Transaction Server Oracle MTS Recovery Service Configuration screen take the default Port Number (2030) then select Next. In the "Summary" screen select "Install". In the "End of Installation" screen select "Exit". Reboot the CLASSROOM WORKSTATION.

1c. Configure Oracle Net

Overview: In this phase you will configure a Listener and service names. Duration: 10 minutes Task: Configure Listener Copy c:\oracourse\network\listener.ora to c:\oracle\ora92\network\admin. Edit c:\oracle\ora92\network\admin\listener.ora and replace all occurrences of XXXXX with the name of the CLASSROOM_WORKSTATION. Edit the ORACLE_HOME for each instance. DBA should have an ORACLE_HOME where 9.2.0.1.0 is installed (c:\oracle\ora92 is the default location). Go to a DOS prompt and type the following: C:\lsnrctl start LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 23-SEP-2002 10:52:01 Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved. Starting tnslsnr: please wait... TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production System parameter file is c:\oracle\ora92\network\admin\listener.ora Log messages written to c:\oracle\ora92\network\log\listener.log Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=aoec-work)(PORT=1521))) Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=AOECWORK)(PORT=1521))) STATUS of the LISTENER -----------------------Alias LISTENER Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production Start Date 23-SEP-2002 10:52:03 Uptime 0 days 0 hr. 0 min. 2 sec Trace Level off Security OFF SNMP OFF Listener Parameter File c:\oracle\ora92\network\admin\listener.ora Listener Log File c:\oracle\ora92\network\log\listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=aoec-work)(PORT=1521))) Services Summary... Service "DBAA.WORLD" has 1 instance(s). Instance "DBAA", status UNKNOWN, has 1 handler(s) for this service... Service "ORCL.WORLD" has 1 instance(s). Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully

1c. Configure Oracle Net (continued)

Task: Configure Net8 Service Names Copy c:\oracourse\network\tnsnames.ora to c:\oracle\ora92\network\admin. Edit c:\oracle\ora92\network\admin tnsnames.ora and replace all occurrences of CLASSROOM_WORKSTATION with the name of the CLASSROOM_WORKSTATION. Copy c:\oracourse\network\sqlnet.ora to c:\oracle\ora92\network\admin.

1d. Create DBAA Database


Overview: In this phase you will create the DBAA database by running a DOS command file and perform tests to ensure proper creation. Duration: 1 hour Task: Setup environment variables for CLASSROOM WORKSTATION Overview: The purpose of this task is to setup variables for your location. Edit c:\oracourse\setup\9idgR2.cmd and ensure the following variables are set correctly for your location. set CLASS_SOURCE=c:\oracourse set ORACLE_HOME=c:\oracle\ora92 set CLASS_HOME=c:\oraclass Location of course setup files. Location of ORACLE_HOME. Location of course demo/lab/solution files.

Task: Create DBA Database At a dos prompt change directories to location of DOS command file and run 9idgR2.cmd C:\ C:\>cd oracourse\setup C:\Oracourse\Setup>\9idgR2.cmd NOTE Check c:\oraclass\admin\create\credb.log, credb1.log and credb2.log for any errors.

Task: Test Setup At a DOS Prompt type the following: C:\Oracourse\Setup>sqlplus system/manager@DBAA SQL*Plus: Release 9.2.0.1.0 - Production on Mon Sep 23 14:29:48 2002 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.1.0 - Production SQL>

1d. Create DBA Database (continued)

Task: Test Setup (continued) SQL> select username 2 from dba_users order by 1; USERNAME -----------------------------DBSNMP HR MDSYS OE OUTLN SYS SYSTEM 7 rows selected. SQL> select tablespace_name 2 from dba_tablespaces; TABLESPACE_NAME -----------------------------SYSTEM UNDOTBS TEMP EXAMPLE SQL> connect hr/hr@DBAA Connected. SQL> select table_name 2 from user_tables; TABLE_NAME -----------------------------COUNTRIES DEPARTMENTS EMPLOYEES JOBS JOB_HISTORY LOCATIONS REGIONS 7 rows selected.

1e. Create ORCL Database


Overview: In this phase you will create the ORCL database using the Enterprise Manager Configuration Assistant. Additionally this will create the repository required for the OMS. Duration: 40 minutes Task: Configure OMS 1. From the desktop select Start > Programs > Oracle OraHome92 > Configuration and Migration Tools > Enterprise Manager Configuration Assistant. Click Next, on the Welcome window. Select Configure Local Management Server. Click Next. Select Create a new repositoty. Click Next. Select Custom. Click Next. Click Change SID. Enter ORCL for both the Global Database Name and SID. Click OK, then Next. Accept the default user. Enter the oracle as the password twice. Click Next. Click Finish.

2. 3. 4. 5. 6. 7. 8. 9.

10. Enter oracle as the password for SYS and SYSTEM. Click OK. 11. When processing is complete, click Close.

Task: Stop and Start Oracle Intelligent Agent Start > Settings > Control Panel > Services Select the OracleOraHome92Agent, then select Stop. Select the OracleOraHome92Agent, then select Start.

1f. Final Preparation


Overview: In this phase you will perform miscellaneous tasks for final preparation of class. Duration: 15 minutes NT Services Before starting the class ensure the following NT services are Started and set to start Automatically on each student and instructor workstation. OracleOraHome92Agent OracleOraHomeHTTPServer OracleOraHome92TNSListener OracleOraHome92ManagementServer OracleServiceDBAA OracleServiceORCL

Task: Update Registry Log into the CLASSROOM SERVER as the administrator. Set ORACLE_SID and SQLPATH in the Registry. To accomplish this invoke DOS and type regedt32 or click Start Menu -> Run and type regedt32 (or regedit). Navigate to HKEY_LOCAL_MACHINE>SOFTWARE>ORACLE>HOMEX (ORACLE_HOME where Oracle9i installed) Select the Value ORACLE_SID, in the String box type replace the existing string with DBAA then click OK. Select the Value SQLPATH, in the String box type replace the existing string with c:\oraclass\demo;c:\oraclass\student\labs;c:\oraclass\student\solns then click OK. Close registry editor.

Instructor Notes
Oracle 9i Database: Data Guard Administration D12619GC10 Production 1.0 September 2002 A Standalone course on NT

NT Log In Accounts Students and instructors log into their NT CLASSROOM WORKSTATION with the following User Name: Password: dba oracle

NT Services Before starting the class ensure the following NT services are Started and set to start Automatically on each student and instructor workstation. Stop all other Oracle services and set them to start manually. OracleOraHome92Agent OracleOraHomeHTTPServer OracleOraHome92TNSListener OracleOraHome92ManagementServer OracleServiceDBAA OracleServiceORCL

Instructor Notes
Oracle 9i Database: Data Guard Administration D12619GC10 Production 1.0 September 2002 A Standalone course on NT Location of Course Files c:\oraclass\admin\bdumpA c:\oraclass\admin\bdumpB c:\oraclass\admin\bdumpC c:\oraclass\admin\cdumpA c:\oraclass\admin\cdumpB c:\oraclass\admin\cdumpC c:\oraclass\admin\create c:\oraclass\admin\pfile c:\oraclass\admin\udumpA c:\oraclass\admin\udumpB c:\oraclass\admin\udumpC c:\oraclass\backup\ c:\oraclass\demo c:\oraclass\donttouch c:\oraclass\oradataa\archive1 c:\oraclass\oradataa \archive2 c:\oraclass\oradataa\u01 c:\oraclass\oradataa\u02 c:\oraclass\oradataa\u03 c:\oraclass\oradataa\u04 c:\oraclass\oradataa\u05 c:\oraclass\oradataa\u06 c:\oraclass\oradatab\archive1 c:\oraclass\oradatab\archive2 c:\oraclass\oradatab\u01 c:\oraclass\oradatab\u02 c:\oraclass\oradatab\u03 c:\oraclass\oradatab\u04 c:\oraclass\oradatab\u05 c:\oraclass\oradatab\u06 c:\oraclass\oradatac\archive1 c:\oraclass\oradatac\archive2 c:\oraclass\oradatac\u01 c:\oraclass\oradatac\u02 c:\oraclass\oradatac\u03 c:\oraclass\oradatac\u04 c:\oraclass\oradatac\u05 c:\oraclass\oradatac\u06 c:\oraclass\student\labs c:\oraclass\student\solns

Instructor Notes
Oracle 9i Database: Data Guard Administration D12619GC10 Production 1.0 September 2002 A Standalone course on NT Lesson, Demo, Lab and Solution Corrections Note: Location of course files and variables Demo files: Practice files: Solution files: CLASS_HOME: Note: c:\oraclass\demo c:\oraclass\student\labs c:\oraclass\student\solns c:\oraclass

Primary Database Information ORACLE_SID: Service Name: NT Service: Parameter file: Password file: DBAA DBAA.WORLD OracleServiceDBAA %ORACLE_HOME%\database\initDBA.ora with the one parameter ifile=c:\oraclass\admin\pfile\initdba.ora %ORACLE_HOME%\database\pwddba.ora

Note: Repository Database Information ORACLE_SID: Service Name: NT Service: ORCL ORCL.WORLD OracleServiceORCL

The student guides were written for UNIX servers. The CLASS_HOME variable on NT is the equivalent of $HOME on UNIX.

Practice 4: Creating a Physical Standby Database with Data Guard Manager GUI 2. After discovery two databases will been seen, DBAA.WORLD and ORCL.WORLD. 3.c. OS username is dba and password is oracle. 4. Listener service OracleOraHome92TNSListener should be started but is not needed for the backup. Student to run c:\oraclass\student\labs\backup.cmd.

Instructor Notes
Oracle 9i Database: Data Guard Administration D12619GC10 Production 1.0 September 2002 A Standalone course on NT Lesson, Demo, Lab and Solution Corrections (continued) Practice 4: Creating a Physical Standby Database with Data Guard Manager GUI 6. Configuration Name: Primary database name: Primary database site: Standby database name: Standby database site: Datafile location: DBAA_config1 DBAA site_a DBAB site_b c:\oraclass\oradataB\u0*

Standby archive location: c:\oraclass\oradataB\archive2 Note: Clean up for the workshop expects the physical standby database instance to be named DBAB. Note: To see the standby in the Console, stop and start the agent and perform discovery on the node. Practice 8: Creating a Logical Standby Database with Data Guard Manager GUI 2. Configuration Name: Primary database name: Primary database site: Standby database name: Standby database site: Datafile location: DBAA_config2 DBAA site_a DBAC site_c c:\oraclass\oradataC\u0*

Standby archive location: c:\oraclass\oradataC\archive2 Note: Clean up for the workshop expects the logical standby database instance to be named DBAC. Note: To see the standby in the Console, stop and start the agent and perform discovery on the node.

Instructor Notes
Oracle 9i Database: Data Guard Administration D12619GC10 Production 1.0 September 2002 A Standalone course on NT Lesson, Demo, Lab and Solution Corrections (continued) Practice 11 Workshop To setup for the workshops use the instructions under the following headings on page 11-10 and page 1125. For any classroom No changes, follow use written. For a non-Oracle classroom All steps can be accomplished manually by the students, or scripts are provided for each bullet point. All scripts are are located in c:\oraclass\student\labs. To shutdown and remove NT services for all standby instances/databases students can run del_instances.cmd. To delete all datafiles, redo log files, standby redo logs, parameter files, spfiles, and password files for standby databases students can run del_dbfiles.cmd. To delete Data Guard monitor configuration files students can run del_configs.cmd. To restore the Primary database backup taken in Practice 4 students can run restore.cmd. This script will take a cold backup the Primary in its current configuration and place it in c:\oraclass\backup. This is a safety backup taken prior to restoring the backup taken in Practice 4.

To help conserve memory it advised that you set the set the following parameters on the s ORCL instance. SHARED_POOL_SIZE JAVA_POOL_SIZE LARGE_POOL_SIZE DB_CACHE_SIZE 20M 0 0 4M

Workshop Part II When cleaning up the database after the first workshop you will need to reboot the machines or you may run into error ORA-16524 on the process LSP0 and you will not be able to create the Logical standby.

S-ar putea să vă placă și