Read More

High Availability Config

Table of Contents

Replication

Server Address | Replication Cluster | Heart Beat Interval (secs) | Heart Beat Timeout (secs) | Is Gzip Stream | Max Sequence Number Difference | Sync Interval | Data Master Priority | Enable Replication for Cached Data | File Cache Server Address

HA Virtual Interface Configuration

Name | Virtual IPs | Virtual IP ID | Virtual IP Token | NIC Name | Priority | Internal Device | Unicast Source Virtual IP | Unicast Peer Virtual IPs

HA Status

Replication Status

Server Address

Description

Local IP address and port used for replication.

Syntax

IP:port

Replication Cluster

Description

List of replicators, by their IP Address and port number, that are a part of this replication cluster.

Syntax

Comma separated list in the form IP:port

Heart Beat Interval (secs)

Description

The time interval that "I am alive" messages will be sent.

Syntax

Integer number

Heart Beat Timeout (secs)

Description

The time interval after which, if "I am alive" message is not sent, the replicator will be considered to have failed. Must be set higher than Heart Beat interval (secs).

Syntax

Integer number

Is Gzip Stream

Description

Enable Gzip compression for replicator traffic.

Syntax

Select from radio box

Max Sequence Number Difference

Description

Compares to the difference between the last sequence number sent and the last sequence number acknowledged by the master. If the difference is larger than maxAckDiff, individual SHM updates are paused until the next bulk update is complete.

This difference indicates the busy-ness level of the master. If multiple nodes are syncing a significant amount of data with the master, this value ensures that the data sync is still manageable and performs at an optimal level.

Default value: 100

Syntax

Number between 1 and 65535.

Sync Interval

Description

The time in seconds that a node will remain in the upgrading state before transitioning to master. This interval is used to allow the group to communicate with one another to ensure that the correct node is selected as master. It is strongly recommended that this is set to a longer interval than the Heart Beat Interval.

Default value: 30

Syntax

Number between 1 and 255.

Data Master Priority

Description

Indicates the *data sync priority*. The node with the highest priority is selected to be the data sync 'master', when there are no masters selected yet. If a master is already selected, that node will remain master. Note that this is for data sync ONLY. The priority value in the HA Interfaces configuration group is for Virtual IP priority.

Default value: 0

Syntax

Number between -32766 and 32767.

Enable Replication for Cached Data

Description

Enable file cache replication.

Syntax

Select from radio box

File Cache Server Address

Description

Select file cache server address.

Syntax

IP:port

HA Virtual Interface Configuration

Description

Additions/Deletions/Changes made will not take effect until applied through HA -> Status page.

Name

Description

A unique number that identifies a virtual interface.

Syntax

Integer number

Virtual IPs

Description

A list of virtual IP addresses used to access the HA interface. These addresses can be either an IPv4 or IPv6 and must be on the same subnet as the real IP address.

Please verify proper usage with keepalived prior to using multiple Virtual IPs.

Syntax

comma separated list

Virtual IP ID

Description

The ID of the virtual IP address. Please use an integer number between 1 and 10. Virtual IP, Virtual IP ID, and Virtual IP Token must be the same for the same HA group.

Virtual IP Token

Description

A virtual IP address token is required to authenticate interface(carp/vrrp) advertisements. Virtual IP, Virtual IP ID, and Virtual IP Token must be same for the same HA group.

NIC Name

Description

The NIC name (such as eth0, eth1, etc..) that the virtual IP will bind to. Required for Linux platforms.

Note: Even though it is required, this setting will have no effect on FreeBSD platforms.

Priority

Description

The priority for this load balancer server, where a higher number equals a higher priority. The highest priority load balancer will act as the master, with others in the cluster acting as slaves.

Note: This is reversed for FreeBSD platforms where a lower number equals a higher priority.

Syntax

Integer number

Tips

A difference in priority of 50 or greater between two nodes will cause Keepalived (linux) to switch the Virtual IP back to the higher priority node upon recovery. For example, two nodes with priorities of 110 and 100 will start with the 110 priority node as the master. If that node dies and recovers, the 100 node will retain the Virtual IP. If on the other hand we have two nodes with priorities 200 and 100, the 200 node will reclaim the Virtual IP upon recovery.

Internal Device

Description

The Internal Device (such as eth0, eth1, etc..) to use for internal communication by unicast/multicast. If this is different than the NIC Name configuration, the Keepalived configuration will be adjusted accordingly.

Default value: Configured NIC Name value

Syntax

Select from drop down list

Unicast Source Virtual IP

Description

The local machine's virtual IP used to send Unicast messages.

Unicast Peer Virtual IPs must also be set for Unicast to be used. (Multicast is used by default)

Tips

Unicast is generally slower and more resource intensive than Multicast.

Unicast Peer Virtual IPs

Description

List of peer virtual IPs to send Unicast messages to. There should be one peer IP entry for each node expected to handle request processing.

