Master Server[root@wallet01 ~]# curl "https://ppa.moosefs.com/RPM-GPG-KEY-MooseFS" > /etc/pki/rpm-gpg/RPM-GPG-KEY-MooseFS % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed105 1796 105 1796 0 0 969 0 0:00:01 0:00:01 --:--:-- 8760[root@wallet01 ~]# curl "http://ppa.moosefs.com/MooseFS-3-el6.repo" > /etc/yum.repos.d/MooseFS.repo % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed169 169 169 169 0 0 200 0 --:--:-- --:--:-- --:--:-- 256[root@wallet01 ~]# yum install -y moosefs-master moosefs-cgi moosefs-cgiserv moosefs-cli[root@wallet01 ~]# vi /etc/mfs/mfsexports.cfg* / rw,alldirs,mapall=oracle:oinstall* . rw[root@wallet01 ~]# service moosefs-master startStarting mfsmaster: [ OK ][root@wallet01 ~]# service moosefs-master statusmfsmaster (pid 19460 19459) is running...[root@wallet01 ~]# netstat -tunlp | grep mfstcp 0 0 0.0.0.0:9419 0.0.0.0:* LISTEN 19459/mfsmaster tcp 0 0 0.0.0.0:9420 0.0.0.0:* LISTEN 19459/mfsmaster tcp 0 0 0.0.0.0:9421 0.0.0.0:* LISTEN 19459/mfsmaster
Metaloggers[root@wallet02 ~]# curl "https://ppa.moosefs.com/RPM-GPG-KEY-MooseFS" > /etc/pki/rpm-gpg/RPM-GPG-KEY-MooseFS % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed105 1796 105 1796 0 0 2296 0 --:--:-- --:--:-- --:--:-- 10884[root@wallet02 ~]# curl "http://ppa.moosefs.com/MooseFS-3-el6.repo" > /etc/yum.repos.d/MooseFS.repo % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed169 169 169 169 0 0 506 0 --:--:-- --:--:-- --:--:-- 1018[root@wallet02 ~]# yum install -y moosefs-metalogger[root@wallet02 ~]# vi /etc/mfs/mfsmetalogger.cfgMASTER_HOST = 192.168.40.34[root@wallet02 ~]# service moosefs-metalogger startStarting mfsmetalogger: [ OK ][root@wallet02 ~]# service moosefs-metalogger statusmfsmetalogger (pid 31904) is running...
Chunkservers01[root@wallet03 ~]# curl "https://ppa.moosefs.com/RPM-GPG-KEY-MooseFS" > /etc/pki/rpm-gpg/RPM-GPG-KEY-MooseFS % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed105 1796 105 1796 0 0 295 0 0:00:06 0:00:06 --:--:-- 8552[root@wallet03 ~]# curl "http://ppa.moosefs.com/MooseFS-3-el6.repo" > /etc/yum.repos.d/MooseFS.repo % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed169 169 169 169 0 0 31 0 0:00:05 0:00:05 --:--:-- 894[root@wallet03 ~]# yum install -y moosefs-chunkserver[root@wallet03 ~]# vi /etc/mfs/mfschunkserver.cfgMASTER_HOST = 192.168.40.34[root@wallet03 ~]# mkdir /mfsdata[root@wallet03 ~]# chown mfs:mfs /mfsdata[root@wallet03 ~]# vi /etc/mfs/mfshdd.cfg/mfsdata[root@wallet03 ~]# service moosefs-chunkserver startStarting mfschunkserver: [ OK ][root@wallet03 ~]# service moosefs-chunkserver statusmfschunkserver (pid 11080) is running...Chunkservers02[root@wallet04 ~]# curl "https://ppa.moosefs.com/RPM-GPG-KEY-MooseFS" > /etc/pki/rpm-gpg/RPM-GPG-KEY-MooseFS % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed105 1796 105 1796 0 0 1935 0 --:--:-- --:--:-- --:--:-- 8847[root@wallet04 ~]# curl "http://ppa.moosefs.com/MooseFS-3-el6.repo" > /etc/yum.repos.d/MooseFS.repo % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed169 169 169 169 0 0 455 0 --:--:-- --:--:-- --:--:-- 923[root@wallet04 ~]# yum install -y moosefs-chunkserver[root@wallet04 ~]# vi /etc/mfs/mfschunkserver.cfgMASTER_HOST = 192.168.40.34[root@wallet04 ~]# mkdir /mfsdata[root@wallet04 ~]# chown mfs:mfs /mfsdata[root@wallet04 ~]# vi /etc/mfs/mfshdd.cfg/mfsdata[root@wallet04 ~]# service moosefs-chunkserver startStarting mfschunkserver: [ OK ][root@wallet04 ~]# service moosefs-chunkserver statusmfschunkserver (pid 4241) is running...
Clients[root@wallet05 ~]# curl "https://ppa.moosefs.com/RPM-GPG-KEY-MooseFS" > /etc/pki/rpm-gpg/RPM-GPG-KEY-MooseFS % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed105 1796 105 1796 0 0 1604 0 0:00:01 0:00:01 --:--:-- 8803[root@wallet05 ~]# curl "http://ppa.moosefs.com/MooseFS-3-el6.repo" > /etc/yum.repos.d/MooseFS.repo % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed169 169 169 169 0 0 222 0 --:--:-- --:--:-- --:--:-- 824[root@wallet05 ~]# yum install -y moosefs-client[root@wallet05 ~]# mfsmount /home/oracle/backup -H 192.168.40.34mfsmaster accepted connection with parameters: read-write,restricted_ip,map_all ; root mapped to oracle:oinstall ; users mapped to oracle:oinstall[root@wallet05 ~]# df -hFilesystem Size Used Avail Use% Mounted on/dev/sda3 91G 18G 69G 21% /tmpfs 3.9G 117M 3.8G 3% /dev/shm/dev/sda1 190M 64M 117M 36% /boot192.168.40.34:9421 134G 55G 80G 41% /home/oracle/backup