当前位置:网站首页>MFS explanation (V) -- MFS metadata log server installation and configuration

MFS explanation (V) -- MFS metadata log 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 Metadata log server installation and configuration .

One 、 Metadata server installation

In the above MFS Detailed explanation ( Four )——MFS Management server installation and configuration in , We introduced MFS Management server installation and configuration . In this paper , We continue to install... On this device MFS Metadata server for .MFS The metadata server dependency package for has been installed in the above , We don't need to install it again here .
First , In order to avoid the impact of the previous installation on us , We need to delete before MFS The extracted has been compiled by us MFS Catalog , We can decompress MFS Installation package for .
Enter the newly unzipped MFS After the directory , Let's execute the order first :

./configure --prefix=/usr/local/mfsmetadata --with-default-user=mfs --with-default-group=mfs

To complete the MFS Precompilation , Carry out orders :

make && make install

To complete the MFS Build and install .

Two 、 Metadata server configuration

At the completion of MFS After the metadata server is installed , Next , We need to be right about MFS To configure the metadata server . First , We will first MFS Copy the configuration of the metadata server , Carry out orders :

cd /usr/local/mfsmetadata/etc/mfs/
cp -a mfsmetalogger.cfg.sample mfsmetalogger.cfg

after , We turn on mfsmetalogger.cfg file , And modify the MASTER_HOST Parameters , Change it to MFS Management server ( In fact, it is the equipment in this actual battle ) Of IP Address , The modified configuration file is as follows :
 Insert picture description here
after , Let's put MFS The metadata log server grants mfs User and group permissions for , Carry out orders :

chown -R mfs:mfs /usr/loca/mfsmetadata/sbin/mfsmetalogger start

Can finish MFS Configuration of metadata log server .

3、 ... and 、 The metadata server starts

After completing all the above steps , We can turn it on MFS Metadata log server , Carry out orders :

/usr/local/mfsmetadata/sbin/mfsmetalogger start

The execution result of this command is as follows :
 Insert picture description here
As can be seen from the above figure , our MFS The metadata log server was started successfully !
Originality is not easy. , Reprint please explain the source :https://blog.csdn.net/weixin_40228200

原网站

版权声明
本文为[Always a teenager]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/164/202206130615142184.html