SlideShare a Scribd company logo
1 of 24
© 2015 IBM Corporation
WebSphere
Application Server
Liberty Management
Chris Vignola
STSM, WebSphere Architecture
cvignola@us.ibm.com
Imagine a multitude of Liberty app servers …
1
… how can you manage it all?
Liberty Management Objectives
• Light weight
• Flexible
• Scalable
2
Liberty Management Objectives
• Light weight - built on Liberty, agent-less
• Flexible – loosely coupled, cloud-enabled
• Scalable – to 10K servers and counting
3
Liberty Management – The Liberty Collective
• Federation of Liberty servers comprising a loosely coupled
multi-server management domain.
• Management function provided by collectiveController-1.0
feature.
• Membership function provided by collectiveMember-1.0 feature.
4
Collective Controller
• Function provided by collectiveController-1.0 feature.
• Provides member registry, operations proxy, and monitoring.
• Clusterable for HA and scale.
• Communicates with members via HTTPS.
5
Collective Member
• Function provided by collectiveMember-1.0 feature.
• Publishes member state and app information.
• Failover model allows connection to any available collective
controller.
• Communicates with collective controller via HTTPS.
6
Liberty Collective
7
Liberty App Server
feature:
collectiveController-1.0
Liberty App Server
feature:
collectiveMember-1.0
Liberty App Server
feature:
collectiveMember-1.0
Liberty App Server
feature:
collectiveMember-1.0
…
App server identity:
1) Host
2) User dir
3) Server name
Easy Construction thru collective command
• Member management (e.g. add/remove)
• Controller management (e.g. addReplica/removeReplica)
• Host management (e.g. registerHost/unregisterHost)
8
Liberty Admin API
• JMX MBeans
• REST API
• Mapping to MBeans
• REST-only – e.g. File Transfer
• Admin Center – Web UI
9
Liberty Collective – Admin APIs
10
Liberty App Server
feature:
adminCenter-1.0
Liberty App Server
feature:
collectiveMember-1.0
Liberty App Server
feature:
collectiveMember-1.0
Liberty App Server
feature:
collectiveMember-1.0
…
JMX or
REST
caller
proxied calls
Scripting
• Any Java-enabled language (e.g. Jython, JRuby, Groovy, etc)
• Any REST-capable language (e.g. Python, CURL, Go, etc)
• Liberty does not ship a script language runtime
• Samples on wasdev.net
11
Application Deployment
• Best practices
• Server package
• Blue/Green deployment
• 2 Models
• Bottom up
• Push out
12
Bottom-up Deployment
• Create server directly on target system
1. create server
1. file transfer server package (recommended)
2. use Liberty ‘server’ command (ok)
2. join to collective
• Manually, scripted, or via dev-ops tool chain
13
Example dev-ops tools chain (bottom up)
14
Jenkins
Liberty
store pkg/join
Server Package Deployment: Managing Config
15
$WLP_USER_DIR/MyServer/
server.xml
apps/
MyApp.war
deploy (apply overrides)
$WLP_USER_DIR/MyServer/
server.xml
configDropins/
overrides/
prod.xml
apps/
MyApp.war
Controller
Members
Liberty Collective
WebSphere Developer Tools
FileTransfer
Service
Liberty Server
Package
Push Out DeploymentDeployTool
Ready
To Run!
View Management – Tags
• Assignable to host, server, app, cluster
• Searchable in Admin Center
17
Clustering
• clusterMember-1.0 feature
• opt-in model
• cluster operations for
start/stop/membership
• supports application routing,
HA and scale
18
Auto-scaling
• Policy-driven, elastic applications
• scalingController-1.0 and scalingMember-1.0 features
19
<scalingDefinitions>
<scalingPolicy id="cluster1Policy“ min=“2“ max=“5">
<metric name="CPU" min="10" max="70"/>
<bind clusters="cluster1"/>
</scalingPolicy>
</scalingDefinitions>
Auto-scaling …
20
Liberty App Server
feature:
scalingController-1.0
Liberty App Server
feature:
scalingMember-1.0
Liberty App Server
feature:
scalingMember-1.0
Liberty App Server
feature:
scalingMember-1.0
…
Scaling
policy
application cluster
dynamic start/stop
Workload
thresholds breaches
Dynamic Routing
• Dynamic mode in Web Server plugin for WAS
• Dynamically/automatically obtains updates to WAS deployment.
• No more re-generation of WAS plugin config.
• Also available in Data Power
• dynamicRouting-1.0 feature
21
Dynamic Routing …
22
Liberty App Server
feature:
dynamicRouting-1.0
Liberty App Server
feature:
collectiveMember-1.0
app:
ITSOWeb.war
…
IHS
or
DataPower
Liberty App Server
feature:
collectiveMember-1.0
app:
ITSOWeb.war
Liberty App Server
feature:
collectiveMember-1.0
app:
ITSOWeb.war
http://.../ITSOWeb
App routing info
App routing info and
changes are dynamically
pushed to routing tier
routing info and
change publishing
Thank You
23

