Top
ETERNUS SF AdvancedCopy Manager V15.3 Operation Guide
ETERNUS

12.2.1 Environment definition commands

This section describes the environment definition commands for backup management.


12.2.1.1 swstsvrset (Managed Server configuration information setting command)

NAME

swstsvrset - sets configuration information of a Managed Server


SYNOPSIS

To be executed on the Managed Server
<program-directory>\bin\swstsvrset [-c RecCtrlFile-Directory] [-w Work-Directory]
To be executed on the Management Server
<program-directory>\bin\swstsvrset [-h Server-Name] [-c RecCtrlFile-Directory] [-w Work-Directory]

DESCRIPTION

This command sets configuration information of a Managed Server. Execution of this command declares that the Managed Server on which the command is executed is a server that performs backup operations.

For backup and recovery of Symfoware databases, register the storage location of the recovery control file created during backup (target directory for output of the recovery control file) as well as the working directory that is used for the recovery of the databases during restore.

For modifying the target directory for output of the recovery control file or the working directory, specify the directory name to be changed and run the command again.

After modifying the target directory for output of the recovery control file, transfer the recovery control file from the previous directory to the new one. If the transfer fails due to insufficient space, the target directory for output of the recovery control file will not be changed. In that case, the recovery control file will be kept in the directory where it was before the modification.


OPTIONS

-h Server-Name

Specifies the name of a Managed Server to be subject to the backup operation.
This option can be specified only on a Management Server.
If this option is omitted, the Managed Server on which the command is entered will be subject to the processing.

-c RecCtrlFile-Directory

Specifies the name of the target directory for output of the recovery control file. As the output target, specify an empty directory.
If this option is omitted at the time of first registration, the following directories will be used.

Non-cluster operation: <Environment directory>\etc\SymfoWARE\Recovery
Cluster operation: <Environment directory for logical node>\etc\SymfoWARE\Recovery

If this option is omitted during an update, the previously set values will be carried over.
Do not use this option when Symfoware is not installed.

-w Work-Directory

Specifies the name of the working directory.
If this option is omitted at the time of first registration, the following directories will be used.

Non-cluster operation: <Environment directory>\var\SymfoWARE
Cluster operation: <Environment directory for logical node>\var\SymfoWARE

If this option is omitted during an update, the previously set values will be carried over.
Do not use this option when Symfoware is not installed.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES

NOTES

12.2.1.2 swstsvrdisp (Managed Server configuration information display command)

NAME

swstsvrdisp - displays configuration information of a Managed Server


SYNOPSIS

To be executed on the Managed Server
<program-directory>\bin\swstsvrdisp
To be executed on the Management Server
<program-directory>\bin\swstsvrdisp [-h Server-Name]

DESCRIPTION

This command displays configuration information of a Managed Server that has been set using swstsvrset (Managed Server configuration information setting command).

The following information will be displayed:

Title

Description

Storage-Server

Displays a Managed Server name.

RecCtrlFile-Dir

Displays the name of the target directory for output of the recovery control file.

Work-Dir

Displays the name of the working directory.


OPTIONS

-h Server-Name

Specifies a Managed Server name.
This option can be specified only on a Management Server.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES


NOTES

12.2.1.3 swstdevinfoset (Device information setting command)

NAME

swstdevinfoset - sets the device information


SYNOPSIS

To be executed on the Managed Server
<program-directory>\bin\swstdevinfoset -t | -b | -o Device-Name
To be executed on the Management Server
<program-directory>\bin\swstdevinfoset [-h Server-Name] -t | -b | -o Device-Name

DESCRIPTION

Set a volume that has been allocated to the ETERNUS Disk storage system, as a transaction or backup volume.

A transaction volume refers to a volume that stores transaction data to be backed up. A backup volume refers to a volume used to store a backup of this transaction data.

The following devices can be registered on Windows as transaction and backup volumes. Logical Units (disks) cannot be registered.

Only regular drives can be registered. No mirror set, stripe set, parity-protected stripe set, or volume set that can be recognized as FT (Fault Tolerant) drives can be registered. Additionally, the file system can be used is NTFS and ReFS.

You may want to change information (partition size, drive letter, and ETERNUS Disk storage system box information) on a device registered as a working or backup volume using an OS management tool such as Disk Management or a function such as ETERNUS Web GUI provided by the ETERNUS Disk storage system. However, if you do, you need to then deselect the target device from the work or backup volume and register it again.

