1,2, and 3 –Three Easy ways to Migrate to the Cloud v2...

Preview:

Citation preview

Session ID:

Prepared by:

Remember to complete your evaluation for this session within the app!

185

1,2, and 3 – Three Easy ways to Migrate to the Cloud v2

10/03/2019

Francisco Munoz AlvarezData IntensityDirector of Innovation@fcomunoz

Francisco Munoz Alvarez • Oracle ACE Director• 8/9/10g/11g/12c OCP, RAC OCE, AS OCA, E-Business OCP, • SQL/PLSQL OCA, Oracle 7 OCM• Oracle 7, 11GR2, 12cR1, 12cR2, ADWCS and OVM 3.1 and 3.2 and 3.3

Beta Tester/Early Adopter• IOUC LA and APAC Spokesperson, President of APACOUC,IAOUG,

CLOUG and NZOUG• ITIL Certified• 2008 Top OTN Forum Contributor (All year #1)• 2008 Oracle ACE Award Winner• 2010 Oracle Excellence Award Winner• 2010 Oracle Magazine Editors Choice Award Winner• 2012 LAOUC Architect of the year Winner• 2017 APAC Webinar Tour Best Session Winner• Presented over 420 sessions at 48 Countries around the world

Blog: oraclenz.com - Email: fmunozalvarez@dataintensity.comTwitter : fcomunoz

Data IntensityDirector of Innovation

www.dataintensity.com

Born

hereGrow up

here

Got Married HereMature

here

Lived here for 7

years

Now Living

here

2001 - 2004 2005 2006 - 2008 2009 2010 - 2012 2013 - 2014 2015 - 2016 2017 - 2018

Corporate Evolution & Strategy

Company founded in

2001

Provide remote managed services for

Oracle applications and databases

Established Eastern European

outsourcing partnership

Introduced Oracle hosted

application offerings

Launched Oracle Engineered Systems

Practice

RedStack Acquisition

Enrich & Inatech

AcquisitionsEQT

Investment

Oracle Cloud Specializations

- Financials- Procurement- Infrastructure

Oracle Managed Services Provider

Credentials

Added Oracle EBS

Functional Services

Became Platinum Partner

Added support for expanding Oracle ecosystem OBI, Hyperion, Agile,

GRC, Siebel, BRM

Introduced dedicated private and shared cloud computing

solutions

Audax Group Investment

Clear Measures

Acquisition

Delivery & Service Capabilities That Span The Globe

6

Oracle Credentials & Deep Oracle Expertise

SSAE 16 SOC 1 Type II ISO 9001 Certified ITIL & ITSM Certified

Oracle Cloud ApplicationsFinancials CloudProcurement CloudInfrastructure Cloud

Oracle ApplicationsE-Business Suite R12 FinancialsE-Business Suite R12 Supply Chain

Oracle Engineered SystemsExadata Database Machine X2Exadata Database MachineOracle Database Appliance

Oracle PlatformLinux 5 / 6OVM 2 / 3

Customer Advisory BoardOracle EBS ATG Oracle Cloud Infrastructure

2017 Oracle Cloud InfrastructurePartner of the Year – UK

2015 Engineered SystemsPartner of the Year - Global

BETA Program Participant

Oracle TechnologyDatabase 11g / 12cDatabase 11g / 12c SecurityDatabase 11g / 12c Data WarehousingDatabase 11g / 12c Performance TuningEnterprise Manager 11g / 12cReal Application Clusters 11g / 12cBusiness Intelligence Foundation 10 / 11g Data Integration 11g / 12cWebLogic Server 12cIdentity Management 12cSOA Suite 12cBig Data Appliance

Oracle Cloud Infrastructure Associate Architect Certifications

Oracle Database & Engineered Systems

Oracle ApplicationsERP / Procurement

Oracle BI & Analytics

Global Portfolio of Oracle Solutions and Services Delivered Your Way

DEL

IVER

Y M

OD

ELS Remote Managed Services Extension of Customer IT Team | 24x7 Monitoring & Critical Response |

Daily Management & Maintenance

Cloud Managed Services On-Premises/Private Cloud | Public Cloud | Hybrid Cloud

Professional Services / Consulting

Assessments/Design | Migration | Implementations | Upgrades | Quick Start Programs

The Data Intensity Oracle Advantage

We are an Oracle First service provider and believe in Oracle on Oracle for Oracle

We have been selling enterprise cloud services for over 12 years

and understand the sales process

We architected OCI for our own EBS environment and presented

it at Oracle Cloud Days

Comprehensive portfolio of solutions from Oracle Cloud to On-Premises Applications and technology.

Oracle Platinum and Managed Services Partner focused on accelerated migration and management services for Oracle Cloud Infrastructure.

Proven with hundreds of Oracle clients worldwide who have entrusted us to handle the implementation, management, and

support of their mission-critical Oracle applications and technologies

Applications (On-Premises)

• Oracle E-Business Suite - Financials, SCM, Procurement• Hyperion • PeopleSoft • ATG Web Commerce• OBIEE • BRM

• Agile• GRC• Siebel • Fusion Middleware

Database & Advanced Technology• Oracle Database • Advanced Security • Advanced Compression

• RAC • Oracle Streams • WebLogic Suite• Active • Database Vault • WebCenter

• Data Guard • Advanced Compression • ODI• GoldenGate • TDE

Infrastructure• Oracle Exadata Machine • Oracle Database Appliance

• Exalogic Elastic Cloud • Oracle Private Cloud Appliance • Exalytics • ZFS• Oracle SuperCluster • VM • OEL

SaaS

• Oracle ERP Cloud• Financials • HCM • Procurement • PPM

• OM • EPM

PaaS• Oracle Database Cloud • Java• Oracle SOA Cloud • BI

• Oracle Identity Cloud

• Oracle Data Integrator

• Oracle Management Cloud

IaaS

• Oracle Cloud Infrastructure

Oracle Capabilities & Alignment Partner for Growth

Move Workloadsto the Cloud

Modernize DataManagement

Connect & Extend Apps

Technical & Functional Integration

Delivery Capabilities

Alignment to 3 Oracle Sales Plays

This views/content in this document are those of the author(s)/presenter(s) and do not necessarily reflect that of Data

Intensity and/or its affiliates/subsidiaries. The material in this document is for informational purposes only and is published with no guarantee or

warranty, express or implied.

Disclaimer

3 Easy Ways to Migrate to the CloudUsing Real life Scenarios

Using Backups to the CloudUsing a Stand by DatabaseMigrating a VM to the Cloud Part 1Migrating a VM to the Cloud Part 2Conclusion

3 Easy Ways to Migrate to the Cloud

Using Real life Scenarios

Using Backups to the CloudUsing a Stand by DatabaseMigrating a VM to the Cloud Part 1Migrating a VM to the Cloud Part 2Conclusion

•Have access to Oracle Cloud, if not, try it for free.•Have executed a previous backup to the Oracle Cloud using Oracle Cloud Backup Services •Ensure that your RMAN Auto backup controlfile is ON.

• If this is not enabled on the source database when doing the Cloud Backup, this complete replication process will fail.

Using Oracle Backup Cloud ServiceRequirements

3 Easy Ways to Migrate to the Cloud

Using Real life Scenarios

Using Backups to the CloudUsing a Stand by DatabaseMigrating a VM to the Cloud Part 1Migrating a VM to the Cloud Part 2Conclusion

Before we start, let's take a look at some requirements for the on-premise database that would become the primary environment for this Hybrid DR implementation:

• The owner of the Oracle Database software (dbowner) must be the useroracle.• The database must be in ARCHIVELOG mode. .• Enable FORCE LOGGING mode to prevent the loss of data when statements in NOLOGGING mode are executed on the primary database.• Ensure the listener.ora file is configured for static service registration, a requirement for Oracle Data Guard.• Ensure one of the following RPMs is installed, based on the Oracle Database release of your system:

• Oracle Database 11g Release 2: oracle-rdbms-server-11gR2-preinstall• Oracle Database 12g Release 1: oracle-rdbms-server-12cR1-preinstall• You can use this command as the root user to verify that the RPM is installed: # rpm -qa|grep oracle-rdbms-server

• Ensure that the /etc/hostsfile contains the IP address for your on-premises system, the hostname with a fully qualified domain name, and a short hostname

• The Oracle listener port and the Secure Shell (SSH) port must be open for remote access from the compute node.• Have access to Oracle Cloud Database Cloud Service, if not, try it for free here.

This type of scenario can be done in two different ways:• Using Oracle Database Cloud Services (DBaaS), or• Using Oracle Compute Classic (IaaS).

Using a Standby DatabaseRequirements

$ orapwd file=/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwdORCL112 password=oracle entries=5$ $ORACLE_HOME/network/admin/sqlnet.ora $ORACLE_HOME/network/admin/sqlnet.ora.old $ $ORACLE_HOME/network/admin/listener.orapre_vncr_config$ORACLE_HOME/network/admin/listener.orapre_vncr_config.old $ ORACLE_HOME/network/admin/listener.ora $ORACLE_HOME/network/admin/listener.ora.old

[oracle@dataguard admin]$ vi listener.oraSID_LIST_LISTENER = (SID_LIST =

(SID_DESC = (SID_NAME = CLRExtProc) (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:/u01/app/oracle/product/11.2.0/dbhome_1\/in\oraclr11.dll")

) (SID_DESC =

(SID_NAME=ORCL112) (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1) ))

LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = dataguard.compute-587848097.oraclecloud.internal)(PORT = 1521)) )

)

