Top Banner
WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products Amila Maharachchi Chamith Kumarage
20

WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Apr 14, 2017

Download

Technology

WSO2 Inc.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 ProductsAmila MaharachchiChamith Kumarage

Page 2: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Agenda

● Introduction● Planning the deployment● Deploying the products● Manage and administration● Monitoring

Page 3: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Introduction

Let’s deploy a WSO2 Application Server cluster.

http://thumbs.dreamstime.com/x/cartoon-man-working-computer-13780903.jpg

Page 4: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Planning the deployment

● Capacity planning● Availability● Load balancing● Clustering● Deployment diagram● Infrastructure ● OS level configurations● Configuration management

Page 5: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Capacity Planning

● Expected traffic○ TPS or TPM (not the TPD)○ Need the max value

● Hardware configurations● WSO2 recommended values

Page 6: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Availability

● When do you need the system to be available○ 24*7○ Certain time of the day only

● Decided by the mission criticalness○ active - active○ active - passive

Page 7: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Load Balancing

● There are many options○ NginX, Apache HTTPD, AWS ELB○ Hardware LBs

● Depends on○ Infrastructure○ Already available load balancers

● Stickiness, SSL Termination etc.

Page 8: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Clustering

● Cluster for○ Availability○ Scalability

● Artifact distribution● Sharing the registry

Page 9: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Deployment Diagram

LB

AS - Worker Node 1

AS - Admin Node

UM DB Registry DB

SVN

AS - Worker Node 1

Page 10: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Infrastructure

● On premise vs Cloud vs Hybrid● VM configurations● Operating system and other software requirements● Database

Page 11: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Configuration Management

● Why?○ Quick and easy instance provisioning ○ Maintenance○ Single Point of Truth○ Templating

● Puppet, Chef, Ansible, etc.

Page 12: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Deployment

Let’s do the deployment..

http://www.virtxpert.com/wp-content/uploads/2014/07/devops.png

Page 13: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Manage and Administration

● Maintaining a smooth run● Backups● Patching● Upgrades

Page 14: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Backups

● What to backup?● When to backup?● Verify the integrity● Restore drills

Page 15: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Patching

● WSO2 issues patches and service packs● Puppet can be used to deliver patches

Page 16: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Upgrades

● Planning an upgrade○ Minimize downtime○ Data migrations○ Staging drills

● Example○ WSO2 API Manager 1.8.0 to 1.9.0 upgrade

Page 17: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Monitoring

● Health of physical servers / VMs● Health of the products involved● Functionality of deployment

Page 18: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

Monitoring

Page 19: WSO2Con USA 2015: WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 Products

WSO2 Managed Deployments

● Latest offering from WSO2● Your deployment managed by our DevOps● To whom this is beneficial

http://wso2.com/cloud/managed/