Professional Documents
Culture Documents
LB Final
LB Final
5
New Component for Load Balancing for
SmartConnectors – BEFORE data received
Supports Syslog (udp/tcp) and File/Beta (ftp/scp)
Released as of 8th September 2015
Version 1.0 – INITIAL RELEASE
Use Cases
• Availability, reliability, and scalability.
– Overloaded SmartConnectors result in event loss and delayed collection
– Under-utilized SmartConnectors result in wasted resources
– Manual and tedious sizing and maintenance is necessary
– One SmartConnector becomes a single point of failure
What is the Load Balancer
What is the Load Balancer
What is the Load Balancer
• Features
– High Availability (HA) modes, which can be configured with two hosts
• HA mode as a peer – the host that starts first is the active node, the other secondary
• HA mode as primary/secondary – designated primary and secondary node
– Standalone mode using a single server
• No HA as running on one node
– Transports
• Syslog (udp/tcp)
• File/Beta (ftp/scp)
• The High Availability feature, which is available using peer or primary/secondary mode, currently works
only within the same subnet.
What is the Load Balancer
• Routing Policies
– Round Robin
• Distributes events, batches, or files to each available destination in the destination pool in round robin fashion, beginning
again at the start in a circular manner. File-based load balancing supports only the Round Robin policy.
– Aggregation Preferred
• Events from the same source are sent to the same destination until a threshold is reached. Then, it will switch the routing
to another destination. This routing policy is better suited if aggregation is enabled on Connector destinations where
events are sent to the same destination until certain load thresholds are met.
What is the Load Balancer
• Minimum Hardware
– CPU: 2 CPU X 4 Cores each (2 x Intel E5620, quad core, 2.4 Ghz or better)
– RAM: 16 GB
– Disk: 60 GB
– Number of network interfaces—1 Dedicated Gig Ethernet interface
• Only 1 network interface is supported
• Operating System
– RHEL 6.6 and 7.0 (64-bit only)
– CentOS 6.6 and 7.0 (64-bit only)
What is the Load Balancer
• SmartConnector Requirements
– HP ArcSight SmartConnector release 7.1.4.7475 / 7.1.3.7445 or later
– syslog daemon and/or file-based (beta)
– Remote Management must be enabled on SmartConnectors
• This is a differentiator vs. hardware load balancers
• Application level vs. session level
Primary/Secondary (one host is set as primary)
Peer (neither host is set as primary)
Standalone
File (beta)
How to install the Load Balancer
How to install the Load Balancer
How to install the Load Balancer
• Enable remote management for the SmartConnectors
• Add remote.management.enabled=true and remote.management.listener.port=9001 to the
$ARCSIGHT_HOME/user/agent/agent.properties file
• Can run agentsetup to do this through the GUI
Configuration of the Load Balancer
Configuration of the Load Balancer
• Confirm SmartConnectors are running & remote management is turned on
• Copy the appropriate .xml template file
– .xml template file
• High Availability (HA) modes lbConfig.xml.template
• Standalone mode lbConfig.xml.template.standalone
– Copy the appropriate .xml file…
• From $ARCSIGHT_HOME/config/loadbalancer
• To $ARCSIGHT_HOME/user/loadbalancer/
– Rename the .xml file to lbConfig.xml
Configuration of the Load Balancer
• Edit the lbConfig.xml with an XML editor like gedit
– Configure memberHosts
– Configure destinations and destinationPools
– Configure sources
– Configure routingRule
Set this value to true to designate a primary host when Load Balancer is running in
primarysecondary-mode
Only one host can be configured as the designated primary host.
To run Load Balancers in peer mode, set this value to false for both member hosts.
vipBindCommand: Specifies the full command used to bind the virtual IP address to this host.
Prior to configuring this, the Ethernet connection virtual IP address should have been configured
Be sure to use the absolute path when specifying the command. For example, if the virtual IP
address profile is located in:
/etc/sysconfig/network-scripts/ifcfg-eth0:1
specify:
sudo /sbin/ifup /etc/sysconfig/network-scripts/ifcfg-eth0:1.
2
E E
2 E
3
VIP
4 10.x.1.1
3 E
SmartConnector LB SmartConnector LB
Side by side Load
Example with three events
balancing comparison
Traditional Hardware ArcSight Application 1 2
1 2
1: Traditional Hardware – All three event when to 1st connector 1: ArcSight Application LB – Distributed to all SmartConnectors
2: Traditional Hardware – All three event when to 1st Logger 2: ArcSight Application LB – Distributed to all Loggers
Comparison Summary
Hardware Network Load Balancer Application Load Balancer
Extra cost for hardware SmartConnector Load Balancer bundled
Network (Hardware) Load balancer in the ArcSight solution
• the focus is on establishing and Application Level Load Balancing
maintaining connection between end- • Load balancing at the event (application
points (more at network and transport layer 7 of OSI model)
layer 4 protocols like IP, TCP, FTP, UDP • TCP support is easy to configure since it
of the OSI model) agnostic to network transport protocol
• TCP is difficult to configure and get • TCP is more efficient (batching)
working • Load balancing support file based events