Load Balancing with erwin Web Modeler
Previously if you wanted to use Web Modeler you were restricted to a single server installation. We have now extended the configuration to allow for multi-server (or load balanced) environments.
Configuring MongoDB Replication
This topic explains the process to configure MongoDB Replication. This process is only required if you are serving Evolve Web Platform from more than one web server, in a load balanced array.
Configure MongoDB Replication
1.Press the Windows key and then click Start.
2.Search for Services.
The Services window appears.
3.Select MongoDB Server.
4.Click Stop.
MongoDB Server service stopped.
5.Go to MongoDB bin folder available at C:\Program Files\MongoDB\Server\4.2\bin.
6.Open `mongod.cfg` file in text editor (For example: Notepad).
7.Update replication property as follows:
replication:
replSetName: "rs0"
8.Bind your system IP address in the following format:
net:
port: 27017
bindIp: <enter system ipv4>, 127.0.0.1
9.Save the`mongod.cfg` file.
10.Start MongoDB Service.
11.Go to C:\Program Files\MongoDB\Server\4.2\bin and open the command Prompt.
12.Run the mongo.exe command.
13.Run the following command:
rs.initiate({_id : "rs0",members: [{ _id: 0, host: "<enter system ipv4>:27017"}]})
|
The default MongoDB port number is 27017. If required, you can update it to a different port number. |
14.Run the rs.status() command to check whether replication is configured successfully.
Successful MongoDB replication is indicated by a response where the members array has the name and IP properties according to the values configured in step 13.
Configure Evolve Server
The instructions below explain Evolve Server Configuration to publish your sites on it.
On the main/master server:
1.Start Evolve Designer.
2.On the Evolve Designer Models launcher dialog, click the Configure Evolve Server button.
The Evolve Server Configuration dialog opens.
3.Under Server, select the Primary Server, Share Data Folder and Share MongoDB check boxes.
|
In the MongoDB URL option, the IPv4 address will be replaced with the host address, unless you manually update the main machine IP address. |
4.Click Save.
5.Click Configure IIS and perform full deployment.
On the secondary server:
1.Start Evolve Designer.
2.On the Evolve Designer Models launcher dialog, click the Configure Evolve Server button.
The Evolve Server Configuration dialog opens.
3.Under Server, select the Use the Share Data Folder and Use the Shared MongoDB check boxes.
.
4.Click Features and in the Web Modeler API URL box, replace your host IP address with "localhost".
|
The address should be “http://localhost:3001/” after replacing IP address. |
|
Before deploying, ensure that MongoDB and Diagrammer services are running. |
5.Click Save.
6.Click Configure IIS and perform full deployment.
|
Verify whether the database property is added to the environment variables. |
7.Restart the secondary server.
8.Open erwin Web Modeler.
Verify whether it displays the main server’s erwin Web Modeler drafts and data. This indicates that both machines are connected to the same MongoDB database.
Automatic Diagrams (Diagram Designer)
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center