SlideShare a Scribd company logo
Module-4: Load Balancer Integration
1
Danairat T.
Line ID: Danairat
FB: Danairat Thanabodithammachari
+668-1559-1446
Contents
Module-4: Load Balancer Integration
• Creating HTTP Load Balancer
• Exporting loadbalancer.xml file from Glassfish Enterprise Server
• Installing Web Server and Load Balancer Plug-in
• Importing loadbalancer.xml file to Load Balancer Server
• Testing access Application from Load Balancer
• Reviewing Load Balancer http access log
• Monitoring Application Server Cluster
• Back up the Glassfish Domain, Load Balancer Clients, Clusters
configuration and Deployed Applications
• Reviewing Start All Servers Order
• Test deleting Load Balancer, Cluster, Instances and Restore
• Re-Testing the restored applications
• Reviewing Stop All Servers Order
2
The Architecture and Configuration Steps
3
app 01
- DAS
-Node Agent
“app01”
- Instance01
app 02
-Node Agent
“app02”
- Instance02
web 01 Session replication
Users
Load distribution
Load distribution
FirewallFirewall
request
LB Plug-in
Configuration Steps:-
• Creating HTTP Load Balancer
• Exporting loadbalancer.xml file from
Glassfish Enterprise Server
• Installing Web Server and Load
Balancer Plug-in
• Importing loadbalancer.xml file to
Load Balancer Server
• Testing access Application from
Load Balancer
• Reviewing Load Balancer http
access log
• Monitoring Application Server
Cluster
• Back up the Glassfish Domain,
Load Balancer Clients, Clusters
configuration and Deployed
Applications
• Reviewing Start All Servers Order
• Test deleting Load Balancer,
Cluster, Instances and Restore
• Re-Testing the restored applications
• Reviewing Stop All Servers Order
Creating HTTP Load Balancer
4
1. “HTTP Load Balancer” -> “New ”
2. Enter name “lb01” below details, click “OK”
Creating HTTP Load Balancer
5
3. Restart the instances by click “stop” -> “start”.
Exporting loadbalancer.xml file from Glassfish Enterprise Server
6
Click “Export Now ” from the “Export” tab menu in the “lb01”. Enter the file name as “loadbalance.xml”.
For this training, We will use this file to
import to load balance server (web01) later.
Installing Web Server and Load Balancer Plug-in
7
1. At machine “web01”, edit hosts file to be able to access “app01” and “app02”
2. Extract the .gz file to some directory
Installing Web Server and Load Balancer Plug-in
8
3. Run the “./setup” as below.
Installing Web Server and Load Balancer Plug-in
9
4. Follow the installation wizard created installed directory and select “custom”.
Installing Web Server and Load Balancer Plug-in
10
5. Select “Server Core”, “Administration Command Line”, “Sample Applications”.
6. Select install Java SE Development Kit (JDK) 1.5.0_15.
7. Select “Create an Admin Server,
Web Server Instance”
Installing Web Server and Load Balancer Plug-in
11
8. Enter the password. For this training, use “password”.
Installing Web Server and Load Balancer Plug-in
12
9. Click “Install Now”
Installing Web Server and Load Balancer Plug-in
13
10. Click “Finish” and review the installed directory.
Installing Web Server and Load Balancer Plug-in
14
11. Start Web admin server and instance server.
12. Test access at port 80
Installing Web Server and Load Balancer Plug-in
15
13. Monitor access log and error log at /sun/webserver7/https-web01/logs/
Installing Web Server and Load Balancer Plug-in
16
1. At web01 machine, start http “admin-server “and stop “https-web01” instance.
Installing The Glassfish Load Balancer Plugin for Sun WebServer
Installing Web Server and Load Balancer Plug-in
17
2. Run the setup file (using the same one as set up the Application Server)
Installing Web Server and Load Balancer Plug-in
18
3. Follow the installation and Create the installed directory.
Installing Web Server and Load Balancer Plug-in
19
4. Select only “Load Balancing Plugin”, “No Administration Tools”
5. Use existing JDK
Installing Web Server and Load Balancer Plug-in
20
6. Enter your web instance installed location
7. Enter web server admin’s password.
Installing Web Server and Load Balancer Plug-in
21
8. Follow the installation step and click “Finish”.
Installing Web Server and Load Balancer Plug-in
22
9. Review the Load Balancer Plugin installed location.
Importing loadbalancer.xml file to Load Balancer Server
23
1. Copy “loadbalancer.xml” which export from AppServer to /sun/webserver7/https-web01/config
2. (Re)start web server instance
Monitor the Load Balancer Server
24
Monitor the load balance health check status.
Testing access Application from Load Balancer
25
1. At app01 machine, start app01 DAS and node agent
Testing access Application from Load Balancer
26
2. At app02 machine, start app02 node agent
Testing access Application from Load Balancer
27
3. Test access the web application from web01 load balancer. Success!
Testing access Application from Load Balancer
28
4. Test add session data.
Testing access Application from Load Balancer
29
5. Test stop the instance which is now service to the user session.
Testing access Application from Load Balancer
30
6. Click “Reload Page”
7. The Load Balancer perform “Fail Over” to another machine instance. Success!
The User Session is
maintainable after “Fail Over”
Testing access Application from Load Balancer
31
8. Start all instances
Testing access Application from Load Balancer
32
9. Stop another instance to test Load Balance again
Testing access Application from Load Balancer
33
10. Monitor the Load Balancer Health Check at web01 machine /sun/webserver7/https-web01/logs/errors
The LB detected
the app01 is in
unHealthy state
Testing access Application from Load Balancer
34
11. Re-test, Click “Reload Page”
12. The Load Balancer performs “Fail Over” from
app01 to “app02”
The User Session is
maintainable after “Fail Over”
Testing access Application from Load Balancer
35
13. Start all instances to return the server in normal state.
Testing access Application from Load Balancer
36
14. Monitor the Load Balancer Health Check at web01 machine /sun/webserver7/https-web01/logs/errors
The LB detected
that app01 is in
a healthy state
Reviewing Load Balancer http access log
37
You can monitor the LB access log at /sun/webserver7/https-web01/logs/access
Monitoring Application Server Cluster
38
1. From “cluster01” menu, you can click on each instance to see the status details
Monitoring Application Server Cluster
39
2. Review the Log. Testing the “Call Flow” monitoring by click “Enabled” and “Save”
Monitoring Application Server Cluster
40
3. Test access application via LB and see the “Call Flow” data details
Monitoring Application Server Cluster
41
4. Review the Monitor -> “Runtime status
Monitoring Application Server Cluster
42
5. Test “Generate Report” to see the cluster diagnostic data.
Monitoring Application Server Cluster
43
6. The result report can be viewed by Web Browser
Monitoring Application Server Cluster
44
7. The result report is also including the node agents details
Monitoring Application Server Cluster
45
8. The cluster Log configuration is separated from the default “Server” configuration
9. The “Availability Service” is enabled by default
Monitoring Application Server Cluster
46
10. Review the Web Container, EJB Container and JMS Availability.
Monitoring Application Server Cluster
47
11. You can see the “Listener Port” number from the cluster -> Instance or from “System Properties” menu
Monitoring Application Server Cluster
48
12. The “GMS” for cluster communication properties
Monitoring Application Server Cluster
49
13. The default port numbers for each available services
Monitoring Application Server Cluster
50
14. The JVM setting is subject to provide the Java Virtual Machine Optimization
Back up the Glassfish Domain, Load Balancer Clients, Clusters
configuration and Deployed Applications
51
1. At app01 machine, Stop node agent and DAS then run backup command.
Back up the Glassfish Domain, Load Balancer Clients, Clusters
configuration and Deployed Applications
52
2. Review the backup content details
Reviewing Start All Servers Order
53
1. At app01, Start DAS, node agent.
Reviewing Start All Servers Order
54
2. At app02, start node agent
3. Start Web Server which is now act as Load Balancer
4. Test access
application via
LB.
Test deleting Load Balancer, Cluster, Instances and Restore
55
1. Test deleting Load Balancer configuration 2. Continue deleting the Cluster.
Test deleting Load Balancer, Cluster, Instances and Restore
56
3. After delete cluster and Load Balancer from DAS and access application from http://web01,
The application will display “unavailable”
Re-Testing the restored applications
57
4. At app01, stop node agent and DAS 5. Restore from backup file
Re-Testing the restored applications
58
6. At app01, start DAS and node agent
7. At app02, start node
agent
Re-Testing the restored applications
59
8. Login to admin console and review all configuration were came back from the restore
Re-Testing the restored applications
60
9. The application is now back to service after done restore. Success
Re-Testing the restored applications
61
10. Test add session data to the web application which is located in “app01”
Re-Testing the restored applications
62
11. Test stop instance01 which is now service to user session.
Re-Testing the restored applications
63
12. The Load Balancer from “web01” detected the “app01” is in unhealthy state.
tail -f /sun/webserver7/https-web01/logs/errors
Re-Testing the restored applications
64
13. Click “Refresh Page” 14. Fail Over to “app02”. Success
Re-Testing the restored applications
65
15. Start all instances to be in normal state.
Re-Testing the restored applications
66
16. Monitor the Load Balancer Health Check at web01 machine /sun/webserver7/https-web01/logs/errors
The LB detected
that app01 is in
a healthy state
Reviewing Stop All Servers Order
67
1. Stop Web Server 2. Stop node agent and app02 3. Stop node agent and DAS at app01
68
Danairat T.
Line ID: Danairat
FB: Danairat Thanabodithammachari
+668-1559-1446
Thank you
Ad

