In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how linux shuts down the redis cluster. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.
The redis nodes of the redis cluster are interconnected with each other (PING-PONG mechanism), and the binary protocol is used internally to optimize the transmission speed and bandwidth. There is no host, and the client can connect to a node at will.
Shut down redis normally
Execute the command shutdown directly on the client or redis-cli-p 7001 shutdown directly on the command line
Let's write a shutdown.sh directly.
Or simply kill-9 ${process number} (if you want to kill more than one process at a time, separate the space between the process numbers)
Related instructions:
# View redis process ps-ef | grep redis# kill drop process kill-9 2177 2217
If the cluster has been built before and all the nodes have been lost by kill for some reason, if you need to start the cluster at this time, you only need to start each Redis node one by one, and the cluster will naturally rise.
Related instructions:
# after starting Redissrc/redis-server redis.conf at the backend, do you have any further understanding of how linux shuts down the redis cluster? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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: 0
*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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.