uCosminexus Service Platform, Setup and Operation Guide
Execute the cscrepctl command by specifying the -import option to add (import) or update a repository using component as a unit. You can validate whether the HCSC components within the specified repository ZIP file can be imported in the repository of the operating environment by executing the cscrepcheck command prior to import operation.
Use the cscrepcheck command to check information of the HCSC components of the repository of the operating environment and status of these components, to validate the following contents and display the validation result. For details on the cscrepcheck command, see "cscrepcheck (validation of possibility of import) " in "Service Platform Reference Guide".
The repository is not imported when you use the cscrepcheck command. Execute the cscrepctl command to import the repository.
The possibility of importing the repository information cannot be validated in the following cases:
Table 4-7 TableSettings to be performed when the possibility of import can be validated and when it cannot be validated
| Settings to be performed in the current repository information of the operating environment | Settings to be performed in the repository information to be validated | ||
|---|---|---|---|
| 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 | Y | Y |
| Use database and do not use Reliable Messaging | N | Y | Y |
| Do not use database as well as Reliable Messaging | N | N | Y |
An example of validating the possibility of importing the specified repository by executing the cscrepcheck command is as follows. In this example, it is a prerequisite that the user ID and password of HCSC-Manager are defined in HCSC-Manager command definition file.
cscrepcheck -repfile D:\tmp\repository.zip |
cscrepcheck -repfile D:\tmp\repository.zip -compo |
cscrepcheck -repfile D:\tmp\repository.zip -compo -name 1 |
An example of validation result displayed by executing the cscrepcheck command is as follows:
| KEOS52322-I cscrepcheck will now start. Command Edit Time: YYYY/MM/DD hh:mm:ss.SSS KEOS50237-I Verification of the repository to be imported will now be started. KEOS50238-I Verification of the repository to be imported has ended successfully. KEOS52323-I cscrepcheck ended normally. |
| KEOS52322-I cscrepcheck will now start. Command Edit Time: YYYY/MM/DD hh:mm:ss.SSS KEOS50237-I Verification of the repository to be imported will now be started. ... <Display an error message for each HCSC component> ... KEOS50239-E Verification of the repository to be imported has ended with errors. KEOS52323-I cscrepcheck ended normally. |
An example of importing a repository with component as a unit by using the cscrepctl command is as follows. In this example, it is a prerequisite that the user ID and password of HCSC-Manager are defined in HCSC-Manager command definition file.
cscrepctl -import repository.zip -compo -name 1 |
cscrepctl -import repository.zip -compo |
cscrepctl -import repository.zip -compo -namelist hcsccomponent.txt |
For the cscrepctl command, see "cscrepctl (import/export) in "Service Platform Reference Guide".
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.