HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96009, November 2009)

50 of 332
Removing orphan files
1. To configure orphan removal or deletion during mirror, verification, and restoration
processes, use the orphans enable command.
Command ORPHANS ENABLE
Description
Enables orphan file removal during subsequent mirror or
verification processes.
Syntax ORPHANS ENABLE con_id
Options con_id—Connection ID assigned to the source/target connection
Examples orphans enable 1
2. Use the MoveOrphanedFiles, MoveOrphansDir, RemoveAllOrphans,
RemoveOrphansTime, and LogAllOrphans options with the get and set
commands for orphan file configuration.
Command GET
Description
Requests the value of a Storage Mirroring Recover program setting
from the specified server
Syntax GET <setting> [machine]
Options
setting—See Server settings for a complete list of the
Storage Mirroring Recover program settings
machine—Name of the machine
Examples
get netport
get VerifyLogName
get DefaultAddress
Notes
If you do not specify a machine name, the value from the
current source will be returned. If you have not identified an
active source, no data will be returned.
Machine names that contain non-alphanumeric characters
must be enclosed in quotation marks.
Command SET
Description
Modifies the value of a Storage Mirroring Recover program setting
for the specified server