#160753 - 2006-04-12 08:52 PM
Robocopy, IPG, and RAS
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
has anyone used robocopy with /ipg?
I am looking into using it to copy updates to users via RAS and wireless VPN, and was curious if anyone has tuned robocopy for RAS bandwidth speeds.
$Source = '\\server\setup$\hotfixes\WinXP\' $dest = 'c:\temp' $Switches = ' /zb /IPG:100 /R:3 /w:3 >nul'
$parsed = 'file.exe'
$RoboCommand = '%comspec% /c "'+@scriptdir+'\robocopy.exe" '+$source+' '+$dest+' '+$parsed+$Switches
shell $RoboCommand
|
|
Top
|
|
|
|
#160756 - 2006-04-13 04:11 AM
Re: Robocopy, IPG, and RAS
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
Cool, thats kind of what I was looking for. I have a few hundred teleworkers eiter on 56k modems or 120k 3G wireless VPN and was looking to make a client app that would suck down patches when available and recover if users disconnect.
Cool, I'll start testing at 500 or so.
|
|
Top
|
|
|
|
#160758 - 2006-04-13 08:43 AM
Re: Robocopy, IPG, and RAS
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
I'm building a kix app, I don't know yet if it will be a kf app or not, that will do a network detection, ping check a server, test for available hotfixes vs. installed hotfixes, and do the slow speed robocopy to the client, with resume, when download complete, prompt to install hotfix every X minutes or runonce on next logon.
I'm liking the KF tray app icon, but my IT mgmt might want the app to be more stealthy and run hidden/silent.
I might make it a 2 parter... one that uses current user just to dl the files from the server, and another "service" type acct (local admin/system acct) that just sits there waiting for the patches to complete and then installs them.. no more issues with user admin rights
anyone notice any major time savings vs local installs of patches vs. network mades installs.
|
|
Top
|
|
|
|
#160761 - 2006-04-13 09:55 AM
Re: Robocopy, IPG, and RAS
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
For RoboCopy or for what Rad is doing?
There is a GUI for RoboCopy on the Internet already if that's what you're talking about.
Robocopy GUI 3.0: Releases: Home
|
|
Top
|
|
|
|
#160763 - 2006-04-13 01:23 PM
Re: Robocopy, IPG, and RAS
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
I already have code that will enum a folder of hotfixes and parse the reg comparing them to installed patches.
at that point, I'll have robocopy copythem to the client machine. Once the copy is complete, I'll pester the user at 5-15 minute intervals to allow the install to happen, "A system update is available, do you wish to install now?" Then "Update is complete, Do you wish to reboot now?" and then robocopy would copy the next file if available?
|
|
Top
|
|
|
|
#160765 - 2006-04-13 02:49 PM
Re: Robocopy, IPG, and RAS
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
I have a need to copy 250MB log files from 33 servers spread out across the globe. In testing the /IPG switch on Robocopy XP010, I found that robocopy can copy the file in 0:02:30 (96.904 MegaBytes/min) without the /IPG switch. When I applied the /IPG:200 the copy took 0:14:01 (17.291 MegaBytes/min).
|
|
Top
|
|
|
|
#160767 - 2006-04-13 04:08 PM
Re: Robocopy, IPG, and RAS
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
I figure that this biggest effect of this will be to allow users to be online, get email and such while incrementally dl'ing the patches... some of these hotfixes are 6mb, and an impatient user will kill it every time, as well as being pissed that they could do nothing else during that time.
if it takes them all day to get it, so be it. Otherwise they'd have to drive into the office to install it, or have someone mail a cd to them.
|
|
Top
|
|
|
|
#160769 - 2006-04-14 12:15 PM
Re: Robocopy, IPG, and RAS
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
I'm actually considering tuning the value of IPG based on initial connection speed LAN: ipg:1 Wireless VPN: ipg:300-500 56K Dial up: ipg:500-900
some testing is required to tune it, but that is my general idea... and make this a client side app on all workstations
|
|
Top
|
|
|
|
#160772 - 2006-04-14 10:27 PM
Re: Robocopy, IPG, and RAS
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
The problem with BITS is that IIRC it checks the bandwidth of the local connection (100MB) and bases it utilization on that even though the WAN link between point A and point B is only 512KB. Not very intelligent.
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 829 anonymous users online.
|
|
|