Download User's Guide

Transcript
USERS GUIDE
•
Percentage(%): The amount of network bandwidth. Values must be in the range of 5
to 100.
Bandwidth options are set on a per-job basis. If you have multiple file replication jobs active at
once, the job bandwidth settings can interact. For example, if you have one job that's allowed
100 KB/sec second, and another that's allowed 50 KB/sec, the total bandwidth used if the two
jobs are active at the same time will be 150 KB/sec. With percentage of available bandwidth,
it's slightly more complicated. If you have two jobs that are allowed 50% of available
bandwidth, the total bandwidth used by both jobs won't exceed 50% of the total. Each job will
end up with about 25% of the available bandwidth.
Scheduling replication from the command-line
Management Suite ships with two file replicator versions:
•
The graphical version (LANDeskFileReplicator.exe), which only runs when a user is
logged on.
•
The command-line version (LANDeskFileReplicatorNoUI.exe), which you can run from
Microsoft's Task Scheduler or the Management Suite local scheduler. Running the file
replicator this way doesn't require a logged-on user.
The graphical and command-line file replicators use the same XML-format configuration file.
Before using the command-line file replicator, you need to use the graphical file replicator to
create an XML configuration file.
The following is the syntax for LANDeskFileReplicatorNoUI.exe:
LANDeskFileReplicatorNoUI.exe configfile [logfile]
Here is an example:
LANDeskFileReplicatorNoUI.exe LDHTTPCopyTaskConfig.xml replicator.log
The following sections describe to ways you can schedule LANDeskFileReplicatorNoUI.exe from
the command-line.
•
"Scheduling replication using the Local Scheduler service" on page 546
•
"Scheduling replication using the Microsoft Task Scheduler service" on page 547
The examples in the steps below assume that each package server has two hard drives: the C
drive for the operating system; and the D drive for data storage. It also assumes that each
server is configured to have a web share named Packages that has a local patch of
D:\Packages.
Scheduling replication using the Management Suite Local Scheduler
service
The Management Suite Local Scheduler service is installed with the Management Suite agent
configuration. The file used is LocalSch.exe. If your server isn't managed by Management
Suite, this service won't exist and you'll have to use the Microsoft task scheduler instead. For
more information on the local scheduler, see "Using the local scheduler" on page 127.
Once you've copied the file replicator files and XML configuration file to your server, enter the
following at a command prompt to schedule replication to occur every 20 minutes:
"%programfiles%\LANDesk\LDClient\LocalSch.exe" /taskid=1 /freq=1200
/exe="%ProgramFiles%\LANDesk\ManagementSuite\Utilities\File
Replicator\LANDeskFileReplicatorNoUI.exe"
/cmd="""%ProgramFiles%\LANDesk\ManagementSuite\Utilities\File
Replicator\LDHTTPCopyTaskConfig.xml""
""%ProgramFiles%\LANDesk\ManagementSuite\Utilities\File Replicator\replicator.log"""
546