uCosminexus Service Platform, Setup and Operation Guide
When recovering from a failure that has occurred in the operating environment or when migrating the environment by migrating the machine along with the expansion in system scale, you can take the backup of the files required for restoring the environment.
Execute the cscenvbackup command as follows to take the backup of the latest files required to restore the operating environment.
cscenvbackup -user <login user ID> -pass <login password> -backupdir <Backup files output destination directory> |
If the backup files output destination directory is specified in HCSC-Manager definition file, execute the cscenvbackup command as follows:
cscenvbackup -user <login user ID> -pass <login password> |
You can check the repository information in the backup files for the acquired operating environment backup files with the following command:
cscrepls -user <login user ID> -pass <login password> -envbackfile <Operating environment backup file name> |
You can restore the operating environment from the operating environment back files, by using the cscenvrestore command.
The steps are as follows:
cscrepls -user <login user ID> -pass <login password> -envbackfile <Operating environment backup file name> |
cscenvrestore -user <login user ID> -pass <login password> -restorefile <Operating environment backup file name> |
The steps are as follows:
cscrepls -user <login user ID> -pass <login password> -envbackfile <Operating environment backup file name> |
cscenvrestore -user < login user ID > -pass < login password > -restorefile < Operating environment backup file name > |
A backup of the environment prior to recovery is automatically performed before recovering from operating environment backup file using the cscenvrestore command. When the environment is recovered from a wrong operating environment backup file, you can use the automatic backup file during recovery and can rollback to environment prior to recovery.The backup file during recovery is output in the following directory with the file name cscenvrestore_1.zip:
<Installation directory of Service Platform>\csc\spool\manager
You can change the output destination directory of backup file by the cscmng.envbackup.dir parameter or the cscmng.envbackup.dir.envrestore parameter of the HCSC-Manager definition file. When an old backup file exists in the output destination directory, old file is deleted after successful recovery.
You can set whether to perform automatic backup during recovery, in the cscmng.envbackup.autoget parameter or the cscmng.envbackup.autoget.off parameter of the HCSC-Manager definition file.
For details about the HCSC-Manager definition file, see "HCSC-Manager definition file" in "Service Platform Reference Guide".
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.