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.
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.
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.
Diagram Designer allows the automatic creation of diagrams in erwin EA / BP.
You will be able to:
2.Create a new layout / auto diagram
Diagram Designer allows the automatic creation of diagrams in erwin EA / BP.
You will be able to:
2.Create a new layout / auto diagram
The first time you launch Diagram Designer, you may not have any models enabled. You need to enable a model in order to use Diagram Designer.
To enable a model,
1.Start Diagram Designer (You can find this in your Window's Start Menu)
2.Once it has loaded, and you have logged in, click on the “Enable a Model Icon”
3.Select the model you want to enable for Diagram Designer from the drop down.
This operation take some time depending on your model’s size, when done your application will restart. When the application has restarted you may then choose your model.
4.Choose a Model by clicking on the "Model icon” with the name of your model.
Related Topics
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center