More Related Content

What's hot

Was liberty at scale
Was liberty at scaleWas liberty at scale
Was liberty at scale
sflynn073
 
Was liberty in deployments
Was liberty in deploymentsWas liberty in deployments
Was liberty in deployments
sflynn073
 
Planning For Catastrophe with IBM WAS and IBM BPM
Planning For Catastrophe with IBM WAS and IBM BPMPlanning For Catastrophe with IBM WAS and IBM BPM
Planning For Catastrophe with IBM WAS and IBM BPM
WASdev Community
 
Web Logic Jboss Final
Web Logic Jboss FinalWeb Logic Jboss Final
Web Logic Jboss Final
Mohamed Atef
 
WebLogic JMX for DevOps
WebLogic JMX for DevOpsWebLogic JMX for DevOps
WebLogic JMX for DevOps
Frank Munz
 

What's hot (20)

AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
 
IBM WebSphere Application Server traditional and Docker
IBM WebSphere Application Server traditional and DockerIBM WebSphere Application Server traditional and Docker
IBM WebSphere Application Server traditional and Docker
 
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the CloudAAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs TomcatWebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs Tomcat
 
AAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing Workloa
AAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing WorkloaAAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing Workloa
AAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing Workloa
 
Linux container & docker
Linux container & dockerLinux container & docker
Linux container & docker
 
Was liberty at scale
Was liberty at scaleWas liberty at scale
Was liberty at scale
 
WebSphere and Docker
WebSphere and DockerWebSphere and Docker
WebSphere and Docker
 
Was liberty in deployments
Was liberty in deploymentsWas liberty in deployments
Was liberty in deployments
 
IBM WebSphere application server
IBM WebSphere application serverIBM WebSphere application server
IBM WebSphere application server
 
Planning For Catastrophe with IBM WAS and IBM BPM
Planning For Catastrophe with IBM WAS and IBM BPMPlanning For Catastrophe with IBM WAS and IBM BPM
Planning For Catastrophe with IBM WAS and IBM BPM
 
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloudMigrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
 
Web Logic Jboss Final
Web Logic Jboss FinalWeb Logic Jboss Final
Web Logic Jboss Final
 
WAS vs JBoss, WebLogic, Tomcat (year 2015)
WAS vs JBoss, WebLogic, Tomcat (year 2015)WAS vs JBoss, WebLogic, Tomcat (year 2015)
WAS vs JBoss, WebLogic, Tomcat (year 2015)
 
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
 
AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...
AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...
AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...
 
Building out a Microservices Architecture with WebSphere Liberty Profile and ...
Building out a Microservices Architecture with WebSphere Liberty Profile and ...Building out a Microservices Architecture with WebSphere Liberty Profile and ...
Building out a Microservices Architecture with WebSphere Liberty Profile and ...
 
AAI-2013 Preparing to Fail: Practical WebSphere Application Server High Avail...
AAI-2013 Preparing to Fail: Practical WebSphere Application Server High Avail...AAI-2013 Preparing to Fail: Practical WebSphere Application Server High Avail...
AAI-2013 Preparing to Fail: Practical WebSphere Application Server High Avail...
 
WebLogic JMX for DevOps
WebLogic JMX for DevOpsWebLogic JMX for DevOps
WebLogic JMX for DevOps
 
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla1512 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
 

Viewers also liked

Was liberty elastic clusters and centralised admin
Was liberty   elastic clusters and centralised adminWas liberty   elastic clusters and centralised admin
Was liberty elastic clusters and centralised admin
sflynn073
 

Viewers also liked (7)

