This section describes the actions to take if there is insufficient free space in a repository used by a Management Server.
Perform this procedure on a Management Server.
Point
You can use this troubleshooting method when there is insufficient free space in a repository, or if the operation status is significantly different from the status at the initial installation, in order to ensure that there is sufficient free space in the repository in the future.
Increase the amount of repository space as follows:
Back up the registry of a Management Server (refer to "7.1.1.4.1 Backing up a registry")
Perform stored data backup processing (refer to "7.2.1.1 Database backup")
Release a repository (refer to "Cancel of repository settings" in the "ETERNUS SF Installation and Setup Guide")
Re-estimate the database size (refer to "Estimation of database size" in the "ETERNUS SF Installation and Setup Guide")
Re-create partitions (refer to "Setup of ETERNUS SF Manager" in the "ETERNUS SF Installation and Setup Guide")
Create a repository (refer to "Setup of ETERNUS SF Manager" in the "ETERNUS SF Installation and Setup Guide")
Starting of a RDB daemon (refer to "8.5.3 Starting and stopping the RDB daemon")
Perform saved data restoration processing (refer to "7.2.1.2 Database restoration")
Perform restoration of the registry of a Management Server (refer to "7.1.1.4.2 Restoring a registry")
This section describes the backing up of a database. You can save data stored in a database to the specified directory. This method is mainly used for copying data for reuse for other purposes. For ordinary backup purposes, use the method described in "7.1.1.3.1 Saving a database".
Note
A directory in which data will be saved must be created in advance.
To start the database backup, perform as a root user.
Use the location specified at Management Server installation.
Back up a database as follows:
Start database backup.
Enter the following command to start database backup:
# /opt/swstorage/bin/stgdbbackup |
Confirm to continue processing.
Enter "y" to continue processing or "n" to stop processing.
//////////////////////////////////////////////////////////////////// AdvancedCopy Manager Storage Management Server ( kiku ) Database backup //////////////////////////////////////////////////////////////////// +----------------------------------------------------------------+ | | | All of the stored data will be saved in an external file. | | | | [Notes] | | Prepare a directory for storing the data to be saved. | | | +----------------------------------------------------------------+ Do you want to continue with processing? [y/n] ==> y |
Enter the name of the data storage directory the data will be saved in.
Using an absolute pathname, enter the name of the directory in which to store save data.
Note
If the data has already been saved in the directory the processing is not performed.
Delete the save data in the directory or specify another directory, and then retry processing.
//////////////////////////////////////////////////////////////////// AdvancedCopy Manager Storage Management Server ( kiku ) Database backup //////////////////////////////////////////////////////////////////// Enter the absolute path name of the directory for storing the data to be saved. Enter ==> /storage/backdir |
To continue with database backup processing, enter a final confirmation.
Enter "y" to continue with database backup processing or "n" to stop it.
If "y" is entered, the window display returns that of step 2.
//////////////////////////////////////////////////////////////////// AdvancedCopy Manager Storage Management Server ( kiku ) Database backup //////////////////////////////////////////////////////////////////// Directory containing the saved data : /storage/backdir Do you want to continue with processing? [y/n] ==> y |
Database backup copies are created.
Database backup copies are created, and execution results are displayed on the window as necessary.
An example of such execution results is shown below.
////// AdvancedCopy Manager database backup ////// ================================================================== DB data backup will start. ================================================================== .... Unloading of data is complete.(base) ... Unloading of data is complete.(backup) . Unloading of data is complete.(repl) ================================================================== Backup of DB data is complete. ================================================================== Database backup ended normally. # |
This section describes the restoration of a database. You can restore data that has been saved as described in "7.2.1.1 Database backup" to a database as shown below.
Note
Data currently stored in a database will be lost in this processing because it will be overwritten by saved data.
To start the database restoration, perform as a root user.
Use the location specified at Management Server installation.
When the database restoration has completed normally, the database should then be backed up to save this copy of the data. For more information on this, refer to "7.1.1.3.1 Saving a database".
Restore a database as follows:
Start database restore processing.
Enter the following command to start database restore processing:
# /opt/swstorage/bin/stgdbrestore |
Confirm to continue processing.
Enter "y" to continue processing or "n" to stop processing.
//////////////////////////////////////////////////////////////////// AdvancedCopy Manager Storage Management Server ( kiku ) Database restore //////////////////////////////////////////////////////////////////// +----------------------------------------------------------------+ | | | All of the saved data will be restored to database. | | | | [Notes] | | Check the directory containing the saved data. | | | +----------------------------------------------------------------+ Do you want to continue with processing? [y/n] ==> y |
Enter the name of the data storage directory where the data has been saved.
Using an absolute pathname, enter the name of the directory in which the data is saved.
Note
If any part of saved data in the directory is missing, processing is not performed because data consistency may not be maintained.
//////////////////////////////////////////////////////////////////// AdvancedCopy Manager Storage Management Server ( kiku ) Database restore //////////////////////////////////////////////////////////////////// Enter the absolute path name of the directory in which the saved data is stored. Enter ==> /storage/backdir |
To continue with database restore processing, enter the final confirmation.
Enter "y" to continue with database restore processing or "n" to stop it.
If "n" is entered, the window display returns to that of step 2.
//////////////////////////////////////////////////////////////////// AdvancedCopy Manager Storage Management Server ( kiku ) Database restore //////////////////////////////////////////////////////////////////// Directory containing the saved data : /storage/backdir Do you want to continue with processing? [y/n] ==> y |
Database restore processing is performed.
Database restore processing is performed, and execution results are displayed on the window as necessary. Sample results are shown below.
////// AdvancedCopy Manager database restore ////// ================================================================== DB data will be restored. ================================================================== .... Loading of data is complete.(base) .... Updating of the optimal information is complete.(base) ... Loading of data is complete.(backup) ... Updating of the optimal information is complete.(backup) . Loading of data is complete.(repl) . Updating of the optimal information is complete.(repl) ================================================================== DB data has been completely restored. ================================================================== Database restore processing ended normally. # |