oracle cloud as services

32
ORACLE CLOUD SERVİSLERİ Özgür Umut VURGUN / Erkan ÜLGEY Oracle Cloud Day İstanbul Nov 2015

Upload: oezguer-umut-vurgun

Post on 12-Feb-2017

962 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Oracle Cloud As Services

ORACLE CLOUD SERVİSLERİ

Özgür Umut VURGUN / Erkan ÜLGEY

Oracle Cloud Day İstanbul

Nov 2015

Page 2: Oracle Cloud As Services

2006 - Comp.Eng. 2008 - OCP2012 - MBA @ Bahcesehir University2012 - Blogger,Author,Speaker

@ www.ozgurumutvurgun.com@ www.otechmag.com@ www.turkceoracle.com@ www.dwh.gen.tr

2013 - Lecturer , Eskisehir Osmangazi University 2013 - RAC and Grid Cert. Expert2007 - 2015 DBA

Şimdilerde her şey ile uğraşıyor..

Haberleşelim [email protected] tr.linkedin.com/in/ozgurumutvurgun

twitter.com/ozgurumutvurgun

Biz Kimiz ?

2010 Comp.Eng. @ Itu2010 - 2014 DBA @ TUBITAK 2012 - ~ M.Sc. @ Boun2013 - ~ Blogger @ kamudba.blogspot.com.tr2013 - ~ 11g OCP & Perf. Tuning Cert. Expert2014 TSK 2015 - ~ DBA @ Garanti Teknoloji

Şimdilerde Big Data ile uğraşıyor..

Haberleşelim [email protected] tr.linkedin.com/in/erkanulgeytwitter.com/erkanulgey

Page 3: Oracle Cloud As Services

Oracle CLOUD

Information As a Service

Platform As a ServiceInfrastructure As a Service

Software As a Service

ORACLE

Page 4: Oracle Cloud As Services

Oracle CLOUD

Platform As a Service

Infrastructure As a Service

Software As a Service

Page 5: Oracle Cloud As Services

Oracle Platform & Infrastructure As a Service

ORACLE CLOUD

Canlı Sistem Network

Aynı Canlı Sistem Mimarisi

Aynı Standartlarda Çalışma

Aynı Ürünler

Page 6: Oracle Cloud As Services

Oracle Platform & Infrastructure As a Service

Database

Middleware • Development • App. Server• BI• Identity Management

Engineered Sistemler Exadata Database Appliance

Page 7: Oracle Cloud As Services

Oracle Software As a Service

Sistemde yer alan uygulamalar …

Uygulama Modülleri

Sistem Güvenliği

APPs

Sistem Yönetimi ve Optimasyonu

Page 8: Oracle Cloud As Services

Cloud As Services

SAAS

PAAS

IAAS

User

Developer

Administrator

Page 9: Oracle Cloud As Services

Oracle CLOUD Architecture

Fiziksel Yapı Altyapı Diğer …

Sunucu Disk Sistem

SaaS PaaS IaaSCloud Business

CloudOpersayonları

Security

Design

Broker

Cloud Management

CLOUD

Page 10: Oracle Cloud As Services

ALTYAPI

Oracle CLOUD Architecture

LOGIC

FİZİKSEL

STORAGE NETWORK CLOUD Diğer ….

Server Disk Enginered Diğer ….

ACCESS

CLOUDSERVISLERİ

SaaS

Business Proses /

Servisleri

Uygulama

PaaS

Data

Platform

Container

IaaS

Server

Network

Storage

PortalAPI

ProxyLoad Balance

ProtocolSecurity

Page 11: Oracle Cloud As Services

Oracle Database As a Service

Hızlı kurulum Kolay patch & yönetim Ücretlendirme ?

Page 12: Oracle Cloud As Services

Oracle CLOUD Entegrasyonu

https://cloud.oracle.com/home

• Servis Belirleme

• Try It

• CLOUD hesabı oluşturma

Page 13: Oracle Cloud As Services

Oracle CLOUD Entegrasyonu

Page 14: Oracle Cloud As Services

Oracle CLOUD Entegrasyonu

Oracle Storage Cloud

Database Backup

Oracle Compute Cloud

Database Cloud

SOA Cloud

Java Cloud Developer

Page 15: Oracle Cloud As Services

Oracle CLOUD Service Console

Service Console

Max Trial kapasite 5 OCPU 75 GB Memory 250 GB Storage 5 NAT IP

Create Service

Page 16: Oracle Cloud As Services

Oracle CLOUD Service Console

Oracle Cloud Database Servisi ile veritabanı oluştururken.. SSH Public Key Tape backup için Oracle Cloud Storage servisi

ayarlamaları

Cloud veritabanı bağlantıları Host Bağlantısı EM Express Bağlantısı SQLDeveloper Bağlantısı

Page 17: Oracle Cloud As Services

Oracle CLOUD ile Veritabanı Oluşturma

SSH Public Key

CONTAINER Yapısı Storage Erişimi

REST API JAVA Lib

$ ssh-keygen -b 2048 -t rsa -f clouddayGenerating public/private rsa key pair.…$ ls cloudday*cloudday cloudday.pub

Page 18: Oracle Cloud As Services

Oracle CLOUD ile Veritabanı Oluşturma

CURL paketi

X-Storage-User

X-Storage-Pass

Rest Endpoint Url***

REST API Yöntemi

