uCosminexus Service Platform, Setup and Operation Guide

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

4.6.1 Adding and updating a repository using component as a unit

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.

Organization of this subsection
(1) Validation of possibility of import prior to import operation (cscrepcheck command)
(2) Importing a repository using component as a unit (cscrepctl command)

(1) Validation of possibility of import prior to import operation (cscrepcheck command)

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.

(a) Cases in which the possibility of import cannot be validated

The possibility of importing the repository information cannot be validated in the following cases:

(b) Validating the possibility of import

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.

(c) Result of validating the possibility of import

An example of validation result displayed by executing the cscrepcheck command is as follows:

(2) Importing a repository using component as a unit (cscrepctl command)

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.

Note#
For HCSC component-specification file, see "HCSC component-specification file" in "Service Platform Reference Guide".

For the cscrepctl command, see "cscrepctl (import/export) in "Service Platform Reference Guide".