Upload
eproseed-veriton
View
1.054
Download
0
Embed Size (px)
Citation preview
Java Cloud Service for
WebLogic Administrators
Oracle OpenWorld, San Francisco
October 2015
What should I do now?!
Simon Haslam Consultant, Veriton
Working with Oracle software since 1995
(and AWS since 2010)
Middleware & SOA
WebLogic, SOA, BPM and Java Cloud Service Specialist
Veriton UK-based consultancy,
focussed on Oracle infrastructure
How about you?
WebLogic FMW
Admin? DBA
?
Team Manager
?
Architect ?
Dev ?
Presentation objectives & themes
Describe Java Cloud
Service New
Opportunities for the WebLogic
Administrator
Java Cloud Service overview
Provisioning JCS Instances
WebLogic Administration in JCS
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
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
JCS SaaS Extension
WebLogic on-premises
Full JCS is between the two
LEGO: http://www.slideshare.net/Insidebsi/lego-building-brand-ambassadors
Java Cloud Service overview
Provisioning JCS Instances
WebLogic Administration in JCS
Choices for Full JCS or JCS-VI
Billing Frequency
WebLogic (Edition & Version)
WebLogic Cluster size & ‘Shape’ of MS cluster node(s)
(optional) Coherence
(optional) Oracle Traffic Director
(full JCS only) Storage Container
REST APIs
http://docs.oracle.com/cloud/latest/jcs_gs/JSRMR/index.html
DEMO
What does a small JCS cluster look like?
E.g. 5 VMs: ◦ 1 Traffic Director
◦ 2 WebLogic
◦ 2 Coherence (optional; 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
Java Cloud Service overview
Provisioning JCS Instances
WebLogic Administration in JCS
Tailor the Environment
Set up SSL certificates Changes to Server Start parameters, setUserOverrides.sh
(setDomainEnv.sh) Manage storage Adding further clusters/nodes etc ◦ 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
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’
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
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)
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
OTN Virtual Technology Summit
For more detailed provisioning & discussion please see my
OTN VTS session from September
Available for FREE replay now
Presentation objectives & themes
Describe Java Cloud
Service New
Opportunities for the WebLogic
Administrator
How do you provision today?
Manually?
Automated s/w only?
Automated s/w + initial
domain? Fully
automated?
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!
How do you deploy today?
Manually?
Scripts ?
Continuous Integration
for test?
Fully automated
CI / SD?
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… ◦ 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/
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
What does the Business want?
• Backup
• High availability & DR
• Environments
• Upgrades & patching
• Monitoring
• Have what they want
• New func. as soon as $
• Justifiable cost
• Compliance
• “on” like Facebook
IT Business
What does the Business want?
• Backup
• High availability & DR
• Environments
• Upgrades & patching
• Monitoring
• In-house IT
• Have what they want
• New func. as soon as $
• Justifiable cost
• Compliance
• “on” like Facebook
Our job is to enable this!
Focus on Adding Value
Business
Presentation objectives & themes
Describe Java Cloud
Service New
Opportunities for the WebLogic
Administrator
Summary
Full JCS is here & viable for many types of workload
JCS/JCS-VI gives you power/flexibility of WebLogic including most of the control you are used to
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
Further Information
JCS blog posts:
http://simonhaslam.co.uk
Questions & Answers
For help with your Oracle Cloud project
http://veriton.com
@simon_haslam