Set up User service for multiple instances of ExamDeveloper
Configure automatic email notifications
Create a folder where you want to install the new instance of the Project service, such as C:\EDPS\ExamDeveloper_New\ (henceforth known as <EDPSinstallDir_New>) and copy all the contents of <SVNFolder>\Project\ or (<SVNFolder>\ProjectService\) to this folder.
Open the various configuration files for the Project service located in C:\EDPS\ExamDeveloper_New\configs\ (<EDPSinstallDir_New>\configs\) - appSettings.config, connectionStrings.config, and log4net.config - with Notepad or a suitable text file editor.
In the appSettings.config, enter unique name and unique display name for the new instance of Project service, which is to be created and run on the application server.
<add key="serviceDescription" value="ExamDeveloper Project Service Description_New"/>
<add key="serviceDisplayName" value="UniqueProjectServiceDisplayName_New"/>
<add key="serviceName" value="UniqueProjectServiceName_New"/>
where,
UniqueProjectServiceName_New and UniqueProjectServiceDisplayName_New are the unique name and display name given to the new instance of the Project service. These names needs to be unique per install and should not contain any space.
In the appSettings.config, ensure that the values of the keys "basicAuthUserName" and "basicAuthPassword" match the values in ExamDeveloper httpClients.config of the keys "userName" and "password" respectively for the line with httpClientConfig name "Project" as in step 11 of Configure ExamDeveloper.
<add key="basicAuthUserName" value="examDeveloper_New"/>
<add key="basicAuthPassword" value="Dummy_Password_New"/>In the appSettings.config, if a line with the key "useSsl" exists, set the value to "true" as follows:
<add key="useSsl" value="true"/>
If a line with the key "relativeUri" exists, set the value to "UniqueProjectServiceName_New" as follows:
<add key="relativeUri" value="UniqueProjectServiceName_New"/>
where UniqueProjectServiceName_New is the name of the new instance of the Project service.In the connectionStrings.config, update connection string value to match the value from the EDRS connectionStrings.config file as in step 2.a of Install Additional Instance of EDRS for the new instance of EDRS.
<connectionStrings>
<add name="examDeveloper" connectionString="Data Source=WIN-VSGF1NBSVPB;Initial Catalog=ExamDeveloper_New;Persist Security Info=True;User ID=ExamDev_New;Password=P@ssw0rd_New" />
</connectionStrings>
Update the values in the <log4net> section of the log4net.config file as shown below to indicate the path where the log file for the new instance of the Project service is to be located.
<log4net><appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
<file value="C:\ExamDeveloperData\Logs\Project_New\Project.log" />
The log file Project.log will get saved to the Project service folder by default (C:\EDPS\ExamDeveloper_New\ in our example). You can specify a different path to save it by modifying the value to something like "C:\ExamDeveloperData\Logs\Project_New\Project.log" as shown above.
Install the new instance of the Project service
Open an Administrator command prompt and run the following command:
netsh http add urlacl url=https://+:443/UniqueProjectServiceName_New user=Everyone
where UniqueProjectServiceName_New is the name of the new instance of the Project service.Open an Administrator command prompt (click the Start button, type "command" in the search box, right click Command Prompt in the search results that appear, and click Run as administrator from the context menu) and navigate to <EDPSinstallDir_New>.
Run the following command to install the new instance of Project service:
Project.exe install --sudo --localservice
Start the new instance of the Project service
- Once the service is installed successfully, to start the new instance of the Project service, open the Administrator command prompt.
- Navigate to <EDPSinstallDir_New> and run the following command:
Project.exe start
Return to the top of the page Configure automatic email notifications
Set up User service for multiple instances of ExamDeveloper