In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you what the Ceph distributed file sharing solution is, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
Preface
Hello, everyone! The Liunx software sharing brought to you this time is the famous Ceph distributed file system. The author learned that Ceph also encountered a problem, that is, when using Kubeneters, it is necessary to use the same set of files in each container, but the way of using NAS disk has to endure as long as 2 minutes to update or read, and there will also be the problem of file occupation failure. The author found Ceph after looking for a file system that combines well with Kuberneters, so start to build and use Ceph.
Attached:
Meow Mi's blog: w-blog.cn
Ceph official website: https://ceph.com/
1. Environmental preparation
First of all, three servers are needed to cluster. Ceph will make three files redundant by default to ensure that the files are not lost. The server IP address is as follows:
PS: the system version of Centos7 is used here
192.168.3.101 ceph-1192.168.3.102 ceph-2192.168.3.103 ceph-3
The installation using docker here should not facilitate deletion and retry for the convenience of polluting the environment during the installation process:
Yum install-y yum-utils device-mapper-persistent-data lvm2yum-config-manager-- add-repo https://download.docker.com/linux/centos/docker-ce.repoyum install-y docker-ce
You need to configure the domestic docker source to improve the speed and enable self-boot (you need to use your own Aliyun account to obtain the acceleration address)
Sudo mkdir-p / etc/dockersudo tee / etc/docker/daemon.json
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.
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.