More Related Content

What's hot (20)

Servlets
ServletsServlets
Servlets
Geethu Mohan
 
Servlets lecture1
Servlets lecture1Servlets lecture1
Servlets lecture1
Tata Consultancy Services
 
Introduction to Spring Boot
Introduction to Spring BootIntroduction to Spring Boot
Introduction to Spring Boot
Purbarun Chakrabarti
 
Lecture 3: Servlets - Session Management
Lecture 3:  Servlets - Session ManagementLecture 3:  Servlets - Session Management
Lecture 3: Servlets - Session Management
Fahad Golra
 
Web Tech Java Servlet Update1
Web Tech   Java Servlet Update1Web Tech   Java Servlet Update1
Web Tech Java Servlet Update1
vikram singh
 
Chapter 3 servlet & jsp
Chapter 3 servlet & jspChapter 3 servlet & jsp
Chapter 3 servlet & jsp
Jafar Nesargi
 
JDBC
JDBCJDBC
JDBC
Manjunatha RK
 
An Introduction To Java Web Technology
An Introduction To Java Web TechnologyAn Introduction To Java Web Technology
An Introduction To Java Web Technology
vikram singh
 
Knowledge Sharing : Java Servlet
Knowledge Sharing : Java ServletKnowledge Sharing : Java Servlet
Knowledge Sharing : Java Servlet
Fahmi Jafar
 
