From: jose m. <let...@us...> - 2010-04-28 19:15:22
|
El Miércoles 28 Abril 2010, Michał Borychowski escribió: > Option '-f' has never been used to start MooseFS processes without forking. > > Options '-f' and '-s' have been replaced by parameters 'start', 'restart' > and 'stop'. > > In order to run MooseFS processes in foreground use '-d' option. It is used > mainly for debugging but it also starts processes without forking. So we > assume that it would be somehow possible to use 'daemontools' with this > option of MooseFS. > > But bear in mind that it would work only in chunkservers. If the master > server crashes you need to run "mfsmetarestore" before starting it again. > You could think about writing a script which automatically starts > "mfsmetarestore" and if there are no errors, starts the master server. > > > If you need any further assistance please let us know. > * the problem would be detected when the service crashes or not, and not for a normal stop, start, restart operation. * I'm sorry I'm not a programmer. * I use crontab in all processes and machines, and sysvinit package. * adapt to the particular needs options in runmaster for mfsmaster and mfsmetarestore process. */5 * * * * VigilarMFS.sh RunMaster.sh >/dev/null 2>&1 * options on crontab. or commandline -u user (other user , default root) * commandline option -s (stop process) /usr/local/sbin/VigilarMFS.sh -u user RunMaster.sh /usr/local/sbin/VigilarMFS.sh -s RunMaster.sh * sorry Google Translator ........... |