Administrasi Server Load Balancing. Load Balancing Load balancing means the ability to spread the load of processing for an application over a number.

Slides:



Advertisements
Similar presentations
Tableau Software Australia
Advertisements

XIr2 Recommended Performance Tuning Andy Erthal BI Practice Manager.
Experience with iRODS 4.0 Enabling Multisite Collaboration Presented by Richard Mansfield (Systems Engineer) Tuesday 9 th September iRODS User Group Meeting.
WSUS Presented by: Nada Abdullah Ahmed.
Capacity Planning and Predicting Growth for Vista Amy Edwards, Ezra Freeloe and George Hernandez University System of Georgia 2007.
Copyright 2007, Information Builders. Slide 1 Workload Distribution for the Enterprise Mark Nesson, Vashti Ragoonath June, 2008.
June 23rd, 2009Inflectra Proprietary InformationPage: 1 SpiraTest/Plan/Team Deployment Considerations How to deploy for high-availability and strategies.
1 Routing and Scheduling in Web Server Clusters. 2 Reference The State of the Art in Locally Distributed Web-server Systems Valeria Cardellini, Emiliano.
Cold Fusion High Availability “Taking It To The Next Level” Presenter: Jason Baker, Digital North Date:
SharePoint and SQL Server integration Demo: SQL Server Optimizing Configurations SQL Server 2014 for SharePoint 2013 Avoiding ginormous transaction.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Thirteen Performing Network.
Progress Report 11/1/01 Matt Bridges. Overview Data collection and analysis tool for web site traffic Lets website administrators know who is on their.
Analysis and Performance Information Systems 337 Prof. Harry Plantinga.
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
Load Sharing and Balancing - Saravanan Mathialagan Masters in Computer Science Georgia State University.
Module 14: Scalability and High Availability. Overview Key high availability features available in Oracle and SQL Server Key scalability features available.
Web Server Load Balancing/Scheduling Asima Silva Tim Sutherland.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Ten Configuring Windows Server 2008 for High.
Module 2 Deploying SharePoint Portal Server 2003.
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
Additional SugarCRM details for complete, functional, and portable deployment.
Monitoring and Troubleshooting Chapter 17. Review What role is required to share folders on Windows Server 2008 R2? What is the default permission listed.
Server Load Balancing. Introduction Why is load balancing of servers needed? If there is only one web server responding to all the incoming HTTP requests.
Research on cloud computing application in the peer-to-peer based video-on-demand systems Speaker : 吳靖緯 MA0G rd International Workshop.
DNN Performance & Scalability Planning, Evaluating & Improving : Part 2.
Module 5: Managing Public Folders. Overview Managing Public Folder Data Managing Network Access to Public Folders Publishing an Outlook 2003 Form Discussion:
Building Highly Scalable Websites Karol Jarkovsky Sr. Solution Architect
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
Windows 2000 Advanced Server and Clustering Prepared by: Tetsu Nagayama Russ Smith Dale Pena.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
Phone: Mega AS Consulting Ltd © 2007  CAT – the problem & the solution  Using the CAT - Administrator  Mega.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
DBI313. MetricOLTPDWLog Read/Write mixMostly reads, smaller # of rows at a time Scan intensive, large portions of data at a time, bulk loading Mostly.
Maintaining and Updating Windows Server Monitoring Windows Server It is important to monitor your Server system to make sure it is running smoothly.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs.
What is SAM-Grid? Job Handling Data Handling Monitoring and Information.
ESRI User Conference 2004 ArcSDE. Some Nuggets Setup Performance Distribution Geodatabase History.
 Load balancing is the process of distributing a workload evenly throughout a group or cluster of computers to maximize throughput.  This means that.
SMS Software Distribution. Overview  Explaining How SMS Distributes Software  Managing Distribution Points  Configuring Software Distribution and the.
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
Copyright 2007, Information Builders. Slide 1 Machine Sizing and Scalability Mark Nesson, Vashti Ragoonath June 2008.
Web Server Administration Chapter 4 Name Resolution.
Web Server Apache PHP HTTP Request User types URL into browser Address resolved if nec. We use directly Most browsers request.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
Module 14: Advanced Topics and Troubleshooting. Microsoft ® Windows ® Small Business Server (SBS) 2008 Management Console (Advanced Mode) Managing Windows.
Web Cache. What is Cache? Cache is the storing of data temporarily to improve performance. Cache exist in a variety of areas such as your CPU, Hard Disk.
Galaxy in Production Nate Coraor Galaxy Team Penn State University.
SQL Server 2016 – New Features Tilahun Endihnew March 12, 2016.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
Open Science Grid Configuring RSV OSG Resource & Service Validation Thomas Wang Grid Operations Center (OSG-GOC) Indiana University.
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
A Web Based Job Submission System for a Physics Computing Cluster David Jones IOP Particle Physics 2004 Birmingham 1.
SAP Business One 9.0 integration for SAP NetWeaver Installation and Technical Configuration 2013 March.
Understanding and Improving Server Performance
Consulting Services JobScheduler Architecture Decision Template
Troubleshooting Tools
Consulting Services JobScheduler Architecture Decision Template
Network Load Balancing
AC500 Web Server Basic module
IIS.
HC Hyper-V Module GUI Portal VPS Templates Web Console
SpiraTest/Plan/Team Deployment Considerations
Module P3 Practical: Building a webapp in nodejs and
AlwaysOn Availability Groups
5/7/2019 Map Reduce Map reduce.
Presentation transcript:

