Deleting Backup Configuration Files Using The Cli - IBM Storwize V7000 Unified Problem Determination Manual

Table of Contents

Advertisement

10. Open the log file from the server where the copy is now stored.
11. Check the log file for errors.
12. Issue the following CLI command to restore the configuration:
13. Issue the following command to copy the log file to another server that is
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 occurred.
What to do next
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.
About this task
Complete the following steps to delete backup configuration files:
394
Storwize V7000 Unified: Problem Determination Guide 2073-720
svcconfig restore -prepare
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.prepare.log.
Note: It can take up to a minute for each 256-MDisk batch to be discovered. If
you receive error message CMMVC6200W for an MDisk after you enter this
command, all the managed disks (MDisks) might not be discovered yet. Allow
a suitable time to elapse and try the svcconfig restore -prepare command
again.
9. Issue the following command to copy the log file to another server that is
accessible to the system:
pscp superuser@cluster_ip:/tmp/svc.config.restore.prepare.log
full_path_for_where_to_copy_log_files
v If you find errors, correct the condition that caused the errors and reissue
the command. You must correct all errors before you can proceed to step 12.
v If you need assistance, contact the IBM Support Center.
svcconfig restore -execute
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.
accessible to the system:
pscp superuser@cluster_ip:/tmp/svc.config.restore.execute.log
full_path_for_where_to_copy_log_files
Note: You might receive a warning that states 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 later.
When you log in to the CLI again over SSH, you see this output:

Advertisement

Table of Contents
loading

Table of Contents