Hierarchical Distributed Systems on a Single Server

Scenario
You want to set up a hierarchical distributed system on a single server. To do this, you must configure the projects in distribution on the same server.

info

NOTE:
On a single Server, you can set the projects in distribution even if their security configurations are different. That is, you can set up a stand-alone project in distribution with an unsecured project or an unsecured project in distribution with a secured project and so on.
You can set up the server communication as stand-alone, if you access the Installed Client on the same server. However, if you have a remote FEP connected to the server, for working in distribution, you must set the projects with server communication as secured.

Prerequisites

On singles Server, ensure the following before configuring projects in distribution:

Deployment Sequence Diagram

Steps

Perform the following tasks on the same Server using SMC.

info

NOTE:
In order to avoid restarting the project, follow the suggested distribution configuration sequence.

  1. In the SMC tree, select Projects > [project].
  2. Click Edit .
  3. In the Server Project Information expander, do the following:
    a. Enable the distribution by selecting the Distribution Participant check box.
    b. Select the Data Master check box.
  4. Click Save Project .
  5. Click OK.
  6. Click Activate Project to activate Project1.
    NOTE: If there is no active project in SMC, you must activate this first. Otherwise, you cannot start it.
  7. Click Start Project to start Project1.
  8. In the SMC tree, select Projects > [stopped project], for example Project2 that you want to set up in distribution.
  9. Click Edit .
  10. In the Server Project Information expander, proceed as follows:
    a. Enable the distribution for Project2 by selecting the Distribution Participant check box.
    b. Set the Dist Port number field to 4778 by changing the default.
  11. Using the Distribution Participants expander, add the distribution partner project, for example Project3, either in Manual mode by clicking New and Extensions, or in Automatic Mode by clicking Browse.
  12. From the Distribution Connections expander, change the Connection type so that
    Project2 Project1.
  13. Click Save Project .
    NOTE: You cannot save the Originator project having multiple distribution partners with the same dist port, system name, system ID.
  14. Click OK.
  15. In the Distribution Participants expander, click Sync to sync the partner project Project1, with details on the originator project, Project2.
  16. (Optional) Click Yes to open and view the synchronization report.
  17. Repeat steps 8 to 15 to set up Project3 in distribution with Project1, providing the unique dist port and adding distribution participants as projects Project1.
  18. Since the distribution connection is unidirectional, you can set up Hierarchical distributed systems on a single server. When you sync, the distribution connection is aligned on Project1 so that
    Project1 Project2, and
    Project1 Project3.
  19. Launch the Installed Client on the Supervising System (Originator System, System1 with Project1).
  20. With the System Manager in Engineering mode and the System Manager in Management View, select Project1 > System Settings > Security and perform the following on the Supervising System (Originator System set as Data Master).
    a. Create the Global User.
    b. Create the Global User Group.
    c. Assign the Global User to the Global User group.
    d. Assign global Scopes rights and the Application rights.
    e. Enable the User.
  21. In the Summary bar, select Menu > Operator > Switchover and switch the operator from the current user to the Global User.
  22. You are now logged in with the Global User into the installed client of the Supervising System (Originator Project1). You can now work with the distribution partner projects Project2 (System2) and Project3 (System3).
  1. You can also launch the Windows App client for System1 (with Project1) and work with Partner Systems in distribution, System2 (with Project2) and System3 (with Project3).
  2. If you activate one of the partner systems, for example System2 with Project2, and log onto the Installed Client on System2, you can only work with the local system (System2 with Project2).