Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

How to: Add a Microsoft Dynamics NAV Server Instance

Microsoft Dynamics NAV 2013

This topic describes how to add a new Microsoft Dynamics NAV Server instance to an existing Microsoft Dynamics NAV Server installation. To add a Microsoft Dynamics NAV Server instance, you use the New-NAVServerInstance cmdlet of the Microsoft Dynamics NAV Administration Shell.

You specify the name for the instance, the Microsoft Dynamics NAV database to connect to, and the TCP ports for the following services:

  • Management services port

    This specifies the TCP port for the Microsoft Dynamics NAV Server Administration tool.

  • Client services port

    This specifies TCP port for the Microsoft Dynamics NAV Windows client and Microsoft Dynamics NAV Web client.

  • SOAP web services port.

  • OData web services port.

To add a Microsoft Dynamics NAV Server instance

  1. Establish a Remote Desktop Connection to the virtual machine that is running the Microsoft Dynamics NAV Web Server components.

  2. Run Microsoft Dynamics NAV Administration Shell as an Administrator.

    On the remote computer, on the Start menu, search for Microsoft Dynamics NAV Administration Shell. Right-click the link, and then choose Run as Administrator.

  3. At the command prompt, type the following command:

    New-NAVServerInstance <MyInstance> -ServiceAccount <ServiceAccount> -ManagementServicesPort <PortNumber> -ClientServicesPort <PortNumber> -SOAPServicesPort <PortNumber> -ODataServicesPort <PortNumber> -DatabaseName <DatabaseName> -DatabaseServer <DatabaseServer>
    

    Change the following parameter values.

    Parameter Description

    <MyInstance>

    Specifies the name that you want to give the Microsoft Dynamics NAV Server instance.

    <ServiceAccount>

    Specifies the Windows account to use to log on to the Microsoft Dynamics NAV Server.

    <PortNumber>

    Specifies the TCP port number to use for the associated service.

    <DatabaseInstance>

    Specifies the name of the SQL Server database instance to connect to.

    If you are connecting to the same database instance as the existing Microsoft Dynamics NAV Server instance, then you can omit this parameter and value.

    <DatabaseServer>

    Specifies the name of the Microsoft Dynamics NAV database in SQL Server. The name has the domain\computername format.

    If you are connecting to the same database as the existing Microsoft Dynamics NAV Server instance, then you can omit this parameter and value.

    Dn168990.note(en-us,NAV.70).gifNote
    The command that is shown includes only a subset of the parameters of New-NAVServerInstance cmdlet. For more information about the syntax and parameters, see New-NAVServerInstance.

  4. Press Enter to run the cmdlet.

    A new Microsoft Dynamics NAV Server instance with the specified name is added on the virtual machine in the c:\Program Files\Microsoft Dynamics NAV\70\Service\Instances folder.

    Dn168990.note(en-us,NAV.70).gifNote
    If you want to change the configuration of the new Microsoft Dynamics NAV Server instance after it has been added, see Configuring Microsoft Dynamics NAV Server.

Example

The following example creates a new Microsoft Dynamics NAV Server instance. It will enable communication on the service ports through the Windows Firewall.

New-NAVServerInstance MyNavInstance -ServiceAccount NetworkService -ManagementServicesPort 8099 -ClientServicesPort 8100 -SOAPServicesPort 8101 -ODataServicesPort 8102 -verbose

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.