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
Specify the server name of Managed Server to be deleted forcibly.
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.
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
This command can be executed only by root users.
Please perform the command in the location specified at the time of product installation.
The Management Server information cannot be deleted.
Do not perform AdvancedCopy Manager operations (backup, replication, modifications to the operating environment, etc.) while executing this command.
If the command terminates abnormally, temporary files may remain under the directory specified with -a option. When the command terminates abnormally, delete all the files under the directory specified with the -a option before executing the command again.
Several instances of the command cannot be executed simultaneously.