Deloitte Solutions Network (SNET Disaster Recovery POC on Amazon EC2 September 2010
Agenda Solutions Network Profile Oracle E-Business Suite R12 POC Amazon Public Cloud Custom Application POC Hybrid Cloud Data Guard Configuration What We Learned Environment and configuration details Q&A
Solutions Network (SNET The SNET is a Technology Center of Expertise that combines highly skilled technical resources with a Tier 3 data center that helps Deloitte practice sell and deliver projects, manage investments, and enable our practitioners with the right skills at the right place at the right time. Why this POC? Establish production like capabilities Production configuration High availability Production like SLA s Disaster recovery and data protection Capture effort, skill set and cost estimates Host long term environments on Amazon EC2 Develop leading practices DR process and procedure on Amazon cloud Document configurations for repeatable deployments
Oracle E-Business Suite R12 POC Amazon Public Cloud Technology Components Amazon EC2 instance Amazon Elastic Load Balancer Amazon Region and Availability Zones Amazon EC2 Security Groups Amazon Elastic IP Oracle E-Business Suite R12 Oracle Secure Backup Cloud Module Oracle Database 11g Oracle Advanced Security Options Oracle Data Guard Oracle Transparent Data Encryption Oracle Enterprise Linux IP tables, NFS * Expertise Oracle E- Business Suite Oracle RDBMS and Data Guard Oracle Enterprise Linux Administration Amazon Web Services EC2
Oracle E-Business Suite R12 POC Amazon Public Cloud
Custom Application POC Hybrid Cloud Technology Components Amazon Virtual Private Cloud Oracle 11g RDBMS Oracle Data Guard Oracle Secure Backup Cloud Module TSM Backup Monitoring tools Expertise Oracle Database 11g and Data Guard Oracle Enterprise Linux Administration Network and Firewall Amazon Web Services EC2 VPC
Custom Application Hybrid Cloud
Data Guard Configuration Prepare primary database Enable logging Add standby redo logs Add data guard parameters to init.ora/spfile Update tnsnames.ora and listener.ora Prepare standby database environment Install or clone the Oracle home Copy password file (orapwdsid from primary database Add data guard parameters to init.ora/spfile Update tnsnames.ora and listener.ora Create standby database using RMAN Duplicate target database for standby Configure data guard broker Setup database parameters on primary and standby database init.ora/spfile Create data guard configuration for primary and standby using dgmgrl Setup StaticConnectIdentifier for primary and standby Enable data guard configuration Show configuration should return success
What We Learned Assessment : Understand the business goals, risk, characteristics of your application and SLA requirements Security : Requirements will vary when deployed in the public or hybrid cloud compared to all in-house Network : Review your application network latency and bandwidth requirements Monitoring : We can monitor instances in the Amazon Virtual Private Cloud using our existing tools, however we were unable to use the tools on Amazon EC2 Cloud Backups : An instance in the VPC can be backed up either to S3 (with OSB Cloud Module or to existing enterprise backup solution. Standby Database : Creation and switchover faster on EC2 to EC2 as compared to in-house to VPC Configuration : Configuring Data Guard on Amazon EC2 or Virtual Private Cloud is not any different from traditional in-house configuration Firewall : Applications or services running on non standard ports on Amazon EC2 will require additional ports to be opened on the corporate firewall. Configuration Guide : http://tinyurl.com/s316930-deloitte (PDF
Environment & configuration details Primary Server : ebdr12prm Primary Database : VIS #Primary init.ora: LOG_ARCHIVE_DEST_1='LOCATION=/data/oracle/VIS/db/archive VALID_FOR=(ALL_LOGFILES,ALL_ROLES DB_UNIQUE_NAME=VIS' LOG_ARCHIVE_CONFIG='DG_CONFIG=(VIS,VISSTB' DB_FILE_NAME_CONVERT='VIS','VIS' FAL_CLIENT='VIS' FAL_SERVER='VISSTB' log_archive_dest_2='service=visstb VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE DB_UNIQUE_NAME=VISSTB' LOG_ARCHIVE_DEST_STATE_1='ENABLE' log_archive_dest_state_2='enable' log_archive_format='%t_%s_%r.arc' LOG_FILE_NAME_CONVERT='VIS','VIS' remote_login_passwordfile='exclusive' SERVICE_NAMES='VIS' STANDBY_FILE_MANAGEMENT='AUTO' db_unique_name=vis global_names=true DG_BROKER_START=TRUE DG_BROKER_CONFIG_FILE1='/data/oracle/VIS/db/tech_st/11.1.0/dbs/D GCVIS1.dat' DG_BROKER_CONFIG_FILE2='/data/oracle/VIS/db/tech_st/11.1.0/dbs/D GCVIS2.dat' Standby server : ec2r12ebsdbs Standby Database: VISSTB #Standby init.ora: LOG_ARCHIVE_DEST_1='LOCATION=/data/oracle/VIS/db/archive VALID_FOR=(ALL_LOGFILES,ALL_ROLES DB_UNIQUE_NAME=VISSTB' LOG_ARCHIVE_CONFIG='DG_CONFIG=(VIS,VISSTB' DB_FILE_NAME_CONVERT='VIS','VIS' FAL_CLIENT='VISSTB' FAL_SERVER='VIS' log_archive_dest_2='service=vis VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE DB_UNIQUE_NAME=VIS' LOG_ARCHIVE_DEST_STATE_1='ENABLE' log_archive_dest_state_2='defer' log_archive_format='%t_%s_%r.arc' LOG_FILE_NAME_CONVERT='VIS','VIS' remote_login_passwordfile='exclusive' SERVICE_NAMES='VISSTB' STANDBY_FILE_MANAGEMENT='AUTO' db_unique_name=visstb global_names=true DG_BROKER_START=TRUE DG_BROKER_CONFIG_FILE1='/data/oracle/VIS/db/tech_st/11.1.0/d bs/dgcvis1.dat' DG_BROKER_CONFIG_FILE2='/data/oracle/VIS/db/tech_st/11.1.0/d bs/dgcvis2.dat'
Environment & configuration details Primary Server : ebdr12prm Primary Database : VIS #Primary listener.ora: VIS = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP(HOST = Ebsr12prm (PORT = 1526 (SID_LIST = (SID_DESC = (ORACLE_HOME= /data/oracle/vis/db/tech_st/11.1.0 (SID_NAME = VIS (SID_DESC = (ORACLE_HOME= /data/oracle/vis/db/tech_st/11.1.0 (SID_NAME = VIS (GLOBAL_DBNAME=VIS_DGMGRL (SID_DESC = (ORACLE_HOME= /data/oracle/vis/db/tech_st/11.1.0 (SID_NAME = VIS (GLOBAL_DBNAME=VIS_DGB Standby server : ec2r12ebsdbs Standby Database: VISSTB #Standby listener.ora: VIS = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP(HOST = ec2r12ebsdbs(port = 1526 SID_LIST_VIS = (SID_LIST = (SID_DESC = (ORACLE_HOME= /data/oracle/vis/db/tech_st/11.1.0 (SID_NAME = VIS (SID_DESC = (ORACLE_HOME= /data/oracle/vis/db/tech_st/11.1.0 (SID_NAME = VIS (GLOBAL_DBNAME=VISSTB_DGMGRL (SID_DESC = (ORACLE_HOME= /data/oracle/vis/db/tech_st/11.1.0 (SID_NAME = VIS (GLOBAL_DBNAME=VISSTB_DGB
Environment & configuration details Primary Server : ebdr12prm Primary Database : VIS #Primary tnsnames.ora: VISSTB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP(HOST = ec2r12ebsdbs(port = 1526 (CONNECT_DATA = (SID = VIS VIS = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP(HOST = ebsr12prm(port = 1526 (CONNECT_DATA = (SID = VIS Standby server : ec2r12ebsdbs Standby Database: VISSTB #Standby tnsnames.ora: VISSTB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP(HOST = ec2r12ebsdbs(port = 1526 (CONNECT_DATA = (SID = VIS VIS = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP(HOST = ebsr12prm.solutions.glbsnet.com(port = 1526 (CONNECT_DATA = (SID = VIS
Environment & configuration details DGMGRL> show configuration Configuration Name: dgconfig Enabled: YES Protection Mode: MaxAvailability Databases: VIS - Primary database VISSTB - Physical standby database - Fast-Start Failover target Fast-Start Failover: ENABLED Current status for "dgconfig": SUCCESS DGMGRL> SHOW FAST_START FAILOVER; Fast-Start Failover: ENABLED Threshold: 6 seconds Target: VISSTB Observer: ec2r12ebsdbs Lag Limit: 45 seconds (not in use Shutdown Primary: TRUE Auto-reinstate: TRUE Configurable Failover Conditions Health Conditions: Corrupted Controlfile YES Corrupted Dictionary YES Inaccessible Logfile NO Stuck Archiver NO Datafile Offline YES Oracle Error Conditions: (none
Deloitte refers to one or more of Deloitte Touche Tohmatsu Limited, a UK private company limited by guarantee, and its network of member firms, each of which is a legally separate and independent entity. Please see www.deloitte.com/about for a detailed description of the legal structure of Deloitte Touche Tohmatsu Limited and its member firms. Deloitte provides audit, tax, consulting, and financial advisory services to public and private clients spanning multiple industries. With a globally connected network of member firms in more than 140 countries, Deloitte brings world-class capabilities and deep local expertise to help clients succeed wherever they operate. Deloitte's approximately 169,000 professionals are committed to becoming the standard of excellence. This publication contains general information only, and none of Deloitte Touche Tohmatsu Limited, Deloitte Global Services Limited, Deloitte Global Services Holdings Limited, the Deloitte Touche Tohmatsu Verein, any of their member firms, or any of the foregoing s affiliates (collectively the Deloitte Network are, by means of this publication, rendering accounting, business, financial, investment, legal, tax, or other professional advice or services. This publication is not a substitute for such professional advice or services, nor should it be used as a basis for any decision or action that may affect your finances or your business. Before making any decision or taking any action that may affect your finances or your business, you should consult a qualified professional adviser. No entity in the Deloitte Network shall be responsible for any loss whatsoever sustained by any person who relies on this publication.