$ rman target sys/oracle@prod auxiliary sys/oracle@orcl112_stby

Recovery Manager: Release 11.2.0.4.0 - Production on Mon Apr 9 06:36:03 2018 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

connected to target database: ORCL112 (DBID=3534260988) connected to auxiliary database: ORCL112 (not mounted)

RMAN> duplicate target database for standby from active database;

$ sqlplus / as sysdba

SQL> ALTER SYSTEM SET log_archive_dest_2='SERVICE=ORCL112_STBY ASYNC

VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=ORCL112'

$ sqlplus / as sysdba

SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;

$ vi pfile.ora *.audit_file_dest='/home/oracle/admin/ORCL112/adump' *.control_files='/home/oracle/oradata/ORCL112/control01.ctl' *.db_file_name_convert='/u01/app/oracle/oradata/ORCL112/','/home/oracle/oradata/ORCL112/' *.db_name='PROD' *.db_unique_name='ORCL112' *.db_recovery_file_dest='/home/oracle/flash_recovery_area' *.db_recovery_file_dest_size=5g *.log_archive_dest_1='location=/home/oracle/arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=ORCL112' *.log_file_name_convert='/u01/app/oracle/oradata/ORCL112/',’/home/oracle/oradata/ORCL112/' *.compatible=’11.2.0.4.0ʹ *.sga_target=300M *.diagnostic_dest='/u01/app/oracle/diag'

