1. Session ID:
Prepared by:
Remember to complete your evaluation for this session within the app!
10946
Running Oracle E-Business
Suite on Kubernetes Cluster
- On Google Cloud
Feb 28, 2019
Vasu Balla
Principal Consultant
Pythian
@r12dba
2. About Me
– 15 Years of Oracle Apps DBA Experience
– Principal Consultant with Pythian
– Oracle EBS ATG Customer Advisory Board Member
– Google Cloud Certified
– Based out of Ottawa, Canada
– @r12dba
3. ABOUT PYTHIAN
Pythian’s 400+ IT professionals
help companies adopt and
manage disruptive technologies
to better compete
3
4. Systems currently
managed by Pythian
EXPERIENCED
Pythian experts
in 35 countries
GLOBAL
Millennia of experience
gathered and shared
over 19 years
EXPERTS
11,800 2400
4
6. Docker
• Container Technology, Similar to Linux Containers
• Less overhead compared to Virtual Machines
• Instant start , No OS overhead
• Standardized packaging for software and dependencies
• Isolate apps from each other
• Share the same OS Kernel
• Works with all major Linux and Windows Servers
9. Docker basics
• Image
– The basis of a Docker Container. The content at rest
• Container
– The image when its running
• Engine
– The software that executes commands for containers. Networking and Disk volumes
are part of engine
• Registry
– Stores, distributes and manages Docker Images
12. EBS on Docker
• Use Oracle Linux 6 Image from Oracle docker Container Registry as base
• Tarball EBS Filesystem from source and Copy to OEL6 Docker
• Build Final image from OEL6 Docker & EBS FS tarball
• Just need to make sure Docker container uses same hostname as source
• Check blog – http://bit.ly/ebs-docker
13. Kubernetes
• Provides a container-centric management environment.
• Orchestrates computing, networking, and storage infrastructure on behalf of
user workloads
• Supports other container technologies as well
– ContainerD
– Rkt
– Docker
15. Application Types in K8S ( Autoscaling)
• Deployment ( Replica Set)
– Maintains a given number of replicas of a given Pod
• High availability, Load Balancing
• Daemon Set
– Runs exactly one instance of a given Pod on every node
• Access to unique host resources, Load balancing
• Stateful Set
– Maintains a scalable collection of Pods with unique roles
• Persistent resource and identities
16. EBS on K8S Limitation
• Limitation with K8S is it uses dynamic hostnames for Pods/Containers
• EBS needs persistent hostnames and disks to be able to run
– FND_NODES, ENV file hostnames are hardcoded
• Oracle E-Business Suite Licensing is not Cloud Friendly
• Adding Node and Remove node in EBS is time consuming
17. EBS on K8S Arch
Kubernetes Cluster
Node1 Node2 Node3
ebs-web-pod-1 ebs-web-pod-3 ebs-cm-pod-3
ebs-web-pod-2 ebs-forms-pod-2
ebs-db-pod-1ebs-forms-pod-1 ebs-forms-pod-3
ebs-cm-pod-1 ebs-cm-pod-2
Users
Web port 8000
Service
18. EBS on K8S
• Build Full cluster + pods with max replicas
• Use StatefulSet controller in K8S
• This ensures all containers use ordered hostnames and diskspace is persistent
• Build Separate EBS App & DB Docker Images
• Deploy and Pre-register the nodes in EBS DB
• Use Horizontal Autoscaler for Web, Forms & CM nodes
• Use Vertical Autoscaler for DB
19. EBS on K8S
• Startup scripts and YAML files will be posted to
• https://github.com/vasuballa/ebs-k8s
20. Session ID:
Remember to complete your evaluation for this session within the app!
10946
balla@pythian.com