Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
USB redirection
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01592993
Message ID:
01593194
Vues:
31
>>>>>Bit of a long shot but anyone know how to redirect a USB port from one OS to another with VFP? I guess the communication between them would probably be done via a named pipe.
>>>>>
>>>>>In this case what I actually want to do is USB passthrough from a Server 2012 R2 hyper-V host to a win XP virtual machine.
>>>>
>>>>Maybe: http://www.msserverpro.com/support-for-usb-access-in-windows-server-2012-r2-hyper-v-through-microsofts-new-virtual-machine-enhanced-session-mode/
>>>
>>>Thanks for the suggestion Al but I have investigated that and it only works via a RDP connection not a proper network connection. Also only supports use of Windows 8 and above. My problem is that the virtual machine needs to be XP (which this type of connection does not support) because we want to run NTBackup to backup to tape.
>>
>>Just to be clear, you want to run NTBackup on the XP VM using an external device as the target. You say "tape" above but I assume you mean an external USB hard drive (?)
>>
>>You might want to consider a couple of alternatives to getting direct host hardware access:
>>
>>1. Windows Server Backup - I don't know about bare-metal Hyper-V, but if you're running Hyper-V as a role on a conventional Server 2012 R2 host, Server Backup is available. It can back up running VMs with the caveat it may take them off-line for a bit while doing so.
>>
>>2. There are 3rd-party utilities available that run on the host and can back up running VMs. One client of mine is using Altaro. Its main selling points for us are that it can back up running VMs without taking them off-line, and that it uses reverse-delta incremental backup technology so that the most recent backup can be quickly restored. Pricing is reasonable: http://www.altaro.com/hyper-v-backup/pricing.php . It has been reliable and slick for us. We back up from the host to a NAS but you can definitely back up to a directly attached USB hard drive.
>>
>>In general, the idea with VMMs like Hyper-V is to isolate the VMs from access to the host hardware. This is especially important with networking. If you set up a host that has only one physical Ethernet connection then by default the host and VMs are on the same subnet but that's bad from a security POV. Far better is to have 2 (or more) physical Ethernet adapters; the host on one subnet (so-called "out of band") and the VMs on a virtual switch connected to the other(s), on a different subnet. If you're currently using the latter, preferred configuration it's a bad idea to try to go back to a shared subnet configuration.
>>
>>If you Google [hyper-v usb passthrough] there are some links to 3rd-party products and some hacks in earlier versions of Hyper-V. I haven't used any of them but in general, if you're looking for backup, I wouldn't go that route. Windows Server Backup or something like Altaro would be the way to go.
>
>Not USB hard drive but USB tape device. Can't use windows backup because it does not support backup to tape, that is why looking at using NTBackup in win XP instead. But as you can see the problem is how to connect the XP VM to the physical drive.

Interesting... I didn't know USB tape drives existed but I see some models are available.

First question - are you sure NTBackup running on XP on real hardware is able to back up to that drive? If not, there's no way it'll work even if tape device passthrough worked perfectly.

Assuming that you know it does work on real hardware, passthrough doesn't look good: http://www.symantec.com/connect/forums/attach-physical-tape-drive-sas-hyper-v-2012-virtual-machine . The post at the bottom talks about "new" passthrough features, my guess is it refers to the "enhanced session mode" already discussed and which is not available for XP guest VMs. Bottom line, it doesn't look like you'll be able to connect that tape drive to the XP VM reliably or in a supported fashion.

I still recommend running backup software on the host to backup the VM(s). Altaro does not currently support backup to tape, but apparently Veeam does: http://go.veeam.com/v7 , there may be others. Since USB tape backup is a bit exotic you'd need to make 100% sure your specific tape device is supported by any software you plan to use.

If you could somehow make the USB tape drive appear as an iSCSI device to the host, you could use Windows Server Backup, or Altaro.

The only other approach I can think of is to attach the drive to another physical host computer on the same subnet as the XP VM, and see if you can establish a network connection such that you can access the drive.

You could make all these troubles go away by using USB hard drive(s) instead. Is there any particular reason you have to use the USB tape device?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform