Discovery Service Installation#
On each application server, the Critical Manufacturing Discovery Service windows service must be manually installed. To manually install the Critical Manufacturing Discovery Service as a Windows Service, follow the steps below:
-
Open windows command prompt as run as administrator.
-
Type the command below replacing the necessary information:
sc.exe cmLoadBalancerService binPath= "[HostPath]\Cmf.LoadBalancer.Service.exe" DisplayName= "Critical Manufacturing Discovery Service" obj= "[ServiceUser]" password= "[ServiceUserPassword]"-
[HostPath]– The path where the Critical Manufacturing Host Service is installed. -
[ServiceUser]– The user name used to run the Critical Manufacturing Host Service -
[ServiceUserPassword]– The password of the service user
-
-
Click enter to execute the command.
The Critical Manufacturing Discovery Service must be installed as a role in the Windows Server Failover Clustering (WSFC). This ensures that only one instance is running, and that another instance will take over in case of an Application Server failure.
A Windows failover cluster must be created prior to the installation of the Critical Manufacturing Discovery Service.
To install the Critical Manufacturing Discovery Service the following steps must be done:
-
Open the Failover Cluster Manager snap-in.
-
In the Failover Cluster Manager snap-in, if the cluster that you want to configure is not displayed, in the console tree, right-click Failover Cluster Manager, click Manage a Cluster, and then select or specify the cluster that you want.
-
If the console tree is collapsed, expand the tree under the cluster that you want to configure.
-
Click on Roles to open the context menu and then, on Actions (on the right), click Configure Role.
-
Follow the instructions in the wizard to specify the creation of the Critical Manufacturing Discovery Service high availability role, along with the following details:
a. In Select Role select Generic Service and then click on next.
b. Select the Critical Manufacturing Discovery Service windows service from the list and click next.
c. Enter the name (e.g. Critical Manufacturing Discovery Service) for the Role and the IP address to be used, and then click next.
d. No storage is required, just click next.
e. No replicate settings are needed, just click next.
f. Verify if everything is ok and then click next to create the role.
-
After the wizard runs and the Summary page appears, if you want to view a report of the tasks that the wizard performed, click View Report.

