23
Oracle Infrastructure as a Service: Compute Setup of a demo environment

Oracle Infrastructure as a Service: Compute - exitas.be we chose IaaS-compute •Quickly available •Low cost for short term •Clean decommissioning •Remotely accessible •DBaaS

Embed Size (px)

Citation preview

Oracle Infrastructure as a Service: ComputeSetup of a demo environment

Agenda

• Case

• Why we chose IaaS-compute

• What we wanted

• Approach

• Summary

5/10/2017 2

Case

• Customer from the utility sector

• Demo of patching with minimal downtime using Data Guard

• Remote accessible

• Strictly regulated environment

5/10/2017 3

Why we chose IaaS-compute

• Quickly available

• Low cost for short term

• Clean decommissioning

• Remotely accessible

• DBaaS not possible to demonstrate patching

5/10/2017 4

What we wanted

• Two servers

• Enough storage , with snapshot capability

• Oracle database

• Data Guard setup

• Connection between servers

• Remote SSH access

• OS acces to Oracle binaries for patching

5/10/2017 5

Approach : Steps

1. Create the first instance

2. Create and attach storage volumes

3. Setup connectivity and firewall rules

4. Prepare storage

5. Install Oracle

6. Setup Data Guard on a second instance

7. Perform demo

8. Cleanup the machines

5/10/2017 6

Approach : Step 1 : Create Instance

5/10/2017 7

Approach : Step 1 : Create Instance

5/10/2017 8

Approach : Step 1 : Create Instance

• High Availility = Active

• Automatic restart of machine

• Storage must be reattached

• Generate key pair

• Required for ssh connections to the machine

5/10/2017 9

Approach : Step 1 : Create Instance

5/10/2017 10

Approach : Step 1 : Create Instance

5/10/2017 11

Approach : Step 2 : Create and attach storage

• Wizard problem

• When to attach

• No shared storage

5/10/2017 12

Approach : Step 3 : Setup connectivity and rules

• Create security rule

• Use SSH

• Connect as user opc

• Sudo su -

5/10/2017 13

Approach : Step 4 : Prepare storage

• Storage volumes:

Create a partition

Make a filesystem

Mount it

Just like a physical server

5/10/2017 14

Approach : Step 5 : Install Oracle

• Install Oracle

• VNC via ssh tunnel

5/10/2017 15

Approach : Step 6 : Setup Data Guard

• Just like on physical servers

• Create via RMAN duplicate

rman TARGET SYS/du@mydb AUXILIARY SYS/du@mystandby

DUPLICATE TARGET DATABASE FOR STANDBY … ;

5/10/2017 16

Approach : Step 7 : Perform demo

Create snapshot

Use for resetting environment, between test-runs

Very convenient

5/10/2017 17

Approach : Step 8 : Cleanup the machines

• Instance vs master orchestration

• Snapshots vs backup

5/10/2017 18

The prices

5/10/2017 19

Live follow-up of the cost

5/10/2017 20

Summary• Some time required to become familiar with the concepts

• Setup of a vm: hours to minutes

• Pro :

• Flexible and quick deployment

• Similar to physical machines for application installation

• Low cost : our complete environment 4 euros/day

• Clear cost status

5/10/2017 21

Summary

5/10/2017 22

• Contra :

• Some bugs in web interface

• Slow orchestration

• Network config takes puzzling

• Support and assistence slow response

• Overall feeling:

• Satisfied with the choice for the Cloud

• We will certainly use it again

Quality. Passion. Personality.

[email protected]

www.exitas.be

+32 (0)3 443 12 38

Veldkant 31 - (B) 2550 Kontich