Configuring orphan files, Configuring orphan files -16 – HP Storage Mirroring Software User Manual

Page 97

Advertising
background image

7

-

16

Configuring orphan files

1.

To determine the current orphan files setting, use the

get

command with the

MoveOrphanedFiles

option. By default,

orphan files are not deleted.

2.

To modify the orphan files setting, use the

set

command with the

MoveOrphanedFiles

option. The

MoveOrphanedFiles

option is set to

0

to delete orphan files or

1

to move orphan files.

3.

You can also delete or move only those orphan files that are older than a specified time. To determine the current
remove orphans time, use the

get

command with the

RemoveOrphansTime

option.

4.

To modify the length of time applied to determine which orphan files are deleted or moved, use the

set

command with

the

RemoveOrphansTime

option. This option accepts any valid number of minutes between

1

and

131072

. By default,

the length of time is

60

minutes.

5.

If you are moving the orphan files, these files are relocated to another directory. To determine the location where the
orphaned files are moved, use the

get

command with the

MoveOrphansDir

option.

Command

GET

Description

The Text Client/DTCL sends a request to Storage Mirroring to return the value of a Storage
Mirroring program setting. The setting is retrieved by Storage Mirroring from the registry.

Syntax

GET <

option

> [

machine

]

Options

!

option

—See

Storage Mirroring Text Client program settings

on page 14-11.

!

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.

Command

SET

Description

The Text Client/DTCL sends a request to Storage Mirroring to modify the value of a Storage
Mirroring program setting. The setting is immediately applied and is then forwarded to the registry
where it is also applied.

Syntax

SET <

option

>=<

value

> [

machine

]

Options

!

option

—See

Storage Mirroring Text Client program settings

on page 14-11.

!

value

—See

Storage Mirroring Text Client program settings

on page 14-11.

!

machine

—Name of the machine

Examples

!

set netport=1100

!

set VerifyLogName=”HA server.log”

!

set DefaultAddress=”129.12.34.3”

Notes

!

Some settings, although immediately applied to Storage Mirroring, will not take effect until the
client or service is restarted. For example, the Text Client must be closed and reopened for a
change to ClientLogName to take effect. And the service must be restarted to cause a change in
the modules loaded if the LoadSourceTarget setting is changed. See

Storage Mirroring Text Client

program settings

on page 14-11 for details on each configuration option.

!

If you do not specify a machine name, the value from the current source will be updated. If you
have not identified an active source, no changes will be made.

Advertising