Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:lslb:installation [2017/10/20 18:58]
Johathan Kagan
litespeed_wiki:lslb:installation [2019/05/17 21:31]
Kacey Schroeder [Upgrade]
Line 1: Line 1:
-====== LiteSpeed Web ADC Installation ====== 
- 
-LiteSpeed Web ADC is an affordable, high-performance layer 7 HTTP smart load balancer application. LiteSpeed Web ADC is feature-rich,​ secure, and efficient, offering more flexibility than similarly-priced load balancing software. This makes it an excellent choice for small enterprises looking to scale their applications beyond one server — both to improve service speed as well as reliability in case of hardware failure. 
- 
-**[[https://​www.litespeedtech.com/​products/​litespeed-web-adc|More Information]]** 
- 
-In this guide we will be showing you how to download and install LiteSpeed Web ADC. 
-===== Prerequisites ===== 
-  -A server running Linux or FreeBSD 6.x. 
-  -A valid [[#​licensing_options|LiteSpeed Web ADC License]]. 
- 
-Note: It is recommended to run LSLB on a machine separate from your web servers. It is also recommended that you have a dual NIC setup for your LSLB machine. One NIC with an assigned public IP address to handle public facing traffic, and one NIC in a private network with its own subnet (10.x.x.x or 192.168.x.x),​VLAN,​ or dedicated switch to handle traffic between LiteSpeed Web ADC and the backend. 
-===== Licensing Options ===== 
- 
-[[https://​store.litespeedtech.com/​store/​cart.php?​gid=4|Purchase an Owned/​Leased LiteSpeed Web ADC License]] 
- 
-[[https://​www.litespeedtech.com/​products/​litespeed-load-balancer/​download/​get-a-trial-license|Request a LiteSpeed Web ADC Trial License]] 
- 
-===== Download ===== 
- 
-Download [[https://​www.litespeedtech.com/​products/​litespeed-web-adc/​download|the latest version of LiteSpeed Web ADC]] to the root directory of the machine you will be using to run it and uncompress the downloaded file. We will be using LiteSpeed Web ADC 1.8 in this guide. 
- 
-For example: 
-  #cd /root 
-  #wget https://​www.litespeedtech.com/​packages/​lslb/​lslb-1.8-i386-linux.tar.gz 
-  #tar -zxvf lslb-1.8-i386-linux.tar.gz 
- 
- 
 ====== Installation/​Uninstallation ====== ====== Installation/​Uninstallation ======
 Installation must be performed in a command line terminal. For testing purpose, LiteSpeed Load Balancer can be installed into your home directory as a non-privileged user. For production use, it should be installed into a system directory. Under Mac OS X, root user is disabled by default; it can be enabled by using the NetInfo Manager Application in /​Applications/​Utilities folder. If you don't want to enable root user, you can use "​sudo"​ to install LiteSpeed Load Balancer into a system directory as well. Installation must be performed in a command line terminal. For testing purpose, LiteSpeed Load Balancer can be installed into your home directory as a non-privileged user. For production use, it should be installed into a system directory. Under Mac OS X, root user is disabled by default; it can be enabled by using the NetInfo Manager Application in /​Applications/​Utilities folder. If you don't want to enable root user, you can use "​sudo"​ to install LiteSpeed Load Balancer into a system directory as well.
Line 63: Line 35:
     - TCP port for web administration interface.     - TCP port for web administration interface.
     - The "​root"​ user has option to enable "​chroot"​. The installer will setup the initial chroot environment automatically. We strongly recommend not enabling it unless you are familiar with "​chroot"​. You can always enable it later with an upgrade installation.     - The "​root"​ user has option to enable "​chroot"​. The installer will setup the initial chroot environment automatically. We strongly recommend not enabling it unless you are familiar with "​chroot"​. You can always enable it later with an upgrade installation.
-    - The "​root"​ user can also choose to run LiteSpeed Load Balancer as a service which starts automatically at system startup. ​+    - The "​root"​ user can also choose to run LiteSpeed Load Balancer as a service which starts automatically at system startup. **"​Would you like to have LiteSpeed Load Balancer started automatically when the machine restarts [Y/​n]?"​**,​ select "​Y"​. If you miss this step during the installation,​ you can manually install the lslb.service startup script by running\\ ''/​usr/​local/​lslb/​admin/​misc/​rc-inst.sh'',​ then\\ ''​chkconfig lslb on''​
  
 ===== Testing ===== ===== Testing =====
   - There are a couple of ways to control the server process. For detail information please see Administration Guide. To start the server, simply run ''​[your_install_dir]/​bin/​lslbctrl start.''​   - There are a couple of ways to control the server process. For detail information please see Administration Guide. To start the server, simply run ''​[your_install_dir]/​bin/​lslbctrl start.''​
-  - If the default port for normal web service was not changed during installation,​ point your browser to **http://​[address]:​8090/​**,​ otherwise replace "​8090"​ with actual port used. "​[address]"​ should be the IP address or domain name of Load Balancer machine. Use "​localhost"​ if it is accessed from the same machine. Load Balancer will try to route request to a default LiteSpeed Web Server installation on localhost, port 8088, if it does not work, try next step. If the default port for web administration interface is not changed during installation,​ point your browser to **http://​[address]:​7090/​**,​ otherwise replace "​7090"​ with actual port used. "​[Address]"​ should be the IP address or domain name of your load balancer machine. Use "​localhost"​ if it is accessed from the same machine. The welcome page of administration interface should be loaded, click "Log on" link and use the administrator'​s username and password specified during installation to log on. For detailed information regarding configuration,​ please refer to our Configuration Guide, or click "​help"​ link on top of each page. +  - If the default port for normal web service was not changed during installation,​ point your browser to **http://​[address]:​8090/​**,​ otherwise replace "​8090"​ with actual port used. "​[address]"​ should be the IP address or domain name of Load Balancer machine. Use "​localhost"​ if it is accessed from the same machine. Load Balancer will try to route request to a default LiteSpeed Web Server installation on localhost, port 8088, if it does not work, try next step.  
 +  - If the default port for web administration interface is not changed during installation,​ point your browser to **http://​[address]:​7090/​**,​ otherwise replace "​7090"​ with actual port used. "​[Address]"​ should be the IP address or domain name of your load balancer machine. Use "​localhost"​ if it is accessed from the same machine. The welcome page of administration interface should be loaded, click "Log on" link and use the administrator'​s username and password specified during installation to log on. For detailed information regarding configuration,​ please refer to our Configuration Guide, or click "​help"​ link on top of each page. 
   - If your server uses firewall, please make sure that localhost is trusted. For instance, Linux with IPTables should include a rule ''​ALLOW INPUT from LO''​.   - If your server uses firewall, please make sure that localhost is trusted. For instance, Linux with IPTables should include a rule ''​ALLOW INPUT from LO''​.
   - If the web administration interface is inaccessible either, please take a look at the error log - ''​[your_install_dir]/​logs/​error.log'' ​   - If the web administration interface is inaccessible either, please take a look at the error log - ''​[your_install_dir]/​logs/​error.log'' ​
Line 79: Line 52:
   * A new release is available   * A new release is available
   * Upgrade from a trial license to production license   * Upgrade from a trial license to production license
-  * Upgrade production license from N CPU to M CPU license.+  * Upgrade production license from an worker processes ​to worker process ​license.
  
 The built-in update agent will check new release periodically and automatically download new package and send email notification about the new release. Server upgrade can be performed via the web admin interface by clicking the upgrade link in the version management page.  The built-in update agent will check new release periodically and automatically download new package and send email notification about the new release. Server upgrade can be performed via the web admin interface by clicking the upgrade link in the version management page. 
  • Admin
  • Last modified: 2020/11/18 15:31
  • by Lisa Clarke