Advanced Installation TopicsMultiple NAV 2009 Server Services

Multiple NAV 2009 Server Services

Sana Commerce 8.2
Your provider

Create a Second Service

When you set up the services on the separate computers you can use the default installation process using the MSI package.

If you want to set up several services on one computer, the first service can be installed in the default way (MSI) but the other ones should be installed manually using SC command through the Windows command line. Using this method you can install the number of services you need for Sana Commerce subsystems.

To create a second service:

Step 1: Navigate to the Microsoft Dynamics NAV Service directory. This directory is typically located at C:\Program Files\Microsoft Dynamics NAV\60\.

Step 2: Copy the existing 'Service' directory and paste it into the same directory. Rename the copy to 'Service2'.

Step 3: Use the following command to create a new service:

SC CREATE MicrosoftDynamicsNAVServer$NAV2 binpath= "C:\Program Files\Microsoft Dynamics NAV\60\Service2\Microsoft.Dynamics.Nav.Server.exe $NAV2" DisplayName= "Microsoft Dynamics NAV Server Instance 2" start= auto obj= "DomainName\USER"
The 'obj' parameter is used to specify a login account for the service. Replace the 'DomainName\USER' value with your domain name and the name of the user that will run the web service.
More detailed information about the user who runs the web service can be found here.

Step 4: Use the following command to setup new NAV 2009 WebService service. Replace the 'DomainName\USER' value with your domain name and the name of the user that will run the web service:

SC CREATE "MicrosoftDynamicsNAVWS$NAV2" binpath= "C:\Program Files\Microsoft Dynamics NAV\60\Service2\Microsoft.Dynamics.Nav.Server.exe $NAV2" DisplayName= "Microsoft Dynamics NAV Business Web Services Instance 2" type= share depend= HTTP obj= "DomainName\USER"
Please note that the 'space' symbol should be present after the '=' sign. This is the specific requirement of the SC command.
 
 
You should set up all the necessary SPN's, delegations and rights for each of the services. For more information about the setup process read the chapter 'NAV 2009 Three-tiered Environment'.
Advanced Installation TopicsMultiple NAV 2009 Server Services