If it becomes necessary to delete Managed Server information under the circumstances specified below, this section provides a way to delete the Managed Server information forcibly from the Management Server.
The operating system on the Managed Server cannot be started because of a hardware failure or another similar reason. From that point, the server will not be used for operations.
The Managed Server has been physically removed without performing the Managed Server deletion procedure ("3.6.4 Deleting the Managed Server").
The Managed Server is managed by AdvancedCopy Manager and has been physically removed without being deleted in AdvancedCopy Manager.
For cases other than these, refer to "3.6.4 Deleting the Managed Server" to delete the Managed Server.
Note
When this procedure is performed, the specified Managed Server is forcibly deleted regardless of the backup or replication status. Therefore, this procedure should be used only for Managed Server that are not planned to be used afterwards.
Please do not execute a backup or replication while this procedure is performed.
The components and management information of AdvancedCopy Manager on the forcibly deleted Managed Server are not deleted.
When the forcibly deleted server is to be used again, uninstall the AdvancedCopy Manager from the deleted server before it is reconnected to the network. If its server is reconnected to the networks without uninstalling first AdvancedCopy Manager, the AdvancedCopy Manager functions of other servers on the network may not work correctly.
The procedure to delete forcibly a Managed Server is described below:
Confirm that the Managed Server will not be used afterwards or that it will be removed before starting the procedure.
Check the status of AdvancedCopy Manager on the Managed Server to be deleted forcibly.
If AdvancedCopy Manager is operable, use the normal deletion procedure for deleting the Managed Server instead of the forcible deletion procedure. For details of the normal deletion procedure, refer to "3.6.4 Deleting the Managed Server".
On the Management Server, execute stgxfwcmsetdev (Device information collection/reflection command) with -n option. Specify the target Managed Server with an operand of -n option.
After executing the command, check the status of Managed Server as follows.
Go to step 2, only when the Managed Server cannot be started.
When the Managed Server cannot be started:
The following message is displayed:
"swstf5405 The acquisition of device information caused a failure.
Reason=swstf2111 Connection to Storage Server failed."
When the Managed Server can be started:
The following message is displayed:
"swstf5408 There is no change in information currently being managed."
Alternatively the command may be waiting for input of the device information confirmation. If the command is waiting for input, enter 'q' or 'n' to prevent updating the device information and end the stgxfwcmsetdev command execution.
Stop the Advanced Copy sessions.
Even if the Managed Server information has been deleted, the Advanced Copy sessions for the connected disks (Logical Units) may not be stopped.
For the unnecessary Advanced Copy sessions, stop its sessions by using ETERNUS Web GUI.
Back up the database.
For the procedures, refer to "11.2.1.1 Database backup".
Delete the Managed Server information forcibly.
Execute stgforcedelsrv (Managed Server forcibly deletion command).
Note
If the stgforcedevsrv command terminated abnormally, please do not proceed from step 5 onwards.
If the steps after step 5 are executed an incorrect database is restored and normal system operation may not be performed adequately afterwards.
Restore the database.
Restore the database from the directory that the database is stored. Its directory must be a directory of "after-dir" specified with -a option in stgforcedelsrv (Managed Server forcibly deletion command) at step 4. For the procedures, refer to "11.2.1.2 Database restoration".
Perform the following operation according to the status of the forcibly deleted Managed Server.
If a replication operation has been done:
If the forcibly deleted Managed Server was part of a server-to-server replication:
On the Management Server, execute swsrprecoverres (Resource adjustment command) with the -h and -r options. For the operand of -h option, specify the name of the server used for the replication with the forcibly deleted Managed Server. If several servers where used for replication, the swsrprecoverres command has to be executed for each of those servers.
If the forcibly deleted Managed Server was not part of a server-to-server replication:
No operation is required.
If a backup operation has been done:
No operation is required.
Take the following actions to reflect to the Web Console depending on how the agent installed in the forcibly deleted Managed Server is used:
If both of AdvancedCopy Manager's agent and Storage Cruiser's agent are used:
On the Web Console, execute [Reload Conf.] to update to the latest information.
If only AdvancedCopy Manager's agent is used:
On the Web Console, delete the Managed Server that you have deleted.