Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

By default, clustering is disabled in Adeptia Connect. To enable clustering, follow the instructions given in this page.

This page contains the following information:

Table of Contents
maxLevel3

Prerequisites

Before you enable clustering in Adeptia Connect, you need to make sure that you meet the following prerequisites:

  • Adeptia Connect is installed on each node of the cluster. For information on how to install, refer to Installation Guide.
  • Adeptia Connect build is installed on IP address instead of local host.
  • All the nodes have the same version of the application.
  • All the nodes of the cluster are using same Backend and Log database as defined in server-configure.properties and quartz.properties file in the …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc folder.
  • Date and Time of all the nodes are same.
  • You have defined a shared location that has both read and write permissions. All the data and intermediate files should be stored at this shared location so that the files are accessible to all the nodes of the cluster. 

    • To do so, update the system properties and define shared path in the abpm.shared.path property. 

  • Nodes of the cluster have started in sequence. It means Kernel and WebRunner of one node must be started completely before starting them on another node.
  • You give the same alias name for a particular server in both server-configure.properties and clustering-service.xml files.

Enabling clustering

Perform the following steps to enable clustering:

  1. Click Accounts > Settings.
  2. Expand the Server Node Settings in the left panel.
  3. Select the server node.
  4. Click Edit.

  5. Expand Load Management.

  6. Expand Cluster and Queue Processor Configuration.

  7. For the abpm.cluster.enable property, set the value to yes



  8. Expand Kernel Settings.

  9. For the abpm.node.alias property, type a unique name for the node in your cluster.

    Tip
    These unique alias names should also be provided in the clustering-service.xml file.

      

  10. Anchor
    shared location
    shared location
    Expand Shared Path.

  11. For the abpm.shared.path property, type the path that you want to share with all the nodes of the cluster. For example, //192.168.1.44/Shared. 


     

  12. The path referred in the abpm.shared.path property will work as the default path for all the other property names. Leave the value of all other properties blank. In case, you want to use the existing data stored at other locations, copy all the folders and files from the locations (mentioned in all the property names) to the abpm.shared.path property location. Create the folders, with the same naming convention, in the same hierarchy, as there in the existing locations. The location of the properties are listed below:

    Property name

    Default location

    Description

    abpm.webservice.wsdlDeployPath<.../AdeptiaInstallFolder>/ServerKernel/wsdlCopy the existing wsdl folder and paste it at the shared path location.
    abpm.webservice.metro.soapattachment.location Folder is created automatically (at run time) at the shared path location.
    abpm.webservice.rest.pftrigger.attachment.location Folder is created automatically (at run time) at the shared path location.
    abpm.filereferences.basefolder.location<.../AdeptiaInstallFolder>/ServerKernel/web/FileReferencesCreate the web folder at the shared path location. Copy and paste the FileReferences folder from the existing location to the Shared path location (.../web/FileReferences).
    abpm.solution.edi.dataFile.location<.../AdeptiaInstallFolder>/ServerKernel/web/ediCopy and paste the edi folder from the existing location to the Shared path location (.../web/edi).
    abpm.solution.nonedi.dataFile.location<.../AdeptiaInstallFolder>/ServerKernel/web/routingCopy and paste the routing folder from the existing location to the Shared path location (.../web/routing).
    abpm.solution.edi.repository.archive.path<.../AdeptiaInstallFolder>/ServerKernel/web/ArchiveFolder is created automatically (at run time) at the shared path location. In case, to store existing archive logs, copy and paste B2B folder from the existing location to the shared path location (.../web/Archive).
    abpm.security.repository<.../AdeptiaInstallFolder>/ServerKernel/etc/securityCreate the etc/security folder in the same hierarchy at the shared path location. Copy and paste the WSkeystore and KeyManager folders from the existing location to the shared path location (.../etc/security).
    abpm.recovery.repository.root Folder is created automatically at the shared path location.
    abpm.reprocessing.repository.root Folder is created automatically (at run time) at the shared path location.
    abpm.transaction.repository.archive.path<.../AdeptiaInstallFolder>/ServerKernel/web/ArchiveFolder is created automatically (at run time) at the shared path location. In case, to store existing logs, copy and paste Process Flow folder from the existing location to the shared path location (.../web/Archive).
    abpm.repository.root<.../AdeptiaInstallFolder>/ServerKernel/web/RepositoryCreate repository folder in the web folder at the shared path location. Copy and paste Process Flow folder from the existing location to the shared path location (.../web/Repository).
    abpm.ftpDebugOut.file.location Folder is created automatically (at run time) at the shared path location.
    abpm.reporting.repository<.../AdeptiaInstallFolder>/ServerKernel/web/Jasper ReportCopy and paste the Jasper Report folder from the existing location to the shared path location (.../web/Jasper Report).

    abpm.sap.idoc.repository


    SAP Repository folder

    abpm.static.connect2Path


    Static content path for Connect2
    abpm.inconsistentEventsInformation.fileLocation
    Provide the file path where inconsistent event/s file will create.
    abpm.aimap.path
    Configure location where AIMap files should be created.

    abpm.advschema.path


    Configure location where Advance Schema files should be created.
    abpm.webservice.rest.apidoc.imagepath<.../AdeptiaInstallFolder>/ServerKernel/web/imagesCopy and paste the images folder from the existing location to the shared path location (.../web/images).


    While using Data Mapper, folders (Value Maps, Custom Auto Maps, MappingPDF, Global Templates) are created automatically. To use existing data of these folders to the shared path location, create the folders in the hierarchy - .../web/applet/Mapping. Copy and paste these folders (Value Maps, Custom Auto Maps, MappingPDF, Global Templates) from the existing location to the shared path location.
    If required, you may also define a different shared location for any specific data file. For this, define a path for the respective data file property. The data file(s) will then stored and accessed from the path specified in that particular property. For more information, refer to Shared Location.

    Whenever you update your environment, the system retains all the specified paths or locations. The clustering service works as it used to work in the previous environment. The data is stored and accessed from the same locations unless you modify the abpm.shared.path property. In case, the abpm.shared.path property is modified, you will have to manually move the data files and make it accessible to all other nodes of the cluster.

  13. Click Save.

  14. Click Reload Configuration.

  15. Go to the folder …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc\Cluster on the server where Adeptia Connect is installed.
  16. Open the clustering-service.xml file and do the following:
    • Set the value of the node to the IP address of the server where Adeptia Connect is installed and is a part of the cluster. When Adeptia Suite starts in the cluster environment, it looks for the IP address of the server where it has been installed in the clustering-service.xml file.
    • Set the value of the alias to a unique name for every node in your clustering environment.
    • In the sequenceNumber, define a number for every node. This number must be unique for each node of the cluster and should be maximum of two digits starting from 1.







      Info

      The value of node and alias should be the same in all clustering-service.xml files across all nodes.

      The value of alias field should be the same (as given in clustering-service.xml file) in server-configure.properties file for every corresponding node. 

      Refer to the following image, for more details.


      Info

      To add more nodes in the cluster, for each node, add the following line in the clustering-service.xml file and set the value of the node with the IP address of the server.




      For example, if there are three servers (192.168.1.1, 192.168.1.2, and 192.168.1.3) in the cluster, the clustering-service.xml file will look like.


  17. Go to .../AdeptiaInstallFolder/ServerKernel/etc.

  18. Open server-configure.properties in the Text Editor.

  19. Set the value of the abpm.config.sequence.id to 2. Ensure that this value is unique for each node.
  20. Save the file.

    Note
    Perform all the above steps on all the servers that will be a part of your clustering environment. Instead of making same changes in clustering-service.xml file for all the servers, you can make changes in only one server and then copy the file on other servers.


  21. Restart the Connect Server.


Note
You need to make sure that Kernel and WebRunner on one node must be started completely before you start them on another node. Click here to know how to start Adeptia Connect services in Clustering mode in Windows-based and Linux-based operating system. 

Verifying clustering

After Clustering is enabled, you need to verify whether clustering is enabled successfully or not. To verify:

  • Login to Adeptia Connect.

  • Click Account > System Console.

  • Expand Server Nodes in the left panel.

    If all the nodes of the cluster appear in the menu, it indicates that clustering is working. 

Configuring multiple Portal nodes

  1. Log into Adeptia Connect.
  2. Go to Account > My Company.
  3. Select Portal Cluster Settings from the left pane.
  4. Click Add Node.
  5. On Add Node screen, provide Node Name and Node Access URL.
  6. Click Save.

    Info
    You can add multiple nodes by following the same process.


Next step