Administrasi Server Load Balancing

Load Balancing Load balancing means the ability to spread the load of processing for an application over a number of separate systems for an overall performance increase in processing incoming requests. Simple? Hanya membagi tugas kah? Pemisahan Web Server & Database Server apakah termasuk load balancing?

Load Balancing Load Balacing: Mendistribusikan Resource. Resource: Processor, Memory, Network, Storage On top of creating actions and responses, your processor also powers your operating system RAM overutilization is not as big a problem as CPU overconsumption but it can still cause significant performance impact Network for monitoring bandwidth with tools bwm-ng, ping, and traceroute Disk (storage) for monitoring disk usage with tools du and df

top

Prinsip Load balancing Primary principles: Split applications over a number of servers, balancing the load over a number of servers (such as separate web and database servers). Add specialist components to applications in order to balance the amount of processing needed for each application function, – Caching of common web site data, saving time on the collection of this data from disk, or the creation of this data from database entries, etc. Create additional servers that can collectively share the load, which can greatly increase the amount of processing power available to complete the tasks required by a server.

Perancangan Load Balancing Guiding Principles Understand your system Planning Monitoring and Testing

Topics Load Balancing Your Website Load Balancing Your Database Network Load Balancing

Load Balancing your Webiste Contoh kasus: Apache Apakah Apache yang terinstall sudah maksimal? Memaksimalkan Apache: - Disable Modul yang tidak dibutuhkan - Disabling DNS lookups - Compression

Load Balancing your Website

Distribute all incoming connections to your web site to a number of different web servers by using one or more load balancing servers. Reduce the overall load on the web servers, you also have good means of failover in case one of the web servers temporarily breaks down. The simplest setup requires at least two web servers and one load-balancing server.

Load Balancing your Website

Preparing the server Preparing the workers Testing the Load Balancer

Load Balancing your Website

Load Balancing your Database MySQL Cluster will depend on several nodes working together. One or more cluster management nodes to manage, configure, and oversee your cluster, one (though commonly several) data nodes on which to store your data, and one or more MySQL nodes (traditional MySQL servers) that execute SQL queries.

Load Balancing your Database

Sharing the workload Basic Routing Basic network connectivity testing Network Load Balancing

Round Robin Least Connection Source URI URL parameter Load Balancing Scheduling Algorithm

HTTP LOAD BALANCING DENGAN HAPROXY

Topologi

Konfigurasi HAProxy (1) Instalasi HAProxy −sudo apt-get install haproxy Enable haproxy – Buka file /etc/default/haproxy – Ubah bagian opsi ENABLED menjadi ENABLED=1 – Simpan perubahan Konfigurasi file /etc/haproxy/haproxy.cfg – Detail file konfigurasi ada di 3 slide selanjutnya

File Konfigurasi haproxy.cfg global log /dev/log local0 log /dev/log local1 notice user haproxy group haproxy daemon ……

File Konfigurasi haproxy.cfg (cont.) ……. defaults log global mode http option httplog option dontlognull contimeout 5000 clitimeout srvtimeout errorfile 400 /etc/haproxy/errors/400.http errorfile 403 /etc/haproxy/errors/403.http errorfile 408 /etc/haproxy/errors/408.http errorfile 500 /etc/haproxy/errors/500.http errorfile 502 /etc/haproxy/errors/502.http errorfile 503 /etc/haproxy/errors/503.http

File Konfigurasi haproxy.cfg (cont.) ……. listen webfarm :80 mode http stats enable stats uri /haproxy?stats balance roundrobin option httpclose option forwardfor server webserver :80 check server webserver :80 check nama load balancer IP/Port load balancer algoritma load balancing IP/Port webserver 1 IP/Port webserver 2

Konfigurasi HAProxy (2) Restart service haproxy – sudo service haproxy restart Catatan khusus : jika haproxy tidak dapat di-start/restart karena error socket binding, stop service apache2 – sudo service apache2 stop

Pengujian HAProxy Ubah isi file /var/www/html/index.html pada webserver1 – Webserver 1 Ubah isi file /var/www/html/index.html pada webserver2 – Webserver 2 Lakukan akses ke alamat load balancer lewat browser

Terima Kasih