Selasa, 19 Januari 2021

Materi Load balance atau load balancing

Materi Load balance atau load balancing

Load balance atau load balancing adalah mekanisme mendistribusikan beban traffic pada dua jalur koneksi atau lebih secara seimbang, mempercepat waktu respon, agar traffic optimal, menghindari overload. Load balancing dibutuhkan ketika beban traffic sudah terlampau besar sehingga perlu sumber daya baru untuk dapat mengani traffik tersebut agar bisa optimal.

Berikut ini adalah beberapa manfaat load balancing :

  1. Meningkatkan kecepatan respon applikasi
  2. Meningkatkan kestabilan applikasi
  3. Memperkecil kemungkinan downtime
  4. dan banyak lagi lainya.

Terdapat beberapa tipe load balancing yaitu load balance dengan menggunakan hardware atau dengan menggunakan software. Adapun perbedaannya load balance hardware dan software antara lain:

  • Load balancer hardware anda membutuhkan membeli perangkat tersebut sedangkan software tidak.
  • Load balancer software lebih fleksibel karena anda bisa install di komputer server secara umum, sedangkan yg hardware tidak.
Kita bisa menerapkan load balance pada router mikrotik, webserver, database, email, smtp, dan banyak lagi lainya.











Contoh Konfigurasi Load Balance pad Mikrotik :

1. ISP INTERNET = ether1-ISP-1

2. ISP INTERNET = ether2-ISP-2

LAN LOCAL INETRENT = ether3-swicth

Tahap 1:

/ip firewall nat

add action=masquerade chain=srcnat out-interface=ether1-ISP-1

add action=masquerade chain=srcnat out-interface=ether2-ISP-2

Tahap 2:

/ip firewall mangle

add action=mark-connection chain=prerouting connection-mark=no-mark \in-interface=ether1-ISP-1 new-connection-mark=isp-1 passthrough=yes

add action=mark-connection chain=prerouting connection-mark=no-mark \in-interface=ether2-ISP-2 new-connection-mark=isp-2 passthrough=yes

add action=mark-connection chain=prerouting connection-mark=no-mark \in-interface=ether3-swicth new-connection-mark=isp-1 passthrough=yes \per-connection-classifier=both-addresses-and-ports:2/0

add action=mark-connection chain=prerouting connection-mark=no-mark \in-interface=ether3-swicth new-connection-mark=isp-2 passthrough=yes \per-connection-classifier=both-addresses-and-ports:2/1

add action=mark-routing chain=prerouting connection-mark=isp-1 in-interface=\ether3-swicth new-routing-mark=KE_ISP1 passthrough=yes

add action=mark-routing chain=prerouting connection-mark=isp-2 in-interface=\ether3-swicth new-routing-mark=KE_ISP2 passthrough=yes

add action=mark-routing chain=output connection-mark=isp-1 new-routing-mark=\KE_ISP1 passthrough=yes

add action=mark-routing chain=output connection-mark=isp-2 new-routing-mark=\KE_ISP2 passthrough=yes

Tahap 3:

/ip route

add check-gateway=ping distance=1 gateway=192.168.73.1 routing-mark=KE_ISP1

add check-gateway=ping distance=2 gateway=192.168.87.254 routing-mark=KE_ISP2

add check-gateway=ping distance=1 gateway=192.168.73.1

add check-gateway=ping distance=2 gateway=192.168.87.254

0 komentar:

Posting Komentar

Social Profiles

Twitter Facebook Google Plus LinkedIn RSS Feed Email Pinterest

Blogroll

1-tag:Videos-800px-video

About

Popular Posts

BTemplates.com

Diberdayakan oleh Blogger.

Campus

4-tag:Campus-500px-mosaic

Technology

Comments

3-comments

About

3-latest-65px

Cari Blog Ini

SEARCH

Travelling Diaries

Slider

Testimonials

3-tag:Testimonials-250px-testimonial

Entertainment

Ads block

Banner 728x90px

Courses

6-latest-350px-course

BTemplates.com

Blogroll

About

This just a demo text widget, you can use it to create an about text, for example.

Contact us-desc:Feel free to contact us at anytime about our courses and tutorials.

Nama

Email *

Pesan *

Header Background

Header Background
Header Background Image. Ideal width 1600px with.

Logo

Logo
Logo Image. Ideal width 300px.

Section Background

Section Background
Background image. Ideal width 1600px with.

Section Background

Section Background
Background image. Ideal width 1600px with.

Section Background

Section Background

About

3-tag:Courses-65px

Restaurants

Pages - Menu

Pages - Menu

Popular Posts

BTemplates.com

Blogroll

Blogger news

About

Copyright © MATERI KJD | Powered by Blogger
Design by Lizard Themes | Blogger Theme by Lasantha - PremiumBloggerTemplates.com