It is mandatory to add the node manager service under the node manager host defined, to use it for managing the Diyotta services. Until Node Manager is registered, the tabs for Controller Repository, Controller Broker, and Agent service are disabled. The node manager can be already installed on the host and registered in this process or it can be installed newly through this process.

To add Node Manager Service, follow the below steps in the create service page. To know more about create service, refer Adding Service.

Step I: Click on Node Manager from Add Services tab in Diyotta Manager explorer.

Step II: The Node Manager service can be configured in two ways

Option I: Add and deploy a serviceChoose this option, if you want to newly install the Node Manager service on the host selected.

Option II: Auto Register  - Choose this option, if the Node Manager service is already installed on the host and you want to register it.

Let's illustrate Option I to see how to add and deploy a service.

Option I: Add and deploy a service

1. Select Add and deploy a service. Following fields are displayed.

  • Do you want to download package from repository - Choose 'Yes', if the installation file should be downloaded from the package repository. Choose 'No', if the installation file is present on the host where node manager needs to be installed.

    Note:

    • Package repository is a centralized location where all the installation files are managed. This is setup under Admin. For more information, refer Managing Package Repository
    • If the package repository is not already created, then click on the download icon next to the dropdown and it takes you to the Package Repository page.
  • Package Location on Host - This option is displayed only when Do you want to download package from repository is set as No. Provide the path where the node manager installation file is located on the server.
  • Diyotta Home DirectoryDiyotta Home Directory path is picked by default from node manager host details.
  • Manager Message Broker Port - Port number of the Message Broker is picked by default from initial setup of Diyotta Manager.
  • Node Manager Identifier - Provide unique name to be used as identifier for the node manager service being setup.
  • Node Manager Version - Click on the download icon to get the installer versions. The list of existing installer versions are picked from the package location specified. You can choose the installer required from the version drop-down. The version should match with the Diyotta Manager version.

2. Once you have entered all the details, click Deploy.

Once we click Deploy, Node manager service gets installed with details provided and it starts the services. The installation details are provided in the log. Click Finish.

To download Node Manager Logs, click on Download.

The registered service details are displayed. Diyotta Manager Values shows the fields which are registered, and Config File Values shows the field values from Node Manager Config file.

Note:

To check updated values from Node-Manager config file, click on Refresh. The value differences is indicated by showing ''

The value differences if any, is indicated with red highlighted text under Config File Values. To update Diyotta Manager values with Node-Manager config file values, click on '←' icon.

To add additional values to java Opts property values, click on Add. Two value fields get added and you can provide the values as required. To remove the values, click × icon.

If any value is changed then, click on Save changes.

It displays 'configuration values updated successfully' message and click on OK to continue.

Note:

  • The Save Changes gets displayed only once you make any changes in the field values.
  • Restart the agent by clicking on Restart. Restart gets displayed only when changes are saved.

Let's illustrate Option II, to see how to register an already installed service.

Option II: Auto Register service.

1. Select Auto Register. Following fields are retrieved.

  • Diyotta Home Directory - Diyotta installation Directory path. 
  • Manager Message Broker Port - Port number of the Message Broker.
  • Node Manager Identifier - Node Manager Identifier name. You need to specify the same name that you have provided while you have already installed the service  or if you are registering first then Node Manager identifier can be any name and you need to give same name while installing node manager.

The port and the identifier are obtained from the file - ${DIYOTTA_HOME}/node-manager/conf/nodemanager.config under the installation of Node Manager service.

  • Uses the value against the parameter manager.broker.port for Manager Message Broker Port.
  • Uses the value against the parameter node.manager.identifier for Node Manager Identifier.

To install node manager, refer Installing Diyotta Node Manager.

2. Once you choose auto register, the Node Manager Configuration is retrieved for the host and the retrieval message is displayed . To finish Node Manager service registration, click Continue.

  • To cancel auto register, and stay back in node manager page, click on Cancel.
  • If Node Manager Configuration details are not found then the message 'service not exist' is displayed.

3. Once you choose to continue, it displays Diyotta Manager configuration details

Once the Node Manager Service is added then, you can see the tick against the Node Manger tab. The Controller Repository, Controller Broker and Agent services tab gets enabled and you can move to the next step. To continue and configure these services, refer refer Adding Controller Repository ServiceAdding Controller Broker Service, and Adding Agent Service.

Note: 

  • To manage node manager service to start, stop and restart the service, refer Managing Node Manager Services
  • Clicking on Node manger service later displays Diyotta Manager Values and Config File Values to show the field value differences from Node Manager Config file.The value differences if any, is indicated with red highlighted text under Config File Values. To update Diyotta Manager values with Node-Manager config file values, click on '←' icon.