If you add or delete a device (including disk array units and other general devices) on a Managed Server on Windows, use the "getting and reflecting information of all devices" option on the Web Console to update the relationship table between AdvancedCopy Manager device names and OS information.

If you want to perform the backup operation on a regular transaction volume, refer to "3.2.2 Selecting a backup source" for information on a transaction volume, and "3.2.4 Preparing a backup volume" for information on a backup volume.

If you want to perform the backup operation for Symfoware, refer to "4.1.2.3 Selecting a backup source" for information on a transaction volume, and "4.1.2.5 Preparing a backup volume" for information on a backup volume.


OPTIONS

-h Server-Name

Specifies a Managed Server name.
This option can be specified only on a Management Server.

-t

Register the specified device as a transaction volume.
Cannot be specified at the same time as the -b and -o options.

-b

Register the specified device as a backup volume.
Cannot be specified at the same time as the -t and -o options.

-o

Deregister the specified device if it has been registered as a transaction or backup volume.
Cannot be specified at the same time as the -t and -b options.


OPERANDS

Device-Name

Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES

NOTES

12.2.1.4 swstdevdisp (Device usage status display command)

NAME

swstdevdisp - displays the device information


SYNOPSIS

To be executed on the Managed Server
<program-directory>\bin\swstdevdisp [-t] [-b [-u]] [-o] [Device-Name]
To be executed on the Management Server
<program-directory>\bin\swstdevdisp [-h Server-Name] [-t] [-b [-u]] [-o] [Device-Name]

DESCRIPTION

This command displays information about a transaction or backup volume or any other definable device, which has been set using swstdevinfoset (Device information setting command).

The following information will be displayed:

Title

Description

Server

Displays a Managed Server name.

Device

Displays the AdvancedCopy Manager device name.

Size

Displays the size of a partition allocated to a device.

Device-Mode

Displays a character string by which a device can be identified:

"Transaction" : Represents a transaction volume.
"Backup" : Represents a backup volume.
"Other" : Represents a device that can be registered as a working or backup volume.

A backup volume is indicated as "Backup (used)" if it is being used or "Backup (free)" if it is not used. During the backup process with -suspend or -T option specified, the backup volume remains in use after history information is deleted.

When the -u option is specified, "Backup (used-S)" is displayed for a backup volume in the suspend status for which history information was deleted, or "Backup (used-T)" is displayed for a backup volume in the tracking status for which history information was deleted.

Mount-Point (Method)

Displays the drive letter of a device. The file system type of the device is displayed inside the parentheses.

If the device is a transaction volume used for Symfoware, the names of Symfoware database spaces and log groups as well as the RDB system names are displayed, followed by "SymfoWARE" in parentheses.

Backup-Engine

Displays the operation type:

"AdvancedCopy" : Backup operation using AdvancedCopy Manager


OPTIONS

-h Server-Name

Specifies a Managed Server name.
This option can be specified only on a Management Server.

-t

Displays information on a device that has been set as a transaction volume.
Displays device information on all the transaction volumes if the device name in an operand is omitted.

-b

Displays a device that has been set as a backup volume.
Displays device information on all the backup volumes if the device name in an operand is omitted.

-u

Changes the display format of the Device-Mode column.

-o

Displays all the devices other than those set as a transaction or backup volume.
Displays all the devices other than those set as a transaction or backup volume if the device name in an operand is omitted.

Information on a device that has been set as a transaction volume will be displayed if all of the -t, -b and -o options are omitted.


OPERANDS

Device-Name

Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.

Displays device information on all the transaction volumes if this operand and the associated options are omitted.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES

12.2.1.5 swstbkpolset (Backup policy setting command)

NAME

swstbkpolset - sets a backup policy


SYNOPSIS

Setting a backup policy by specifying the transaction volume
To be executed on the Managed Server
<program-directory>\bin\swstbkpolset [-i Interval-Days] [-s Save-Number] [Device-Name]
To be executed on the Management Server
<program-directory>\bin\swstbkpolset [-h Server-Name] [-i Interval-Days] [-s Save-Number] [Device-Name]
Setting a backup policy by specifying a log group
To be executed on the Managed Server
<program-directory>\bin\swstbkpolset -n [-i Interval-Days] [-s Save-Number] Log-Group-Name[/RDB-Name]
To be executed on the Management Server
<program-directory>\bin\swstbkpolset -n [-h Server-Name][-i Interval-Days][-s Save-Number] Log-Group-Name[/RDB-Name]

