27

Push-button Composition of Oracle Application and Database Environments: Avi Miller, Oracle

Embed Size (px)

Citation preview

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

Push-buttonDeploymentofOracleApplicationsandDatabasewithOpenStack Murano

AviMillerProductManagementDirectorOracleLinux

OpenStackAustraliaGovernmentDay14November2016

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

SafeHarborStatementThefollowingisintendedtooutlineourgeneralproductdirection.Itisintendedforinformationpurposesonly,andmaynotbeincorporatedintoanycontract.Itisnotacommitmenttodeliveranymaterial,code,orfunctionality,andshouldnotberelieduponinmakingpurchasingdecisions.Thedevelopment,release,andtimingofanyfeaturesorfunctionalitydescribedforOracle’sproductsremainsatthesolediscretionofOracle.

3

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

DeployingOracleProductsinOpenStack usingMuranoWhatyouwillneed…

4

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

DeployingOracleProductsinOpenStack usingMurano

• OracleOpenStack forOracleLinuxversion3.0+– BasedonOpenStack Mitaka–OracleVMServer3.4.2– NOTE:KVMisnot acertifiedplatformforanyOracleproduct

• Cindervolumesfordatabasestorage– Possibletouseephemeral,onlysuggestedfordev /testenvironments– ASMforthedatabasestoragemanagement– DonotusetheLVMdriverforproduction

Whatyouwillneed

5

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

DeployingOracleProductsinOpenStack usingMuranoWhyMurano fortheOracleDatabase

6

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

DeployingOracleProductsinOpenStack usingMurano

• Releasescheduling– TheOracleDatabaseisonaverydifferentreleaseschedulecomparedtoOpenStack• UsingMurano allowsustoupdate/releasenewversionsorpatchesanytime– Decouplingtheproductsallowingustolineupupdatesontheapplication’sscheduleandfeatures

• AllowsustoexposemoreoftheOracleDatabase’sadvancedandpowerfulfeatures• WewouldbeabletomakeuseofthenewReST API’setc.thatisbeingaddedtoOracleDatabasetomaketheuserexperiencedeployingandmanagingtheOracledatabaseeveneasierandmoreintegrated

• ProvidesaplatformtobuildonallowingustobringalloftheOracleProductstoOpenStack

7

WhyMurano fortheOracleDatabase

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

Murano Architecture

8

Source:docs.openstack.org

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

LayersofAbstraction

9

Heat

Murano

Nova Neutron Other

ApplicationPackages:data&logic

OrchestrationTemplates:dataonly

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

HeatOrchestrationLayer

10

OS::Cinder::Volume

OS::Nova::Server

OS::Neutron::Port

OS::Neutron::Network

my_vm:type: OS::Nova::Serverproperties:block_device_mapping_v2:device_type: diskboot_index: 0volume_size: {get_param: bootvol_size}image_id: {get_resource: boot_image}delete_on_termination: false

flavor: {get_param: flavor}key_name: {get_param: keypair}networks:- port: {get_resource: my_vm_port}security_groups:- {get_resource: my_secgroup}software_config_transport: Stringuser_data: {get_param: cloudinit_data}user_data_format: raw

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

HeatOrchestrationLayerTrove’sApproach

11

OS::Cinder::Volume

OS::Nova::Server

OS::Neutron::Port

OS::Neutron::Network

OS::Neutron::Port

OS::Trove::Instance

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

HeatOrchestrationLayerMurano’s Approach

12

OS::Cinder::Volume

OS::Nova::Server

OS::Neutron::Port

OS::Neutron::Network

OS::Neutron::Port

OS::Cinder::Volume

OS::Nova::Server

Databaseservercomposedofvanillacomputeresources.

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

Murano’s ApproachConsumers&ProvidersattheApplicationPackageLayer

13

ExtendsApplication

Database

LinuxApplication

SqlDatabaseExtends

Package PackageType

Consumes

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

Murano Agent

14

Source:docs.openstack.org

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

Murano vs TroveTrove

• Trovewellsuitedforthe“justgivemeadatabase”usecase.• Changes:– canentailAPIchange,requiringbroadconsensus.– releasedonafixedschedule.

• Designmitigatestoward“lowestcommondenominator”.• Strictabstraction

Murano• PotentialtoexcelforcomplexDatabaseconfigurations.• ChangestoDatabasepackage:– canbedoneinanappropriatescopetominimizerisktootherpackages.– canbereleasedatanytime.

• FrameworkfacilitatesexposureofuniqueDatabasefeatures.• Looseabstraction(applicationscanaffectDBconfiguration)

15

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

