SET DR_GROUP
The SET DR_GROUP command changes the specified DR group properties.
Syntax
SET DR_GROUP group_name
Options
The following options are available with the SET DR_GROUP command.
NOTE:
From the destination side, a user can set only the comment and name options.
The access rights for a connected host. Possible values are readonly,
presentonly, and disable.
accessmode
64 Commands
The name of the source array virtual disk to add to the DR group. A destination
virtual disk is automatically created on the destination array
NOTE:
If a name is already in use, it is rejected and you must specify a new
name.
When adding a virtual disk to the DR group, the following options are
available and are optional:
• destination_disk_group The disk group on the destination array on
which the virtual disk is created.
• destination_vdisk_name The virtual disk that is created on the destination
array. By default, the name is the same as the source virtual disk.
• targetredundancy The redundancy level of the virtual disk created on
the destination array.
add_vdisk
Associates a user-defined comment with the DR group. The maximum number
of characters is 64 (including spaces) and the string must be enclosed in
quotes.
comment
The name of the source array virtual disk to remove from the DR group and
delete. The corresponding virtual disk on the destination array is removed
from the DR group and deleted from the array.
delete_vdisk
The name of the source array virtual disk to remove from the DR group. The
corresponding virtual disk on the destination array is removed from the DR
group but not deleted. The detached destination virtual disk continues to exist
as an independent virtual disk.
detach_vdisk
Instructs the controller to perform failover, and after failover is complete,
resume the connection between the DR groups.
failover_resume
Instructs the controller to perform failover, and after failover is complete,
suspend the connection between the DR groups.
failover_suspend
When the connection between the source and the destination array fails, all
writes are halted immediately and no write is reported as complete until the
connection is restored or the nofailsafe option is set.
failsafe
Disables the unit presentations for a DR source after a hard controller reboot,
when the link is down.
failsafe_on_powerup_linkdown
Suspends DR link when a full copy is triggered, enabling you to choose a
convenient time to start the full copy. Possible values are enable and disable
(default).
fullcopy_autosuspend
Forces the DR group to ignore the DR log and fully copy data from the source
array to the destination array.
forcefullcopy
When enabled, DR group replication is automatically suspended if the link
between the arrays goes down. Replication remains suspended even if the
link becomes active again. Possible values are enabled and disabled.
link_down_autosuspend
HP StorageWorks Storage System Scripting Utility reference 65
The maximum size of the DR log disk. The log size range depends on EVA
model and write mode.
• 136-MB (278528blocks) - 2-TB (4294967296blocks)— If DR is in synchronous/
asynchronous mode for EVA 3000 and EVA 5000, and in
synchronous mode for EVA 4000/4100, EVA 6000/6100 and
EVA8000/8100.
• 5-GB(10485760 blocks) - 2-TB(4294967296blocks) –This log size range
exists If for DRs in the rest of the combination of hardware model and write
mode. If the log size is left blank or set to 0 (zero), the controller software
calculates the optimum log size for the available space.
max_log_size
name The new name of the DR group.
The default when you create the DR group. When the connection between
the source array and the destination array fails, writes are directed to the log
until the connection is restored. When the connection is restored, the pending
writes are copied to the destination array and the log is resynchronized. If
the log becomes full, the array makes a full copy of the source virtual disk to
the destination virtual disk when the connection is restored.
nofailsafe
Enables the unit presentations for a DR source after a hard controller reboot,
when the link is down.
nofailsafe_on_powerup_linkdown
Allows data replication from the source array to the destination array to
resume. This causes the same behavior as a restored connection.
nosuspend
Stops data replication from the source array to the destination array. This
causes the same behavior as a failed connection.
suspend
Defines the I/O interaction between the destination array and the source
array. Possible values are synchronous and asynchronous.
writemode
Example
Suspend replication for the DR group Transactions:
SET DR_GROUP "\Data Replication\Transactions" suspend