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

Hide thumbs Also See for Storwize V7000 Unified Series:
Table of Contents

Advertisement

Deleting backup configuration files using the CLI

|
|
|
|
If the process fails, resolve the errors, and run the process again.
7. Issue the following command to exit the system:
exit
8. Issue the following command to copy the backup files to a location that is not
in your system:
pscp -i ssh_private_key_file
superuser@control_enclosure_management_IP:/tmp/svc.config.backup.*
/offclusterstorage/
where control_enclosure_management_IP is the IP address or DNS name of the
system and offclusterstorage is the location where you want to store the backup
files.
If the configuration node changes, you must copy these files to a location
outside of your system because the /tmp directory on this node canister
becomes inaccessible. The configuration node might change in response to an
error recovery action or to a user maintenance activity.
Tip: To maintain controlled access to your configuration data, copy the backup
files to a location that is password-protected.
9. Ensure that the copies of the backup files are stored in the location that you
specified in step 8.
You can rename the backup files to include the configuration node name either at
the start or end of the file names so that you can easily identify these files when
you are ready to restore your configuration.
Issue the following command to rename the backup files that are stored on a Linux
®
or IBM AIX
host:
mv /offclusterstorage/svc.config.backup.xml
/offclusterstorage/svc.config.backup.xml_myconfignode
where offclusterstorage is the name of the directory where the backup files are
stored and myconfignode is the name of your configuration node.
To rename the backup files that are stored on a Windows host, right-click the name
of the file and select Rename.
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 system:
plink -i ssh_private_key_file superuser@control_enclosure_management_ip
where ssh_private_key_file is the name of the SSH private key file for the
superuser and control_enclosure_management_ip is the IP address or DNS name
of the system from which you want to delete the configuration.
2. Issue the following CLI command to erase all of the files that are stored in the
/tmp directory:
svconfig clear -all
Chapter 5. Control enclosure
249

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents