When the definition of the HCSC components is changed in the development environment, the changed definition is passed to the operating environment by using the repository. In the operating environment, change the configuration of HCSC components according to the definition information changed in the development environment.
This subsection describes the prerequisites and method for changing the configuration of the HCSC components:
- Organization of this subsection
- (1) Prerequisites
- (2) Changing method
- (3) Method for adding, updating, and deleting multiple HCSC components
The procedure for adding, updating, and deleting multiple HCSC components is as follows:
First, create a list of the target HCSC components with the following procedure:
- Upgrade the version of new repository.
cscrepupdate -inputfile <zip file name> -outputfile <zip file name of the output destination>
|
- Acquire the change information of the current repository and the new repository. Create a list of the target HCSC components with any one of the following methods:
- Output the HCSC component-specification file by specifying the -compo option in the cscrepdiff command.
cscrepdiff -repfile <repository zip file name> -compo -listfile <HCSC component-specification file name of the output destination>
|
- Create HCSC component-specification file manually.
The procedure for adding, updating, and deleting multiple HCSC components by specifying the created HCSC component-specification file in the -namelist option is as follows:
(a) Adding multiple HCSC components
The following is the procedure for adding multiple HCSC components. Use this procedure to add HCSC components of the distributed development.
- Import repositories.
cscrepctl -import <repository zip file name> -compo -namelist <HCSC component-specification file name>
|
- Deploy HCSC components.
csccompodeploy -namelist <HCSC component-specification file name>
|
- Start HCSC components.
csccompostart -namelist <HCSC component-specification file>
|
(b) Updating multiple HCSC components
The procedure for updating multiple HCSC components is as follows. Use this procedure to update HCSC components of the distributed development.
- Stop HCSC components.
csccompostop -namelist <HCSC component-specification file name>
|
- Undeploy HCSC components.
csccompoundeploy -namelist <HCSC component-specification file name>
|
- Import repositories.
cscrepctl -import <repository zip file name> -compo -namelist <HCSC component-specification file name>
|
- Update the service information. Execution of this step is optional.
cscsvcctl -setfile < service-information change definition file>
|
- Deploy HCSC components.
csccompodeploy -namelist <HCSC component-specification file name>
|
- Start HCSC components.
csccompostart -namelist <HCSC component-specification file name>
|
(c) Deleting multiple HCSC components
The procedure for deleting multiple HCSC components is as follows:
- Stop HCSC components.
csccompostop -namelist < component-specification file name >
|
- Undeploy HCSC components.
csccompoundeploy -namelist <HCSC component-specification file name >
|
- Delete the component information from respositories.execution of this step is optional.
cscrepctl -delete -namelist <HCSC component-specification file name >
|
(d) Adding, updating, and deleting multiple HCSC components
The procedure for concurrently adding, updating, and deleting multiple components is as follows. Use this procedure to switch HCSC components.
- Stop HCSC components. (updating and deleting HCSC components).
csccompostop -namelist <HCSC component-specification file name>
|
- Undeploy HCSC components.(updating and deleting HCSC components).
csccompoundeploy -namelist <HCSC component-specification file name>
|
- Perform normal import of repositories.
cscrepctl -import <repository zip file name>
|
- Update the service information. Execution of this step is optional.
cscsvcctl -setfile <service-information change definition file >
|
- Deploy HCSC components. (updating and deleting HCSC components).
csccompodeploy -namelist <HCSC component-specification file name>
|
- Star HCSC components. (updating and deleting HCSC components).
csccompostart -namelist <HCSC component-specification file name>
|
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.