Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
Java Cloud Service & WLS 12c
What You Should Know
OTN LatAm Tour 2017 Dr. Frank Munz
munz & more
2
Frank Munz
•Founded munz & more in 2007
•17 years Oracle Middleware,
Cloud, and Distributed Computing
•Consulting and
Hi...
#0
WebLogic 12c
New in WebLogic 12.2.1
1. JDK 8
2. Java EE 7
3. IDE
4. Console
5. Deployment
6. JMS
7. Cluster
8. WLST
9. WLDF
10. REST
11...
A Whirlwind Tour…
More details in this WebLogic 12c presentation
munz & more #5
https://www.slideshare.net/FrankMunz1/12-t...
WebLogic Multi Tenancy: Isolation
Tenants within a domain are isolated:
• Runtime: JDK: heap, CPU
• Security: realm, user
...
NO Vendor Lock-In with Docker
Supported by every major cloud provider:
munz & more #7
On premise -> all clouds
Docker
Regi...
RESTful Admin: Read
Get server name and state of managed server
with name surf1 via admin server
GET (e.g. via web browser...
Elastic Cluster
WebLogic 12.1.2: Dynamic Cluster config
WebLogic 12.2.1: Elastic Cluster runtime
+ pre / post scaling
call...
ZDT: Rollout Oracle Home
https://community.oracle.com/docs/DOC-996731
#1
Oracle PaaS
Know The Essential Cloud Services
ACCS JCS OCCS
Deploy	Java,	Python,	
Ruby	code	
+	JSON	file:	start	
command
Deploy	Java	E...
#2
Developer CS
Developer CS
Cloud native SDLC
• Connects to github
• Includes
– maven
– Hudson
– Wiki pages
– Jira like ticket system
• R...
Developer CS
munz & more #15
#3
Prerequisites
for JCS
Prerequisites
JCS will never work, unless you …
1. set replication policy for storage
2. Create DB as a service for JCS
3....
#4
(1) Replication
Policy
Go to Storage & Set Policy
munz & more #19
You will only see this
screen only once!
Not setting the policy
causes all kind...
Prereq: Set Replication Policy
Details:
https://docs.oracle.com/en/cloud/iaas/stora
ge-cloud/cssto/selecting-replication-p...
#5
(2) DB
Prereq: Create DB as Service
A DB is mandatory for JCS
munz & more #22
Define
DB
pwd
Specify
Cloud
log-in
creadential
Crea...
Storage Container
Correct syntax / name of storage container:
Storage-IDENDITYDOMAIN/yourContainerName
munz & more #23
You...
Identity Domain
Tip: Always save your Cloud Welcome Email
munz & more #24
ABCDomain
In the Same Email: Data Center
Most OPC links DC agnostic, but storage is not:
munz & more #25
Resend Welcome Email
munz & more #26
Wait Until DB is Created
munz & more #27
#6
(3) JCS
munz & more #29
Create JCS
munz & more #30
Define
WLS
pwd
Specify
DB log-in
details:
‘sys’ +
credential
DB create
NOT welcome1 !!
Specify
...
JCS is Created
munz & more #31
#7
Access
Admin Console
When you create a JCS
munz & more #33
… you will likely forget the following:
munz & more #34
(Unfortunate)
Default Setting:
NO admin console
but sample apps
#8
Access
Rules
To the Rescue: Access Rules
munz & more #36
Re-enable
Admin Console
#9
Deployments
Deployment
Done via WebLogic console.
munz & more #38
#10
Port Mappings
Port Mapping
Why you can
access your
deployment in
most demos
‘without’
specifying the
port
WebLogic Admin Console
#11
Elasticity
Elasticity
munz & more #43
Scale Out
44
Auto Scaling
#12
Patching
Patching
#12
Backups
Backups
Key Take Aways
Make sure to understand
• Java CS is WebLogic as a Service
• Dependencies with Storage and DB CS
• Storage ...
www.linkedin.com/in/frankmunz/
www.munzandmore.com/blog
facebook.com/cloudcomputingbook
facebook.com/weblogicbook
@frankmu...
Prochain SlideShare
Chargement dans…5
×

Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should Know

1 593 vues

Publié le

What you should know to successfully work with Java Cloud Service on the Oracle Public Cloud.

Publié dans : Internet
  • Soyez le premier à commenter

Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should Know

  1. 1. Java Cloud Service & WLS 12c What You Should Know OTN LatAm Tour 2017 Dr. Frank Munz munz & more
  2. 2. 2 Frank Munz •Founded munz & more in 2007 •17 years Oracle Middleware, Cloud, and Distributed Computing •Consulting and High-End Training •Wrote two Oracle WLS and one Cloud book
  3. 3. #0 WebLogic 12c
  4. 4. New in WebLogic 12.2.1 1. JDK 8 2. Java EE 7 3. IDE 4. Console 5. Deployment 6. JMS 7. Cluster 8. WLST 9. WLDF 10. REST 11. Docker 12. Multi Tenancy 13. ZDT 14. Java CloudService munz & more #4
  5. 5. A Whirlwind Tour… More details in this WebLogic 12c presentation munz & more #5 https://www.slideshare.net/FrankMunz1/12-things-you-should-know-about-weblogic-server-1221-oow2015
  6. 6. WebLogic Multi Tenancy: Isolation Tenants within a domain are isolated: • Runtime: JDK: heap, CPU • Security: realm, user • Admin: life cycle, roles • Data / traffic: JNDI, JDBC,Coherence, requests munz & more / globalcollect 2016
  7. 7. NO Vendor Lock-In with Docker Supported by every major cloud provider: munz & more #7 On premise -> all clouds Docker Registry Docker Container Service EC2 Container Service Google Container Engine Azure Container Service Bluemix Containers
  8. 8. RESTful Admin: Read Get server name and state of managed server with name surf1 via admin server GET (e.g. via web browser) http://localhost:7001/management/weblogic/latest /domainRuntime/serverLifeCycleRuntimes/ surf1?links=none&fields=name,state Response: { "name": "surf1", "state": "RUNNING" } munz & more #8
  9. 9. Elastic Cluster WebLogic 12.1.2: Dynamic Cluster config WebLogic 12.2.1: Elastic Cluster runtime + pre / post scaling callout to scripts munz & more #9 How to scale? • Console • WLST • REST • Policy/Action • Calendar based
  10. 10. ZDT: Rollout Oracle Home https://community.oracle.com/docs/DOC-996731
  11. 11. #1 Oracle PaaS
  12. 12. Know The Essential Cloud Services ACCS JCS OCCS Deploy Java, Python, Ruby code + JSON file: start command Deploy Java EE module, JMS, JDBC, XA. Deploy (stack of) Docker containers Language container as service WebLogic as Service Docker container as Service
  13. 13. #2 Developer CS
  14. 14. Developer CS Cloud native SDLC • Connects to github • Includes – maven – Hudson – Wiki pages – Jira like ticket system • Ready for testing • Deploys to JCS, ACCS, Mobile CS munz & more #14 Free development tooling in cloud
  15. 15. Developer CS munz & more #15
  16. 16. #3 Prerequisites for JCS
  17. 17. Prerequisites JCS will never work, unless you … 1. set replication policy for storage 2. Create DB as a service for JCS 3. Create JCS -> Write down all the passwords (which have different requirements), ID domain, and storage container name
  18. 18. #4 (1) Replication Policy
  19. 19. Go to Storage & Set Policy munz & more #19 You will only see this screen only once! Not setting the policy causes all kind of weird issues
  20. 20. Prereq: Set Replication Policy Details: https://docs.oracle.com/en/cloud/iaas/stora ge-cloud/cssto/selecting-replication-policy- your-service-instance.html
  21. 21. #5 (2) DB
  22. 22. Prereq: Create DB as Service A DB is mandatory for JCS munz & more #22 Define DB pwd Specify Cloud log-in creadential Create Storage Container
  23. 23. Storage Container Correct syntax / name of storage container: Storage-IDENDITYDOMAIN/yourContainerName munz & more #23 You create it once (with the DB). Later specify it at JCS configuration
  24. 24. Identity Domain Tip: Always save your Cloud Welcome Email munz & more #24 ABCDomain
  25. 25. In the Same Email: Data Center Most OPC links DC agnostic, but storage is not: munz & more #25
  26. 26. Resend Welcome Email munz & more #26
  27. 27. Wait Until DB is Created munz & more #27
  28. 28. #6 (3) JCS
  29. 29. munz & more #29
  30. 30. Create JCS munz & more #30 Define WLS pwd Specify DB log-in details: ‘sys’ + credential DB create NOT welcome1 !! Specify Storage & log-in Details Storage admin
  31. 31. JCS is Created munz & more #31
  32. 32. #7 Access Admin Console
  33. 33. When you create a JCS munz & more #33
  34. 34. … you will likely forget the following: munz & more #34 (Unfortunate) Default Setting: NO admin console but sample apps
  35. 35. #8 Access Rules
  36. 36. To the Rescue: Access Rules munz & more #36 Re-enable Admin Console
  37. 37. #9 Deployments
  38. 38. Deployment Done via WebLogic console. munz & more #38
  39. 39. #10 Port Mappings
  40. 40. Port Mapping Why you can access your deployment in most demos ‘without’ specifying the port
  41. 41. WebLogic Admin Console
  42. 42. #11 Elasticity
  43. 43. Elasticity munz & more #43
  44. 44. Scale Out 44
  45. 45. Auto Scaling
  46. 46. #12 Patching
  47. 47. Patching
  48. 48. #12 Backups
  49. 49. Backups
  50. 50. Key Take Aways Make sure to understand • Java CS is WebLogic as a Service • Dependencies with Storage and DB CS • Storage Container name • Little gotchas (admin console disabled) • Port mappings • ACCS for polyglot, lightweight, non Java EE munz & more #50
  51. 51. www.linkedin.com/in/frankmunz/ www.munzandmore.com/blog facebook.com/cloudcomputingbook facebook.com/weblogicbook @frankmunz youtube.com/weblogicbook -> more than 50 web casts Don’t be shy J

×