Was liberty elastic clusters and centralised admin
Was liberty   elastic clusters and centralised adminWas liberty   elastic clusters and centralised admin
Was liberty elastic clusters and centralised admin
 
Don't Wait! Develop Responsive Applications with Java EE7 Instead
Don't Wait! Develop Responsive Applications with Java EE7 InsteadDon't Wait! Develop Responsive Applications with Java EE7 Instead
Don't Wait! Develop Responsive Applications with Java EE7 Instead
 
IBM WebSphere Application Foundation Sessions at IBM InterConnect 2015
IBM WebSphere Application Foundation Sessions at IBM InterConnect 2015IBM WebSphere Application Foundation Sessions at IBM InterConnect 2015
IBM WebSphere Application Foundation Sessions at IBM InterConnect 2015
 
Introduction to WebSockets
Introduction to WebSocketsIntroduction to WebSockets
Introduction to WebSockets
 
Recommendation Report and Proposal Project
Recommendation Report and Proposal ProjectRecommendation Report and Proposal Project
Recommendation Report and Proposal Project
 
A report on significance of emotional intelligence and its impact on job sati...
A report on significance of emotional intelligence and its impact on job sati...A report on significance of emotional intelligence and its impact on job sati...
A report on significance of emotional intelligence and its impact on job sati...
 
A marketing project report on tanishq
A marketing project report on tanishqA marketing project report on tanishq
A marketing project report on tanishq
 

Similar to Liberty management

2 Linux Container and Docker
2 Linux Container and Docker2 Linux Container and Docker
2 Linux Container and Docker
Fabio Fumarola
 
Birmingham-20060705
Birmingham-20060705Birmingham-20060705
Birmingham-20060705
Miguel Vidal
 
Was liberty profile and docker
Was liberty profile and dockerWas liberty profile and docker
Was liberty profile and docker
sflynn073
 
2.1 Red_Hat_Cluster1.ppt
2.1 Red_Hat_Cluster1.ppt2.1 Red_Hat_Cluster1.ppt
2.1 Red_Hat_Cluster1.ppt
Manoj603126
 

Similar to Liberty management (20)

Serverless design with Fn project
Serverless design with Fn projectServerless design with Fn project
Serverless design with Fn project
 
Cloudexpowest opensourcecloudcomputing-1by arun kumar
Cloudexpowest opensourcecloudcomputing-1by arun kumarCloudexpowest opensourcecloudcomputing-1by arun kumar
Cloudexpowest opensourcecloudcomputing-1by arun kumar
 
Cloudexpowest opensourcecloudcomputing-1by arun kumar
Cloudexpowest opensourcecloudcomputing-1by arun kumarCloudexpowest opensourcecloudcomputing-1by arun kumar
Cloudexpowest opensourcecloudcomputing-1by arun kumar
 
WLS
WLSWLS
WLS
 
FAILOVER
FAILOVERFAILOVER
FAILOVER
 
2 Linux Container and Docker
2 Linux Container and Docker2 Linux Container and Docker
2 Linux Container and Docker
 
Micro Services Architecture
Micro Services ArchitectureMicro Services Architecture
Micro Services Architecture
 
Cont0519
Cont0519Cont0519
Cont0519
 
Subversion Edge Overview
Subversion Edge OverviewSubversion Edge Overview
Subversion Edge Overview
 
Linux containers and docker
Linux containers and dockerLinux containers and docker
Linux containers and docker
 
Birmingham-20060705
Birmingham-20060705Birmingham-20060705
Birmingham-20060705
 
Puppet devops wdec
Puppet devops wdecPuppet devops wdec
Puppet devops wdec
 
Was liberty profile and docker
Was liberty profile and dockerWas liberty profile and docker
Was liberty profile and docker
 
BigBlueButton Platform Components
BigBlueButton Platform ComponentsBigBlueButton Platform Components
BigBlueButton Platform Components
 
Twelve-Factor App: Software Application Architecture
Twelve-Factor App: Software Application ArchitectureTwelve-Factor App: Software Application Architecture
Twelve-Factor App: Software Application Architecture
 
CNCF Meetup - OpenShift Overview
CNCF Meetup - OpenShift OverviewCNCF Meetup - OpenShift Overview
CNCF Meetup - OpenShift Overview
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017
 
What’s New in UniVerse 11.2
What’s New in UniVerse 11.2What’s New in UniVerse 11.2
What’s New in UniVerse 11.2
 
