• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install and setup Snapt - Load Balancer in Centos

{{postValue.id}}

To install and setup Snapt- Load Balancer in Centos

Load Balancer is an agent to control the network traffic over your web server. It increases the capacity and reliability of all the applications. Snapt tool is used to setup load balancer in Graphical User Interface. Installation of Snapt is explained in this article.

Testing Environment

Load Balancer IP &ndash 192.168.5.141
Web Server 1 IP &ndash 192.168.5.142
Web Server 2 IP &ndash 192.168.5.148
Web Server 3 IP &ndash 192.168.5.149


Requirements
Make sure that your system contains http package and haproxy packages.
All the services should be active in all the above mentioned web server.

After setting up the requirements, download the Snapt tool from its official link https://www.snapt.net/


After downloading the package, extract it into the “ /” directory.

[root@linuxhelp ~]# ls 
anaconda-ks.cfg Desktop Documents Downloads initial-setup-ks.cfg Music Pictures Public SnaptBundle-10106769.tar.gz Templates Videos
[root@linuxhelp ~]# tar -C / -xzvf SnaptBundle-10106769.tar.gz 
usr/local/snapt/program/config/serial.snp
usr/local/snapt/program/config/license.snp
usr
usr/local
usr/local/snapt
usr/local/snapt/etc
usr/local/snapt/etc/lighttpd.conf
usr/local/snapt/etc/php.ini
usr/local/snapt/etc/pear.conf
usr/local/snapt/etc/mimetypes.conf
usr/local/snapt/share
.
.
.
usr/local/snapt/var
usr/local/snapt/var/log
usr/local/snapt/var/log/error.log
usr/local/snapt/var/run


Run the following command to install the lshw package for snapt.

[root@linuxhelp ~]# yum install lshw &ndash y 
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* extras: centos.excellmedia.net
* updates: centos.excellmedia.net
Resolving Dependencies
-->  Running transaction check
--->  Package lshw.x86_64 0:B.02.17-5.el7 will be installed
-->  Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================================================
Installing:
lshw x86_64 B.02.17-5.el7 base 275 k

Transaction Summary
===================================================================================================================================================================================
Install 1 Package
.
.
.
Transaction test succeeded
Running transaction
Installing : lshw-B.02.17-5.el7.x86_64 1/1
Verifying : lshw-B.02.17-5.el7.x86_64 1/1
Installed:
lshw.x86_64 0:B.02.17-5.el7
Complete


Once the extraction is completed, start the snapt by running the following command.

[root@linuxhelp ~]# /usr/local/snapt/start.sh 
Starting Snapt Standalone Webserver..
o Cleanup
o LD setup.
o Copy files.
o PHP link created.
o SQLite3 found.
o www group added.
o Adding www user.
o Adding cron task.
o Setting permissions.
o Setting wrapper suid.
o Starting webserver.
Snapt started on port 8080.


Open the browser and call the URL https://localhost:8080
localhost
Now lets start with the basic installation of Snapt.
snapt

Choose your desired OS.
install_snapt
Go_to_script
After the installation, Login to Snapt using the credentials.
Snapt_login

Now we have successfully logged in. Add the necessary plugins to start using it.
succesfully_logged_in
Click “ Plugin Management” to add the required plugins.
Plugin_Management
Install the plugins such as “ Snapt Balancer” , “ Snapt Cache” , “ Snapt Accelerator” , etc., as required.
Snapt_Balancer
Inside the “ Misc” tab, install “ Snapt Backup” and “ Snapt Redundancy” .
install_snapt_backup
Click on the Balancer tab and start installing “ Snapt Balancer SSL Termination” and “ Snapt Balancer HTTP Analyzer” .
start_installing
Go to Balancer and choose Backend Management in order to setup the Load balancer services.
Background_management
Then set the permission of the Snapt balancer.
snapt_balancer_permission
execute_command
Click Configure Integration to proceed further.
Configure_integration
Verify the haproxy directory path and click Finalise integration to complete the integration process.
harproxy_directory
Now click “ Revert Config” to revert all the configuration.
revert_config
Choose the installation wizard type.
installation_wizzard_type
Revert_config
Now set up the connection permissions and timeout limits.
wizzard_installation
Set the Snapt settings and click Save.
Snapt_settings
Configure the logging options and click Save
configure_logging_options
wizard_progress

Now its time to create load balancer, click Create a load balancer.
create_load_balancer
Choose the type of load balancer and add the nodes, web servers to be configured.
load_balancer_type

After adding the node details, click Add a wizard group.
Add_wizzard_group
Then start the load balancer service.
start_load_balancer
The Dashboard now displays the Balancer status.
balancer_status
To Start/Stop the load balancer services, Click “ START/STOP” tab.
start_tab
To view the complete server details, click Servers tab.

servers_tab
To view the balancer Live status, click on the Live Dashboard tab.

live_status

Tags:
jacob
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is snapt webspam?

A

Snapt WebSpam: a list of network ranges that contain a large number of known spammers, but can include legitimate users, use with caution.

Q

is it possible to make the load balancing in a single machine ?

A

That depends upon configuration of the load balance server

Q

What are the Snapt IP Blacklists?

A

Snapt provides a set of free IP blacklists to all WAF clients. These are automatically updated daily to show include the latest threats.

Q

Does snapt have graphical UI?

A

No, you have to start and stop from the terminal as a service by command line.

Q

What is Snapt HTTPScan?

A

Snapt HTTPScan is a list of single IPs that have performed HTTP vulnerability scans over the last 30 days.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Lucas ?
Various options in Top command

Am using Top command only to view the load average, what are the various options in Top command..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.