DBAs in the Mist - exitas.be
Transcript of DBAs in the Mist - exitas.be
![Page 1: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/1.jpg)
DBAs in the mist
Freek D'HoogeSenior Oracle DBAExitas
Updated 08/02/2019
![Page 2: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/2.jpg)
DBAs in the mist 2
Who?
@dhoogfr
http://exitas.be/blog/
https://github.com/dhoogfr 15 years with Exitas
18 years Oracle Experience– Oracle 10g OCP
(yes, I really should upgrade)
– Oracle 12c RAC Implementation Specialist
– Oracle VM 3 Implementation Specialist
– Oracle Linux 6 Implementation Specialist
– Oracle Exadata 2016 Certified Implementation Specialist
– Oracle Cloud Infrastructure Classic 2018 Associate Architect
![Page 3: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/3.jpg)
DBAs in the mist 3
The Tale of 2 Clouds Oracle Cloud Infrastructure Classic
▬ OCI-C (formerly OPC – Oracle Public Cloud)
▬ Based upon Nimbula Director (Xen based Hypervisor)
▬ Only Virtual Guests
▬ Will disappear (probably somewhere this year or the next)
Oracle Cloud Infrastructure▬ OCI (formerly BMCS – Bare Metal Cloud Service)
▬ KVM based
▬ Both Bare Metal as Virtual Guests▬ Is what I will talk about
![Page 4: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/4.jpg)
DBAs in the mist 4
Key Concepts: Oracle Cloud Account
![Page 5: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/5.jpg)
DBAs in the mist 5
Key Concepts: Oracle Cloud Account Your own “Planet”
Universal Credits▬ Use everything you want (just have to pay for it)
Pay as you go▬ Only pay for what you use
▬ But at a higher tariff
Monthly Flex▬ Fixed burn rate▬ Spending more is possible, but at a higher tariff
![Page 6: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/6.jpg)
DBAs in the mist 6
Key Concepts: Region (Feb 2019)
![Page 7: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/7.jpg)
DBAs in the mist 7
Key Concepts: Region (May 2019)
![Page 8: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/8.jpg)
DBAs in the mist 8
Key Concepts: Region Data Centers spread over the world Not all regions are created equal
▬ Check resource availability at: https://cloud.oracle.com/data-regions
![Page 9: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/9.jpg)
DBAs in the mist 9
Key Concepts: Availability Domain
![Page 10: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/10.jpg)
DBAs in the mist 10
Key Concepts: Availability Domain Independent sites within a region
▬ Isolated from each other (they don't share cooling, power, …)
▬ Connected to each other via low latency, high bandwidth network
Located close to each other
Randomized per Tenancy▬ PHX-AD-1 might be a different datacenter for you than it is for me
![Page 11: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/11.jpg)
DBAs in the mist 11
Key Concepts: Fault Domain
![Page 12: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/12.jpg)
DBAs in the mist 12
Key Concepts: Fault Domain Grouping of hardware within an availability domain
Each availability domain has 3 fault domains
With a HA setup▬ Spread your guests over FDs to protect against hardware failures
Without a HA setup▬ Concentrate your guests into a single FD
![Page 13: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/13.jpg)
DBAs in the mist 13
Key Concepts: Compartments
![Page 14: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/14.jpg)
DBAs in the mist 14
Key Concepts: Compartments Logical grouping of resources
Can be used to control access, cost tracking, …
Resources in one compartment can be used by resources from another compartment
Can be nested
Examples:▬ split a test environment from production
▬ Split network resources from compute resources
![Page 15: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/15.jpg)
DBAs in the mist 15
Key Concepts: Resources
![Page 16: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/16.jpg)
DBAs in the mist 16
Key Concepts: Resources The things you use in the Oracle Cloud (guests, volumes, network, …)
Scope depends on the resource type▬ In general
IAM resources (tags, compartments, policies, …) are global DB Systems, Instances, Volumes and Subnets are specific to an availability domain The rest (buckets, reserved public ips, volume backups, …) are regional
![Page 17: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/17.jpg)
DBAs in the mist 17
We need to talk about the networkCompartment: TL
Region: Frankfurt
Virtual Cloud Network (VCN) – 192.168.8.0/24
Availability Domain 1 Availability Domain 2 Availability Domain 3
Public
Subnet 2192.168.8.32/27
Public
Subnet 3192.168.8.64/27
Private
Subnet 1192.168.8.0/27
Private
Subnet 4192.168.8.96/29
Private
Subnet 5192.168.8.104/29
Subnet 6: 192.168.8.112/28
Public
![Page 18: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/18.jpg)
DBAs in the mist 18
We need to talk about the network VCN
▬ Virtual Cloud Network
▬ a single, contiguous IPv4 CIDR block
▬ eg. 192.168.8.0/22
Subnet▬ Sub part of the VCN
Eg 192.168.8.0/24
▬ The 2 first and the last IP are used by OCI itself
▬ Can be public or private
▬ Private: guests cannot have a public ip adddress
▬ Public: guests might have a public ip address
![Page 19: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/19.jpg)
DBAs in the mist 19
We need to talk about the network
![Page 20: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/20.jpg)
DBAs in the mist 20
We need to talk about the network IIVCN
AD
Private
Subnet 1
Security List
Routing Table
Public
Subnet 2
Security ListDRG
IG
SG
NG
![Page 21: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/21.jpg)
DBAs in the mist 21
We need to talk about the network II Gateways
▬ Dynamic Routing Gateway (DRG) Used in combination with FastConnect or VPNaaS For traffic to your on premises environment
▬ Internet Gateway (IG) Traffic to the internet Can only be used for guests with a public ip
▬ NAT Gateway (NG) Traffic to the internet via NAT Used for guests with only a private ip
▬ Service Gateway (SG) Allows traffic to services within the Oracle Cloud for private subnets More restrictive than NAT GW as does not allow access to public internet
![Page 22: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/22.jpg)
DBAs in the mist 22
We need to talk about the network II Routing Tables
▬ route traffic from subnets to destinations outside the VCN
Security lists▬ Virtual firewalls
▬ By default everything is forbiddeneven for guests within the same subnet
▬ Egress → outgoing traffic
▬ Ingress → incoming traffic
▬ Statefull → tracking connections▬ Stateless → not tracking connections
![Page 23: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/23.jpg)
DBAs in the mist 23
Compute guests Shape
▬ Describes the properties of your guest
▬ Virtual or Bare Metal
▬ GPU, Intel or AMD
▬ Nr of cpu's and memory size
Image▬ OS type (OL, Ubuntu, Solaris, Windows) and version
▬ You can create a custom image
OCPU▬ An OCPU is defined as the CPU capacity equivalent of one physical core of an Intel Xeon
processor with hyper threading enabled
▬ Each OCPU corresponds to two hardware execution threads, known as vCPU
![Page 24: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/24.jpg)
DBAs in the mist 24
Database Cloud Service Shape
▬ See Compute Guests, but less choice
▬ BM / Exadata is also an option
Edition▬ Defines not only the software, but also DG / RAC options and included packs
Standard Edition Enterprise Edition Enterprise Edition – High Performance Enterprise Edition – Extreme Performance
Always with PDB (except for 11g)
![Page 25: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/25.jpg)
DBAs in the mist 25
Live Demo
![Page 26: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/26.jpg)
DBAs in the mist 26
Q&A
![Page 27: DBAs in the Mist - exitas.be](https://reader034.fdocuments.us/reader034/viewer/2022042702/6265b07d699209624e0ffdb7/html5/thumbnails/27.jpg)
DBAs in the mist 27
Quality. Passion. Personality.
+32 (03) 446 12 38Veldkant 31 – (B) 2550 Kontich