Share
Embed
Scale WebLogic, the Kubernetes way - OUGN17
Presented at OUGN 2017 (http://ougn.no/varseminar-2017/)
Jorge Quilcate
March 09, 2017
Transcript
24 slides
-
#ougn17 About me Jorge Quilcate Otoya Back-end/Integration Developer at Sysco
Middleware @jeqo89 | github.com/jeqo | jeqo.github.io -
#ougn17 goals ➔ Analyze the impact of containers and cloud
strategies in the Oracle Fusion Middleware #FMW world. ➔ Evaluate how a popular container (or data center) orchestrator, as Kubernetes #k8s, can manage WebLogic clusters. -
#ougn17 Containers and Immutability “Designs are driving towards immutability. We
need immutability to coordinate at ever increasing distances.” - Pat Helland Immutability Changes Everything - Pat Helland http://cidrdb.org/cidr2015/Papers/CIDR15_Paper16.pdf -
#ougn17 container abstractions* ➔ Images ➔ Process ➔ Network ➔
Storage *that make sense -
#ougn17 Mutability is bad!!! “...Hosted applications need to be upgraded
regularly. Configuration changes are regularly needed to tweak the environment so that it runs efficiently and communicates properly with other systems. This requires some mix of command-line invocations, jumping between GUI screens, and editing text files. The result is a unique snowflake - good for a ski resort, bad for a data center.” Snowflake Server - Martin Fowler http://martinfowler.com/bliki/SnowflakeServer.html -
#ougn17 Remember: The WebLogic Admin Console is like a bank,
not a friend... It will borrow configurations that will have to be payed putting them in WLST and a CVS Use it with caution. Basically is how you achieve *Snowflake Servers* -
#ougn17 “If you’re using containers today, and you can’t rebuild
everything with the push of a button, you’re not really using containers. You’re running a custom Linux distribution. Don’t roll your own crypto, don’t roll your own distro. ” Looks like you have a bad case of embedded libraries - @joshbressers http://sobersecurity.blogspot.no/2017/01/looks-like-you-have-bad-case-of.html -
#ougn17 container’s polysemy from Greek: πολυ-, poly-, "many" and σῆμα,
sêma, "sign" ➔ Linux Containers ➔ Java EE Containers: Servlet/EJB ➔ OSGi Containers (OSB?) ➔ Corba Containers ➔ WebLogic Multi-Tenancy Partitions ➔ … K8S Docker Container WLS Domain WLS Cluster WLS Server My app??? -
#ougn17 weblogic deployment architecture In 2 min 1 Domain →
1 Admin Server 1 Domain → * Managed Servers * Managed Servers → 1 Cluster 1 Domain → * Clusters * Applications → 1 Managed Server * Applications → 1 Cluster 1 Domain → * Machines 1 Machine → * Servers 1 System → * Applications (+ Libs) 1 System → 1 Domain/1 Cluster/1 Server -
#ougn17 scaling weblogic 1. Configured Cluster 2. Dynamic (Template) Cluster
3. Multi-Tenancy/Partitions (aka “micro-domains”) 4. JCS* -
#ougn17 … so let’s the database outside of the equation
https://twitter.com/kelseyhightower/status/822488055709712384 https://twitter.com/waxzce/status/829420329177083904 -
#ougn17 “we must treat the datacenter itself as one massive
warehouse-scale computer” The Datacenter as a Computer - Luiz Andre Barroso, Urs Hoelzle Kubernetes for Sysadmins - Kelsey Hightower… playing tetris :) https://www.youtube.com/watch?v=HlAXp0-M6SY -
#ougn17 ➔ Cluster, Nodes and Namespaces ➔ Pods and Containers
➔ Deployments and Services kubernetes concepts basic -
#ougn17 ➔ ConfigMaps and Secrets ➔ StatefulSets and PersistentVolumes kubernetes
concepts Configuration and Stateful apps