Top
ETERNUS SF AdvancedCopy Manager V16.9A Operation Guide
FUJITSU Storage

8.1.1 Environment Definition Commands

This section describes the environment definition commands for backup management.

8.1.1.1 swstsvrset (Managed Server Configuration Information Setting Command)

NAME

swstsvrset - sets configuration information of a Managed Server

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstsvrset
To Execute on Management Server
/opt/FJSVswsts/bin/swstsvrset [-h serverName]

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.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.1.2 swstsvrdisp (Managed Server Configuration Information Display Command)

NAME

swstsvrdisp - displays configuration information of a Managed Server

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstsvrdisp
To Execute on Management Server
/opt/FJSVswsts/bin/swstsvrdisp [-h serverName]

DESCRIPTION

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

The following information is displayed.

Title

Description

Storage-Server

Displays a Managed Server name.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

8.1.1.3 swstdevinfoset (Device Information Setting Command)

NAME

swstdevinfoset - sets the device information

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstdevinfoset -t | -b | -o deviceName
To Execute on Management Server
/opt/FJSVswsts/bin/swstdevinfoset [-h serverName] -t | -b | -o deviceName

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.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

-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

deviceName

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

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.1.4 swstdevdisp (Device Usage Status Display Command)

NAME

swstdevdisp - displays the device information

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstdevdisp [-t] [-b [-u]] [-o] [deviceName]
To Execute on Management Server
/opt/FJSVswsts/bin/swstdevdisp [-h serverName] [-t] [-b [-u]] [-o] [deviceName]

DESCRIPTION

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

The following information is 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.

In the case of a volume group, the display also shows the size of the physical disk on which the logical disk is defined.

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 the -suspend or the -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 mount point of a device. The file system type of the mount point is displayed inside the parentheses.

However, AIX does not display mount points. Therefore, "---- (----)" is always displayed.

Backup-Engine

Displays the operation type:

"AdvancedCopy": Backup operation using AdvancedCopy Manager

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

-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 is displayed if all of the -t, -b and -o options are omitted.

OPERANDS

deviceName

Specify an AdvancedCopy Manager device name.
Refer to "1.2 Managing 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

8.1.1.5 swstbkpolset (Backup Policy Setting Command)

NAME

swstbkpolset - sets a backup policy

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstbkpolset [-i intervalDays] [-s saveNumber] [deviceName]
To Execute on Management Server
/opt/FJSVswsts/bin/swstbkpolset [-h serverName] [-i intervalDays] [-s saveNumber] [deviceName]

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 serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

-i intervalDays

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

-s saveNumber

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

OPERANDS

deviceName

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

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.1.6 swstbkpoldisp (Backup Policy Display Command)

NAME

swstbkpoldisp - displays a backup policy

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstbkpoldisp [deviceName]
To Execute on Management Server
/opt/FJSVswsts/bin/swstbkpoldisp [-h serverName] [deviceName]

DESCRIPTION

This command displays a backup policy that has been set for a transaction volume.
The following information is 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 mount point of a device. The file system type of the mount point is displayed inside the parentheses.

However, AIX does not display mount points. Therefore, "---- (----)" is always displayed.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

OPERANDS

deviceName

Specify an AdvancedCopy Manager device name.
Refer to "1.2 Managing 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 is displayed.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

8.1.1.7 swstbkpoldel (Backup Policy Deletion Command)

NAME

swstbkpoldel - deletes the backup policy

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstbkpoldel deviceName
To Execute on Management Server
/opt/FJSVswsts/bin/swstbkpoldel [-h serverName] deviceName

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 serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

OPERANDS

deviceName

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

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES