HP Enterprise File Services WAN Accelerator manual Mirroring Data, To mirror data

Page 20

rcu /copy c:\data server1 client1_data

In this example the RCU copies the c:\data directory on the client to the client1_data directory on the server (which is located in the RCU working directory on the server).

IMPORTANT: Windows restricts many file names (including the path) to 255 characters.

When you copy, mirror, or prepopulate data using the RCU, make sure your path and file names

do not exceed 255 characters. For example:

c:\temp\rcu\rcu.exe /

copy d:\database remoteHost d:\NYBackup\database

If a file in d:\database has a name with 243 characters, this file cannot be restored on the server because the server path name and the file name exceeds 255 characters. The RCU reports an error in this case.

Mirroring Data

When the RCU mirrors data, the client specifies to the server which directory or file it wants to mirror. The server sends information about this directory on the server to the client. The client examines the information on the server and compares it with its own files. Finally, the client sends the files that differ to update the server. Any files on the server that are different from the client will either be removed (if they do not exist on the client) or updated based on the client version. New files created on the client will also be sent to the server.

In monitor mode with mirroring, only the client is monitored for changes, not the server. A change on the server is not detected until a change occurs on the client directory where the mirroring process is invoked.

The client RCU utility uses the following information to compare the client and server files:

‹File attributes (for example: read-only, hidden, system, and so forth)

‹File creation or modification time

‹File size

‹Security descriptor (only if the /compareacls option is invoked)

On the client, for each file or directory, if any of the above have changed, the file on the server is updated to match the file on the client. Thus, mirroring makes the server the same as the client.

To mirror data

1.

On server1, start a command window. This command starts the server RCU

 

 

process in the e:\working directory.

 

2.

Move to the working directory on the server where you want to copy data. For

 

 

example:

cd e:\working

3.Start the RCU on the server. For example:

18

2 - INSTALLING AND USING THE RCU

Image 20
Contents HP StorageWorks Enterprise File Services Remote Copy Utility 392364-003Page Contents Chapter HP EFS RCU Commands IndexTypes of Users Organization of This Guide IntroductionAbout This Guide Document Conventions BoldfaceHardware and Software Dependencies Additional ResourcesRelated Reading HP Storage Web Site HP NAS Services Web Site Contacting HPIntroduction HP EFS Remote Copy Utility OverviewFeatures HP EFS RCU DeploymentTransparent Prepopulation HP EFS Remote Copy Utility Installing and Using the RCU Installing the RCUTo install the RCU on a Client and serverModifying the Default RCU Parameters Upgrading from RCU 2.1 toRunning the RCU from the Command-Line Interface Scheduling Tasks for the RCUTo schedule tasks for RCU on a clientTo copy data To start the RCU in server mode as a Windows serviceCopying Data Mirroring Data To mirror dataTransparently Prepopulating Cifs Data To run the RCU in monitor mode Monitoring DataAdditional RCU Features Restricting ClientsCreating Log Files To restrict clientsSpecifying Time Limits Specifying Wild Cards Excluding Files and DirectoriesHP EFS RCU Commands Client ActionsCopy SyntaxMirror PrepopParameters DescriptionClient Options ExcludepathMaxretries ExampleMaxretrywait TimeoutServer Options Denyclientip AllowabspathAllowclientip Server ServerdebugMonitoring Actions MonitorMonitoridlewait MonitormaxwaitLogfilemax Logging OptionsLogfile Global Options LogfilenameLogfilenum QuietConfigfile CompareaclsReadtimeout PortRecvbuf SendbufHP EFS RCU Commands Index RCUIndex
Related manuals
Manual 232 pages 61.98 Kb Manual 1 pages 12.03 Kb Manual 14 pages 52.65 Kb Manual 124 pages 48.85 Kb