Java & SOA Cloud Service for Fusion Middleware Administrators

Download Java & SOA Cloud Service for Fusion Middleware Administrators

Post on 23-Feb-2017

699 views

Category:

Technology

3 download

Embed Size (px)

TRANSCRIPT

  • Java & SOA Cloud Service for

    Fusion Middleware Administrators

    Simon Haslam

  • Simon Haslam Consultant, Veriton

    Working with Oracle software since 1995

    and Amazon Web Services since 2010

    Middleware & SOA

    WebLogic, SOA, BPM and Java Cloud Service Specialist

    Veriton UK-based consultancy,

    focussed on Oracle infrastructure

    Experience of JCS since June 2015,

    SOA CS for

  • Presentation objectives & themes

    Describe the Java & SOA

    Cloud Services New

    Opportunities for Middleware Administrators

  • Java & SOA Cloud Service overview

    Provisioning Instances

    Further Administration

  • Jargon

    Infrastructure as a Service

    IaaS

    Platform as a Service

    PaaS

    Process Management, Integration, Docs Management, SOA, Java, Database

    SaaS

    Application Software

    as a Service

    Sales Cloud Service Cloud (Right Now) HCM etc

    Custom Apps

    Virtualisation Servers, storage Network

    user

    hardware

  • Layers of Oracle PaaS

    SaaS Extension

    SOA Cloud Service

    Database Cloud Service

    DocumentsCloud

    Service

    Process Cloud

    Service

    Integration Cloud

    Service

    Full VM control

    Java Cloud Service

    Consoles & APIs

    etc

  • Java Cloud Service what is it?

    WebLogic Servers running in Oracle Cloud Plus supporting software: Oracle Traffic Director, Coherence,

    Database

    New pay as you go licensing model

    Full VM access/control (2/3)

    Automated software provisioning, plus

  • Domain

    JAVA CLOUD SERVICE

    Data Center(s)

    Servers & Storage

    VMs

    WebLogic Instances

    Oracle updates & backs up

    Applications

    JAVA CLOUD SERVICE VIRTUAL IMAGE

    Data Center(s)

    Servers & Storage

    VMs

    WebLogic Instances

    Domain

    Applications

    Oracle provisions

    Data Center(s)

    Servers & Storage

    VMs

    WebLogic Instances

    Domain

    Applications

    JAVA CLOUD SERVICE SAAS EXTENSION

    Out of scope for this presentation

    Note: Virtual Image is not quite the same for DBCS

  • SOA Cloud Service what is it?

    SOA Suite products (SOA, OSB, API Manager + Adapters) running on JCS & DBCS, themselves running in Oracle Cloud

    New pay as you go licensing model Full only, no Virtual Image

    Full VM access/control Automated software provisioning, plus

  • Java & SOA Cloud Service overview

    Provisioning Instances

    Further Administration

  • Choices for Full JCS or JCS-VI

    Billing Frequency

    WebLogic (Edition & Version)

    WebLogic Cluster size & Shape of VMs(s)

    (optional) Coherence

    (optional) Oracle Traffic Director

  • REST APIs

    http://docs.oracle.com/cloud/latest/jcs_gs/JSRMR/index.html

  • What does a small JCS cluster look like?

    E.g. 5 VMs: 1 Traffic Director

    2 WebLogic

    (optional) 2 or more Coherence (3 is more Coherence-friendly)

    One domain including: WebLogic & Coherence clusters

    Node Managers

    FMW Infrastructure, including schema in DB

    Demo SSL certificates

    An OTD virtual host to the WLS Cluster

    A default backup schedule

  • Admin Server

    Managed Server 1

    Traffic Server

    Admin Server

    Managed Server 2 Coherence

    Server 1 Coherence

    Server 2

    Firewall (NAT/PAT)

    Routing

    5.0 2.5

    2.5

    2.5 5.0

    7.5 7.5 7.5 7.5

    7.5

    Memory for example OC3 config GB

  • Provisioning Choices for SOA CS

    Product / domain type

    Compute shape (MS high memory, from OC3M)

    (optional) Oracle Traffic Director

  • SOA CS Topology Choices

  • Provisioning Constraints for SOA CS

    Monthly only billing (at moment?)

    SOA 12.1.3.0.1 (currently) plus a cloud adapter patch + another interim patch

    built on top of JCS 12.1.3.0.4 (July CPU+ 3 interim patches)

    Coherence within MS

    Full JCS only

  • DEMO

  • Admin Server

    Managed Server 1

    Traffic Server

    Admin Server

    Managed Server 2

    Firewall (NAT/PAT)

    Routing

    10.5

    2.5

    10.5

    15 15

    7.5

    Memory for example OC3M config for managed servers & OC3 for LB

    GB

  • Thoughts about Topology

    Combined admin server & managed server 1 One managed server per VM Cant do EDG-style separate WSM-PM, ESS, BAM without

    additional VMs

    No shared storage (other than object stores) JMS, JTA can go in database, but have to synchronise

    deployment plans & other configuration manually (will drive changes to SOA?)

  • Java & SOA Cloud Service overview

    Provisioning Instances

    Administration

  • Tailor the Environment

    Set up SSL certificates Set up security providers Changes to Server Start parameters, setUserOverrides.sh Manage storage space

    See Keeping Your Service Instances Manageable by Oracle

    Java Cloud Service http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-68749D52-DAC9-44E7-90AD-6C891300156E.htm#JSCUG3281

    http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-68749D52-DAC9-44E7-90AD-6C891300156E.htm#JSCUG3281http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-68749D52-DAC9-44E7-90AD-6C891300156E.htm#JSCUG3281http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-68749D52-DAC9-44E7-90AD-6C891300156E.htm#JSCUG3281http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-68749D52-DAC9-44E7-90AD-6C891300156E.htm#JSCUG3281http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-68749D52-DAC9-44E7-90AD-6C891300156E.htm#JSCUG3281http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-68749D52-DAC9-44E7-90AD-6C891300156E.htm#JSCUG3281http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-68749D52-DAC9-44E7-90AD-6C891300156E.htm#JSCUG3281http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-68749D52-DAC9-44E7-90AD-6C891300156E.htm#JSCUG3281http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-68749D52-DAC9-44E7-90AD-6C891300156E.htm#JSCUG3281http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-68749D52-DAC9-44E7-90AD-6C891300156E.htm#JSCUG3281http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-68749D52-DAC9-44E7-90AD-6C891300156E.htm#JSCUG3281

  • Directory structure

    ORACLE HOME: /u01/app/oracle/middleware

    JDK HOME: /u01/jdk

    DOMAIN HOME: /u01/data/domains/

    Others: /u01/data/backup backup location

    /u01/app/oracle/tools Oracle cloud tooling

    SOA CS is same as built on top of JCS

  • Backup / restore

    Backup types Binaries plus domain configuration

    Domain only (aka incremental)

    Database can be included too (creates an RMAN tag in DBCS instance)

    Schedule Weekly full & daily incremental by default

    Location and Retention Policy Held locally for a week, then moved to Storage Service

    Retained for 30 days by default

    Backups are encrypted (using a key known only to OPC)

    Full JCS only

  • Patching

    WebLogic PSUs plus JDKs JCS backs up beforehand and can rollback later (all?) Patches are rolling (if you have load balancer) Each Managed Server is:

    1. backed up 2. removed from Traffic Director origin server pool 3. shut down 4. JDK or Oracle Home replaced with a patched image 5. restarted

    6. added back to Traffic Director pool

    Full JCS only

    No SOA CS patches yet to see

  • JCS Management

    Provisioning/managing non-trivial JCS platforms will mostly be using REST APIs Everything in OPC console can be done via REST APIs

    REST tools (browser plug-ins like Postman or RESTClient, curl etc) and JSON format are quick/easy to learn

    All your existing tools/techniques still work with JCS Connecting to Node Manager

    Java Mission Control & other JVM diagnostics tools

    Enterprise Manager 12c (Hybrid Cloud Agent etc)

    SOA CS REST APIs are apparently coming soon

  • Quick Tips

    Naming conventions Key management The Oracle product filesystems are overwritten

    (swapped) during patching dont put any of your own files in there! e.g. EM agent

    Set up disk free space alerts

  • Sometimes I cant help myself

  • My experiment

    Set up a cron job running every minute to write VM time and global time (via a REST API on internet) into a log file

    1) manually move VM clock forward 10 seconds (not so brave!) Reboot fixed time, but not totally clear where

    2) move VM clock forward 1 hour so I could see exactly where

    there was a 1h jump back! Reboot fixed time actually at the instant of VM startup (i.e. before OS)

  • Result

    VM clock gets syncd with host on VM boot

    I assume underlying hosts are NTP syncd (or similar)

    Is it possible for clock to drift??? VM is managing its time independently so doesnt rely on

    Dom0

    Possible study for another day

    Probably good enough, at least for now

    JCS VMs are HV PVM xen.independent_wallclock = 1

  • Presentation objectives & themes

    Describe the Java & SOA

    Cloud Services New

    Opportunities for Middleware Administrators

  • What about us Administrators?!

    Twentieth Century Fox Film Corp.

  • Recognize this?

    Better than nothing, but

  • https://archive.org/details/yourcomputer_magazine

  • Recognize this?

    Better than nothing, but this is like typing in

    code every time you want to run a program!

  • use one of these instead!

  • Deployment

    There are LOTS of tools to help (including previous tools) pick something!

  • Survey: Middleware Admins & DBAs

  • Results*

    * This was not a scientific survey 20 responses to my twitter requests

  • Results*

    * This was not a scientific survey 20 responses to my twitter requests

    CI / CD

    Tuning Tools Predictive

    Alerting

    EM, snaps

    Assisted Help?

    Rolling patching Done

    by PaaS

    Post-cloud influences & time savers

    Can your custom apps be replaced by SaaS ?

  • Oracle PaaS Admin. Tasks for your Org.

    Platform Design Sizing / costing Naming conventions (as important as ever) Capacity planning

    Operations Application Deployment Performance Assurance and Tuning Monitoring and management

    PaaS is intended to be used by administrators, not power users Someone still has to be responsible for mission-critical systems

  • Consumption

    Someone needs to monitor consumption As for all cloud services Its (too?!) easy to spin up new environments Do they all need to be running?

    Consider monthly vs hourly Hourly is +25% but if instance only used

    8h/day then 42% of monthly cost

    Consider JCS vs JCS-VI

    Image credit: http://cropmetrics.com/2013/11/gas-gauge-analogy-cropmetrics-water-management/

  • What does this mean for your role as

    Middleware Administrator?

    Middleware administrators dont spend that much time on installing software / creating domains

    Highest value work is rolling out new applications/features & fixing performance of existing ones

    If we looked further down the stack expect a different picture e.g. sys admins, virtualization admins, storage admins

  • What does the Business want?

    Backup

    High availability & DR

    Environments

    Upgrades & patching

    Monitoring

    IT

    on like Facebook

    Have what they want

    New func. as soon as $

    Justifiable cost

    Compliance

    Business

  • What does the Business want?

    Backup

    High availability & DR

    Environments

    Upgrades & patching

    Monitoring

    on like Facebook

    Have what they want

    New func. as soon as $

    Justifiable cost

    Compliance

    IT Business

    Our job is to enable this!

    Focus on Adding Value

  • Presentation objectives & themes

    Describe the Java & SOA

    Cloud Services New

    Opportunities for Middleware Administrators

  • Summary

    JCS/JCS-VI gives you power/flexibility of WebLogic including most of the control you are used to

    SOA CS provisions SOA quicker than almost any other way Oracle PaaS viable for various uses, providing you can live with design

    decisions You will be doing far less menial, low-value work

    make yourself more valuable! but someone still has to be responsible for your Oracle platforms

    you!

  • Further Information

    https://blogs.oracle.com/emeapartnerweblogic/entry/virtual_technology_summit_september_16th

    Now on YouTube too!

  • Further Information

    JCS, SOA CS, PCM etc blog posts:

    http://simonhaslam.co.uk

  • Questions & Answers

    For help with your Oracle Cloud project

    http://veriton.com

    @simon_haslam

    Please click feedback or fill in form

Recommended

View more >