java & soa cloud service for fusion middleware administrators

53
Java & SOA Cloud Service for Fusion Middleware Administrators Simon Haslam

Upload: eproseed-veriton

Post on 23-Feb-2017

713 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Java & SOA Cloud Service for Fusion Middleware Administrators

Java & SOA Cloud Service for

Fusion Middleware Administrators

Simon Haslam

Page 2: Java & SOA Cloud Service for Fusion Middleware Administrators

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 <2 weeks!

Page 3: Java & SOA Cloud Service for Fusion Middleware Administrators

Presentation objectives & themes

Describe the Java & SOA

Cloud Services New

Opportunities for Middleware Administrators

Page 4: Java & SOA Cloud Service for Fusion Middleware Administrators

Java & SOA Cloud Service overview

Provisioning Instances

Further Administration

Page 5: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 6: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 7: Java & SOA Cloud Service for Fusion Middleware Administrators

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…

Page 8: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 9: Java & SOA Cloud Service for Fusion Middleware Administrators

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…

Page 10: Java & SOA Cloud Service for Fusion Middleware Administrators

Java & SOA Cloud Service overview

Provisioning Instances

Further Administration

Page 11: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 12: Java & SOA Cloud Service for Fusion Middleware Administrators
Page 13: Java & SOA Cloud Service for Fusion Middleware Administrators

REST APIs

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

Page 14: Java & SOA Cloud Service for Fusion Middleware Administrators
Page 15: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 16: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 17: Java & SOA Cloud Service for Fusion Middleware Administrators

Provisioning Choices for SOA CS

Product / domain type

Compute shape (MS high memory, from OC3M)

(optional) Oracle Traffic Director

Page 18: Java & SOA Cloud Service for Fusion Middleware Administrators

SOA CS – Topology Choices

Page 19: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 20: Java & SOA Cloud Service for Fusion Middleware Administrators

DEMO

Page 21: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 22: Java & SOA Cloud Service for Fusion Middleware Administrators

Thoughts about Topology

Combined admin server & managed server 1 One managed server per VM ◦ Can’t 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?)

Page 23: Java & SOA Cloud Service for Fusion Middleware Administrators

Java & SOA Cloud Service overview

Provisioning Instances

Administration

Page 25: Java & SOA Cloud Service for Fusion Middleware Administrators

Directory structure

ORACLE HOME: /u01/app/oracle/middleware

JDK HOME: /u01/jdk

DOMAIN HOME: /u01/data/domains/<domain-name>

Others: ◦ /u01/data/backup – backup location

◦ /u01/app/oracle/tools – Oracle ‘cloud tooling’

SOA CS is same as built on top of JCS

Page 26: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 27: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 28: Java & SOA Cloud Service for Fusion Middleware Administrators
Page 29: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 30: Java & SOA Cloud Service for Fusion Middleware Administrators

Quick Tips

Naming conventions Key management The Oracle product filesystems are overwritten

(swapped) during patching – don’t put any of your own files in there! ◦ e.g. EM agent

Set up disk free space alerts

Page 31: Java & SOA Cloud Service for Fusion Middleware Administrators

Sometimes I can’t help myself…

Page 32: Java & SOA Cloud Service for Fusion Middleware Administrators

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)

Page 33: Java & SOA Cloud Service for Fusion Middleware Administrators

Result

VM clock gets sync’d with host on VM boot

I assume underlying hosts are NTP sync’d (or similar)

Is it possible for clock to drift??? ◦ VM is managing its time independently so doesn’t rely on

Dom0

◦ Possible study for another day

Probably good enough, at least for now…

JCS VMs are HV PVM xen.independent_wallclock = 1

Page 34: Java & SOA Cloud Service for Fusion Middleware Administrators

Presentation objectives & themes

Describe the Java & SOA

Cloud Services New

Opportunities for Middleware Administrators

Page 35: Java & SOA Cloud Service for Fusion Middleware Administrators

What about us Administrators?!

©Twentieth Century Fox Film Corp.

Page 36: Java & SOA Cloud Service for Fusion Middleware Administrators

Recognize this?

Better than nothing, but …

Page 37: Java & SOA Cloud Service for Fusion Middleware Administrators

https://archive.org/details/yourcomputer_magazine

Page 38: Java & SOA Cloud Service for Fusion Middleware Administrators

Recognize this?

Better than nothing, but this is like typing in

code every time you want to run a program!

Page 39: Java & SOA Cloud Service for Fusion Middleware Administrators

… use one of these instead!

Page 40: Java & SOA Cloud Service for Fusion Middleware Administrators

Deployment

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

Page 41: Java & SOA Cloud Service for Fusion Middleware Administrators

Survey: Middleware Admins & DBAs

Page 42: Java & SOA Cloud Service for Fusion Middleware Administrators

Results*

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

Page 43: Java & SOA Cloud Service for Fusion Middleware Administrators

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 ?

Page 44: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 45: Java & SOA Cloud Service for Fusion Middleware Administrators

Consumption

Someone needs to monitor consumption As for all cloud services… ◦ It’s (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/

Page 46: Java & SOA Cloud Service for Fusion Middleware Administrators

What does this mean for your role as

Middleware Administrator?

Middleware administrators don’t 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

Page 47: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 48: Java & SOA Cloud Service for Fusion Middleware Administrators

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

Page 49: Java & SOA Cloud Service for Fusion Middleware Administrators

Presentation objectives & themes

Describe the Java & SOA

Cloud Services New

Opportunities for Middleware Administrators

Page 50: Java & SOA Cloud Service for Fusion 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!

Page 51: Java & SOA Cloud Service for Fusion Middleware Administrators

Further Information

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

Now on YouTube too!

Page 52: Java & SOA Cloud Service for Fusion Middleware Administrators

Further Information

JCS, SOA CS, PCM etc blog posts:

http://simonhaslam.co.uk

Page 53: Java & SOA Cloud Service for Fusion Middleware Administrators

Questions & Answers

For help with your Oracle Cloud project

http://veriton.com

@simon_haslam

Please click feedback or fill in form