Unicast Source Virtual IP must also be set for Unicast to be used. (Multicast is used by default)

Syntax

comma separated list

Tips

Unicast is generally slower and more resource intensive than Multicast.

HA Status

Description

Displays the configuration and status of currently configured/live high availability interfaces by their unique Interface ID. The current configured settings for each interface are shown as well as the actual "live" settings in green. The "Status" field will contain 1-2 of the following values:

  • Newly Configured: The interface is configured but has not yet been created. Click "Add" to create this interface.
  • Not in Config File: There is currently no interface configuration with a matching Interface ID for this interface. You can click "Delete" to delete this interface.
  • Matched: The current configuration settings for this Interface ID match the configuration settings of the corresponding live interface.
  • Not match with System: The current configuration settings for this Interface ID do not match the configuration settings of the corresponding live interface. Click "Apply Changes" to overwrite the live settings with the configured settings.
  • master: Indicates that this interface has the role of master.
  • standby: Indicates that this interface has the role of slave.

Tips

Configuration changes made to a high availability interface in the config section will not be applied until clicking "Apply Changes" next to the affected interface. The same applies to adding new interfaces and deleting existing interfaces, changes will not be applied until clicking "Add/Delete" respectively.

Replication Status

Description

Displays the status of currently "live" replicators in the replication cluster by their server addresses, as well as the number of active sessions on record for each replicator. The source replicator (usually the first to come online) will have a highlighted SRC tag in front of it's Server Address. It is this replicators job to actively sync it's data to the other replicators in the replication cluster. These other replicators will be compared against the source replicator to determine if they are "in Sync" or "out of Sync".

SSL Session will show the number of currently cached SSL sessions for the current load balancer.

ID Session will show the session count in the session cache of each cluster defined in the load balancer.

Replication will happen in real-time as changes are written to shared memory.

Privacy Policy

Privacy Policy

LiteSpeed Technologies, Inc. (aka “LiteSpeed”) is committed to protecting your privacy. This policy ("Privacy Policy" or "Policy") explains our practices for our site, www.litespeedtech.com ("Site"). You can visit most pages of the Site without giving us any information about yourself, but sometimes we do need information to provide services that you request. By using this Site or any products or services provided through the Site, you expressly consent to the use and disclosure of information as described in this Privacy Policy.

LiteSpeed reserves the right to revise, modify, add, or remove provisions to this Privacy Policy at any time. If we make changes to this Privacy Policy, we will update the Effective Date to note the date of such changes. LiteSpeed encourages you to review this Privacy Policy periodically for any changes. IF YOU DO NOT AGREE WITH ANY OF THE TERMS BELOW, YOU SHOULD NOT USE THIS SITE OR THE PRODUCTS OR SERVICES OFFERED BY LITESPEED TECHNOLOGIES AT THIS SITE.

Collection of Information

Personal Information.

LiteSpeed will ask you for certain “Personal Information” when you complete registration or product information request forms on the Site, including but not limited to your name, address, telephone number, email address, and credit card information. You can always choose not to provide us with the requested information, however, you may not be able to complete the transaction or use our products or services if you do not provide the information requested.

Non-Personal Information.

LiteSpeed may collect non-personally identifiable information from you such as the type of browser you use, your operating system, the screen resolution of your browser, your ISP, your IP address, which pages you view on the Site and the time and duration of your visits to the Site (collectively, “Non-Personal Information”). LiteSpeed may associate Non-Personal Information with Personal Information if you register with the Site.

User Communications.

If you communicate with us, we may collect information relating to that communication whether it takes the form of email, fax, letter, forum posting, blog comments, testimonials or any other form of communication between you and LiteSpeed or Submitted by you to the Site (collectively, “User Communications”).

Server Information.

If you use one of our software products such as LiteSpeed Web Server or LiteSpeed Web ADC, we may collect certain information concerning such software and concerning the server upon which the software operates. This information includes: (a) the licensed or unlicensed status of the software; (b) the source from which the license for the software was obtained (i.e., LiteSpeed or a LiteSpeed affiliate); or (c) information about the server upon which the software is installed including (i) the public IP address, (ii) the operating system and (iii) the use of any virtualization technologies on such server ((a) through (c) collectively, “Server Information”). Additionally, “Server Information” may also include information collected from you by LiteSpeed in the event that you request technical support services including without limitation, IP addresses, usernames, and passwords necessary to login to SSH, the root directory of the server upon which you installed the LiteSpeed software and any affected accounts including email accounts, control panel accounts, MySQL accounts, CMS accounts and other accounts.

Use and Storage of Collected Information

LiteSpeed may use Personal Information to create and authenticate your account, to respond to your requests, to provide you with customer and technical support, or to provide you with information regarding our products, services, partners, and company. You may update your Personal Information with us at any time, but we may maintain records of any Personal Information you disclose to us indefinitely, unless otherwise requested as outlined below.

We may use User Communications in the same ways we use Personal Information. If you communicate with us for a particular purpose, we may use your User Communications for that purpose. For example, if you contact us for technical support, we may use your communications to provide technical support to you. We may maintain records of User Communications you transmit to us indefinitely, unless otherwise requested as outlined below.

LiteSpeed may use Non-Personal Information to maintain, evaluate, improve and provide our Site, the Services and any other LiteSpeed products and services. We may retain Non-Personal Information indefinitely.

We may use Server Information to provide you with technical support services and to maintain, evaluate, improve and provide LiteSpeed products and services. We may also use such information to investigate unlicensed (and therefore unauthorized) uses of our software. LiteSpeed may maintain Server Information indefinitely, with the exception of usernames, passwords, and other login information given in connection with support service requests. Such login information will be purged when the ticket is closed.

Disclosure of Collected Information

LiteSpeed will only disclose Personal Information to third parties if acting under a good faith belief that such action is necessary, including but not limited to: (a) to resolve disputes, investigate problems, or comply with laws or regulations; (b) to enforce our Terms of Service; (c) to protect and defend the rights, property, or safety of our company or our users; or (d) in the event of a merger, acquisition or sale of all or substantially all LiteSpeed assets. Other than this limited activity, we do not share, sell, or rent any personal information to third parties.

You will receive notice in the form of modifications to this Policy when information about you might go to third parties other than as described in this Policy, and you always have the opportunity to contact us as set forth below if you do not wish your information to go to third parties.

LiteSpeed cannot be responsible for protecting your information if you share such information in publicly available sections of the Site such as the user forums, blog comments, or testimonials section. You should use your own judgment in disclosing this information on the Site.

Use of Cookies

“Cookies” are small pieces of information that your browser stores on your computer on behalf of a website that you have visited. Cookies may be used in order to complete transactions on our site. You can always choose not to accept cookies with the settings of your web browser, however, you may not be able to complete these transactions if you do not accept cookies.

Security of Personal Information

We use reasonable security methods to protect your personal information from unauthorized access, use or disclosure. No data transmission over the Internet or any wireless network can be guaranteed to be perfectly secure. While we try to protect your personal information, we cannot guarantee the security of any information you transmit to us, and you do so at your own risk.

LiteSpeed uses industry-standard SSL-encryption to protect sensitive data.

In the event that LiteSpeed becomes aware of a security breach, unauthorized disclosure or inadvertent disclosure concerning your information, you agree that LiteSpeed may notify you of such an event using the Personal Information previously provided.

You are responsible for maintaining your account’s security.

GDPR Statement

LiteSpeed Technologies values your users’ privacy. Although our software does not directly collect any personally identifiable information from visitors to your site, LiteSpeed may still be considered a data processor, as user information may be temporarily cached and/or logged, as outlined in this document.

Servers

LiteSpeed Web Server, OpenLiteSpeed, LiteSpeed Web ADC, and related software may record IP addresses as a part of normal logging. An access log and an error log may record visitor IP addresses and URL visited. The logs are stored locally on the system where LiteSpeed server software is installed and are not transferred to or accessed by LiteSpeed employees in any way, except as necessary in providing routine technical support if you request it. This logging may be turned off through configuration. It is up to individual server administrators to come up with their own schedule for removing such logs from the file system.

Cache Solutions

Our cache plugins potentially store a duplicate copy of every web page on display on your site. The pages are stored locally on the system where LiteSpeed server software is installed and are not transferred to or accessed by LiteSpeed employees in any way, except as necessary in providing routine technical support if you request it. All cache files are temporary, and may easily be purged before their natural expiration, if necessary, via a Purge All command. It is up to individual site administrators to come up with their own cache expiration rules.

LSCache for WordPress

In addition to caching, our WordPress plugin has an Image Optimization feature. When optimization is requested, images are transmitted to a remote LiteSpeed server, processed, and then transmitted back for use on your site. LiteSpeed keeps copies of optimized images for 7 days (in case of network stability issues) and then permanently deletes them.

Similarly, the WordPress plugin has a Reporting feature whereby a site owner can transmit an environment report to our server so that we may better provide technical support.

Neither of these features collects any visitor data. Only server and site data is involved.

Support Services

Sometimes, when you request technical support, LiteSpeed may ask for login credentials to various areas of your site. You may refuse to share such credentials, however refusal may impact LiteSpeed’s ability to provide the requested support services.

Upon completion of a support ticket, LiteSpeed immediately deletes all login credentials you may have shared.

Any user data encountered by LiteSpeed is kept strictly confidential. We never provide your support ticket information to any third party without your explicit consent.

Contact Us

If you would like to update information that you have voluntarily provided to us, stop receiving information from us, or exercise any of the rights granted to you under Privacy Laws, including the EU’s General Data Protection Regulation, please e-mail info@litespeedtech.com.