Page 19: Oracle Cloud As Services

Oracle CLOUD ile Veritabanı Oluşturma

$ curl -v -s -X GET -H "X-Storage-User: Storage-trmycompany:**@*" -H "X-Storage-Pass: *****" https://trmycompany.storage.oraclecloud.com/auth/v1.0* Trying 160.34.0.231...* Connected to trmycompany.storage.oraclecloud.com (160.34.0.231) port 443 (#0)* TLS 1.2 connection using TLS_RSA_WITH_AES_128_CBC_SHA* Server certificate: *.storage.oraclecloud.com* Server certificate: VeriSign Class 3 Secure Server CA - G3* Server certificate: VeriSign Class 3 Public Primary Certification Authority - G5> GET /auth/v1.0 HTTP/1.1> Host: trmycompany.storage.oraclecloud.com> User-Agent: curl/7.43.0> Accept: */*…< HTTP/1.1 200 OK< Date: Sat, 07 Nov 2015 13:18:12 GMT< X-Auth-Token: AUTH_tk90d97fd6e5e931bca8110013c75e0e67…

CURL Paketi ile Authentication

Page 20: Oracle Cloud As Services

Oracle CLOUD ile Veritabanı Oluşturma

$ curl -v -s -X PUT -H "X-Auth-Token: AUTH_tk90d97fd6e5e931bca8110013c75e0e67" https://trmycompany.storage.oraclecloud.com/v1/Storage-trmycompany/cloudcontainer* Trying 160.34.0.231...* Connected to trmycompany.storage.oraclecloud.com (160.34.0.231) port 443 (#0)…< HTTP/1.1 201 Created< X-Trans-Id: tx665ad2197a174e7f9a928-00563dfae1ga…

CURL Paketi ile Container Oluşturulması

Page 21: Oracle Cloud As Services

Oracle CLOUD ile Veritabanı Oluşturma

Page 22: Oracle Cloud As Services

Oracle CLOUD ile Veritabanı Oluşturma

Page 23: Oracle Cloud As Services

Oracle CLOUD ile Veritabanı Oluşturma

Page 24: Oracle Cloud As Services

Oracle CLOUD ile Veritabanı Oluşturma

Page 25: Oracle Cloud As Services

Oracle CLOUD ile Veritabanı Oluşturma

Page 26: Oracle Cloud As Services

Oracle CLOUD SSH Bağlantıları

SecureCRT Putty Terminal vb….

Page 27: Oracle Cloud As Services

Oracle CLOUD Veritabanı RMAN İşlemleri[oracle@cloudday2015 ~]$ rman target /Recovery Manager: Release 12.1.0.2.0 - Production on Sun Nov 8 16:42:05 2015Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.connected to target database: CLOUD (DBID=444804778) 

RMAN> show all;using target database control file instead of recovery catalogRMAN configuration parameters for database with db_unique_name CLOUD are:CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 30 DAYS;CONFIGURE BACKUP OPTIMIZATION ON;CONFIGURE DEFAULT DEVICE TYPE TO DISK;CONFIGURE CONTROLFILE AUTOBACKUP ON;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default

RMAN> configure default device type to sbt_tape;old RMAN configuration parameters:CONFIGURE DEFAULT DEVICE TYPE TO DISK;new RMAN configuration parameters:CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';

RMAN> backup database plus archivelog;Starting backup at 08-NOV-15current log archivedallocated channel: ORA_SBT_TAPE_1channel ORA_SBT_TAPE_1: SID=137 device type=SBT_TAPE

Page 28: Oracle Cloud As Services

Oracle CLOUD Veritabanı RMAN İşlemleri

$ curl -v -s -X GET -H "X-Auth-Token: AUTH_tk79df142a007e8172da637011c60e3b08" https://trmycompany.storage.oraclecloud.com/v1/Storage-trmycompany/cloudcontainer,* Trying 160.34.0.231...* Connected to trmycompany.storage.oraclecloud.com (160.34.0.231) port 443 (#0)..< X-Container-Object-Count: 331cloudday2015/ohcfgfiles_20151108_0217.tar.gzcloudday2015/oscfgfiles_20151108_0217.tar.gzcloudfirstobjectfile_chunk/444804778/CLOUD/backuppiece/2015-11-08/c-444804778-20151107-00/rLdAzfjGXKHD/0000000001file_chunk/444804778/CLOUD/backuppiece/2015-11-08/c-444804778-20151107-00/rLdAzfjGXKHD/metadata.xmlfile_chunk/444804778/CLOUD/backuppiece/2015-11-08/c-444804778-20151108-00/BYtsJcJUb3Tk/0000000001

CLOUD’da Backup Kontrolü

Page 29: Oracle Cloud As Services

Oracle CLOUD Enterprise Manager EM Express default portu 5500 Port forwarding

Oracle Cloud servislerinde network izinlerinin ENABLE olmalı

https://129.152.159.134:5500/em

Page 30: Oracle Cloud As Services

Oracle CLOUD Enterprise Manager

Page 31: Oracle Cloud As Services

Oracle CLOUD SQL Developer Bağlantısı

Veritabanı bağlantısı için 1521 portuna erişim… SSH Tunnelling SQL Developer 4.0.3 versiyonundan itibaren

desteklenmekte.

1. SSH Private Key

2. SQL Developerda Connection Tipi

Page 32: Oracle Cloud As Services