uCosminexus Service Platform, Setup and Operation Guide
You can check the difference between the current repository information of the operating environment and the specified repository information using the cscrepdiff command. You can check the information of the business process or the service adapter, which is added, changed, and deleted.
The following conditions must be met to display the difference in the repository information:
Table 4-3 TableSettings to be performed when the difference in the repository information can be displayed and when it cannot be displayed
| Settings to be performed in the current repository information of the operating environment | Settings to be performed in the repository information whose difference is to be displayed | ||
|---|---|---|---|
| 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 | Y |
| Do not use database as well as Reliable Messaging | Y | Y | N |
Execute the cscrepdiff command and display the difference information of repositories. Execution format of the command is as follows:
cscrepdiff -user <Login user ID> -pass <Login password> -repfile <Repository ZIP file name> |
cscrepdiff -user <Login user ID> -pass <Login password> -repfile <Repository ZIP file name> -allinfo |
cscrepdiff -user <Login user ID> -pass <Login password> -repfile <Repository ZIP file name> -compo |
cscrepdiff -user < Login user ID> -pass <Login password> -repfile <Repository ZIP file name> -compo -allinfo |
For details on the cscrepdiff command, see "cscrepdiff (displaying the difference in the repository information)" in "Service Platform Reference Guide".
The display contents of the difference in the repository information differ in standard import and component import. The following table describes the display contents in each case:
Table 4-4 TableDisplay contents of the difference (at the time of standard import)
| Repository in the operating environment | Repository ZIP file | ||
|---|---|---|---|
| With HCSC components | Without HCSC components | ||
| With change | Without change | ||
| With HCSC components | change | no change# | delete |
| Without HCSC components | add | - | N |
Table 4-5 TableDisplay contents of the difference (at the time of component import)
| Repository in the operating environment | Repository ZIP file | ||
|---|---|---|---|
| With HCSC components | Without HCSC components#1 | ||
| With change | Without change | ||
| With HCSC components | change | no change#2 | no change#2 |
| Without HCSC components | add | - | N |
An example of display contents of the difference is as follows:
cscrepdiff -repfile repository.zip KEOS52129-I cscrepdiff will now start. Command Edit Time: YYYY/MM/DD hh:mm:ss.SSS [BusinessProcess] change: < Cluster/bp1 YYYY/MM/DD hh:mm:ss > Cluster/bp1 YYYY/MM/DD hh:mm:ss delete: < Cluster/bp3 YYYY/MM/DD hh:mm:ss add: > Cluster/bp4 YYYY/MM/DD hh:mm:ss KEOS52130-I cscrepdiff ended normally. |
| cscrepdiff -repfile repository.zip -allinfo KEOS52129-I cscrepdiff will now start. Command Edit Time: YYYY/MM/DD hh:mm:ss.SSS [Business Process] no change: Cluster/bp2 YYYY/MM/DD hh:mm:ss change: < Cluster/bp1 YYYY/MM/DD hh:mm:ss > Cluster/bp1 YYYY/MM/DD hh:mm:ss delete: < Cluster/bp3 YYYY/MM/DD hh:mm:ss add: > Cluster/bp4 YYYY/MM/DD hh:mm:ss KEOS52130-I cscrepdiff ended normally. |
cscrepdiff -repfile repository.zip -compo KEOS52129-I cscrepdiff will now start. Command Edit Time: YYYY/MM/DD hh:mm:ss.SSS [BusinessProcess] change: < Cluster/bp1 YYYY/MM/DD hh:mm:ss > Cluster/bp1 YYYY/MM/DD hh:mm:ss add: > Cluster/bp4 YYYY/MM/DD hh:mm:ss KEOS52130-I cscrepdiff ended normally. |
cscrepdiff -repfile repository.zip -compo -allinfo KEOS52129-I cscrepdiff will now start. Command Edit Time: YYYY/MM/DD hh:mm:ss.SSS [BusinessProcess] no change: Cluster/bp2 YYYY/MM/DD hh:mm:ss Cluster/bp3 YYYY/MM/DD hh:mm:ss change: < Cluster/bp1 YYYY/MM/DD hh:mm:ss > Cluster/bp1 YYYY/MM/DD hh:mm:ss add: > Cluster/bp4 YYYY/MM/DD hh:mm:ss KEOS52130-I cscrepdiff ended normally. |
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.