This section describes the environment definition commands for backup management.
NAME
swstsvrset - sets configuration information of a Managed Server
SYNOPSIS
/opt/FJSVswsts/bin/swstsvrset
/opt/FJSVswsts/bin/swstsvrset [-h Server-Name]
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
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.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Set the configuration information of a Managed Server:
# /opt/FJSVswsts/bin/swstsvrset swstsvrset completed #
Set the configuration information of a Managed Server named job1 from a Management Server:
# /opt/FJSVswsts/bin/swstsvrset -h job1 swstsvrset completed #
NOTES
This command can only be executed if none of the following commands are running:
NAME
swstsvrdisp - displays configuration information of a Managed Server
SYNOPSIS
/opt/FJSVswsts/bin/swstsvrdisp
/opt/FJSVswsts/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. |
OPTIONS
Specifies a Managed Server name.
This option can be specified only on a Management Server.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Display configuration information of a Managed Server named Work1:
# /opt/FJSVswsts/bin/swstsvrdisp Storage-Server = Work1 #
NAME
swstdevinfoset - sets the device information
SYNOPSIS
/opt/FJSVswsts/bin/swstdevinfoset -t | -b | -o Device-Name
/opt/FJSVswsts/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.
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.
GDS logical volumes can also be registered.
OPTIONS
Specifies a Managed Server name.
This option can be specified only on a Management Server.
Register the specified device as a transaction volume.
Cannot be specified at the same time as the -b and -o options.
Register the specified device as a backup volume.
Cannot be specified at the same time as the -t and -o options.
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
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
Register a device as a transaction volume:
# /opt/FJSVswsts/bin/swstdevinfoset -t /dev/dsk/c1t0d0s6 swstdevinfoset completed #
Register a device as a backup volume:
# /opt/FJSVswsts/bin/swstdevinfoset -b /dev/dsk/c1t0d2s6 swstdevinfoset completed #
Deregister a device that has been registered as a transaction volume:
# /opt/FJSVswsts/bin/swstdevinfoset -o /dev/dsk/c1t0d0s6 swstdevinfoset completed #
NOTES
A device cannot be registered as a transaction volume if:
Another device with the same box information (box identifier, OLU number, EXTENT starting position, and EXTENT size) has already been registered as a transaction volume.
The space of the device to be registered overlaps the space of an already registered working or backup volume.
When the specified volume is a logical volume of VxVM in an unsupported structure. For the supported logical volumes of VxVM, refer to "1.5 Managing a Device on AdvancedCopy Manager".
The device is a Logical Unit (disk).
The license for the ETERNUS Disk storage system that contains the specified transaction volume is one of the following:
The license is not registered in the license management function.
The license is expired.
A device cannot be registered as a backup volume if:
Another device with the same box information (box identifier, OLU number, EXTENT starting position, and EXTENT size) has already been registered as a backup volume.
The space of the device to be registered overlaps the space of an already registered work or backup volume.
The database space of Symfoware is built on the device to be configured.
The device to be configured is already mounted.
The device to be set up is registered as a replication destination volume in replication management.
The device to be set up is registered as a replication source volume of the duplicate volume information in which bidirectional copy is possible in replication management.
The specified volume is a logical volume of VxVM in an unsupported structure. For the supported logical volumes of VxVM, refer to "1.5 Managing a Device on AdvancedCopy Manager".
The device is a Logical Unit (disk).
The device is an SDX object.
You must delete related backup history information before:
Changing a backup volume to a transaction volume
Cancelling the setting of a backup volume
You must delete a backup policy specified on a transaction volume before:
Changing a transaction volume to a backup volume
Cancelling the setting of a transaction volume
The following changes are not possible unless the related synchronous processing (in an EC session) is cancelled:
Changing a setting in a suspended transaction volume
Changing a setting in a suspended backup volume
The related tracking processing (in an OPC session) must be cancelled in advance to perform the following changes:
Changing the settings of a transaction volume in tracking processing
Changing the settings of a backup volume in tracking processing
For details on how to use SDX objects of GDS, refer to "Configuration and conditions of unsupported SDX objects" and "9.1.5.1 Notes on SDX object operations (backup management)".
This command can be executed only while none of the following commands are running:
NAME
swstdevdisp - displays the device information
SYNOPSIS
/opt/FJSVswsts/bin/swstdevdisp [-t] [-b [-u]] [-o] [Device-Name]
/opt/FJSVswsts/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. For a logical volume of VxVM, the size of the public area (slice) that makes up the volume is displayed instead of the volume size. |
Device-Mode | Displays a character string by which a device can be identified: "Transaction" : Represents a transaction 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 mount point of a device. The file system type of the mount point is displayed inside the parentheses. |
Backup-Engine | Displays the operation type: "AdvancedCopy" : Backup operation using AdvancedCopy Manager |
OPTIONS
Specifies a Managed Server name.
This option can be specified only on a Management Server.
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.
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.
Changes the display format of the Device-Mode field.
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
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
Display the usage statuses of the registered devices:
# /opt/FJSVswsts/bin/swstdevdisp -tb Server Device Size Device-Mode Mount-Point (Method) Backup-Engine Work2 /dev/dsk/c1t0d0s6 1.0 Gbyte Transaction /mnt/tran1 (ufs) AdvancedCopy Work2 /dev/dsk/c1t1d0s6 1.0 Gbyte Transaction ---- (----) AdvancedCopy Work2 /dev/dsk/c1t0d2s6 1.0 Gbyte Backup (used) ---- (----) AdvancedCopy Work2 /dev/dsk/c1t0d2s3 1.0 Gbyte Backup (free) ---- (----) AdvancedCopy Work2 /dev/dsk/c1t0d7s6 2.0 Gbyte Backup (free) ---- (----) AdvancedCopy Work2 /dev/dsk/c1t0d7s3 2.0 Gbyte Backup (free) ---- (----) AdvancedCopy : #
NAME
swstbkpolset - sets a backup policy
SYNOPSIS
/opt/FJSVswsts/bin/swstbkpolset [-i Interval-Days] [-s Save-Number] [Device-Name]
/opt/FJSVswsts/bin/swstbkpolset [-h Server-Name] [-i Interval-Days] [-s Save-Number] [Device-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
Specifies a Managed Server name.
This option can be specified only on a Management Server.
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.
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.
OPERANDS
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.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
To set 3 as the save number of a transaction volume as a backup policy:
# /opt/FJSVswsts/bin/swstbkpolset -s 3 /dev/dsk/c1t0d5s3 /dev/dsk/c1t0d5s3 swstbkpolset completed #
NOTES
Even if the number of interval days is specified, AdvancedCopy Manager does not automatically create a backup.
When you specify a backup policy, there must be as many backup volumes in operation according to the specified backup policy. To view information on the number of backup volumes required to perform the backup operation of a regular transaction volume, refer to "3.2.4 Preparing a backup volume".
You can change the number of preservation generations as long as the "history information count at the time" is equal to or less than the "number of preservation generations to be specified".
Ordinary transaction volumes must be backed up to ordinary backup volumes.
If the transaction volume is a GDS logical volume, the backup destination must be a backup volume of a GDS logical volume.
If GDS SDX objects are to be used, refer to information regarding "Configuration and conditions of unsupported SDX objects".
No backup policy can be set if:
There are not as many backup volumes as the specified number of preservation generations.
An option for more than the maximum number of preservation generations is specified.
An option for more than the maximum interval days is specified.
The replication management function is executing a process for the target transaction volume.
The specified device is an LU (disk unit).
This command can only be executed while none of the following commands are running:
NAME
swstbkpoldisp - displays a backup policy
SYNOPSIS
/opt/FJSVswsts/bin/swstbkpoldisp [Device-Name]
/opt/FJSVswsts/bin/swstbkpoldisp [-h Server-Name] [Device-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 mount point of a device. The file system type of the mount point is displayed inside the parentheses. |
OPTIONS
Specifies a Managed Server name.
This option can be specified only on a Management Server.
OPERANDS
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.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Display a backup policy of a transaction volume:
# /opt/FJSVswsts/bin/swstbkpoldisp /dev/dsk/c1t0d5s3 Server Device Interval-Days Save-Number Mount-Point (Method) Work2 /dev/dsk/c1t0d5s3 30 2 /stg(ufs) #
NAME
swstbkpoldel - deletes the backup policy
SYNOPSIS
/opt/FJSVswsts/bin/swstbkpoldel Device-Name
/opt/FJSVswsts/bin/swstbkpoldel [-h Server-Name] Device-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
Specifies a Managed Server name.
This option can be specified only on a Management Server.
OPERANDS
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
To delete the backup policies of a transaction volume:
# /opt/FJSVswsts/bin/swstbkpoldel /dev/dsk/c1t0d5s3 /dev/dsk/c1t0d5s3 swstbkpoldel completed #
NOTES
A backup policy cannot be deleted if:
The transaction volume to be deleted has backup history information.
A transaction volume whose backup policies are to be deleted has already started backup synchronous processing.
The replication management function is executing a process for the target transaction volume.
This command can only be executed while none of the following commands are running: