upgrade moosefs from 1.5 to 1.6
1. Upgrade and restart mfsmaster.
2. Upgrade and restart chunkservers.
3. Upgrade mfs clients (mfstools before remounting MooseFS with new mfsmount), remount MooseFS trees.
1
2
3
4
5
6
7
| * mfsmaster
./configure --prefix=/usr/local/mfs --enable-mfsmaster --with-default-user=dxy --with-default-group=dxy; make; make install
cp mfsexports.cfg.dist mfsexports.cfg
edit mfsexports.cfg, add allowed ip range
start: /usr/local/mfs/sbin/mfsmaster start
stop: /usr/local/mfs/sbin/mfsmaster -s |
* mfsmaster
./configure --prefix=/usr/local/mfs --enable-mfsmaster --with-default-user=dxy --with-default-group=dxy; make; make install
cp mfsexports.cfg.dist mfsexports.cfg
edit mfsexports.cfg, add allowed ip range
start: /usr/local/mfs/sbin/mfsmaster start
stop: /usr/local/mfs/sbin/mfsmaster -s
1
2
3
4
5
6
| * mfschunkserver
./configure --prefix=/usr/local/mfs --enable-mfschunkserver --with-default-user=dxy --with-default-group=dxy; make; make install
cp mfsmetalogger.cfg.dist mfsmetalogger.cfg
start: /usr/local/mfs/sbin/mfschunkserver start
stop: /usr/local/mfs/sbin/mfschunkserver -s |
* mfschunkserver
./configure --prefix=/usr/local/mfs --enable-mfschunkserver --with-default-user=dxy --with-default-group=dxy; make; make install
cp mfsmetalogger.cfg.dist mfsmetalogger.cfg
start: /usr/local/mfs/sbin/mfschunkserver start
stop: /usr/local/mfs/sbin/mfschunkserver -s
1
2
3
4
| * mfsmount
./configure --prefix=/usr/local/mfs --enable-mfsmount --with-default-user=dxy --with-default-group=dxy; make; make install
/usr/local/mfs/bin/mfsmount -H 192.168.200.226 /mfs |
* mfsmount
./configure --prefix=/usr/local/mfs --enable-mfsmount --with-default-user=dxy --with-default-group=dxy; make; make install
/usr/local/mfs/bin/mfsmount -H 192.168.200.226 /mfs
一条评论
请问meta data需要升级吗?还是直接copy就可以?