Top
ETERNUS SF AdvancedCopy Manager V15.1 Operation Guide
ETERNUS

8.3.25 stgforcedelsrv (Managed Server forcibly deletion command)

NAME

stgforcedelsrv - deletes the information of Managed Server forcibly


SYNOPSIS

/opt/FJSVswstf/bin/stgforcedelsrv -n Managed-Server -b before-dir -a after-dir

DESCRIPTION

This command deletes the Managed Server information forcibly. This command must be executed on a Management Server.

As this command deletes the backup/replication settings of the Managed Server, it must be performed with caution. Before performing the command always refer to "7.6 Action when Managed Server information cannot be deleted".


OPTIONS

-n Managed-Server

Specify the server name of Managed Server to be deleted forcibly.

-b before-dir

Specify the full path name of the directory containing the database backup.
The command deletes the Managed Server information forcibly from the database in the directory specified with the -b option and stores the database after deletion in the directory specified with -a option.

-a after-dir

Specify the full path name of the directory that will store the database after the Managed Server information has been deleted. Please note the following important points:

  • If the specified directory does not exist, it must be created before executing the command.

  • Specify an empty directory, containing no subdirectories or files.

  • Specify a directory that will not disappear after the server has rebooted.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES

Delete the information of Managed Server (Server1). After deleting its information, the database is created under the "/var/tmp/afterDB" directory.

# /opt/FJSVswstf/bin/stgforcedelsrv -n Server1 -b /var/tmp/beforeDB -a /var/tmp/afterDB
Begin the forcing deletion? (y/n) : y
stgforcedelsrv completed
#

NOTES