1 java servlets and jsp
1   java servlets and jsp1   java servlets and jsp
1 java servlets and jsp
Ankit Minocha
 
Session And Cookies In Servlets - Java
Session And Cookies In Servlets - JavaSession And Cookies In Servlets - Java
Session And Cookies In Servlets - Java
JainamParikh3
 
Horizontal clustering configuration steps
Horizontal clustering configuration steps Horizontal clustering configuration steps
Horizontal clustering configuration steps
TUSHAR VARSHNEY
 
Servletarchitecture,lifecycle,get,post
Servletarchitecture,lifecycle,get,postServletarchitecture,lifecycle,get,post
Servletarchitecture,lifecycle,get,post
vamsi krishna
 
Soa installation
Soa installationSoa installation
Soa installation
xavier john
 
Javax.servlet,http packages
Javax.servlet,http packagesJavax.servlet,http packages
Javax.servlet,http packages
vamsi krishna
 
Servlets
ServletsServlets
Servlets
Ravi Kant Sahu
 
Virtual Hosts Configuration with Weblogic Server
Virtual Hosts Configuration with Weblogic ServerVirtual Hosts Configuration with Weblogic Server
Virtual Hosts Configuration with Weblogic Server
Pawan Kumar
 
Spring 4 final xtr_presentation
Spring 4 final xtr_presentationSpring 4 final xtr_presentation
Spring 4 final xtr_presentation
sourabh aggarwal
 
JDBC in Servlets
JDBC in ServletsJDBC in Servlets
JDBC in Servlets
Eleonora Ciceri
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
Rajind Ruparathna
 
Lecture 3: Servlets - Session Management
Lecture 3:  Servlets - Session ManagementLecture 3:  Servlets - Session Management
Lecture 3: Servlets - Session Management
Fahad Golra
 
Web Tech Java Servlet Update1
Web Tech   Java Servlet Update1Web Tech   Java Servlet Update1
Web Tech Java Servlet Update1
vikram singh
 
Chapter 3 servlet & jsp
Chapter 3 servlet & jspChapter 3 servlet & jsp
Chapter 3 servlet & jsp
Jafar Nesargi
 
An Introduction To Java Web Technology
An Introduction To Java Web TechnologyAn Introduction To Java Web Technology
An Introduction To Java Web Technology
vikram singh
 
Knowledge Sharing : Java Servlet
Knowledge Sharing : Java ServletKnowledge Sharing : Java Servlet
Knowledge Sharing : Java Servlet
Fahmi Jafar
 
1 java servlets and jsp
1   java servlets and jsp1   java servlets and jsp
1 java servlets and jsp
Ankit Minocha
 
Session And Cookies In Servlets - Java
Session And Cookies In Servlets - JavaSession And Cookies In Servlets - Java
Session And Cookies In Servlets - Java
JainamParikh3
 
Horizontal clustering configuration steps
Horizontal clustering configuration steps Horizontal clustering configuration steps
Horizontal clustering configuration steps
TUSHAR VARSHNEY
 
Servletarchitecture,lifecycle,get,post
Servletarchitecture,lifecycle,get,postServletarchitecture,lifecycle,get,post
Servletarchitecture,lifecycle,get,post
vamsi krishna
 
Soa installation
Soa installationSoa installation
Soa installation
xavier john
 
Javax.servlet,http packages
Javax.servlet,http packagesJavax.servlet,http packages
Javax.servlet,http packages
vamsi krishna
 
Virtual Hosts Configuration with Weblogic Server
Virtual Hosts Configuration with Weblogic ServerVirtual Hosts Configuration with Weblogic Server
Virtual Hosts Configuration with Weblogic Server
Pawan Kumar
 
Spring 4 final xtr_presentation
Spring 4 final xtr_presentationSpring 4 final xtr_presentation
Spring 4 final xtr_presentation
sourabh aggarwal
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
Rajind Ruparathna
 

Similar to Glassfish JEE Server Administration - Module 4 Load Balancer (20)

LoadUI web performance testing tool
LoadUI web performance testing toolLoadUI web performance testing tool
LoadUI web performance testing tool
Milind Rupchandani
 
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Vishal Parekh
 
5) running applications
5) running applications5) running applications
5) running applications
techbed
 
IUG ATL PC 9.5
IUG ATL PC 9.5IUG ATL PC 9.5
IUG ATL PC 9.5
Rizwan Mohammed
 
vCenter Hyperic Administration Guide 5.8
vCenter Hyperic Administration Guide 5.8vCenter Hyperic Administration Guide 5.8
vCenter Hyperic Administration Guide 5.8
Kumaran Balachandran
 
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
( 16 ) Office 2007   Create An Extranet Site With Forms Authentication( 16 ) Office 2007   Create An Extranet Site With Forms Authentication
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
LiquidHub
 
Oracle autovue
Oracle autovueOracle autovue
Oracle autovue
Osama Mustafa
 
How to make a Load Testing with Visual Studio 2012
How to make a Load Testing with Visual Studio 2012How to make a Load Testing with Visual Studio 2012
How to make a Load Testing with Visual Studio 2012
Chen-Tien Tsai
 
Building microservices sample application
Building microservices sample applicationBuilding microservices sample application
Building microservices sample application
Anil Allewar
 
Selenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunnerSelenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunner
Murageppa-QA
 
Advanced Load Runner
Advanced Load RunnerAdvanced Load Runner
Advanced Load Runner
telab
 
WSUS Deployment on Windows Server 2008
WSUS Deployment on Windows Server 2008WSUS Deployment on Windows Server 2008
WSUS Deployment on Windows Server 2008
SolarWinds
 
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
VMworld
 
TECHNICAL WHITE PAPER▸ NetBackup 7.6 Plugin for VMware vCenter
TECHNICAL WHITE PAPER▸ NetBackup 7.6 Plugin for VMware vCenterTECHNICAL WHITE PAPER▸ NetBackup 7.6 Plugin for VMware vCenter
TECHNICAL WHITE PAPER▸ NetBackup 7.6 Plugin for VMware vCenter
Symantec
 
Dev ops & laas fundamental
Dev ops & laas fundamentalDev ops & laas fundamental
Dev ops & laas fundamental
Kanin Kearpimy
 
Oracle appsloadtestbestpractices
Oracle appsloadtestbestpracticesOracle appsloadtestbestpractices
Oracle appsloadtestbestpractices
sonusaini69
 
09. OPC DA with Measurement Studio 2019.pdf
09. OPC DA with Measurement Studio 2019.pdf09. OPC DA with Measurement Studio 2019.pdf
09. OPC DA with Measurement Studio 2019.pdf
ManhHoangVan
 
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
Kasun Gajasinghe
 
WSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2 Dep Sync for Artifact Synchronization of Cluster NodesWSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2
 
Spring Live Sample Chapter
Spring Live Sample ChapterSpring Live Sample Chapter
Spring Live Sample Chapter
Syed Shahul
 
LoadUI web performance testing tool
LoadUI web performance testing toolLoadUI web performance testing tool
LoadUI web performance testing tool
Milind Rupchandani
 
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Vishal Parekh
 
5) running applications
5) running applications5) running applications
5) running applications
techbed
 
vCenter Hyperic Administration Guide 5.8
vCenter Hyperic Administration Guide 5.8vCenter Hyperic Administration Guide 5.8
vCenter Hyperic Administration Guide 5.8
Kumaran Balachandran
 
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
( 16 ) Office 2007   Create An Extranet Site With Forms Authentication( 16 ) Office 2007   Create An Extranet Site With Forms Authentication
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
LiquidHub
 
How to make a Load Testing with Visual Studio 2012
How to make a Load Testing with Visual Studio 2012How to make a Load Testing with Visual Studio 2012
How to make a Load Testing with Visual Studio 2012
Chen-Tien Tsai
 
Building microservices sample application
Building microservices sample applicationBuilding microservices sample application
Building microservices sample application
Anil Allewar
 
Selenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunnerSelenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunner
Murageppa-QA
 
Advanced Load Runner
Advanced Load RunnerAdvanced Load Runner
Advanced Load Runner
telab
 
WSUS Deployment on Windows Server 2008
WSUS Deployment on Windows Server 2008WSUS Deployment on Windows Server 2008
WSUS Deployment on Windows Server 2008
SolarWinds
 
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
VMworld
 
TECHNICAL WHITE PAPER▸ NetBackup 7.6 Plugin for VMware vCenter
TECHNICAL WHITE PAPER▸ NetBackup 7.6 Plugin for VMware vCenterTECHNICAL WHITE PAPER▸ NetBackup 7.6 Plugin for VMware vCenter
TECHNICAL WHITE PAPER▸ NetBackup 7.6 Plugin for VMware vCenter
Symantec
 
Dev ops & laas fundamental
Dev ops & laas fundamentalDev ops & laas fundamental
Dev ops & laas fundamental
Kanin Kearpimy
 
Oracle appsloadtestbestpractices
Oracle appsloadtestbestpracticesOracle appsloadtestbestpractices
Oracle appsloadtestbestpractices
sonusaini69
 
09. OPC DA with Measurement Studio 2019.pdf
09. OPC DA with Measurement Studio 2019.pdf09. OPC DA with Measurement Studio 2019.pdf
09. OPC DA with Measurement Studio 2019.pdf
ManhHoangVan
 
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
Kasun Gajasinghe
 
WSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2 Dep Sync for Artifact Synchronization of Cluster NodesWSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2
 
Spring Live Sample Chapter
Spring Live Sample ChapterSpring Live Sample Chapter
Spring Live Sample Chapter
Syed Shahul
 
Ad

More from Danairat Thanabodithammachari (20)

Thailand State Enterprise - Business Architecture and SE-AM
Thailand State Enterprise - Business Architecture and SE-AMThailand State Enterprise - Business Architecture and SE-AM
Thailand State Enterprise - Business Architecture and SE-AM
Danairat Thanabodithammachari
 
Agile Management
Agile ManagementAgile Management
Agile Management
Danairat Thanabodithammachari
 
Agile Organization and Enterprise Architecture v1129 Danairat
Agile Organization and Enterprise Architecture v1129 DanairatAgile Organization and Enterprise Architecture v1129 Danairat
Agile Organization and Enterprise Architecture v1129 Danairat
Danairat Thanabodithammachari
 
Blockchain for Management
Blockchain for ManagementBlockchain for Management
Blockchain for Management
Danairat Thanabodithammachari
 
Enterprise Architecture and Agile Organization Management v1076 Danairat
Enterprise Architecture and Agile Organization Management v1076 DanairatEnterprise Architecture and Agile Organization Management v1076 Danairat
Enterprise Architecture and Agile Organization Management v1076 Danairat
Danairat Thanabodithammachari
 
Agile Enterprise Architecture - Danairat
Agile Enterprise Architecture - DanairatAgile Enterprise Architecture - Danairat
Agile Enterprise Architecture - Danairat
Danairat Thanabodithammachari
 
Digital Transformation, Enterprise Architecture, Big Data by Danairat
Digital Transformation, Enterprise Architecture, Big Data by DanairatDigital Transformation, Enterprise Architecture, Big Data by Danairat
Digital Transformation, Enterprise Architecture, Big Data by Danairat
Danairat Thanabodithammachari
 
Big data Hadoop Analytic and Data warehouse comparison guide
Big data Hadoop Analytic and Data warehouse comparison guideBig data Hadoop Analytic and Data warehouse comparison guide
Big data Hadoop Analytic and Data warehouse comparison guide
Danairat Thanabodithammachari
 
Big data hadooop analytic and data warehouse comparison guide
Big data hadooop analytic and data warehouse comparison guideBig data hadooop analytic and data warehouse comparison guide
Big data hadooop analytic and data warehouse comparison guide
Danairat Thanabodithammachari
 
Perl for System Automation - 01 Advanced File Processing
Perl for System Automation - 01 Advanced File ProcessingPerl for System Automation - 01 Advanced File Processing
Perl for System Automation - 01 Advanced File Processing
Danairat Thanabodithammachari
 
Perl Programming - 04 Programming Database
Perl Programming - 04 Programming DatabasePerl Programming - 04 Programming Database
Perl Programming - 04 Programming Database
Danairat Thanabodithammachari
 
Perl Programming - 03 Programming File
Perl Programming - 03 Programming FilePerl Programming - 03 Programming File
Perl Programming - 03 Programming File
Danairat Thanabodithammachari
 
