Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Dumb BAM question

  1. #1
    Past Administrator
    DrPop's Avatar
    Join Date
    October 13th, 2010
    Location
    SoCal, USA
    Posts
    7,635

    Dumb BAM question

    Now that I'm getting a little micro-farm going, this gets a little tedious when I want to switch projects (thinking of upcoming Pentathlon, PG Challenges, etc.)

    If I switch everything over to BAM, what is the best / fastest way to do it so I lose the least amount of crunching time?
    Do I detach from all the projects first, before I attach to BAM or ?
    Thanks for helping a noob farmer.

  2. #2
    Silver Member
    Crazybob's Son's Avatar
    Join Date
    November 12th, 2010
    Location
    Aurora, IL
    Posts
    537

    Re: Dumb BAM question

    All you have to do is create a BAM account, then on each computer you can attach to BAM and it will automatically pull whatever projects your computer is attached to. You don't have to detach or anything

  3. #3
    Administrator
    Bryan's Avatar
    Join Date
    October 27th, 2010
    Location
    CO summer, TX winter
    Posts
    6,457

    Re: Dumb BAM question

    I haven't used BAM in a couple of years so things might have chagned a little.

    You do NOT have to dump or detach from any projects. Just got to "tools" in the BOINC mgr. like you would to attach to a new project except you choose the 2nd option "Attach to a project manager". You must do this on each machine.

    Once you have gone to BAM and filled out accounts and passwords from that point forward you can add, delete, suspend, etc projects on 1 or all machines. This can be done either on all machines or individual machines.

    You can set your machines to contact BAM on an hourly basis (fastest) so changes you make to BAM will happen within an hour.

    An alternative that I prefer is to control the machines using BoincTasks. Using that I can control all machines from a single PC and I can additionally see their status and what they are crunching in real time.

    If you use BoincTasks and TeamViewer, a VNC program, you can remotely tie into your control computer and control all machines in realtime with BoincTasks.

    I have run remotely for extended periods using BAM and the BoincTasks/TeamViewer and there is NO comparison between the flexiblity of the two. In the latter case you have full and instantaneous control of each machine.

    The advantage to BAM is that if you choose you can make a single change that will appear on all computers. What you have told the machines to do should happen within an hour and then an hour after than you can actually check to see if it did happen.

    One problem I had with BAM is if the project it was crunching went down and BOINC Mgr. went into the 24 hour backoff mode then the machine would NOT contract BAM except every 24 hours. This was extremely frustrating but using BAM when you aren't 1500 miles away from your computerss wouldn't be a problem


  4. #4
    Platinum Member
    Mumps's Avatar
    Join Date
    October 28th, 2010
    Location
    Milwaukee, WI
    Posts
    3,994

    Re: Dumb BAM question

    Well, one other drawback to using something like BoincTasks is you have to be able to contact each machine. So if your hosts are behind firewalls, say your workstation at work, one at home and one at "Moms" house, it becomes a bit more difficult to remote control them. Similar problem if you're running VM's on your hosts using native NATing. The VM BOINC has the same "address" as the Host instance of BOINC, so you can't control both from something like BoincTasks without getting freaky with alternate ports and such.

    Using a Manager like BAM, once you've set the hosts up, each host initiates the check to see if there are any changes. So, if it can "call out" to Projects to send/receive WU's, it can contact BAM to be controlled. Even if it's multiple VM machines running on a single Host.

  5. #5
    Administrator
    Bryan's Avatar
    Join Date
    October 27th, 2010
    Location
    CO summer, TX winter
    Posts
    6,457

    Re: Dumb BAM question

    If the machines are in different locations as you mentioned (different houses) then just use TeamViewer and contact each machine from one machine. You don't have to move from console to console everything can be done from one location.

    Additionally it gives you the ability to reboot if necessary.

    To each their own, but having run my machines for 3 month intervals from 1500 miles away using both methods I find the capability of TeamViewer and BoincTasks works far far better for my needs.

    If you have tons of machines like you do Mumps then BAM is probably the best way to go. You make one change at BAM and ALL machines will follow within the hour. That is unless the project went down in the middle of the night and BOINC goes into its 24 hour backoff mode. Then you are dead in the water for a full day. At least that was my experience multiple times year before last.


  6. #6
    Platinum Member
    Maxwell's Avatar
    Join Date
    October 25th, 2010
    Location
    Everett, WA
    Posts
    3,300

    Re: Dumb BAM question

    I run a hybrid approach, similar to what Bryan says - I use BAM for the lab computers where I never am, but manually control all the computers I am at frequently via TeamViewer. The BAM computers are my "less mobile" machines, while the other ones can be moved wherever whenever (usually).

  7. #7
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,294

    Re: Dumb BAM question

    I just can't get Teamviewer to work. Although I have to admit, I never tried that hard to solve the issues when plain old vnc works just fine.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  8. #8
    Silver Member

    Join Date
    March 17th, 2011
    Posts
    197

    Re: Dumb BAM question

    I'm running BoincTasks and have a couple questions.

    1. The name is eRMer BoincTasks?
    2. I can connect to my window boxes, but can not connect to my linux box. I've updated the remote_hosts.cfg and gui_rpc_auth.cfg in the /var/lib/boinc directory. Any ideas?

    Nice tool BTW. Now I never need to get up and go to the other boxes.

    Thanks,

    Dan

  9. #9
    Past Administrator
    Fire$torm's Avatar
    Join Date
    October 13th, 2010
    Location
    In the Big City
    Posts
    7,938

    Re: Dumb BAM question

    Quote Originally Posted by dan View Post
    I'm running BoincTasks and have a couple questions.

    1. The name is eRMer BoincTasks?
    2. I can connect to my window boxes, but can not connect to my linux box. I've updated the remote_hosts.cfg and gui_rpc_auth.cfg in the /var/lib/boinc directory. Any ideas?

    Nice tool BTW. Now I never need to get up and go to the other boxes.

    Thanks,

    Dan
    Sorry but you put them in the wrong sub-folder. Those two files should go into the /etc/boinc-client folder.

    Edit: Also that is the folder where cc_config.xml goes if you use one.
    Last edited by Fire$torm; 05-25-11 at 02:12 PM.


    Future Maker? Teensy 3.6

  10. #10
    Silver Member

    Join Date
    March 17th, 2011
    Posts
    197

    Re: Dumb BAM question

    Quote Originally Posted by Fire$torm View Post
    Sorry but you put them in the wrong sub-folder. Those two files should go into the /etc/boinc-client folder.

    Edit: Also that is the folder where cc_config.xml goes if you use one.
    There is an /etc/init.d/boinc-client script, but no subdirectory. /var/lib/boinc is the home directory for boinc and is read at startup.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •