CLI Guide
NOTE: If your operating system requires additional instructions, you can find those instructions
in your operating system documentation.
After your server has been prepared, see Recopying The Virtual Disk to recopy the virtual disk.
Recopying The Virtual Disk
After first preparing the host server(s) as specified in the preceding procedure, use the following examples
to make a virtual disk copy.
The following syntax is the general form of the command:
recopy virtualDiskCopy target [targetName] [source
[sourceName] copyPriority=(highest | high | medium
| low | lowest) targetReadOnlyEnabled=(TRUE | FALSE)]
NOTE: Use one or all of the optional parameters as needed to help define your configuration. It is
not necessary to use any optional parameters.
Refer to steps 1 through 4 in the preceding section, Preparing Host Servers To Recopy A Virtual Disk. The
following example shows a command that changes the copy priority:
client>smcli 123.45.67.89 -c "recopy
virtualDiskCopy target [\"Obi_1\"] copyPriority=highest;"
The command in this example copies data from the source virtual disk associated with the target virtual
disk Obi_1 to the target virtual disk again. The copy priority is set to the highest value to complete the
virtual disk copy as quickly as possible. The underlying consideration for using this command is that you
have already created the virtual disk copy pair. When you create a virtual disk copy pair, you automatically
created one virtual disk copy. Using this command, you are copying the data from the source virtual disk
to the target virtual disk. You are making this copy because the data on the source virtual disk changed
since the previous copy was made.
Refer to steps 1 through 4 in the preceding section, Preparing Host Servers To Recopy A Virtual Disk. The
following example is the script file version of the command:
recopy virtualDiskCopy target ["Obi_1"]
copyPriority=highest;
Stopping A Virtual Disk Copy
The stop virtualDiskCopy command enables you to stop a virtual disk copy that has a status of In
Progress, Pending, or Failed. After you stop a virtual disk copy, you can use the
recopy
virtualDiskCopy command to create a new virtual disk copy using the original virtual disk copy pair.
All mapped hosts have write access to the source virtual disk.
The following syntax is the general form of the command:
stop virtualDiskCopy target [targetName] [source [sourceName]]
The following example shows a command to stop a virtual disk copy operation:
client>smcli 123.45.67.89 -c "stop virtualDiskCopy target [\"Obi_1\"];"
The following example is the script file version of the command:
stop virtualDiskCopy target ["Obi_1"];
87