DESCRIPTION

This command sets a backup policy (the number of preservation generations and the number of interval days).
The number of preservation generations is the number of generations of backup data that should be kept at one time. The number of interval days means the number of days from the execution of one backup until the next backup should be performed.


OPTIONS

-h Server-Name

Specifies a Managed Server name.
This option can be specified only on a Management Server.

-i Interval-Days

Specifies the number of interval days. You can specify a value between 1 and 366. If this option is omitted during initial registration, 30 will be set as the default. If this option is omitted during update, the existing value will be inherited.

-s Save-Number

Specifies the number of preservation generations. You can specify a value between 1 and 31. If this option is omitted during initial registration, 2 will be set as the default. If this option is omitted during update, the existing value will be inherited.

-n

Specifies that the setting is being made for a log group.
In the operand, specify the log group name and the RDB system name. If there is no RDB system name, you can omit it.


OPERANDS

Device-Name

Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
If the device name is omitted, the backup policy will be set for all the transaction volumes.

Log-Group-Name

Specify the name of the log group.

RDB-Name

Specify the RDB system name after the log group name, delimited by a slash ("/").
If there is no RDB system name, you can omit it.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES


NOTES

12.2.1.6 swstbkpoldisp (Backup policy display command)

NAME

swstbkpoldisp - displays a backup policy


SYNOPSIS

Displaying a backup policy by specifying the transaction volume
To be executed on the Managed Server
<program-directory>\bin\swstbkpoldisp [Device-Name]
To be executed on the Management Server
<program-directory>\bin\swstbkpoldisp [-h Server-Name] [Device-Name]
Displaying a backup policy by specifying a log group
To be executed on the Managed Server
<program-directory>\bin\swstbkpoldisp -n Log-Group-Name[/RDB-Name]
To be executed on the Management Server
<program-directory>\bin\swstbkpoldisp -n [-h Server-Name] Log-Group-Name[/RDB-Name]

DESCRIPTION

This command displays a backup policy that has been set for a transaction volume.
The following information will be displayed:

Title

Description

Server

Displays a Managed Server name.

Device

Displays the AdvancedCopy Manager device name.

Interval-Days

Displays a number of interval days.

Save-Number

Displays a number of preservation generations.

Mount-Point (Method)

Displays the drive letter of a device. The file system type of the device is displayed inside the parentheses.

If the device is a transaction volume used for Symfoware, the names of Symfoware database spaces and log groups as well as the RDB system names are displayed, followed by "SymfoWARE" in parentheses.


OPTIONS

-h Server-Name

Specifies a Managed Server name.
This option can be specified only on a Management Server.

-n

Specifies that the item being displayed is a log group.
In the operand, specify the log group name and the RDB system name.


OPERANDS

Device-Name

Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
If the device name is omitted, a backup policy for a transaction volume with a registered backup policy will be displayed.

Log-Group-Name

Specify the name of the log group.

RDB-Name

Specify the RDB system name after the log group name, delimited by a slash ("/").
If there is no RDB system name, you can omit it.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES


12.2.1.7 swstbkpoldel (Backup policy deletion command)

NAME

swstbkpoldel - deletes the backup policy


SYNOPSIS

Deleting a backup policy by specifying the transaction volume
To be executed on the Managed Server
<program-directory>\bin\swstbkpoldel Device-Name
To be executed on the Management Server
<program-directory>\bin\swstbkpoldel [-h Server-Name] Device-Name
Deleting a backup policy by specifying a log group
To be executed on the Managed Server
<program-directory>\bin\swstbkpoldel -n Log-Group-Name[/RDB-Name]
To be executed on the Management Server
<program-directory>\bin\swstbkpoldel -n [-h Server-Name] Log-Group-Name[/RDB-Name]

DESCRIPTION

An existing backup policy can be deleted using this command.
Delete the backup history information of the transaction volume prior to the execution of this command.


OPTIONS

-h Server-Name

Specifies a Managed Server name.
This option can be specified only on a Management Server.

-n

Specifies that deletion is going to be made for a log group.
In the operand, specify the log group name and the RDB system name. If there is no RDB system name, you can omit it.


OPERANDS

Device-Name

Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.

Log-Group-Name

Specify the name of the log group.

RDB-Name

Specify the RDB system name after the log group name, delimited by a slash ("/").
If there is no RDB system name, you can omit it.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES


NOTES