Upload
wso2-inc
View
1.229
Download
0
Embed Size (px)
Citation preview
WSO2 DevOps: How to Deploy, Manage, Administer and Monitor WSO2 ProductsAmila MaharachchiChamith Kumarage
Agenda
● Introduction● Planning the deployment● Deploying the products● Manage and administration● Monitoring
Introduction
Let’s deploy a WSO2 Application Server cluster.
http://thumbs.dreamstime.com/x/cartoon-man-working-computer-13780903.jpg
Planning the deployment
● Capacity planning● Availability● Load balancing● Clustering● Deployment diagram● Infrastructure ● OS level configurations● Configuration management
Capacity Planning
● Expected traffic○ TPS or TPM (not the TPD)○ Need the max value
● Hardware configurations● WSO2 recommended values
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
Load Balancing
● There are many options○ NginX, Apache HTTPD, AWS ELB○ Hardware LBs
● Depends on○ Infrastructure○ Already available load balancers
● Stickiness, SSL Termination etc.
Clustering
● Cluster for○ Availability○ Scalability
● Artifact distribution● Sharing the registry
Deployment Diagram
LB
AS - Worker Node 1
AS - Admin Node
UM DB Registry DB
SVN
AS - Worker Node 1
Infrastructure
● On premise vs Cloud vs Hybrid● VM configurations● Operating system and other software requirements● Database
Configuration Management
● Why?○ Quick and easy instance provisioning ○ Maintenance○ Single Point of Truth○ Templating
● Puppet, Chef, Ansible, etc.
Deployment
Let’s do the deployment..
http://www.virtxpert.com/wp-content/uploads/2014/07/devops.png
Manage and Administration
● Maintaining a smooth run● Backups● Patching● Upgrades
Backups
● What to backup?● When to backup?● Verify the integrity● Restore drills
Patching
● WSO2 issues patches and service packs● Puppet can be used to deliver patches
Upgrades
● Planning an upgrade○ Minimize downtime○ Data migrations○ Staging drills
● Example○ WSO2 API Manager 1.8.0 to 1.9.0 upgrade
Monitoring
● Health of physical servers / VMs● Health of the products involved● Functionality of deployment
Monitoring
WSO2 Managed Deployments
● Latest offering from WSO2● Your deployment managed by our DevOps● To whom this is beneficial
http://wso2.com/cloud/managed/