Page 1 of 2 12>
Topic Options
#160753 - 2006-04-12 08:52 PM Robocopy, IPG, and RAS
Radimus Moderator Offline
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
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#160754 - 2006-04-12 09:23 PM Re: Robocopy, IPG, and RAS
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Rad,
 
Here is a product that Glenn uses and really likes.
I'd read the pages of the first link and then get the download
 
Warning! Unison Home Page for download is VERY SLOW
 
 

Unison File Synchronizer
http://web.mit.edu/pgbovine/www/unison_guide.htm


Unison Home Page
http://www.cis.upenn.edu/~bcpierce/unison

Top
#160755 - 2006-04-12 10:08 PM Re: Robocopy, IPG, and RAS
ChristopheM Offline
Hey THIS is FUN
*****

Registered: 2002-05-13
Posts: 311
Loc: STRASBOURG, France
i am using robocopy with /IPG in the login script with about 3500 workstations (700 are WAN)

sometimes, for some special "big" updates, we don't use SMS.
We push the install files on workstation with robocopy /IPG at the login script and when local sources are ready, we launch the install.

The last time we used this method, we pushed aproximatively 280 MB, on the LAN with /IPG:500, on the WAN with /IPG:750

I think /IPG:100 is too short.
_________________________
Christophe

Top
#160756 - 2006-04-13 04:11 AM Re: Robocopy, IPG, and RAS
Radimus Moderator Offline
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.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#160757 - 2006-04-13 08:21 AM Re: Robocopy, IPG, and RAS
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
It appears that RoboCopy.exe is a standard command line tool in Windows Vista

ROBOCOPY :: Robust File Copy for Windows :: Version XP027


http://mark.michaelis.net/Blog/RobocopyStandardOnWindowsVista.aspx

Top
#160758 - 2006-04-13 08:43 AM Re: Robocopy, IPG, and RAS
Radimus Moderator Offline
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.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#160759 - 2006-04-13 09:23 AM Re: Robocopy, IPG, and RAS
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Speed wise may not be an issue, but being automated if the client lost connection in the middle of a hotfix or other install it could easily cause a BSOD.

I would only do so myself by copying to the local system and when done remove the source files.

 

Top
#160760 - 2006-04-13 09:51 AM Re: Robocopy, IPG, and RAS
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Interesting ... I currently started to code on a GUI for it .. which will evolve to a little admin tool on the way...
_________________________



Top
#160761 - 2006-04-13 09:55 AM Re: Robocopy, IPG, and RAS
NTDOC Administrator Offline
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
#160762 - 2006-04-13 11:32 AM Re: Robocopy, IPG, and RAS
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Ja,

but some of these won't work with W2K3 and I wanted it to work in any case ... the point is the evolution when it works to a 'Tool' that will be small, portable and does 90% of my daily admin work ... we will see


Edited by Jochen (2006-04-13 11:47 AM)
_________________________



Top
#160763 - 2006-04-13 01:23 PM Re: Robocopy, IPG, and RAS
Radimus Moderator Offline
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?
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#160764 - 2006-04-13 01:44 PM Re: Robocopy, IPG, and RAS
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Ja,

but that's not what I want to end up with ... sorry for hijacking your thread Conrad
_________________________



Top
#160765 - 2006-04-13 02:49 PM Re: Robocopy, IPG, and RAS
Howard Bullock Offline
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).
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#160766 - 2006-04-13 02:56 PM Re: Robocopy, IPG, and RAS
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
It's a pretty unsophisticated method for pacing file transfers as all it does it sleep between packets.

This means that on an idle circuit it is just wasting time when it could be usefully transferring data.

On the other hand, we've had plenty of experience with robocopy swamping WAN connections and being damned hard to kill off, so anything which means interactive users get a chance is better than nothing.

Top
#160767 - 2006-04-13 04:08 PM Re: Robocopy, IPG, and RAS
Radimus Moderator Offline
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.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#160768 - 2006-04-14 05:42 AM Re: Robocopy, IPG, and RAS
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Isn't BITS already optimized for this kind of environment/scenario?
_________________________
There are two types of vessels, submarines and targets.

Top
#160769 - 2006-04-14 12:15 PM Re: Robocopy, IPG, and RAS
Radimus Moderator Offline
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
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#160770 - 2006-04-14 06:58 PM Re: Robocopy, IPG, and RAS
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
I think what Jens is getting at is that BITS is a much better technology and it's is already or should already be on most if not all your systems since it's a requirement for all new updates from Microsoft.

If you could somehow harness that technology via COM that might be the best way to go.

As Richard has mentioned - it basically is just a SLEEP switch that continues to march on regardless of network traffic patterns or client issues.
 
I have not looked for anything yet though to see if it's possible to get at BITS or not.
 

Top
#160771 - 2006-04-14 07:08 PM Re: Robocopy, IPG, and RAS
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4574
Loc: USA
BITSAdmin Tool
I haven't used it but I've looked over it a couple of different times.
_________________________
(... better days ahead)

Top
#160772 - 2006-04-14 10:27 PM Re: Robocopy, IPG, and RAS
Howard Bullock Offline
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.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
Page 1 of 2 12>


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.152 seconds in which 0.079 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org