From: Brandon F. <bra...@li...> - 2013-03-28 19:36:56
|
thanks, I'll check that out. What I ended up doing was creating 3 different /usr/sbin/mfscgiserv files one for each mfs. and then I just had to change to owner of the .mfscgiserv.lock file (to fix the stopping right after strarting mfscgiserv) to match my mfs user. and finally edit mfs.cgi in the mfscgi root directory to match the master port that the mfs daemon was using. its working now, maybe a little more work this way, but it works. On Thu, Mar 28, 2013 at 12:13 PM, Ricardo J. Barberis <ric...@da...> wrote: > El Jueves 28/03/2013, Brandon Foster escribió: >> Hey all, >> I may have a somewhat unusual set up, I currently have 3 mfs daemons >> running on 1 machine, all using different ports and data directories. >> they are working great, but my issue is with mfscgi. > > I'm also running a multi-daemon mfs (actually several mfs clusters with 2 mfs > processes on each server). > > You shoudn't need to modify mfscgiserv, you can simply pass some parameters > like masterport via your browser, e.g.: > > http://mymfs.my.lan:9425/mfs.cgi&&masterport=9413 > > Basically, add "&mfsmasterport=NNNN" at the end pf ypur URLs. > > I have a single mfscgiserv running under apache and a simple html pointing to > the different master/port combinations to make it even easier. > >> I can get to work with one of the daemons (the one using default >> ports) but not the others. >> I try using the -P and -R option to change the rootpath and port >> numbers but it still will only show the info for the mfs daemon using >> default ports. >> >> I figured it would be an issue with telling it what datapath to use, >> but if i edit /usr/sbin/mfscgiserv to have the correct datapath it >> stops immediately after starting. oddly enough the default value for >> the datapath in mfscgiserv isnt even the correct path for the daemon >> it displays info for. >> >> has anyone tried this before? is there a secret -D option to tell it >> what data path to use? > > Regards, > -- > Ricardo J. Barberis > Senior SysAdmin / IT Architect > Dattatec.com :: Soluciones de Web Hosting > Tu Hosting hecho Simple! > > ------------------------------------------ > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > _______________________________________________ > moosefs-users mailing list > moo...@li... > https://lists.sourceforge.net/lists/listinfo/moosefs-users -- Brandon Foster Infrastructure Administrator Liferay, Inc. Enterprise. Open Source. For life. |