Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Scale WebLogic, the Kubernetes way - OUGN17

Scale WebLogic, the Kubernetes way - OUGN17

Presented at OUGN 2017 (http://ougn.no/varseminar-2017/)

Jorge Quilcate

March 09, 2017
Tweet

More Decks by Jorge Quilcate

Other Decks in Technology

Transcript

  1. #ougn17 About me Jorge Quilcate Otoya Back-end/Integration Developer at Sysco

    Middleware @jeqo89 | github.com/jeqo | jeqo.github.io
  2. #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.
  3. #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
  4. #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
  5. #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*
  6. #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
  7. #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???
  8. #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
  9. #ougn17 scaling weblogic 1. Configured Cluster 2. Dynamic (Template) Cluster

    3. Multi-Tenancy/Partitions (aka “micro-domains”) 4. JCS*
  10. #ougn17 … so let’s the database outside of the equation

    https://twitter.com/kelseyhightower/status/822488055709712384 https://twitter.com/waxzce/status/829420329177083904
  11. #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
  12. #ougn17 ➔ Cluster, Nodes and Namespaces ➔ Pods and Containers

    ➔ Deployments and Services kubernetes concepts basic