### for SL 6 $ cp /etc/sysconfig/eos.example /etc/sysconfig/eos ### for SL 6 $ cp /etc/syconfig/eos_env.example /etc/sysconfig/eos_env
配置 MGM
更改 /etc/sysconfig/eos[_env]
修改如下相应的量变:
1 2 3 4 5 6 7 8 9 10 11 12 13
### define roles of daemons to run on this node ### here for management, message broker, sync and fed serfice XRD_ROLES="mq mgm fed sync global-mq" ### EOS instance name EOS_INSTANCE_NAME=eostest
### define roles of daemons to run on this node ### here for management, message broker, sync and fed serfice XRD_ROLES="fsd" ######################## EOS_BROKER_URL=root://eos01.amito.me:1097//eos/ EOS_MGM_MASTER1=eos01.amito.me EOS_MGM_MASTER2=eos02.amito.me EOS_MGM_ALIAS=eos01.amito.me EOS_FUSE_MGM_ALIAS=eos01.amito.me
启动 FST
1 2 3
$ systemctl enable --now eos $ systemctl enable --now eos@fst $ systemctl status eos@fst
设置存储位置
1
$ mkdir /data01 && chown -R daemon:daemon /data01
启用 FST
在 MGM 上,进入 EOS 控制台
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
$ eos EOS Console [root://localhost]|/> node set fst01.amito.me on ### make sure fst01.amito.me is on EOS Console [root://localhost]|/> node ls ### a3bxxx is uuid of the partition EOS Console [root://localhost]|/> fs add -m 1 a3b0d210-4cce-413f-91ed-13ee9a5b9dc4 fsd01.amito.me:1095 /data01 #### EOS 认证 EOS Console [root://localhost]|/> vib enable unix EOS Console [root://localhost]|/> vib enable sss #### FUSE 配置 EOS Console [root://localhost]|/> vid set map -tident "*@fs.amito.me" vuid:0 EOS Console [root://localhost]|/> vid set map -tident "*@fs.amito.me" vgid:0 EOS Console [root://localhost]|/> vid add gateway login* unix EOS Console [root://localhost]|/> vid add gateway vm* unix #### 启动 FST EOS Console [root://localhost]|/> fs boot 1 EOS Console [root://localhost]|/> fs config 1 configstatus rw EOS Console [root://localhost]|/> group set default on
error: errc=3010 msg="Unable to execute proc command - you don't have the requested permissions for that operation (2) /proc/admin/; Operation not permitted"