CONFIGURE  FAST START FAILOVER  IN  ORACLE DATABASE 10g
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

CONFIGURE FAST START FAILOVER IN ORACLE DATABASE 10g

on

  • 1,424 views

STEP BY STEP CONFIGURATIONS AND COMMANDS TO CONFIGURE

STEP BY STEP CONFIGURATIONS AND COMMANDS TO CONFIGURE
FAST START FAILOVER
IN
ORACLE DATABASE 10g

Statistics

Views

Total Views
1,424
Views on SlideShare
1,422
Embed Views
2

Actions

Likes
0
Downloads
144
Comments
0

1 Embed 2

http://www.linkedin.com 2

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

CONFIGURE FAST START FAILOVER IN ORACLE DATABASE 10g Document Transcript

  • 1. CONFIGUREFAST START FAILOVER INORACLE DATABASE 10g (Dated : August 27, 2011) Written By: Ahmer Mansoor Email : ahmer_mansoor@hotmail.com Profile : http://www.linkedin.com/in/ahmermansoor
  • 2. Written By: Ahmer MansoorEmail : ahmer_mansoor@hotmail.comProfile : http://www.linkedin.com/in/ahmermansoorCONSIDERATIONS PRIMARY STANDBY DATABASE NAME KARACHI LAHORE IP ADDRESS 172.17.1.4 172.17.1.5 DATABASE VERSION 10.2.0.2 10.2.0.2 SHARED FOLDER C:SHARED N/A CONSOLE SYSTEM 172.17.1.53 STANDBY DATABASE PHYSICAL STANDBY PROTECTION LEVEL MAXIMUM AVAILABILITYIt is considered that you have already configured your Dataguard Architecture using the Article ‘Configuration ofOracle 10g Dataguard’. Page | 2
  • 3. Written By: Ahmer MansoorEmail : ahmer_mansoor@hotmail.comProfile : http://www.linkedin.com/in/ahmermansoor 1) PREPARE PRIMARY DATABASE C:> SQLPLUS SYS@KARACHI AS SYSDBA SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_1=’SERVICE=LAHORE LGWR SYNC AFFIRM’ SCOPE=BOTH; SQL> SHUTDOWN IMMEDIATE; SQL> STARTUP MOUNT; SQL> ALTER DATABASE FLASHBACK ON; SQL> ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE AVAILABILITY; SQL> ALTER DATABASE OPEN; 2) PREPARE STANDBY DATABASE C:> SQLPLUS SYS@LAHORE AS SYSDBA SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_1=’SERVICE=KARACHI LGWR SYNC AFFIRM’ SCOPE=BOTH; SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL; SQL> ALTER DATABASE FLASHBACK ON; SQL> ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE AVAILABILITY; SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT; 3) CONFIGURE DATAGUARD BROKER AND OBSERVER C:>DGMGRL SYS@KARACHI DGMGRL> SHOW CONFIGURATION DGMGRL> EDIT DATABASE KARACHI SET PROPERTY FASTSTARTFAILOVERTARGET=LAHORE; DGMGRL> EDIT DATABASE LAHORE SET PROPERTY FASTSTARTFAILOVERTARGET=KARACHI; DGMGRL> EDIT DATABASE ‘KARACHI’ SET PROPERTY LOGXPTMODE=SYNC; DGMGRL> EDIT DATABASE ‘LAHORE′ SET PROPERTY LOGXPTMODE=SYNC; DGMGRL> EDIT CONFIGURATION SET PROPERTY FASTSTARTFAILOVERTHRESHOLD = 10; DGMGRL> EDIT CONFIGURATION SET PROTECTION MODE AS MAXAVAILABILITY; DGMGRL> ENABLE FAST_START FAILOVER; Page | 3
  • 4. Written By: Ahmer MansoorEmail : ahmer_mansoor@hotmail.comProfile : http://www.linkedin.com/in/ahmermansoor DGMGRL> START OBSERVER; (Observer will continue to monitor the status of the KARACHI Database and automatically perform failover if it fails, and Reinstating the KARACHI database as Standby Database when it is available again. Perform a test by issuing the following statement at KARACHI Database.) SQL> SHUTDOWN ABORT; (At Primary Database) Page | 4