Develop with linux containers and docker
Develop with linux containers and dockerDevelop with linux containers and docker
Develop with linux containers and docker
 
2.1 Red_Hat_Cluster1.ppt
2.1 Red_Hat_Cluster1.ppt2.1 Red_Hat_Cluster1.ppt
2.1 Red_Hat_Cluster1.ppt
 

More from WASdev Community

ASZ-3034 Build a WebSphere Linux Cloud on System z: From Roll-Your-Own to Pre...
ASZ-3034 Build a WebSphere Linux Cloud on System z: From Roll-Your-Own to Pre...ASZ-3034 Build a WebSphere Linux Cloud on System z: From Roll-Your-Own to Pre...
ASZ-3034 Build a WebSphere Linux Cloud on System z: From Roll-Your-Own to Pre...
WASdev Community
 

More from WASdev Community (6)

ASZ-3034 Build a WebSphere Linux Cloud on System z: From Roll-Your-Own to Pre...
ASZ-3034 Build a WebSphere Linux Cloud on System z: From Roll-Your-Own to Pre...ASZ-3034 Build a WebSphere Linux Cloud on System z: From Roll-Your-Own to Pre...
ASZ-3034 Build a WebSphere Linux Cloud on System z: From Roll-Your-Own to Pre...
 
AAI-2236 Using the new Java Concurrency Utilities with IBM WebSphere
AAI-2236 Using the new Java Concurrency Utilities with IBM WebSphereAAI-2236 Using the new Java Concurrency Utilities with IBM WebSphere
AAI-2236 Using the new Java Concurrency Utilities with IBM WebSphere
 
AAI-2235 Open JPA and EclipseLink Usage Scenarios Explained
AAI-2235 Open JPA and EclipseLink Usage Scenarios ExplainedAAI-2235 Open JPA and EclipseLink Usage Scenarios Explained
AAI-2235 Open JPA and EclipseLink Usage Scenarios Explained
 
AAI-1713 Introduction to Java EE 7
AAI-1713 Introduction to Java EE 7AAI-1713 Introduction to Java EE 7
AAI-1713 Introduction to Java EE 7
 
Deploy, Monitor and Manage in Style with WebSphere Liberty Admin Center
Deploy, Monitor and Manage in Style with WebSphere Liberty Admin CenterDeploy, Monitor and Manage in Style with WebSphere Liberty Admin Center
Deploy, Monitor and Manage in Style with WebSphere Liberty Admin Center
 
Arduinos, application servers, and me: Adventures in and out of the cloud
Arduinos, application servers, and me: Adventures in and out of the cloudArduinos, application servers, and me: Adventures in and out of the cloud
Arduinos, application servers, and me: Adventures in and out of the cloud
 

Recently uploaded

Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 

Recently uploaded (20)

AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2Con2024 - Unleashing the Financial Potential of 13 Million People
WSO2Con2024 - Unleashing the Financial Potential of 13 Million PeopleWSO2Con2024 - Unleashing the Financial Potential of 13 Million People
WSO2Con2024 - Unleashing the Financial Potential of 13 Million People
 
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAMWSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
 
WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...
WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...
WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
 
WSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - KanchanaWSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - Kanchana
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next IntegrationWSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
 

