Installing Contract Manager
This section describes steps that you must take to install Contract Manager as a separate component.
You can find the AddContractManager.exe installation tool in the InstallServer folder of the KCM installation package.
How the tool works
AddContractManager.exe works as follows:
- It checks the requirements needed for the Contract Manager installation.
If the check fails, the installation quits.
- It installs the Contract Manager, but doesn't finish the configuration yet.
Execution steps
To install Contract Manager, you must execute the following steps:
-
Open the command line interface (CLI). It could be PowerShell or Command Prompt.
-
In the CLI, navigate to the appropriate folder depending on the scenario you want to implement:
-
InstallServer folder of the KCM installation package if you want to create a new KCM installation that only consists of the Contract Manager.
-
<deploy root>\KCM\Programs\<version>\Management folder if you want to add a local Contract Manager to an existing KCM installation that does not yet have one.
-
-
Call the AddContractManager.exe file and provide the necessary parameters. The order of parameters is irrelevant. See an example of the call below:
AddContractManager.exe WebServer!ServiceUser=.\ccm WebServer!ServicePassword=testpassword Java!Home="C:\Program Files\AdoptOpenJDK\jdk-11.0.9.101-hotspot" Deploy!InternalPortsStartAt=10601 Deploy!PrivatePortsStartAt=10501 Deploy!RootPath=D:\ ContractManager!MainAccessPort=443 ContractManager!RegistrationPort=10443To simplify input, you can create a script with the required parameter values and then use it to run AddContractManager.exe.
If everything is correct, the installation will run without errors. You will be able to follow the installation process by reading the CLI output.
If the installation fails, then the unfinished deployment must be removed manually using RemoveContractManager.exe tool described in the Uninstall Contract Manager section of this guide.