1 / 10

SNMP auto LVS balancing

SNMP auto LVS balancing. Jason Liptak. Overview. SNMP overview Network Setup Solution Lessons Learned Future. SNMP – purpose. Monitor Network Servers, Switches, Printers, etc. Change network remotely Community strings to access Public / Private Plain text Version 3 Added security.

zora
Download Presentation

SNMP auto LVS balancing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SNMP auto LVS balancing Jason Liptak

  2. Jason Liptak Overview • SNMP overview • Network Setup • Solution • Lessons Learned • Future

  3. Jason Liptak SNMP – purpose • Monitor Network • Servers, Switches, Printers, etc. • Change network remotely • Community strings to access • Public/ Private • Plain text • Version 3 • Added security

  4. Jason Liptak SNMP - Implementation • Agents running on devices to respond • Management information base (MIBs) • Describe structure layout of information • Tree layout via numbers specify object identifiers (OID) • Messages • Get(Request/NextRequest/BulkRequest) • SetRequest • Response

  5. Jason Liptak Goal • Using SNMP information • Change load balance of LVS • Preemptive load balancing • Extendable design to other MIBs

  6. Jason Liptak LVS -Access to internet -Access to local -Polls SNMP Server 1 -Access to local -Running SNMP -Running Web Service Server 2 -Access to local -Running SNMP -Running Web Service

  7. Jason Liptak Solution - Scripts • Schedule balance script to run • “at –f script now+1min” • Python script to monitor and modify • Change ipvsadm • Poll SNMP • Parse SNMP • SNMP parsing method • Dictionary tree

  8. Jason Liptak Solution - Calculation • Processor usage determines load • Large requests going to one server • Remotely accessing one server • Processor not running efficiently • Simple calculation • (100 – processor usage) • Sample calculation, easy to change via scripts

  9. Jason Liptak Lessons Learned • Needed better SNMP parsing • More efficient structure and parsing • Ability to aggregate OID sections • SNMP overhead • Specific subsections have unneeded information

  10. Jason Liptak Future • Calculations on more SNMP data • Memory • Interface speed • Processes • See SNMP overhead • Depends on targeted OIDs • Real test • Put in real world work loads and set up

More Related