uCosminexus Service Platform, Setup and Operation Guide

[Contents][Glossary][Index][Back][Next]

4.1 Overview of a repository

Repository is a directory used for storing information shared between developments and operating environments.

The system configuration information created in an operating environment is used in a development environment. The definition information created in a development environment is used in an operating environment.

Organization of this section
(1) Repository information
(2) Directory used as repository
(3) Repository exclusion
(4) Points to be considered

(1) Repository information

The information shared in a repository is called as repository information. It consists of the following items:

(2) Directory used as repository

If you install Service Platform, the following standard directory is set for the repository:

 
<Installation directory of Service Platform>\CSC\repository
 

You can also change the directory, which is to be set as a repository. Change it in the HCSC-Manager definition file. For details on how to change the directory, see "2.4.1 Customizing operating environment".

When you are setting up multiple operating and execution environments (setting the environment variable CSCMNG_HOME) on 1 machine, the repository is set in the following root directory:

 
%CSCMNG_HOME%\repository
 

To share information in development and operating environments, export (save) the repository information to the media in ZIP file format and import (read) that information to the repository of another environment. The following figure shows import and export of a repository:

Figure 4-1 FigureExport and import of a repository

[Figure]

Here, for details on saving the repository information of an operating environment, see "4.2 Exporting Repository Information". For details on expanding the repository information to an operating environment, see "4.3 Importing a repository". Moreover, for details on saving the repository information of a development environment and expanding the repository information in a development environment, see "3.2 Managing a Repository" in "Service Platform Basic Development Guide".

Note
In 07-60 onwards versions, you cannot share 1 repository between development and operating environments. If you share a repository in a previous version, create separate repositories in development and operating environments and migrate these repositories. For migration procedure, see "Appendix A.3 Migrating procedure when a repository is shared between development environment and operating environment in earlier version" in "Service Platform Basic Development Guide".

(3) Repository exclusion

During operation involving updating of a repository, the repository might get locked and the operation might not be possible. There are 2 types of locks, namely exclusive lock and shared lock. There are following restrictions during an operation:

The following table describes the lock types and target operations:

Table 4-1 TableLock types and target operations

Lock type Target operation Explanation
Exclusive lock Operation to be performed using update based command The following commands will be targeted:
  • csccompodeploy command
  • csccompoundeploy command
  • cscpasswd command
  • cscrepctl command
  • cscsvcctl command
  • cscsvsetup command
  • cscsvunsetup command
Shared lock Operation to be performed using reference based command The following commands will be targeted:
  • cscpidelete command
  • cscpireexec command
  • cscpiselect command
  • cscrepdiff command
  • cscrepls command
  • cscstatus command
  • cscsvcls command
  • cscsvconfig command
  • cscutil command
  • cscresinfo command
Operation to be performed on the screen of an operating environment -

Legend:
-: Not applicable.

(4) Points to be considered