Replication

‐v (‐‐source‐vdevid) is required to specify the ID of the virtual tape to be configured for replication.

‐S (‐‐target‐name) is required to specify the target server name.

‐U (‐‐target‐username) and ‐P (‐‐target‐password) are optional for connection and login to the target server if the target server are not logged in with a login command.

The replication configuration requires a trigger policy to be set. If no trigger policy is specified, the command will automatically apply the appropriate default policy based on the tape caching property of the specified virtual tape.

Any combination of the following two options can be used to set up a replication trigger policy for a virtual tape with the tape caching property disabled. The default policy is 1024 MB watermark.

‐w (‐‐watermark) is a data size based trigger in MB. The watermark is checked when the tape is unloaded from the tape drive and the replication is triggered if the amount of new data on the tape has reached the specified watermark.

‐d (‐‐date) combined with ‐i (‐‐interval) is a time based trigger. The replication is triggered at the time specified by date and then repeated every interval. ‐d (‐‐date) format is YYYYMMDDHHMM and ‐i (‐‐interval) format is a number followed by H for hours or M for minutes (e.g. ‐i 2H or ‐‐interval=120M). The default value for interval is 1H (one hour).

‐r (‐‐repl‐first) is an option to replicate the virtual tape before it is migrated. Use ʺonʺ in order to enable this policy or ʺoffʺ to have tape migration executed first. The default policy is to replicate the virtual tape after it is migrated.

Replication is retried based on the timeout policy:

‐t (‐‐replication‐timeout) in seconds (default 60).

‐I (‐‐replication‐retry‐interval) in seconds (default 60).

‐C (‐‐replication‐retry‐count) retry count (default 1).

‐c (‐‐compression) is an option to enable or disable compression with one of the values: on or off.

‐e (‐‐encryption) is an option for remote replication only to set encryption with one of the values: on or off.

‐f (‐‐force) option is required when the tape is scheduled to be deleted. The deletion schedule for the virtual tape will be removed and the replication will be configured.

‐X (‐‐rpc‐timeout) is an option to specify a number between 1 and 30000 in seconds for the RPC timeout. The system will retry the command for the amount of time specified if the server does not respond. The default RPC timeout is 30 seconds.

202 VTL User Guide • May 2008

G • 96267

Page 216
Image 216
Sun Microsystems Virtual Tape Library manual Replication