Deleting Backup Configuration Files Using The Cli - IBM Storwize V7000 Troubleshooting And Maintenance Manual

Table of Contents

Advertisement

12. Issue the following CLI command to restore the cluster configuration:
svcconfig restore -execute
Note: Issuing this CLI command on a single node cluster adds the other nodes to the cluster.
4
This CLI command creates a log file in the /tmp directory of the configuration node. The name of the
log file is svc.config.restore.execute.log.
13. Issue the following command to copy the log file to another server that is accessible to the cluster:
pscp -i ssh_private_key_file
admin@cluster_ip:/tmp/svc.config.restore.execute.log
full_path_for_where_to_copy_log_files
14. Open the log file from the server where the copy is now stored.
15. Check the log file to ensure that no errors or warnings have occurred.
Note: You might receive a warning stating that a licensed feature is not enabled. This message
means that after the recovery process, the current license settings do not match the previous license
settings. The recovery process continues normally and you can enter the correct license settings in
the management GUI at a later time.
The following output displays after a successful cluster configuration restore operation:
IBM_2076:your_cluster_name:admin>
16. After the cluster configuration is restored, verify that the quorum disks are restored to the MDisks
that you want by using the svcinfo lsquorum command. To restore the quorum disks to the correct
MDisks, issue the appropriate svctask chquorum CLI commands.
You can remove any unwanted configuration backup and restore files from the /tmp directory on your
configuration by issuing the following CLI command:
svcconfig clear -all

Deleting backup configuration files using the CLI

You can use the command-line interface (CLI) to delete backup configuration files.
Perform the following steps to delete backup configuration files:
1. Issue the following command to log on to the cluster:
ssh -l admin your_cluster_name -p 22
where your_cluster_name is the name of your cluster.
2. Issue the following CLI command to erase all of the files that are stored in the /tmp directory:
svconfig clear -all
Chapter 6. Recovery procedures
61

Advertisement

Table of Contents
loading

Table of Contents