MFS1.5.x升级到1.6.x的升级过程(过程)

来源:互联网 发布:新点软件下载 编辑:程序博客网 时间:2024/05/14 14:04

Upgrade from version 1.5.x to 1.6.x

When you upgrade from 1.5.x to 1.6.x it is important to keep the order of upgraded modules which is described in UPGRADE file:

Upgrading from 1.5.x to 1.6.x:
1. Upgrade and restart mfsmaster.
2. Upgrade and restart chunkservers.
3. Upgrade mfs clients (mfstools before remounting MFS with new mfsmount), remount MFS trees.


You do not need to uninstall any older versions. You also do not need to stop the previous version - the new one should stop the previous.

1 (machine with mfsmaster):
#make install
#PREFIX/sbin/mfsmaster


2 (machines with chunkservers):
#make install
#PREFIX/sbin/mfschunkserver


You should restart chunkservers with 5-10 minutes delay.

3 (clients)

Remount the disks:

umount /mnt/mfs

mfsmount /mnt/mfs

 

 

If you can stop the whole system for the restart, you can do the process this way:

1 (machine with mfsmaster):
#make install
#PREFIX/sbin/mfsmaster -s

2 (machines with chunkservers):
#make install
#PREFIX/sbin/mfschunkserver

And here you can make all restarts at one moment. But please wait about 3 minutes before starting the master.

3 (master)
#PREFIX/sbin/mfsmaster

4.
And now you shoud change all "msfmounts"