[oracle@dataguard ~]$ mkdir -p admin/ORCL112/adump[oracle@dataguard ~]$ mkdir -p oradata/ORCL112 [oracle@dataguard ~]$ mkdir flash_recovery_area[oracle@dataguard ~]$ mkdir arch

3 Easy Ways to Migrate to the Cloud

Using Real life Scenarios

Using Backups to the CloudUsing a Stand by DatabaseMigrating a VM to the Cloud Part 1Migrating a VM to the Cloud Part 2Conclusion

3 Easy Ways to Migrate to the CloudUsing Real life Scenarios

Using Backups to the CloudUsing a Stand by DatabaseMigrating a VM to the Cloud Part 1Migrating a VM to the Cloud Part 2Conclusion

Regardless of the operating system, a VMDK or QCOW2 formatted virtual machine must have the following attributes:

• Enabled for BIOS booting.• Able to boot with a single, nonencrypted boot drive with MBR partitioning.• Configured with a single, DHCP-enabled network interface.• Formatted as VMDK or QCOW2, and less than 300 GB in size. VMDKs must be either "single growable" or "stream

optimized.”

When you create a custom image, the Oracle Cloud Infrastructure Object Storage service is the destination for the virtual machine files. To overcome the upload size limit of 2 GB when using the Console, you can use the Oracle Cloud Infrastructure CLI instead.

Preparing

The Process

Custom compute images are created by importing the properly formatted virtual machine disk files from Object Storage. For buckets that are in the same tenancy and region, you can use a structured URL to import images:

https://<host_name>/n/<namespace_name>/b/<bucket_name>/o/<object_name>

For example:

https://objectstorage.us-phoenix-1.oraclecloud.com/n/MyNamespace/b/MyBucket/o/MyCustomImage.qcow2

Importing the VMware Virtual Image

After the custom image is imported, you can create a new instance directly from the custom image details page.

Launch

3 Easy Ways to Migrate to the CloudUsing Real life Scenarios

Using Backups to the CloudUsing a Stand by DatabaseMigrating a VM to the Cloud Part 1Migrating a VM to the Cloud Part 2Conclusion

Email to: fmunozalvarez@dataintensity.com

Any Questions?

Session ID:

Remember to complete your evaluation for this session within the app!

185

fmunozalvarez@dataintensity.com

Recommended