Perl Programming - 02 Regular Expression
Perl Programming - 02 Regular ExpressionPerl Programming - 02 Regular Expression
Perl Programming - 02 Regular Expression
Danairat Thanabodithammachari
 
Perl Programming - 01 Basic Perl
Perl Programming - 01 Basic PerlPerl Programming - 01 Basic Perl
Perl Programming - 01 Basic Perl
Danairat Thanabodithammachari
 
Setting up Hadoop YARN Clustering
Setting up Hadoop YARN ClusteringSetting up Hadoop YARN Clustering
Setting up Hadoop YARN Clustering
Danairat Thanabodithammachari
 
JEE Programming - 03 Model View Controller
JEE Programming - 03 Model View ControllerJEE Programming - 03 Model View Controller
JEE Programming - 03 Model View Controller
Danairat Thanabodithammachari
 
JEE Programming - 06 Web Application Deployment
JEE Programming - 06 Web Application DeploymentJEE Programming - 06 Web Application Deployment
JEE Programming - 06 Web Application Deployment
Danairat Thanabodithammachari
 
JEE Programming - 02 The Containers
JEE Programming - 02 The ContainersJEE Programming - 02 The Containers
JEE Programming - 02 The Containers
Danairat Thanabodithammachari
 
Java Programming - 07 java networking
Java Programming - 07 java networkingJava Programming - 07 java networking
Java Programming - 07 java networking
Danairat Thanabodithammachari
 
Java Programming - 08 java threading
Java Programming - 08 java threadingJava Programming - 08 java threading
Java Programming - 08 java threading
Danairat Thanabodithammachari
 
Thailand State Enterprise - Business Architecture and SE-AM
Thailand State Enterprise - Business Architecture and SE-AMThailand State Enterprise - Business Architecture and SE-AM
Thailand State Enterprise - Business Architecture and SE-AM
Danairat Thanabodithammachari
 
Agile Organization and Enterprise Architecture v1129 Danairat
Agile Organization and Enterprise Architecture v1129 DanairatAgile Organization and Enterprise Architecture v1129 Danairat
Agile Organization and Enterprise Architecture v1129 Danairat
Danairat Thanabodithammachari
 
Enterprise Architecture and Agile Organization Management v1076 Danairat
Enterprise Architecture and Agile Organization Management v1076 DanairatEnterprise Architecture and Agile Organization Management v1076 Danairat
Enterprise Architecture and Agile Organization Management v1076 Danairat
Danairat Thanabodithammachari
 
Digital Transformation, Enterprise Architecture, Big Data by Danairat
Digital Transformation, Enterprise Architecture, Big Data by DanairatDigital Transformation, Enterprise Architecture, Big Data by Danairat
Digital Transformation, Enterprise Architecture, Big Data by Danairat
Danairat Thanabodithammachari
 
Big data Hadoop Analytic and Data warehouse comparison guide
Big data Hadoop Analytic and Data warehouse comparison guideBig data Hadoop Analytic and Data warehouse comparison guide
Big data Hadoop Analytic and Data warehouse comparison guide
Danairat Thanabodithammachari
 
Big data hadooop analytic and data warehouse comparison guide
Big data hadooop analytic and data warehouse comparison guideBig data hadooop analytic and data warehouse comparison guide
Big data hadooop analytic and data warehouse comparison guide
Danairat Thanabodithammachari
 
Perl for System Automation - 01 Advanced File Processing
Perl for System Automation - 01 Advanced File ProcessingPerl for System Automation - 01 Advanced File Processing
Perl for System Automation - 01 Advanced File Processing
Danairat Thanabodithammachari
 
Ad

Recently uploaded (20)

Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Solidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license codeSolidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license code
aneelaramzan63
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Maxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINKMaxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINK
younisnoman75
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Not So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java WebinarNot So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java Webinar
Tier1 app
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Solidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license codeSolidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license code
aneelaramzan63
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Maxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINKMaxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINK
younisnoman75
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Not So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java WebinarNot So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java Webinar
Tier1 app
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 

