当前位置:网站首页>MFS explanation (VI) -- MFS chunk server installation and configuration
MFS explanation (VI) -- MFS chunk server installation and configuration
2022-06-13 06:23:00 【Always a teenager】
Today I will continue to introduce Linux Operation and maintenance related knowledge , The main content of this paper is MFS Chunk Server Server installation and configuration .
One 、MFS Chunk Server install
Above MFS Detailed explanation ( Four )——MFS Management server installation and configuration and MFS Detailed explanation ( 5、 ... and )——MFS Metadata log server installation and configuration in , We configured and implemented MFS Management server and metadata server . today , Let's configure MFS Of Chunk Server.
First , And above MFS Detailed explanation ( 5、 ... and )——MFS Metadata log server installation and configuration similar , The first thing we need is to decompress MFS The package , Create a new directory .
after , We go into the catalog , Start the precompiling process first , Carry out orders :
./configure --prefix=/usr/loca/mfschunk --with-default-user=mfs --with-default-group=mfs
Next , We need to compile and install , Carry out orders :
make && make install
such , our MFS Chunk Server The installation is complete .
Two 、MFS Chunk Server To configure
stay MFS Of Chunk Server After installation , We need to do MFS Chunk Server Configuration of .
First , We enter MFS Chunk Server Configuration file directory (/usr/local/mfs/etc/mfs/) Next , Carry out orders :
cp -a mfschunkserver.cfg.sample mfschunkserver.cfg
cp -a mfshdd.cfg.sample mfshdd.cfg
Next , We turn on mfschunkserver.cfg Configuration file for , modify MASTER_HOST Parameter is MFS Master Of IP Address ( In this actual battle , In fact, it is this equipment ), As shown below :
after , We turn on mfshdd.cfg, Add a directory in any part ( Make sure that the directory exists in the device ), As shown below :
Be careful : This directory is represented to MFS A mount directory for , In the production environment, a separate disk partition is usually used .
Last , We'll give it to us again MFS Grant appropriate permissions , Carry out orders :
chown -R mfs:mfs /usr/local/mfschunk/
chown -R mfs:mfs /mfs
such , our MFS Chunk Server The configuration is complete .
3、 ... and 、MFS Chunk Server Service startup
Last , stay MFS Chunk Server When the configuration is complete , We can start it MFS Of Chunk Server Yes .
Carry out orders :
/usr/local/mfschunk/sbin/mfschunkserver start
Can be opened MFS Chunk Server Service for , The execution result of this command is as follows :
MFS Chunk Server After the service starts , We carry out orders :
ls /mfs
You can see that there are a large number of files stored in blocks in this directory , As shown below :
As can be seen from the above figure , our MFS Chunk Sever Configuration is successful !
Originality is not easy. , Reprint please explain the source :https://blog.csdn.net/weixin_40228200
边栏推荐
- Wechat applet (pull-down refresh data) novice to
- Detailed explanation of Yanghui triangle
- Echart line chart: multiple line charts show only one line at a time
- Uniapp secondary encapsulates uview components, and the parent component controls display and hiding
- RFID process management solution for electroplating fixture
- Echart折线图:多条折线图每次仅展示一条
- js将文本转成语言播放
- Uni app upload file
- 电镀挂具RFID工序管理解决方案
- A brief analysis of the overall process of view drawing
猜你喜欢

Local file search tool everything

万能播放器 PotPlayer 的下载与安装,直播流 m3u8 导入

HBuilderX:HBuilderX安装以及其常用插件安装

Analysis of 43 cases of MATLAB neural network: Chapter 11 optimization of continuous Hopfield Neural Network -- optimization calculation of traveling salesman problem
![[2022 college entrance examination season] what I want to say as a passer-by](/img/d7/3813b944dc2df182455d475a3669fb.jpg)
[2022 college entrance examination season] what I want to say as a passer-by

Dragon Boat Festival wellbeing, use blessing words to generate word cloud
![[one · data 𞓜 simple implementation of the leading two-way circular linked list]](/img/a2/08f55012cd815190db76237f013961.png)
[one · data 𞓜 simple implementation of the leading two-way circular linked list]

Status management --provider

Custom view - extensible collapsexpendview

【新手上路常见问答】关于技术管理
随机推荐
SSM integration
Win10 drqa installation
Echart rectangular tree diagram: simple implementation of rectangular tree diagram
1+1 > 2, share creators can help you achieve
Echart柱状图:堆叠柱状图value格式化显示
Local file search tool everything
Uni app disable native navigation bar
PHP redis makes high burst spike
Recyclerview has data flicker problem using databinding
Uniapp (upload local pictures, preview pictures, convert Base64 format, upload audio files)
El form form verification
Echart histogram: stacked histogram displays value
Not in the following list of legal domain names, wechat applet solution
Commit specification
[JS] handwriting call(), apply(), bind()
Wechat applet: click the event to obtain the current device information (basic)
Basic knowledge of knowledge map
Uni app provincial and urban linkage
Time complexity and space complexity
RFID process management solution for electroplating fixture