Demo Kino: Der Herr der Wolken – Die Gefährten Gemeinsame orchestriert: Database und Java Cloud Service Marcus Schröder Manuel Hoßfeld Oracle Deutschland B.V. & Co KG Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Worum geht es in diesem Demo-Kino? • Einzelne Datenbank- oder Middleware-Instanzen in der Oracle Cloud sind schnell erzeugt, aber: • In der Realität werden oft komplexe / zusammengesetzte Anwendungen benötigt. Dafür erforderlich: • Gemeinsames, automatisiertes Ausrollen („Orchestrierung“) von DBCS, JCS und ggf. anderen Cloud Diensten Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Oracle Cloud IaaS/PaaS Orchestration Tools app SaaS Orchestrations • Compute • Block Storage • SDN • LBaaS • VPNaaS • Cloud Stacks PaaS IaaS Cloud Stack Manager • Oracle Java Cloud Service • Oracle Database Cloud Service • Oracle Application Container Cloud Service • Oracle MySQL Cloud Service • Oracle Storage Cloud Service • Oracle Golden Gate Cloud Service Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Cloud Stack Manager Was ist ein Cloud Stack? Java Cloud Service Cloud Stack Application Container Cloud Service Database Cloud Service Storage Cloud Service Golden Gate Cloud Service Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Cloud Stack Manager Was ist ein Cloud Stack Manager? JCS REST API Cloud Stack Manager ACCS REST API DBCS REST API SCS REST API GGCS REST API Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Cloud Stack Manager Was ist ein Cloud Stack Manager Template? Template (YAML) Ressourcen/Services Parameter Attribute Stack Template Parameter Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Attribute Cloud Stack Manager Schnittstellen zum Cloud Stack Manager Command Line Interface (CLI) REST API Cloud Stack Manager Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Cloud Stack Manager Schritte in unserer Demo Installation/Konfiguration des PSM Erstellen/Exportieren eines Templates Erstellen eines Stacks Copyright © 2016 Oracle and/or its affiliates. All rights reserved. (Details) Abfragen eines Stacks Installation/Konfiguration des PSM • Herunterladen des PSM CLI Pakets: – curl -X GET -u cloud.admin:DuKommstHierNichtRein -H X-ID-TENANT-NAME:gse000000072 https://psm.europe.oraclecloud.com/paas/core/api/v1.1/cli/gse000000072/client -o psmcli.zip • Installation: – Ggf. zuerst Python 3.5.x installieren – pip3 install -U psmcli.zip • Initiale Einrichtung: – psm setup Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Erstellen/Exportieren eines Templates • Exportieren eines in der Cloud Identity Domain bestehenden Default Templates: – psm stack export-template -n Oracle-JCS-DBCS-Template >e:\temp\template.yaml • YAML Datei kann anschließend angepasst / als Vorlage für eigene Templates verwendet werden – Achtung: Geänderte/Neue Templates zuerst Importieren (=Hochladen) mit psm stack import-template -f <Pfad-zur-Datei> Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Erstellen eines Stacks • Erstellen des Stacks „Herr der Wolken DemoKino Test“: – psm stack create -n DemoKino -d "Herr der Wolken DemoKino Test" -t Oracle-JCS-DBCS-Template -p wlAdminUser:weblogic commonPwd:DuKommstHierNichtRein dbSid:DOAG backupContainer:Storage-gse000000072/DemoKinoBAK cloudStorageUser:cloud.admin cloudStoragePassword:DuKommstHierNichtRein publicKeyText:"ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAr5Jjx9+....== KinoKey" Copyright © 2016 Oracle and/or its affiliates. All rights reserved. (Details) Abfragen eines Stacks • Abfrage aller Stacks: – psm stack list • Detail Abfrage eines Stacks: – psm stack describe -n DemoKino • Ergebnis der Abfrage: – Instanzinformationen (z.B.: serviceName, Beschreibung, Erstellungsdatum etc.) – Links auf den Stack (canonical/self) Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Oracle Platform Cloud Service Weitere Informationen • Beschreibungen, Whitepaper, Preise etc. auf der Public Cloud Seite http://cloud.oracle.com (Kategorie: Platform) • Dokumentation zum Cloud Stack Manager: http://docs.oracle.com/cloud/latest/stack-manager-cloud/index.html Copyright © 2016 Oracle and/or its affiliates. All rights reserved. http://blogs.oracle.com/dbacommunity_deutsch http://tinyurl.com/oratech-monthly Nächste Ausgabe 07. Dezember @oraclebudb Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Q&A Copyright © 2016 Oracle and/or its affiliates. All rights reserved.