...
Setting up server endpoints
Server endpoints allow you to run the optimisation across several machines simultaneously. It is recommended to discuss the use of endpoints with your IT department should you wish to choose this option.
If you wish to run the optimisation across multiple machines at once, you can do so using server endpoints, noting that:
...
Note |
---|
Note: if you are using a Windows 7 machine as an endpoint, you may need to relocate Source out of Program Files to avoid folder access issues. For example, move Source to C:\Source 3.3.0. |
Endpoints can be set up manually or using the Powershell script. These are discussed separately next.
Manual set up of individual machines as endpoints
...
- Locate the IP address (type ipconfig in the command prompt) or machine name (in the Properties section of My Computer) for each computer you are going to use in the optimisation;
- In the command prompt, change the directory to the location of Source (ie. where Source in installed); and
- Setup the endpoint using the endpoint setup command. For example, in the following case, 8593 is the unique identifier for the endpoint:
RiverSystem.CommandLine.exe -m server -a net.tcp://localhost:8593/insight
...
Once setup is complete, a message will appear indicating this.
Info | ||
---|---|---|
| ||
Note: Windows may request permission to allow access to the endpoint. Click OK to grant permission. |
Note |
---|
You must keep the command prompt open until the optimisation has been run and is complete. |
To use additional cores on an individual machine, you will need to set up multiple endpoints.
If you wish to open up another endpoint for the same machine, open up another command prompt, change to the Source directory, and enter a similar command, this time with a different endpoint identifier. For example:
RiverSystem.CommandLine.exe -m server -a net.tcp://localhost:8594/insight
...
Setting up endpoint using PowerShell script
You can also set up endpoints using the included PowerShell script.
Info | ||
---|---|---|
| ||
Note: If Source is installed in your Program Files folder, you will need to run PowerShell as administrator every time you set up endpoints. |
Do the following on every machine that you wish to set up as an endpoint/s:
Ensure that the RunSourceServersForInsight.ps1 file is in the same folder as RiverSystems.CommandLine.exe;
Open PowerShell (Click on the Start menu (Windows 7), search for PowerShell, and press Enter);
This method of setting up endpoints requires a change to the execution policy for each machine you wish to use as an endpoint. To find out more about execution policies, type help about_execution_policy at the PowerShell command prompt and press Enter.
Running the optimisation
Once you have entered the parameters for each of the items listed in Table 2, press enter to begin the optimisation run.
...