You are here: PS Series Group Administration > Advanced Replication > Performing Manual Transfer Replication > Using the Manual Transfer Utility CLI
If you attempt to perform manual transfer replication using the Manual Transfer Utility GUI and receive an error message that you cannot use the GUI, you can use the interactive command line interface (CLI) to the utility. The CLI is also referred to as reptool.
See Installing the Manual Transfer Utility for installation information.
Note: Even if you use the CLI to create transfer files, you may be able to use the GUI to load the transfer files, as described in Loading Transfer Files Using the GUI.
If you plan to use the GUI to load the data on the secondary group, the transfer files must be named using the following format:
primary_group.volume_name.secondary_group.n.eqd
The variable n is a sequence number, starting from 0 (zero), for multiple transfer files for the volume.
General steps for using the CLI to perform manual transfer replication are as follows:
Subsequent replication operations will proceed as usual over the network.
The following sections describe some of these steps in detail.
Before you can create transfer files, you must install the Manual Transfer Utility on a system with access to the primary group, as described in Installing the Manual Transfer Utility . In addition, you must create the first replica. This will create a temporary snapshot (called a replica snapshot in the CLI) in the primary group and a replica set and replica placeholder in the secondary group.
Follow these steps to use the Manual Transfer Utility CLI to create transfer files:
Note: If the initiator cannot connect to the snapshot, check the snapshot’s access control records and create one that allows the initiator to connect. See Managing Access Controls for Volumes and Snapshots for information on creating access control records for a snapshot.
If you plan to use the GUI on the secondary group to load the transfer file data to the replica set, you must use the following naming syntax:
primary_group.volume_name.secondary_group.n.eqd
For example (including the full path name):
C:\temp\group1.emailvol.group2.0.eqd
The following example shows a complete operation that created a single transfer file for the volume contents.
|
Welcome to reptool - the command line version of the Manual Transfer Utility
Copyright (C) 2006-2007 by EqualLogic, Inc.
Only use reptool if you attempted to use the Manual Transfer Utility GUI and received an error message. See the Group Administration manual for information about manual transfer replication.
Enter the number associated with the operation you want to perform.
1. Copy data from a replica snapshot to a transfer file. 2. Load a transfer file into a replica placeholder. 3. Collect diagnostic information for your support provider.
Operation: 1 Enter the number associated with the replica snapshot.
1. emailvol-2007-04-23-14:57:18.239
Replica snapshot: 1 |
|
Enter a name for the transfer file. You must specify the full path name. It is recommended that you use the following file name format:
primary_group.volume_name.secondary_group.n.eqd |
|
The variable n is a sequence number used if you will be creating multiple transfer files for the volume.
Transfer file name: C:\temp\group1.emailvol.group2.0.eqd
|
|
Optionally, enter the transfer file size limit in MB. The value in brackets shows the available space on the transfer file device.
Transfer file size limit in MB [44636]:
Enter the encryption password for the transfer file. Press the ENTER or RETURN key if you do not want encryption.
Password: |
|
Do you want to compress the transfer file (y/n) [y]: n 10244 MB of 10244 MB in, 0 MB of 44545 MB out, 0.0 MB/s
The copy operation is complete. No additional transfer files are needed. Press the ENTER key to exit. |
Note: In the CLI output, the input and output values probably will not be the same as the volume size. The transfer files will generally add up to less than the volume size, because unwritten (unused) blocks of the volume are not copied. Even if every block of the volume contains data, if compression is used, the transfer files will add up to less than the volume size.
After creating all the transfer files, the next step is to copy the files to external media (for example, a CD–ROM) and then transport the media to the system with access to the secondary group. You might need to use a separate application (such as a CD–ROM writer application) to copy the files to external media.
You can then load the transfer files into the replica set on the secondary group, as described in Loading Transfer Files Using the CLI.
If volume data cannot fit into a single transfer file, you must create additional files. To create additional transfer files using the Manual Transfer Utility CLI, follow these steps on the same system on which you create the first transfer file:
After creating all the transfer files, the next step is to copy the files to external media (for example, a CD–ROM) and then transport the media to the system with access to the secondary group. You might need to use a separate application (such as a CD–ROM writer application) to copy the files to external media.
You can then load the transfer files into the replica set on the secondary group, as described in Loading Transfer Files Using the CLI.
To complete the process of manual transfer replication, use the Manual Transfer Utility CLI to load the data from the transfer files into the replica set on the secondary group and then confirm that the process is complete.
Before you can load data, you must install the Manual Transfer Utility on a system with access to the secondary group, as described in Installing the Manual Transfer Utility . In addition, make the transfer files on the external media accessible to the system. For example, insert the CD–ROM or copy the files from tape to a directory.
Follow these steps to use the Manual Transfer Utility CLI to load data into a replica set:
partner select partner_name inbound-replicaset select replicaset_name
access show
To delete a access control record for a replica set, enter the following command:
partner select partner_name inbound-replicaset select replicaset_name
access delete number
Do not delete the record that will support normal replication between the partners after the first manual transfer is finished (typically, record number 1, with a user name that matches the primary group name, and an authentication method of chap-local).
The following example shows a complete data load operation using the CLI.
|
Welcome to reptool - the command line version of the Manual Transfer Utility
Copyright (C) 2006-2007 by EqualLogic, Inc.
Only use reptool if you attempted to use the Manual Transfer Utility GUI and received an error message. See the Group Administration manual for information about manual transfer replication.
Enter the number associated with the operation you want to perform.
1. Copy data from a replica snapshot to a transfer file. 2. Load a transfer file into a replica placeholder. 3. Collect diagnostic information for your support provider.
Operation: 2
Enter the number associated with the replica snapshot.
1. emailvol.1-2007-05-02-16:53:53.115
Replica snapshot: 1 |
|
Enter the name of the transfer file you want to load. You must specify the full path name.
Transfer file name: e:\group1.emailvol.group2.0.eqd
0 MB of 0 MB in, 0 MB of 10244 MB out, 0.0 MB/s
The load operation is complete. Press the ENTER key to exit. |
Note: In the CLI output, the input and output values may not match the size of the original volume. This can occur if unused volume blocks were skipped when creating the transfer files, or if the data size was reduced by compression. When the load operation is complete, all of the volume that was in use will have been copied to the replica set.