DeployingOracleProductsinOpenStack usingMuranoOracleDatabaseMurano ApplicationCatalogEntry- Architecture

16

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

DeployingOracleProductsinOpenStack usingMurano

• BuildingontopofprovenOracleTemplatetechnology– UsingthestandardOracleDatabaseTemplate(availableforboth11gR2and12cR1)• ThelatesttemplatehassomeminorchangestoaccommodatedeploymentinOpenStack better– e.g.:TheOracleUIDhasbeenchangedto54321topreventclashingwithcloud-init whichrequiresUID1000

• Templateconsistsoftwodiskimagefiles–OperatingSystem- OL7U2 orOL6U8– ApplicationDisk– OracleDatabase11gR2or12cR1

OracleDatabaseMurano ApplicationCatalogEntry- Architecture

17

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

DeployingOracleProductsinOpenStack usingMurano

• Databaseinstallationandconfiguration– Automatedusing‘buildcluster.sh’• BattletesteddeploymentofOracleDatabasesoverquiteafewyears• Abletohandlemanydifferentenvironments

• Templatesupporteddeployments– SingleInstance– SingleInstanceDataGuard–Multi-nodeRealApplicationClusters(RAC)–Multi-nodeRealApplicationClusters(RAC)withDataGuard

OracleDatabaseMurano ApplicationCatalogEntry– UndertheHood

18

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

DeployingOracleProductsinOpenStack usingMurano

• Storage– StronglysuggestusingCinderVolumes• Fordev /testephemeralisOKaslongasitisbackedbysharedstoragelikeCEPHetc.

– ASMusedtopresent/managethestorageforthedatabase• Configurableredundancylevel– NOTE:Beverycarefulwhenselectingexternalredundancy

OracleDatabaseMurano ApplicationCatalogEntry– UndertheHood

19

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

DeployingOracleProductsinOpenStack usingMurano

• WhatyouwillseetodayisstillfairlyearlydaysfortheOracleDatabaseApplicationCatalogEntry–WewillreleaseafullTechPreviewverysoon• NOTE:ThisisonlyfortheMACE,theOracleDatabaseTemplateisfullyproductionreadyandsupportedbyOracle

• WorkwiththeMurano communityonenhancementstoMurano tobettersupportcomplexEnterpriseApplications• WereallywouldlikegetfeedbackfromtheOpenStack community,customersandusers– Anyandallfeedbackiswelcometomakethisusefulforthebroadercommunity

OracleDatabaseMurano ApplicationCatalogEntry– What’snext?

20

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

DeployingOracleProductsinOpenStack usingMurano

• EnablemoreintegrationusingtheAPIs– Forexample,todaythereisnoCeilometerintegrationwiththeOracleDatabase• TheOracleDatabaseisablackboxtoCeilometer

• Multi-attachvolumesupportinNova– RequiredforOracleRealApplicationClusters(RAC)

LimitationswiththeOracleDatabaseinOpenStack today

21

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

DeployingOracleProductsinOpenStack usingMurano

• Memoryovercommitisnotsupported– Canleadtoperformanceissues– NotsupportedbyOracleVMServer

• Ephemeralstorage– Useshared(Ceph)backendtoenablelivemigrationofinstances

• OracleDatabasespecific– NOTE:OracleRealApplicationClusters(RAC)notyetsupported• Requiremulti-attachedvolumes– notyetavailableinNova• CPUovercommitwithRACisunsupported– canleadtonodeevictions

22

LimitationswiththeOracleDatabaseinOpenStack today

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

OK,sowecanspinupaOracleDatabase…Awesome,butwherearewegoingwithallthis?

23

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

DeployingOracleProductsinOpenStack usingMurano

• TheOracleDatabaseisjustthefirststep• StartedworkingwiththeotherproductgroupsinOracletoaddthemtotheAppCatalogaswell• IntendingtofollowthesamepathwedidfortheOracleDatabase– Inotherwords,startwiththecurrentOracleproducttemplateandbuildonthat

• WorkwiththecommunityonaReferenceArchitecturewiththeOracleDatabase

Nextondeck– Applications

24

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.|

Stayconnected

@ORCL_Linux

Facebook.com/OracleLinux

Blogs.oracle.com/linux

Oracle Linux Experts Group

YouTube.com/OracleLinuxChannel

Orvisitusat:www.oracle.com/linux

25

@ORCL_Virtualize

Facebook.com/OracleVirtualization

Blogs.oracle.com/virtualization

Oracle VM Group

YouTube.com/OracleVirtualization

Orvisitusat:www.oracle.com/virtualization

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.| 26