Top
ETERNUS SF AdvancedCopy Manager V16.8 Operation Guide
FUJITSU Storage

9.2.17 stgforcedelsrv (Managed Server Forcibly Deletion Command)

NAME

stgforcedelsrv - deletes the information of Managed Server forcibly

SYNOPSIS

/opt/FJSVswstf/bin/stgforcedelsrv -n managedServer -b beforeFile -a afterDir

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 "8.6 Action When Managed Server Information Cannot Be Deleted".

OPTIONS

-n managedServer

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

-b beforeFile

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

-a afterDir

Specify the full path name of the directory that stores the database after the Managed Server information has been deleted. 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 does 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/db_file.txt -a /var/tmp/afterDB
Begin the forcing deletion? (y/n) : y
stgforcedelsrv completed
#

NOTES