How to monitor VirtualBox setup?

Moderators: Site Moderators, FAHC Science Team

Post Reply
Zagen30
Posts: 823
Joined: Tue Mar 25, 2008 12:45 am
Hardware configuration: Core i7 3770K @3.5 GHz (not folding), 8 GB DDR3 @2133 MHz, 2xGTX 780 @1215 MHz, Windows 7 Pro 64-bit running 7.3.6 w/ 1xSMP, 2xGPU

4P E5-4650 @3.1 GHz, 64 GB DDR3 @1333MHz, Ubuntu Desktop 13.10 64-bit

How to monitor VirtualBox setup?

Post by Zagen30 »

I decided to go ahead and set up a VM for my SMP folding. I'm using VirtualBox 4.1.16, running 64-bit Ubuntu 12.04 inside Win7 64-bit.

Since networking is really not my thing, I'm having trouble figuring out how to get my Windows client and HFM to see the VM's client (and no, I'm not going to switch this machine fully to Linux). Let's say my desktop's IP address is 192.1.2.3, while the address that ifconfig is providing in the VM is 10.0.2.5; VB is attached to NAT for its network access. I'm guessing that 10.0.2.5 is some sort of proxy or something, and that it's really communicating over the 192 address since that's what the computer's actually getting. I've tried adding a client in FAHControl and HFM using both the 192 and 10 addresses, making sure the password and port are correct, but neither one has turned up anything valid.

Anyone know what I need to do in this case?
Image
ChelseaOilman
Posts: 1037
Joined: Sun Dec 02, 2007 3:47 pm
Location: Colorado @ 10,000 feet

Re: How to monitor VirtualBox setup?

Post by ChelseaOilman »

If you can't see the linux F@H folder in Windows Explorer, neither can HFM.NET. You need to set up Samba on the linux VM. Right click on the F@H folder in the VM and share the folder to get started.
Zagen30
Posts: 823
Joined: Tue Mar 25, 2008 12:45 am
Hardware configuration: Core i7 3770K @3.5 GHz (not folding), 8 GB DDR3 @2133 MHz, 2xGTX 780 @1215 MHz, Windows 7 Pro 64-bit running 7.3.6 w/ 1xSMP, 2xGPU

4P E5-4650 @3.1 GHz, 64 GB DDR3 @1333MHz, Ubuntu Desktop 13.10 64-bit

Re: How to monitor VirtualBox setup?

Post by Zagen30 »

Sorry, I forgot to mention these are v7 clients (knew I forgot something), so don't I need a direct connection instead of just pointing it to the work directory?
Image
patonb
Posts: 348
Joined: Thu Oct 23, 2008 2:42 am
Hardware configuration: WooHoo= SR-2 -- L5639 @ ?? -- Evga 560ti FPB -- 12Gig Corsair XMS3 -- Corsair 1050hx -- Blackhawk Ultra

Foldie = @3.2Ghz -- Noctua NH-U12 -- BFG GTX 260-216 -- 6Gig OCZ Gold -- x58a-ud3r -- 6Gig OCZ Gold -- hx520

Re: How to monitor VirtualBox setup?

Post by patonb »

You need to set up sharing like Chelsea said, once you get that going you just point the hfm to it via the setup share name from vbox, or the 192 ip address.
WooHoo = L5639 @ 3.3Ghz Evga SR-2 6x2gb Corsair XMS3 CM 212+ Corsair 1050hx Blackhawk Ultra EVGA 560ti

Foldie = i7 950@ 4.0Ghz x58a-ud3r 216-216 @ 850/2000 3x2gb OCZ Gold NH-u12 Heatsink Corsair hx520 Antec 900
parkut
Posts: 364
Joined: Tue Feb 12, 2008 7:33 am
Hardware configuration: Running exclusively Linux headless blades. All are dedicated crunching machines.
Location: SE Michigan, USA

Re: How to monitor VirtualBox setup?

Post by parkut »

I *think* you need to set up "Bridged" connection to get the virtual machine on
the same network as your Windows box. I don't have access to a virtualbox setup
so I can't test thls.

Check documentation here -- http://www.virtualbox.org/manual/ch06.html
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: How to monitor VirtualBox setup?

Post by bruce »

I can't test it either, but "bridged" sounds right.

Setting up HFM is one objective worth pursuing. Monitoring and controlling it directly with FAHControl is an independent possibility that you might want to pursue. If a telnet connection can penetrate the firewall/NAT/etc. barrier, then a single copy of FAHControl can work with both the Windows copy of FAHClient (if you have one) and the Linux copy of FAHClient.

Running both would be useful if Windows has a GPU that you want to use along with a Linux SMP slot. (...or you can run two copies of FAHControl if you prefer.)
Nathan_P
Posts: 1180
Joined: Wed Apr 01, 2009 9:22 pm
Hardware configuration: Asus Z8NA D6C, 2 x5670@3.2 Ghz, , 12gb Ram, GTX 980ti, AX650 PSU, win 10 (daily use)

Asus Z87 WS, Xeon E3-1230L v3, 8gb ram, KFA GTX 1080, EVGA 750ti , AX760 PSU, Mint 18.2 OS

Not currently folding
Asus Z9PE- D8 WS, 2 E5-2665@2.3 Ghz, 16Gb 1.35v Ram, Ubuntu (Fold only)
Asus Z9PA, 2 Ivy 12 core, 16gb Ram, H folding appliance (fold only)
Location: Jersey, Channel islands

Re: How to monitor VirtualBox setup?

Post by Nathan_P »

Bruce and parkut are correct, networking needs to be setup in bridged mode as per the vbox set up guide.

Once this is set up, configure folder sharing in the usual way on ubuntu. Then check that you can access the shared folder from windows by using windows explorer.

you can then add your client to hfm and you should be good to go.

My vm is set up but not currently running as i got better PPD in windows. Let me know if you are still struggling after following the above and i'll set mine back up.

edit:- removed an incorrect statement
Image
patonb
Posts: 348
Joined: Thu Oct 23, 2008 2:42 am
Hardware configuration: WooHoo= SR-2 -- L5639 @ ?? -- Evga 560ti FPB -- 12Gig Corsair XMS3 -- Corsair 1050hx -- Blackhawk Ultra

Foldie = @3.2Ghz -- Noctua NH-U12 -- BFG GTX 260-216 -- 6Gig OCZ Gold -- x58a-ud3r -- 6Gig OCZ Gold -- hx520

Re: How to monitor VirtualBox setup?

Post by patonb »

With Ubuntu you need to setup samba too, which can be a pain, though there is a good how to run ubuntu guide out in the interwebz that helped me a lot.
WooHoo = L5639 @ 3.3Ghz Evga SR-2 6x2gb Corsair XMS3 CM 212+ Corsair 1050hx Blackhawk Ultra EVGA 560ti

Foldie = i7 950@ 4.0Ghz x58a-ud3r 216-216 @ 850/2000 3x2gb OCZ Gold NH-u12 Heatsink Corsair hx520 Antec 900
Zagen30
Posts: 823
Joined: Tue Mar 25, 2008 12:45 am
Hardware configuration: Core i7 3770K @3.5 GHz (not folding), 8 GB DDR3 @2133 MHz, 2xGTX 780 @1215 MHz, Windows 7 Pro 64-bit running 7.3.6 w/ 1xSMP, 2xGPU

4P E5-4650 @3.1 GHz, 64 GB DDR3 @1333MHz, Ubuntu Desktop 13.10 64-bit

Re: How to monitor VirtualBox setup?

Post by Zagen30 »

Thank you all, I'll get on it when I get home from work.
Image
Zagen30
Posts: 823
Joined: Tue Mar 25, 2008 12:45 am
Hardware configuration: Core i7 3770K @3.5 GHz (not folding), 8 GB DDR3 @2133 MHz, 2xGTX 780 @1215 MHz, Windows 7 Pro 64-bit running 7.3.6 w/ 1xSMP, 2xGPU

4P E5-4650 @3.1 GHz, 64 GB DDR3 @1333MHz, Ubuntu Desktop 13.10 64-bit

Re: How to monitor VirtualBox setup?

Post by Zagen30 »

Update: All it took was switching to Bridged mode and a reboot of the VM so it could get a new IP address (probably could have just disconnected/reconnected it without a reboot) and then pointing the Windows client and HFM to that address (plus password and port number). I did not need to install Samba or do anything about folder sharing.
Image
Post Reply