dCore Import Debian Packages to Mountable SCE extensions > dCore X86

dCore modules

<< < (2/2)

Jason W:
Hi vinceASPECT, I am using VirtualHere across 3 machines on the same local area network.  VirtualHere server is running on the ones with IP address 192.168.0.2 and 192.168.0.6 each with a USB flash drive attached, client is 192.168.0.1.  Servers are dCore-bionic64 and dCore-bionic, client is dCore-bionic.  I downloaded the below file and ran it with the commands to start the server then plugged in a USB flash drive. 


--- Code: ---For dCore-bionic64:

wget https://www.virtualhere.com/sites/default/files/usbserver/vhusbdx86_64
chmod +x vhusbdx86_64
sudo ./vhusbdx86_64

If dCore-boinic:

wget https://www.virtualhere.com/sites/default/files/usbserver/vhusbdi386
chmod +x vhusbdi386
sudo ./vhusbdi386


--- End code ---



Then on the client machine:


--- Code: ---
For dCore-bionic64:

wget https://www.virtualhere.com/sites/default/files/usbclient/vhuit64
chmod +x vhuit64
sudo ./vhuit64

For dCore-bionic:

wget https://www.virtualhere.com/sites/default/files/usbclient/vhuit32
chmod +x vhuit32
sudo ./vhuit32


--- End code ---

The window opens up on the client machine, lists available machine IP addresses that have servers running.  You can pick to use a USB from the window from either server.  Then the client machine will automatically create a new device and mount point under /mnt.  Simply mount the new mount point as if it were on the machine, ie, "sudo mount /mnt/sdd1".  Placing instructions here in case anyone not familiar with it wants to try it. 

vinceASPECT:
Jason, that sounds just like how "virtualhere" is supposed to work....yes. And yes, the persmissions of files must be changed like you show.

You should be able to "share" physically connected USB devices on a Host machine (your server)
with other Client machines in a network of any topology including remote machines also. (CLOUD)

Jason, the "virtualhere" principle should also work in an identical fashion with Servers to VM;s, and Lin to Win or Win to Lin styles of that....or indeed Android to whatever ....or osx to whatever.... (platform independent)

I am unsure if you have a "demo" limited version, since you are purely moving between
Linux Servers and Linux Clients. You may have unlimited access.

Also, i am unsure if your network of machines can simultaneously use a particular USB device. For example, one of your machines streaming a movie off a flash drive.....and also another of your machines streaming some other movie file off that same "shared" flash drive "at the same time".......i don't remember that being possible.....as far as i know the "virtualhere METHOD" just allows "instant switch over access" of a USB device to another OS you move to...and so on.

Well it's good to know that USB hardware can be shared in this manner, and that it can also be shared with CLOUD machines on amazom ec2 or whatever.( Remote machines.)  It should also work with local VM machines.

Jason. my whole reasoning on this subject was getting proper usage of the "Level ONE baremetal hypervisor" feature which intel and Msoft supply free named Hyper-V .....and cpu's enabled with Hyper-V.
(proper USB hardware passthrough has still not been properly implemented it into Hyper-V yet)
(virtualhere should solve that)

The Hyper-V  VM system acts at Kernel level.

Jason, it's a good explanation you give and it demonstrates something that may indeed interest others since they may have often shared USB devices between Hosts and VM's running on the Host, but may not have yet had the convenience of sharing real USB devices between several real servers and clients on a wired or wi-fi network or remote CLOUD servers and amazon EC2's etc.

thanks a lot

Vin




Navigation

[0] Message Index

[*] Previous page

Go to full version