Liberty management

  • 1. © 2015 IBM Corporation WebSphere Application Server Liberty Management Chris Vignola STSM, WebSphere Architecture cvignola@us.ibm.com
  • 2. Imagine a multitude of Liberty app servers … 1 … how can you manage it all?
  • 3. Liberty Management Objectives • Light weight • Flexible • Scalable 2
  • 4. Liberty Management Objectives • Light weight - built on Liberty, agent-less • Flexible – loosely coupled, cloud-enabled • Scalable – to 10K servers and counting 3
  • 5. Liberty Management – The Liberty Collective • Federation of Liberty servers comprising a loosely coupled multi-server management domain. • Management function provided by collectiveController-1.0 feature. • Membership function provided by collectiveMember-1.0 feature. 4
  • 6. Collective Controller • Function provided by collectiveController-1.0 feature. • Provides member registry, operations proxy, and monitoring. • Clusterable for HA and scale. • Communicates with members via HTTPS. 5
  • 7. Collective Member • Function provided by collectiveMember-1.0 feature. • Publishes member state and app information. • Failover model allows connection to any available collective controller. • Communicates with collective controller via HTTPS. 6
  • 8. Liberty Collective 7 Liberty App Server feature: collectiveController-1.0 Liberty App Server feature: collectiveMember-1.0 Liberty App Server feature: collectiveMember-1.0 Liberty App Server feature: collectiveMember-1.0 … App server identity: 1) Host 2) User dir 3) Server name
  • 9. Easy Construction thru collective command • Member management (e.g. add/remove) • Controller management (e.g. addReplica/removeReplica) • Host management (e.g. registerHost/unregisterHost) 8
  • 10. Liberty Admin API • JMX MBeans • REST API • Mapping to MBeans • REST-only – e.g. File Transfer • Admin Center – Web UI 9
  • 11. Liberty Collective – Admin APIs 10 Liberty App Server feature: adminCenter-1.0 Liberty App Server feature: collectiveMember-1.0 Liberty App Server feature: collectiveMember-1.0 Liberty App Server feature: collectiveMember-1.0 … JMX or REST caller proxied calls
  • 12. Scripting • Any Java-enabled language (e.g. Jython, JRuby, Groovy, etc) • Any REST-capable language (e.g. Python, CURL, Go, etc) • Liberty does not ship a script language runtime • Samples on wasdev.net 11
  • 13. Application Deployment • Best practices • Server package • Blue/Green deployment • 2 Models • Bottom up • Push out 12
  • 14. Bottom-up Deployment • Create server directly on target system 1. create server 1. file transfer server package (recommended) 2. use Liberty ‘server’ command (ok) 2. join to collective • Manually, scripted, or via dev-ops tool chain 13
  • 15. Example dev-ops tools chain (bottom up) 14 Jenkins Liberty store pkg/join
  • 16. Server Package Deployment: Managing Config 15 $WLP_USER_DIR/MyServer/ server.xml apps/ MyApp.war deploy (apply overrides) $WLP_USER_DIR/MyServer/ server.xml configDropins/ overrides/ prod.xml apps/ MyApp.war
  • 17. Controller Members Liberty Collective WebSphere Developer Tools FileTransfer Service Liberty Server Package Push Out DeploymentDeployTool Ready To Run!
  • 18. View Management – Tags • Assignable to host, server, app, cluster • Searchable in Admin Center 17
  • 19. Clustering • clusterMember-1.0 feature • opt-in model • cluster operations for start/stop/membership • supports application routing, HA and scale 18
  • 20. Auto-scaling • Policy-driven, elastic applications • scalingController-1.0 and scalingMember-1.0 features 19 <scalingDefinitions> <scalingPolicy id="cluster1Policy“ min=“2“ max=“5"> <metric name="CPU" min="10" max="70"/> <bind clusters="cluster1"/> </scalingPolicy> </scalingDefinitions>
  • 21. Auto-scaling … 20 Liberty App Server feature: scalingController-1.0 Liberty App Server feature: scalingMember-1.0 Liberty App Server feature: scalingMember-1.0 Liberty App Server feature: scalingMember-1.0 … Scaling policy application cluster dynamic start/stop Workload thresholds breaches
  • 22. Dynamic Routing • Dynamic mode in Web Server plugin for WAS • Dynamically/automatically obtains updates to WAS deployment. • No more re-generation of WAS plugin config. • Also available in Data Power • dynamicRouting-1.0 feature 21
  • 23. Dynamic Routing … 22 Liberty App Server feature: dynamicRouting-1.0 Liberty App Server feature: collectiveMember-1.0 app: ITSOWeb.war … IHS or DataPower Liberty App Server feature: collectiveMember-1.0 app: ITSOWeb.war Liberty App Server feature: collectiveMember-1.0 app: ITSOWeb.war http://.../ITSOWeb App routing info App routing info and changes are dynamically pushed to routing tier routing info and change publishing

Editor's Notes

  1. Loosely coupled multi-server management domain Comprised of collective controllers and collective members Collective controller provides management function Provided by collectiveController-1.0 feature Serves as registry of managed app servers Acts as management proxy Can be clustered active-active for HA and scale Collective member is an app server in the management domain Membership provided by collectiveMember-1.0 feature Members own their configuration (no centralized copy) Members join/leave collective via light-weight registration Members publish basic information about themselves to the registry Supported MBeans App Routing information
  2. Server package is app + server config + optionally Liberty runtime itself.