Technology Sharing

Deploying an LVS-DR cluster

2024-07-08

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

1. LVS-DR Cluster

LVS-DR (Linux Virtual Server Director Server) working mode is the most commonly used working mode in production environments

1.1: Working Principle of LVS-DR

In LVS-DR mode, Director Server is used as the access entrance of the cluster, not as a gateway. Director Server and Real Server nodes need to be in the same network, and data returned to the client does not need to pass through Director Server. In order to respond to access to the entire cluster, Director Server and Real Server need to be configured with VIP addresses. The working principle is shown in the figure below.

1.2: Packet flow analysis