Partager via


How to: Mount a Tenant

This topic describes how to mount a tenant database on a Microsoft Dynamics NAV Server instance in a multitenant Microsoft Dynamics NAV deployment. To mount a tenant database, you use the Mount-NAVTenant cmdlet of the Microsoft Dynamics NAV 2015 Administration Shell.

Tip

You can also mount a tenant by using the Microsoft Dynamics NAV Server Administration tool. For more information, see How to: Mount or Dismount a Tenant on a Microsoft Dynamics Server Instance.

To mount a tenant database on a Microsoft Dynamics NAV Server instances

  1. On the computer that is running the Microsoft Dynamics NAV Server, run Microsoft Dynamics NAV Administration Shell as an Administrator.

    1. Choose Start, in the Search box, type Microsoft Dynamics NAV Administration Shell.

    2. Right-click the related link, and then choose Run as Administrator.

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

    Mount-NAVTenant -ServerInstance] <NAVServerInstance> -DatabaseName <NAVDatabase> -DatabaseServer <MyDatabaseServer
    

    Change the following parameter values.

    Parameter Description

    <NAVServerInstance>

    Specifies the Microsoft Dynamics NAV Server instance that you want to mount the tenant against, such as DynamicsNAV80.

    <NAVDatabase>

    Specifies the name of the Microsoft Dynamics NAV database that you want to mount against the Microsoft Dynamics NAV Server instance, such as 'Demo Database NAV (7-1)'.

    <MyDatabaseServer>

    Specifies the name of the database server that hosts the Microsoft Dynamics NAV database that you want to mount against the Microsoft Dynamics NAV Server instance.

    Note

    The command that is shown includes only a subset of all the parameters of the Mount-NavTenant cmdlet. For more information about the syntax and parameters, see Mount-NAVTenant topic in the Administration Cmdlets for Microsoft Dynamics NAV section of the Technical Reference.

  3. Press Enter to run the cmdlet.

    The tenant database is mounted on the Microsoft Dynamics NAV Server instance.

See Also

Tasks

How to: Add a Microsoft Dynamics NAV Web Server Instance
How to: Add a Microsoft Dynamics NAV Database
How to: Add a Microsoft Dynamics NAV Server Instance

Concepts

Scaling the Microsoft Dynamics NAV Network Topology
Multitenant Deployment Architecture
Migrating to Multitenancy
Deploying and Managing Microsoft Dynamics NAV on Windows Azure