เราสามารถ Config Report การทำงาน Loadbalancer เพื่อตรวจสอบสถานะการทำงานได้ โดยนำ Code ข้างล่างไปใส่ไว้ใน Path /etc/haproxy/haproxy.cfg stats enable stats hide-version stats uri /stats #จะเป็นการตั้งค่า URL ที่เรียกใช้งาน stats realm Haproxy\ Statistics stats auth haproxy:redhat # เป็นการตั้งค่าในส่วน User และ Password ในการ Login เข้าใช้งาน __________________________________________________________________________________________________ Netway Communication ให้บริการด้าน Load Balancer พื้นฐานสำหรับธุรกิจ เป็นตัวแทนแบรนด์ไอทีชั้นนำมากมาย Office 365, Google Workspace, Zendesk, SSL ฯลฯ เรามีเจ้าหน้าที่พร้อมดูแลคุณ 24 ชม. ติดต่อเราเพื่อสอบถามผลิตภัณฑ์ ขอราคา หรือปรึกษาเรื่องไอที ได้เลยค่ะ Line : @netway (มี @ ด้านหน้า) หรือ https://bit.ly/line-netway Facebook : m.me/netway.offcial Tel : 02-055-1095 Email : support@netway.co.th Web Chat : https://netway.co.th/ #ให้เราช่วยคุณเรื่องไอที #การสื่อสาร Netway #มีครบจบที่เดียว #Netway Communication #NetwayTraining #NetwayConnect #Load Balancer
การเพิ่ม Server ที่เป็น Webserver เข้าไปในเครื่อง Loadbalancer โดยการเข้าไปที่ path # nano -w /etc/haproxy/haproxy.cfg จากนั้นเลื่อนลงไปยัง config ด้านล่างจะแสดงให้เห็นถึงเครื่อง Webserver ที่ได้มีการใช้งานอยู่ Config การเชื่อมต่อ Webserver #---------------------------------------------------------------------# static backend for serving up images, stylesheets and such#---------------------------------------------------------------------#backend static# balance roundrobin# server static 127.0.0.1:4331 check##---------------------------------------------------------------------# round robin balancing between the various backends#---------------------------------------------------------------------backend LBbalance roundrobin server webserver1 172.168.10.10:80 cookie webserver1 check # backend server. server webserver2 172.168.10.11:80 cookie webserver2 check # backend server. จะเห็นได้ว่ามีการ Config ไว้ที่ 2 เครื่อง Webserver เมื่อเรามีเครื่อง Webserver เพิ่มเข้ามาอีกเราสามารถเพิ่มต่อจากเดิมได้เลย ตัวอย่างเช่น server webserver3 172.168.10.12:80 cookie webserver3 check เมื่อมีการเพิ่มค่าลงไปแล้วให้ทำการ Restart haproxy จากนั้นสามารถตรวจสอบ Status การทำงานได้ที่ URL ที่ เป็น stats ให้ทำการเพิ่มในส่วนของ /etc/hosts โดยการเพิ่มดังนี้ 172.168.10.10 webserver1.systemnetway.com webserver1 172.168.10.11 webserver2.systemnetway.com webserver2 172.168.10.12 webserver3.systemnetway.com webserver3 เป็นต้น __________________________________________________________________________________________________ Netway Communication ให้บริการด้าน Load Balancer พื้นฐานสำหรับธุรกิจ เป็นตัวแทนแบรนด์ไอทีชั้นนำมากมาย Office 365, Google Workspace, Zendesk, SSL ฯลฯ เรามีเจ้าหน้าที่พร้อมดูแลคุณ 24 ชม. ติดต่อเราเพื่อสอบถามผลิตภัณฑ์ ขอราคา หรือปรึกษาเรื่องไอที ได้เลยค่ะ Line : @netway (มี @ ด้านหน้า) หรือ https://bit.ly/line-netway Facebook : m.me/netway.offcial Tel : 02-055-1095 Email : support@netway.co.th Web Chat : https://netway.co.th/ #ให้เราช่วยคุณเรื่องไอที #การสื่อสาร Netway #มีครบจบที่เดียว #Netway Communication #NetwayTraining #NetwayConnect #Load Balancer
Code When / reason 200 access to stats page, and when replying to monitoring requests 301 when performing a redirection, depending on the configured code 302 when performing a redirection, depending on the configured code 303 when performing a redirection, depending on the configured code 307 when performing a redirection, depending on the configured code 308 when performing a redirection, depending on the configured code 400 for an invalid or too large request 401 when an authentication is required to perform the action (when accessing the stats page) 403 when a request is forbidden by a "block" ACL or "reqdeny" filter 408 when the request timeout strikes before the request is complete 500 when haproxy encounters an unrecoverable internal error, such as a memory allocation failure, which should never happen 502 when the server returns an empty, invalid or incomplete response, or when an "rspdeny" filter blocks the response. 503 when no server was available to handle the request, or in response to monitoring requests which match the "monitor fail" condition 504 when the response timeout strikes before the server responds __________________________________________________________________________________________________ Netway Communication ให้บริการด้าน Load Balancer พื้นฐานสำหรับธุรกิจ เป็นตัวแทนแบรนด์ไอทีชั้นนำมากมาย Office 365, Google Workspace, Zendesk, SSL ฯลฯ เรามีเจ้าหน้าที่พร้อมดูแลคุณ 24 ชม. ติดต่อเราเพื่อสอบถามผลิตภัณฑ์ ขอราคา หรือปรึกษาเรื่องไอที ได้เลยค่ะ Line : @netway (มี @ ด้านหน้า) หรือ https://bit.ly/line-netway Facebook : m.me/netway.offcial Tel : 02-055-1095 Email : support@netway.co.th Web Chat : https://netway.co.th/ #ให้เราช่วยคุณเรื่องไอที #การสื่อสาร Netway #มีครบจบที่เดียว #Netway Communication #NetwayTraining #NetwayConnect #Load Balancer
1. รายละเอียดบริการ เป็นบริการ Upgrade ทรัพยากรของเครื่อง Server เช่น CPU, RAM, Disk และ IP Address เพื่อการปรับ Max concurrent สำหรับบริการ Load Balancer 2. สิทธิในการร้องขอEmail เจ้าของ Client Account ที่สมัครไว้กับ netway.co.th 3. ขั้นตอนการสั่งซื้อหรือร้องขอ ส่งเมล์มาที่ support@netway.co.th แจ้งความประสงค์ในการ Upgrade Resource โดยให้ระบุขนาด RAM, CPU, Disk เป็นต้น ระบุเวลาที่สะดวกในการดำเนินการ 4. เงื่อนไขในการส่งมอบและระยะเวลาในการดำเนินการ หลังชำระค่าบริการ จะใช้เวลาในการดำเนินการและพร้อมส่งมอบไม่เกิน 10 นาที 5. บริการอื่น ๆ ที่เกียวข้อง บริการ Addon Service Standard Manage Premium Manage Dedicated IP Address Disk RAM CPU 6. ข้อห้ามและเงื่อนไขในการร้องขอบริการ การ Upgrade บริการสำหรับ Load Balancer จำเป็นต้อง Reboot Server ลูกค้าต้องระบุเวลาดำเนินการที่ชัดเจนให้กับเจ้าหน้าที่ทราบก่อนการดำเนินการการ Upgrade ต้องร้องขอบริการผ่าน Email เจ้าของ Client Account ที่สมัครกับ netway.co.th หรือได้รับมอบอำนาจจากผู้มีอำนาจหรือเจ้าของ Client Account เท่านั้น __________________________________________________________________________________________________ Netway Communication ให้บริการด้าน Load Balancer พื้นฐานสำหรับธุรกิจ เป็นตัวแทนแบรนด์ไอทีชั้นนำมากมาย Office 365 , Google Workspace , Zendesk , SSL ฯลฯ เรามีเจ้าหน้าที่พร้อมดูแลคุณ 24 ชม. ติดต่อเราเพื่อสอบถามผลิตภัณฑ์ ขอราคา หรือปรึกษาเรื่องไอที ได้เลยค่ะ Line : @netway (มี @ ด้านหน้า) หรือ https://bit.ly/line-netway Facebook : m.me/netway.offcial Tel : 02-055-1095 Email : support@netway.co.th Web Chat : https://netway.co.th/ #ให้เราช่วยคุณเรื่องไอที #การสื่อสาร Netway #มีครบจบที่เดียว #Netway Communication #NetwayTraining #NetwayConnect #Load Balancer
1. รายละเอียดบริการ เป็นบริการ Downgrade ทรัพยากรและบริการของเครื่อง Server เช่น CPU, RAM และบริการ Manage Server Service สำหรับ Load Balancer 2. สิทธิในการร้องขอ Email เจ้าของ Client Account ที่สมัครไว้กับ netway.co.th 3. ขั้นตอนการร้องขอ ลูกค้าสามารถร้องขอบริการได้โดย ส่งเมล์มาที่ support@netway.co.th ระบุ Resource ที่ต้องการ Downgrade เช่น RAM, CPU ระบุระยะเวลาที่พร้อมดำเนินการ การ Downgrade จะมี Downtime ลูกค้าจำเป็นต้องระบุเวลาที่สะดวกในการดำเนินการ 4. เงื่อนไขในการส่งมอบและระยะเวลาในการดำเนินการ ระยะเวลาในการดำเนินการและพร้อมส่งมอบไม่เกิน 10 นาที 5. ข้อห้ามและเงื่อนไขในการร้องขอบริการ การ Downgrade ต้องร้องขอบริการผ่าน Email เจ้าของ Client Account ที่สมัครกับ netway.co.th หรือได้รับมอบอำนาจจากผู้มีอำนาจหรือเจ้าของ Client Account เท่านั้น การ Downgrade ไม่สามารถโทรเข้ามาเพื่อร้องขอบริการได้ ต้องส่งอีเมล์เป็นลายลักษณ์อักษรจากเจ้าของ Client Account เท่านั้น การ Downgrade ไม่สามารถลดขนาด Disk ได้ ค่าบริการจะมีผลในรอบบิลถัดไปหลังการ Downgrade เสร็จสิ้น __________________________________________________________________________________________________ Netway Communication ให้บริการด้าน Load Balancer พื้นฐานสำหรับธุรกิจ เป็นตัวแทนแบรนด์ไอทีชั้นนำมากมาย Office 365, Google Workspace, Zendesk, SSL ฯลฯ เรามีเจ้าหน้าที่พร้อมดูแลคุณ 24 ชม. ติดต่อเราเพื่อสอบถามผลิตภัณฑ์ ขอราคา หรือปรึกษาเรื่องไอที ได้เลยค่ะ Line : @netway (มี @ ด้านหน้า) หรือ https://bit.ly/line-netway Facebook : m.me/netway.offcial Tel : 02-055-1095 Email : support@netway.co.th Web Chat : https://netway.co.th/ #ให้เราช่วยคุณเรื่องไอที #การสื่อสาร Netway #มีครบจบที่เดียว #Netway Communication #NetwayTraining #NetwayConnect #Load Balancer