uCosminexus Service Platform, Setup and Operation Guide
When using the contents created in a development environment in an operating environment, use the cscrepctl command and import the repository information saved in ZIP file format to the repository.
Enter the following command:
cscrepctl -user <Login-user ID> -pass <Login password> -import <File name> |
When importing a repository, you must first confirm that any directory or file present in the directory, which is set in the repository, is not being referenced. Then execute the cscrepctl command.
For details on the cscrepctl command, see "cscrepctl (import/export) " in "Service Platform Reference Guide".
2 types of the import method are as follows:
From the following 2 expansion methods, you can select the contents to be expanded in a repository within the repository information saved in ZIP file format:
You cannot import the repository information in any one of the following cases:
For 3. and 4, import the repository after deleting the corresponding business process or the service adapter from the execution environment.
Table 4-2 TableSettings to be performed when import is possible and when import is not possible
| Settings to be performed in the repository information to be imported | Settings to be performed in the current repository information of the operating environment | ||
|---|---|---|---|
| Use database as well as Reliable Messaging | Use database and do not use Reliable Messaging | Do not use database as well as Reliable Messaging | |
| Use database as well as Reliable Messaging | Y | N | N |
| Use database and do not use Reliable Messaging | Y | Y | N |
| Do not use database as well as Reliable Messaging | Y | Y | Y |
When importing a repository, auto-backup of the repository information prior to import is to be performed in ZIP file format. The backup file is output to the following directory with cscimport.zip as the file name.
<Installation directory of Service Platform>\CSC\spool\manager
You can change the output destination directory of the backup file using cscmng.envbackup.dir parameter or cscmng.envbackup.dir.import parameter of HCSC-Manager definition file.
Moreover, you can set the option of whether to perform auto-backup using cscmng.envbackup.autoget parameter or cscmng.envbackup.autoget.off parameter of HCSC-Manager definition file.
For details on HCSC-Manager definition file, see "HCSC-Manager definition file" in "Service Platform Reference Guide".
For details on how to restore an operating environment from the backup file, see "7.9.3(2) Restoring the operating environment".
If you import repository information whose version is newer than the current repository information, the version of the repository is automatically upgraded at the time of import.
If the business process or the service adapter, which is currently deployed, is deleted in the repository information to be imported, an error occurs in the import operation at the time of version upgrade. If an error occurs, export the current repository from the operating environment and import it in the development environment. After that, export the repository whose version is upgraded in the development environment from the development environment and import it in the operating environment.
For details on version upgrade, see "Appendix G. Migration from an Old Version".
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.