In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
There are a lot of information on the Internet, but it feels like I've been fooling around for a day. I've taken a lot of detours.
Write down a few key points so that I won't forget them later.
The server that makes the LVS must be a gateway to another Realserver, which is important, that is, commands may be used
Route add default gw [LVSHOST]
This is to ensure that after Director throws the message to RS, RS will send it back to Dirtector after processing. Otherwise, it will be a problem for RS to send the message back to Client according to other gateways.
Director must enable message forwarding mode
The command is simple as long as it is configured on Director, and RS only needs to configure the command whose default gateway is Director.
The principle is actually very simple, that is, after Director receives the message, it changes the destination IP to the IP of RS, and then forwards it. RS will naturally process the message sent to its own IP address, and then send it back to Client (source IP RS, destination IP client). At this time, the message will be sent to the gateway of RS, and Director is the gateway of RS. After receiving the message, it changes the source IP address to its own (source IP Director, destination IP client). And then sent it to the client.
Key point: Director ping RS must be ping connected, RS ping Client must be routed through Director, and can be tested with traceroute command
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 235
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.