Glassfish JEE Server Administration - Module 4 Load Balancer

  • 1. Module-4: Load Balancer Integration 1 Danairat T. Line ID: Danairat FB: Danairat Thanabodithammachari +668-1559-1446
  • 2. Contents Module-4: Load Balancer Integration • Creating HTTP Load Balancer • Exporting loadbalancer.xml file from Glassfish Enterprise Server • Installing Web Server and Load Balancer Plug-in • Importing loadbalancer.xml file to Load Balancer Server • Testing access Application from Load Balancer • Reviewing Load Balancer http access log • Monitoring Application Server Cluster • Back up the Glassfish Domain, Load Balancer Clients, Clusters configuration and Deployed Applications • Reviewing Start All Servers Order • Test deleting Load Balancer, Cluster, Instances and Restore • Re-Testing the restored applications • Reviewing Stop All Servers Order 2
  • 3. The Architecture and Configuration Steps 3 app 01 - DAS -Node Agent “app01” - Instance01 app 02 -Node Agent “app02” - Instance02 web 01 Session replication Users Load distribution Load distribution FirewallFirewall request LB Plug-in Configuration Steps:- • Creating HTTP Load Balancer • Exporting loadbalancer.xml file from Glassfish Enterprise Server • Installing Web Server and Load Balancer Plug-in • Importing loadbalancer.xml file to Load Balancer Server • Testing access Application from Load Balancer • Reviewing Load Balancer http access log • Monitoring Application Server Cluster • Back up the Glassfish Domain, Load Balancer Clients, Clusters configuration and Deployed Applications • Reviewing Start All Servers Order • Test deleting Load Balancer, Cluster, Instances and Restore • Re-Testing the restored applications • Reviewing Stop All Servers Order
  • 4. Creating HTTP Load Balancer 4 1. “HTTP Load Balancer” -> “New ” 2. Enter name “lb01” below details, click “OK”
  • 5. Creating HTTP Load Balancer 5 3. Restart the instances by click “stop” -> “start”.
  • 6. Exporting loadbalancer.xml file from Glassfish Enterprise Server 6 Click “Export Now ” from the “Export” tab menu in the “lb01”. Enter the file name as “loadbalance.xml”. For this training, We will use this file to import to load balance server (web01) later.
  • 7. Installing Web Server and Load Balancer Plug-in 7 1. At machine “web01”, edit hosts file to be able to access “app01” and “app02” 2. Extract the .gz file to some directory
  • 8. Installing Web Server and Load Balancer Plug-in 8 3. Run the “./setup” as below.
  • 9. Installing Web Server and Load Balancer Plug-in 9 4. Follow the installation wizard created installed directory and select “custom”.
  • 10. Installing Web Server and Load Balancer Plug-in 10 5. Select “Server Core”, “Administration Command Line”, “Sample Applications”. 6. Select install Java SE Development Kit (JDK) 1.5.0_15. 7. Select “Create an Admin Server, Web Server Instance”
  • 11. Installing Web Server and Load Balancer Plug-in 11 8. Enter the password. For this training, use “password”.
  • 12. Installing Web Server and Load Balancer Plug-in 12 9. Click “Install Now”
  • 13. Installing Web Server and Load Balancer Plug-in 13 10. Click “Finish” and review the installed directory.
  • 14. Installing Web Server and Load Balancer Plug-in 14 11. Start Web admin server and instance server. 12. Test access at port 80
  • 15. Installing Web Server and Load Balancer Plug-in 15 13. Monitor access log and error log at /sun/webserver7/https-web01/logs/
  • 16. Installing Web Server and Load Balancer Plug-in 16 1. At web01 machine, start http “admin-server “and stop “https-web01” instance. Installing The Glassfish Load Balancer Plugin for Sun WebServer
  • 17. Installing Web Server and Load Balancer Plug-in 17 2. Run the setup file (using the same one as set up the Application Server)
  • 18. Installing Web Server and Load Balancer Plug-in 18 3. Follow the installation and Create the installed directory.
  • 19. Installing Web Server and Load Balancer Plug-in 19 4. Select only “Load Balancing Plugin”, “No Administration Tools” 5. Use existing JDK
  • 20. Installing Web Server and Load Balancer Plug-in 20 6. Enter your web instance installed location 7. Enter web server admin’s password.
  • 21. Installing Web Server and Load Balancer Plug-in 21 8. Follow the installation step and click “Finish”.
  • 22. Installing Web Server and Load Balancer Plug-in 22 9. Review the Load Balancer Plugin installed location.
  • 23. Importing loadbalancer.xml file to Load Balancer Server 23 1. Copy “loadbalancer.xml” which export from AppServer to /sun/webserver7/https-web01/config 2. (Re)start web server instance
  • 24. Monitor the Load Balancer Server 24 Monitor the load balance health check status.
  • 25. Testing access Application from Load Balancer 25 1. At app01 machine, start app01 DAS and node agent
  • 26. Testing access Application from Load Balancer 26 2. At app02 machine, start app02 node agent
  • 27. Testing access Application from Load Balancer 27 3. Test access the web application from web01 load balancer. Success!
  • 28. Testing access Application from Load Balancer 28 4. Test add session data.
  • 29. Testing access Application from Load Balancer 29 5. Test stop the instance which is now service to the user session.
  • 30. Testing access Application from Load Balancer 30 6. Click “Reload Page” 7. The Load Balancer perform “Fail Over” to another machine instance. Success! The User Session is maintainable after “Fail Over”
  • 31. Testing access Application from Load Balancer 31 8. Start all instances
  • 32. Testing access Application from Load Balancer 32 9. Stop another instance to test Load Balance again
  • 33. Testing access Application from Load Balancer 33 10. Monitor the Load Balancer Health Check at web01 machine /sun/webserver7/https-web01/logs/errors The LB detected the app01 is in unHealthy state
  • 34. Testing access Application from Load Balancer 34 11. Re-test, Click “Reload Page” 12. The Load Balancer performs “Fail Over” from app01 to “app02” The User Session is maintainable after “Fail Over”
  • 35. Testing access Application from Load Balancer 35 13. Start all instances to return the server in normal state.
  • 36. Testing access Application from Load Balancer 36 14. Monitor the Load Balancer Health Check at web01 machine /sun/webserver7/https-web01/logs/errors The LB detected that app01 is in a healthy state
  • 37. Reviewing Load Balancer http access log 37 You can monitor the LB access log at /sun/webserver7/https-web01/logs/access
  • 38. Monitoring Application Server Cluster 38 1. From “cluster01” menu, you can click on each instance to see the status details
  • 39. Monitoring Application Server Cluster 39 2. Review the Log. Testing the “Call Flow” monitoring by click “Enabled” and “Save”
  • 40. Monitoring Application Server Cluster 40 3. Test access application via LB and see the “Call Flow” data details
  • 41. Monitoring Application Server Cluster 41 4. Review the Monitor -> “Runtime status
  • 42. Monitoring Application Server Cluster 42 5. Test “Generate Report” to see the cluster diagnostic data.
  • 43. Monitoring Application Server Cluster 43 6. The result report can be viewed by Web Browser
  • 44. Monitoring Application Server Cluster 44 7. The result report is also including the node agents details
  • 45. Monitoring Application Server Cluster 45 8. The cluster Log configuration is separated from the default “Server” configuration 9. The “Availability Service” is enabled by default
  • 46. Monitoring Application Server Cluster 46 10. Review the Web Container, EJB Container and JMS Availability.
  • 47. Monitoring Application Server Cluster 47 11. You can see the “Listener Port” number from the cluster -> Instance or from “System Properties” menu
  • 48. Monitoring Application Server Cluster 48 12. The “GMS” for cluster communication properties
  • 49. Monitoring Application Server Cluster 49 13. The default port numbers for each available services
  • 50. Monitoring Application Server Cluster 50 14. The JVM setting is subject to provide the Java Virtual Machine Optimization
  • 51. Back up the Glassfish Domain, Load Balancer Clients, Clusters configuration and Deployed Applications 51 1. At app01 machine, Stop node agent and DAS then run backup command.
  • 52. Back up the Glassfish Domain, Load Balancer Clients, Clusters configuration and Deployed Applications 52 2. Review the backup content details
  • 53. Reviewing Start All Servers Order 53 1. At app01, Start DAS, node agent.
  • 54. Reviewing Start All Servers Order 54 2. At app02, start node agent 3. Start Web Server which is now act as Load Balancer 4. Test access application via LB.
  • 55. Test deleting Load Balancer, Cluster, Instances and Restore 55 1. Test deleting Load Balancer configuration 2. Continue deleting the Cluster.
  • 56. Test deleting Load Balancer, Cluster, Instances and Restore 56 3. After delete cluster and Load Balancer from DAS and access application from http://web01, The application will display “unavailable”
  • 57. Re-Testing the restored applications 57 4. At app01, stop node agent and DAS 5. Restore from backup file
  • 58. Re-Testing the restored applications 58 6. At app01, start DAS and node agent 7. At app02, start node agent
  • 59. Re-Testing the restored applications 59 8. Login to admin console and review all configuration were came back from the restore
  • 60. Re-Testing the restored applications 60 9. The application is now back to service after done restore. Success
  • 61. Re-Testing the restored applications 61 10. Test add session data to the web application which is located in “app01”
  • 62. Re-Testing the restored applications 62 11. Test stop instance01 which is now service to user session.
  • 63. Re-Testing the restored applications 63 12. The Load Balancer from “web01” detected the “app01” is in unhealthy state. tail -f /sun/webserver7/https-web01/logs/errors
  • 64. Re-Testing the restored applications 64 13. Click “Refresh Page” 14. Fail Over to “app02”. Success
  • 65. Re-Testing the restored applications 65 15. Start all instances to be in normal state.
  • 66. Re-Testing the restored applications 66 16. Monitor the Load Balancer Health Check at web01 machine /sun/webserver7/https-web01/logs/errors The LB detected that app01 is in a healthy state
  • 67. Reviewing Stop All Servers Order 67 1. Stop Web Server 2. Stop node agent and app02 3. Stop node agent and DAS at app01
  • 68. 68 Danairat T. Line ID: Danairat FB: Danairat Thanabodithammachari +668-1559-1446 Thank you