Master Data Services 的安装和配置Master Data Services Installation and Configuration

适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) - 仅限 Windows 是Azure SQL 托管实例Azure SQL Managed InstanceYesAzure SQL 托管实例Azure SQL Managed Instance适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) - Windows only 是Azure SQL 托管实例Azure SQL Managed InstanceYesAzure SQL 托管实例Azure SQL Managed Instance

本文介绍了如何在 Windows Server 2012 R2 计算机上安装 Master Data ServicesMaster Data Services 、设置 MDS 数据库和网站,以及部署示例模型和数据。This article covers how to install Master Data ServicesMaster Data Services on a Windows Server 2012 R2 machine, set up the MDS database and website, and deploy the sample models and data. Master Data ServicesMaster Data Services (MDS) 使你的组织能够管理数据的受信任版本。(MDS) enables your organization to manage a trusted version of data.

备注

使用支持 Master Data ServicesMaster Data Services 的开发者版本时,可以在 Windows 10 系统的计算机安装 Master Data ServicesMaster Data ServicesYou can install Master Data ServicesMaster Data Services on a Windows 10 machine when you use the Developer edition that now supports Master Data ServicesMaster Data Services.

有关支持不同 SQL Server 2019 (15.x)SQL Server 2019 (15.x) 版本的操作系统的详细信息,请参阅安装 SQL Server 2016 的硬件和软件要求For more information on operating system support for different SQL Server 2019 (15.x)SQL Server 2019 (15.x) editions, see Hardware and Software Requirements for Installing SQL Server 2016.

有关如何在 Master Data ServicesMaster Data Services中组织数据的概述,请参阅 Master Data Services 概述 (MDS)For an overview of how you organize data in Master Data ServicesMaster Data Services, see Master Data Services Overview (MDS).

有关 SQL Server 2019 (15.x)SQL Server 2019 (15.x) 中新增功能的信息,请参阅 Master Data Services (MDS) 中的新增功能For information about the new features in SQL Server 2019 (15.x)SQL Server 2019 (15.x), see What's New in Master Data Services (MDS).

有关可帮助你了解 Master Data ServicesMaster Data Services的视频以及其他培训资源的链接,请参阅 了解 Master Data ServicesFor links to videos and other training resources to help you learn Master Data ServicesMaster Data Services, see Learn Master Data Services.

下载Download

  • 若要下载 SQL Server 2019 (15.x)SQL Server 2019 (15.x),请转到 评估中心To download SQL Server 2019 (15.x)SQL Server 2019 (15.x), go to Evaluation Center.
  • 已经拥有 Azure 帐户?Have an Azure account? 然后转到此处,启动已安装 SQL Server 的虚拟机。Then go Here to spin up a Virtual Machine with SQL Server already installed.

无法创建 MDS 网站?Can't create an MDS web site?

请查看此 Microsoft 支持文章以获取有关如何解决此问题的说明。Check out this Microsoft support article for instructions on how to resolve this problem. 无法在 SQL Server 2016 中通过使用低特权帐户创建 MDS 网站Can't create an MDS website through a low-privilege account in SQL Server 2016

Internet Explorer 和 SilverlightInternet Explorer and Silverlight

  • 在 Windows Server 2012 计算机上安装 Master Data ServicesMaster Data Services 时,可能必须配置 Internet Explorer 增强安全性以允许为 Web 应用程序站点编写脚本。When you install Master Data ServicesMaster Data Services on a Windows Server 2012 machine, you may have to configure Internet Explorer Enhanced Security to allow scripting for the Web application site. 否则,浏览到服务器计算机上的站点将失败。Otherwise, browsing to the site on the server computer will fail.
  • 在使用 Web 应用程序时,Silverlight 5 必须安装在客户端计算机上。To work in the Web application, Silverlight 5 must be installed on the client computer. 如果不具有所需版本的 Silverlight,则在导航到需要 Silverlight 的 Web 应用程序区域时,系统将提示安装 Silverlight。If you do not have the required version of Silverlight, you will be prompted to install it when you navigate to an area of the Web application that requires it. 可以从此处安装 Silverlight 5。You can install Silverlight 5 from here.

Azure 虚拟机上的 Master Data ServicesMaster Data ServicesMaster Data ServicesMaster Data Services on an Azure Virtual Machine

默认情况下,当你使用已安装的创建 Azure 虚拟机时 SQL Server 2019 (15.x)SQL Server 2019 (15.x)Master Data ServicesMaster Data Services 还将安装。By default, when you spin up an Azure Virtual Machine with SQL Server 2019 (15.x)SQL Server 2019 (15.x) already installed, Master Data ServicesMaster Data Services is also installed.

下一步是安装 Internet 信息服务 (IIS)。You're next step is to install Internet Information Services (IIS). 请参阅安装和配置 IIS 部分。See the Installing and Configuring IIS section.

如果对更改 SQL Server 2019 (15.x)SQL Server 2019 (15.x) 的安装感兴趣,可以在默认位置 <drive>:\SQLServer_13.0_Full 找到 setup.exe 文件。If you're interested in making changes to the installation of SQL Server 2019 (15.x)SQL Server 2019 (15.x), you'll find the setup.exe file in the default location, <drive>:\SQLServer_13.0_Full.

安装 Master Data ServicesInstalling Master Data Services

可以使用 SQL ServerSQL Server 安装程序安装向导或命令提示符来安装 Master Data ServicesMaster Data ServicesYou use the SQL ServerSQL Server setup installation wizard or a command prompt to install Master Data ServicesMaster Data Services.

在 Windows Server 2012 R2 计算机上使用 SQL ServerSQL Server 安装程序安装 Master Data ServicesMaster Data ServicesTo install Master Data ServicesMaster Data Services using SQL ServerSQL Server Setup on a Windows Server 2012 R2 machine

  1. 双击 Setup.exe,然后按照安装向导中的步骤进行操作。Double-click Setup.exe, and follow the steps in the installation wizard.

  2. 在“功能选择”页的“共享功能”下,选择 Master Data ServicesMaster Data ServicesSelect Master Data ServicesMaster Data Services on the Feature Selection page under Shared Features.

    将安装 Master Data Services 配置管理器Master Data Services Configuration Manager、程序集、Windows PowerShell 管理单元以及 Web 应用程序和服务的文件夹和文件。This installs Master Data Services 配置管理器Master Data Services Configuration Manager, assemblies, a Windows PowerShell snap-in, and folders and files for Web applications and services.

    mds_SQLServer2016Setup_FeatureSelectionmds_SQLServer2016Setup_FeatureSelection

  3. 完成安装向导。Complete the installation wizard.

安装和配置 IISInstalling and Configuring IIS

  1. Windows Server 2012 R2Windows Server 2012 R2 中,单击“桌面”上任务栏上的“服务器管理器”图标。In Windows Server 2012 R2Windows Server 2012 R2, click the Server Manager icon on the taskbar on the Desktop.

    Windows Server 2012 任务栏中服务器管理器的图标Icon for the Server Manager in Windows Server 2012 taskbar

  2. 在“服务器管理器”中,单击“管理”菜单中的“添加角色和功能”。In Server Manager, click, Add Roles and Features on the Manage menu.

    ![在服务器管理中,"添加角色和功能" 菜单命令](../master-data-services/media/mds-servermanagerdashboard-addrolesfeaturesmenu.png "在服务器管理中,"添加角色和功能" 菜单命令")In Server Manage, the Add Roles and Features menu command

  3. 在“添加角色和功能向导”的“安装类型”页上,接受默认值(基于角色或基于功能的安装),然后单击“下一步”。On the Installation Type page of the Add Roles and Features Wizard, accept the default value (Role-based or feature-based installation) and click Next.

  4. 单击“从服务器池中选择服务器”,然后单击安装 Master Data ServicesMaster Data Services 的服务器。Click Select a server from the server pool, and then click the server where you installed Master Data ServicesMaster Data Services.

    mds_AddRolesFeaturesWizard_ServerSelectionPage

  5. 在“服务器角色”页, 单击“Web 服务器” ,再单击“下一步”。On the Server Roles page, click Web Server and then click Next.

    mds_AddRolesFeaturesWizard_ServerRolesPage

  6. 在“功能”页,确认选中以下功能,然后单击“下一步”。On the Features page, confirm that the following features are selected, and then click Next. Windows Server 2012 R2Windows Server 2012 R2 上的 Master Data ServicesMaster Data Services 需要这些功能。These features are required for Master Data ServicesMaster Data Services on Windows Server 2012 R2Windows Server 2012 R2.

    功能Features 功能Features
    mds_AddRolesFeaturesWizard_FeaturesPage mds_AddRolesFeaturesWizard_FeaturesPage_WindowsProcActive
  7. 在左侧窗格中,单击“Web 服务器角色 (IIS)”,然后单击“角色服务”。In the left-hand pane, click Web Server Role (IIS) and then click Role Services.

  8. 在“角色服务”页,确认选中以下服务,然后单击“下一步”。On the Role Services page, confirm that the following services are selected, and then click Next. Windows Server 2012 R2Windows Server 2012 R2 上的 Master Data ServicesMaster Data Services 需要这些服务。These services are required for Master Data ServicesMaster Data Services on Windows Server 2012 R2Windows Server 2012 R2.

    警告

    不要安装 WebDAV 发布角色服务。Do not install the WebDAV Publishing role service. WebDAV 发布与 Master Data ServicesMaster Data Services不兼容。WebDAV Publishing is not compatible with Master Data ServicesMaster Data Services.

    角色服务Role Services 角色服务Role Services
    mds_AddRolesFeaturesWizard_RoleServicesPage mds_AddRolesFeaturesWizard_RoleServicesPage_PerformSecurity
    mds_AddRolesFeaturesWizard_RoleServicesPage_AppDevsection mds_AddRolesFeaturesWizard_RoleServicesPage_ManageToolssection

    有关在其他操作系统上所需的功能和角色服务的列表,请参阅 Web 应用程序要求 (Master Data Services)For a list of the required features and roles services on other operating systems, see Web Application Requirements (Master Data Services) .

有关使用安装程序安装 SQL ServerSQL Server 的详细信息,请参阅使用安装向导安装 SQL Server 2016(安装程序)For more information about installing SQL ServerSQL Server using setup, see Install SQL Server 2016 from the Installation Wizard (Setup).

有关使用命令提示符安装 SQL ServerSQL Server 的详细信息,请参阅 从命令提示符安装 SQL Server 2016For more information about installing SQL ServerSQL Server using a command prompt, see Install SQL Server 2016 from the Command Prompt. 使用命令提示符时, Master Data ServicesMaster Data Services 作为功能参数提供。When you use a command prompt, Master Data ServicesMaster Data Services is available as a feature parameter.

有关链接到与预安装任务相关的其他信息的简要说明,请参阅 安装 Master Data ServicesFor a brief description with links to additional information about pre-installation tasks, see Install Master Data Services.

设置数据库和网站Setting up the Database and Website

使用 Master Data Services 配置管理器Master Data Services Configuration Manager 设置数据库和网站To set up the database and website using the Master Data Services 配置管理器Master Data Services Configuration Manager

警告

启动 Master Data ServicesMaster Data Services 配置管理器之前,必须安装 IISYou must install IIS before launching the Master Data ServicesMaster Data Services Configuration Manager. 否则,Configuration Manager 将显示“Internet Information Services 错误”消息,不能创建 Master Data ServicesMaster Data Services Web 应用程序。Otherwise, the Configuration Manager will display an Internet Information Services error and you will not be able to create the Master Data ServicesMaster Data Services web application.

浏览器要求Browser Requirement

Master Data ServicesMaster Data Services Web 应用程序仅适用于 Internet Explorer (IE) 9 或更高版本。The Master Data ServicesMaster Data Services web application works only in Internet Explorer (IE) 9 or later. IE 8 及早期版本、Microsoft Edge 和 Chrome 均不受支持。IE 8 and earlier versions, Microsoft Edge and Chrome are not supported.

  1. 启动 Master Data Services 配置管理器Master Data Services Configuration Manager,然后单击左窗格中的“数据库配置”。Launch the Master Data Services 配置管理器Master Data Services Configuration Manager, and click Database Configuration in the left pane.

  2. 单击“创建数据库”,然后在“创建数据库向导”中单击“下一步”。Click Create Database, and then click Next in the Create Database Wizard.

  3. 在 " 数据库服务器 " 页上,指定 SQL Server 实例。On the Database Server page, specify the SQL Server instance.

    SQL Server 2019 (15.x)SQL Server 2019 (15.x) 添加对 SQL Server 托管实例的支持。adds support for SQL Server Managed Instance. SQL Server 实例 的值设置为托管实例的主机。Set the value of SQL Server Instance to the host of the managed instance. 例如,xxxxxx.xxxxxx.database.windows.netFor example, xxxxxx.xxxxxx.database.windows.net.

  4. 选择 身份验证类型 ,然后单击 " 测试连接 " 以确认你可以使用所选身份验证类型的凭据连接到数据库。Select the Authentication type and then click Test Connection to confirm that you can connect to the database using the credentials for the authentication type you selected. 单击“下一步”。Click Next.

    对于 SQL Server 2019 (15.x)SQL Server 2019 (15.x) ,若要连接到托管实例,请使用以下身份验证类型之一:For SQL Server 2019 (15.x)SQL Server 2019 (15.x), to connect to the managed instance, use one of the following authentication types:

    • Azure Active Directory 集成身份验证: 当前用户– Active Directory 集成Azure Active Directory Integrated Authentication: Current User – Active Directory Integrated
    • SQL Server 身份验证: SQL Server 帐户SQL Server Authentication: SQL Server Account.

    在 SQL 托管实例中,用户必须是 sysadmin 固定服务器角色的成员。In SQL Managed Instance, the user must be a member of the sysadmin fixed server role.

    备注

    选择“当前用户 - 集成安全性”作为身份验证类型时,“用户名”框为只读,并且显示登录到计算机的 Windows 用户帐户的名称。When you select Current User - Integrated Security as the authentication type, User name box is read-only and displays the name of the Windows user account that is logged on to the computer. 如果在 Azure 虚拟计算机 (VM) 上运行 SQL Server 2019 (15.x)SQL Server 2019 (15.x) Master Data ServicesMaster Data Services,“用户名”框显示 VM 名称以及该 VM 上本地管理员帐户的用户名。If you are running SQL Server 2019 (15.x)SQL Server 2019 (15.x) Master Data ServicesMaster Data Services on an Azure Virtual Machine (VM), the User name box displays the VM name and the user name for the local administrator account on the VM.

    mds_2016ConfigManager_CreateDatabaseWizard_ServerPage

  5. 在“数据库名称”字段中键入名称。Type a name in the Database name field. (可选)若要选择 Windows 排序规则,请清除“SQL Server 默认排序规则”复选框,单击一个或多个可用选项,如“区分大小写”。Optionally, to select a Windows collation, clear the SQL Server default collation checkbox and click one or more of the available options such as Case-sensitive. 单击“下一步”。Click Next.

    mds_2016ConfigManager_CreateDatabaseWizard_DatabasePage

    有关 Windows 排序规则的详细信息,请参阅 Windows 排序规则名称 (Transact-SQL)For more information about Windows collation, see Windows Collation Name (Transact-SQL).

  6. 在“用户名”字段中,指定将成为 Master Data Services 默认超级用户的用户 Windows 帐户。In the User name field, specify the Windows account of the user that will be the default Super User for Master Data Services. 超级用户有权访问所有功能区域,并且可以添加、删除和更新所有模型。A Super User has access to all functional areas and can add, delete, and update all models.

    mds_2016ConfigManager_CreateDatabaseWizard_AdminPage

  7. 单击 " 下一步 " 查看数据库的设置摘要 Master Data ServicesMaster Data Services ,然后再次单击 " 下一步 " 以创建数据库。Click Next to view a summary of the settings for the Master Data ServicesMaster Data Services database, and then click Next again to create the database. 出现“进度和完成”页。The Progress and Finish page appears.

  8. 创建和配置数据库后,单击“完成”。When the database is created and configured, click Finish.

    有关“创建数据库向导”中的设置的详细信息,请参阅创建数据库向导(Master Data Services 配置管理器)For more information about the settings in the Create Database Wizard, see Create Database Wizard (Master Data Services Configuration Manager).

  9. Master Data Services 配置管理器Master Data Services Configuration Manager 中的“数据库配置”页上,单击“选择数据库”。On the Database Configuration page in the Master Data Services 配置管理器Master Data Services Configuration Manager, click Select Database.

  10. 单击“连接”,选择在步骤 7 中创建的 Master Data ServicesMaster Data Services 数据库,然后单击“确定”。Click Connect, select the Master Data ServicesMaster Data Services database that you created in Step 7, and then click OK.

    mds_2016ConfigManager_SelectDatabaseButton_ConnectToDatabaseDialog

    你已经完成了数据库的设置。You've finished setting up the database. “数据库配置”页现在将显示为 Master Data ServicesMaster Data Services(创建的数据库和当前的数据库版本)连接的 SQL ServerSQL Server 实例。The Database Configuration page now displays the SQL ServerSQL Server instance that you're connected to for Master Data ServicesMaster Data Services, the database you've created and the current database version.

    mds_2016ConfigManager_DatabaseConfig_Completed

  11. Master Data Services 配置管理器Master Data Services Configuration Manager 中,单击左窗格中的“Web 配置”。In Master Data Services 配置管理器Master Data Services Configuration Manager, and click Web Configuration in the left pane.

  12. 在“网站”列表框中,单击“默认网站”,然后单击“创建”以创建 Web 应用程序。In the Website list box, click Default Web Site, and then click Create to create a Web application.

    备注

    选择“默认网站”时,必须创建一个 Web 应用程序。When you select Default Web Site, you must create a Web application. 如果在列表框中选择“创建新网站”,将自动创建应用程序。If you select Create new website in the list box, the application is automatically created.

    mds_2016ConfigManager_WebConfig

  13. 在“应用程序池”部分中,执行下列操作之一。In the Application Pool section, do one of the following.

    • 为数据库“管理员帐户”输入在第 5 步中输入的同一用户名称,输入密码,然后单击“确定”。Enter the same user name that you entered in Step 5 for the database Administrator Account, enter the password, and then click OK.

      -OR-

    • 输入不同的用户名称,输入密码,然后单击“确定”。Enter a different user name, enter the password, and then click OK.

      创建数据库和 Web 应用程序时,不必使用相同的帐户。You don't have to use the same account when you create the database and the web application.

      mds_2016ConfigManager_WebConfig_CreateWebApplication

    有关“创建 Web 应用程序”对话框的详细信息,请参阅创建 Web 应用程序对话框(Master Data Services 配置管理器)For more information about the Create Web Application dialog box, see Create Web Application Dialog Box (Master Data Services Configuration Manager).

    备注

    如果域实现 Windows 的 2020 ldap 通道绑定和 ldap 签名要求If your domain implement 2020 LDAP channel binding and LDAP signing requirements for Windows. 你将看到 "无法在 Active Directory 中验证凭据" 问题。You will see issue "The credentials could not be verified in Active Directory." 使用域帐户创建应用程序池时。when you using domain account to create Application Pool. 要解决此问题,请使用 本地计算机用户,而不是域用户。For workaround, instead of domain user, use a local machine user. 这可以绕过凭据检查 Active Directory。This can bypass the credential checking with Active Directory. 创建 web 应用程序后,可以在 Internet Information Services (IIS) 管理器 中将标识更改为域用户。After creating the web application, you can change the identity to domain user in Internet Information Services (IIS) Manager.

  14. 在“Web 配置”页的“Web 应用程序”框中,单击已创建的应用程序,然后单击“将应用程序与数据库相关联”部分中的“选择”。On the Web Configuration page in the Web application box, click the application you've created, and then click Select in the Associate Application with Database section.

  15. 单击“连接”,选择想要与 Web 应用程序相关联的 Master Data ServicesMaster Data Services 数据库,然后单击“确定”。Click Connect, select the Master Data ServicesMaster Data Services database that you want to associate with the Web application, and then click OK.

    你已经完成了网站的设置。You've finished setting up the Website. “Web 配置”页现在将显示你所选的网站、创建的 Web 应用程序以及与应用程序相关联的 Master Data ServicesMaster Data Services 数据库。The Web Configuration page now displays the Website you selected, Web application you created, and the Master Data ServicesMaster Data Services database associated with the application.

    mds_2016ConfigManager_WebConfig_Completed

  16. 单击“应用” 。Click Apply. 显示“配置完成”消息框。The Configuration Complete message box displays. 在消息框中单击“确定”,启动 Web 应用程序。Click OK in the message box to launch the web application. 网站地址为 "https://server 名称 / web 应用程序/"。The web site address is https://server name/web application/.

mds_2016ConfigurationComplete_MessageBox

有关“Web 配置”页上的设置的详细信息,请参阅“Web 配置”页(Master Data Services 配置管理器)For more information about the settings on the Web Configuration page, see Web Configuration Page (Master Data Services Configuration Manager)

你还可以使用 Master Data Services 配置管理器Master Data Services Configuration Manager 指定与 Master Data ServicesMaster Data Services 数据库相关联的 Web 应用程序和服务的其他设置。You can also use Master Data Services 配置管理器Master Data Services Configuration Manager to specify other settings for the Web applications and services associated with the Master Data ServicesMaster Data Services database. 例如,你可以指定加载数据的频率或发送验证电子邮件的频率。For example, you can specify how frequently data is loaded or how often validation emails are sent. 有关详细信息,请参阅系统设置 (Master Data Services)For more information, see System Settings (Master Data Services).

部署示例模型和数据Deploying Sample Models and Data

以下三个示例模型包都包含在 Master Data ServicesMaster Data Services中。The following three sample model packages are included with Master Data ServicesMaster Data Services. 这些示例模型包括数据。These sample models include data. 示例模型包的默认位置为 %programfiles%\Microsoft SQL Server\140\Master Data Services\Samples\PackagesThe default location for the sample model packages is %programfiles%\Microsoft SQL Server\140\Master Data Services\Samples\Packages.

  • chartofaccounts_en.pkgchartofaccounts_en.pkg
  • customer_en.pkgcustomer_en.pkg
  • product_en.pkgproduct_en.pkg

可以使用 MDSModelDeploy 工具部署这些包。You deploy the packages using the MDSModelDeploy tool. MDSModelDeploy 工具的默认位置为 驱动器\Program Files\Microsoft SQL Server\ 140\Master Data Services\Configuration。The default location for the MDSModelDeploy tool is drive\Program Files\Microsoft SQL Server\ 140\Master Data Services\Configuration.

有关运行此工具的先决条件的信息,请参阅 使用 MDSModelDeploy 部署模型部署包For information about prerequisites for running this tool, see Deploy a Model Deployment Package by Using MDSModelDeploy.

有关在 SQL Server 2019 (15.x)SQL Server 2019 (15.x)Master Data ServicesMaster Data Services 中更新数据以支持新功能的信息,请参阅 SQL Server 示例:模型部署包 (MDS)For information about updates made to the data to support new features in SQL Server 2019 (15.x)SQL Server 2019 (15.x)Master Data ServicesMaster Data Services, see SQL Server Samples: Model Deployment Packages (MDS).

部署示例模型To deploy the sample models

  1. 将示例模型包复制到驱动器\Program Files\Microsoft SQL Server\140\Master Data Services\Configuration。Copy the sample model packages to drive\Program Files\Microsoft SQL Server\140\Master Data Services\Configuration.

  2. 通过运行以下命令打开管理员命令提示符,然后导航到 MDSModelDeploy.exe。Open an Administrator: Command Prompt and navigate to MDSModelDeploy.exe, by running the following command.

    cd c:\Program Files\Microsoft SQL Server\140\Master Data Services\Configuration  
    
  3. 通过运行以下每个命令将每个示例模型部署到 Master Data ServicesMaster Data ServicesDeploy each of the sample models to Master Data ServicesMaster Data Services by running each of the following commands.

    重要

    在下面的示例中, MDS1 服务值是指定的。In the examples below, the MDS1 service value is specified. 设置 Master Data ServicesMaster Data Services 网站时,如果选择了“默认网站”,则使用此值。You use this value if you selected Default Web Site when you set up the Master Data ServicesMaster Data Services Web site. 请参阅 设置数据库和网站 部分。See the Setting up the Database and Website section.

    如果创建了一个新的网站,或选择了另一个现有网站,首先运行以下命令以确定正确的服务值。If you created a new web site or selected another existing web site, run the following command first to determine the correct service value.

    MDSModelDeploy listservices

    返回的值列表中,第一个服务值为指定用于部署模型的值。The first service value in the list of values returned, is the one you specify to deploy a model.

    备注

    为了解更多有关示例模型的元数据信息,请参考“c:\Program Files\Microsoft SQL Server\140\Master Data Services\Configuration”中提供的自述文件In order to know more about the metadata information of the sample models, please refer to the readme file available at this location "c:\Program Files\Microsoft SQL Server\140\Master Data Services\Configuration"

    部署 chartofaccounts_en.pkg 示例模型To deploy the chartofaccounts_en.pkg sample model

    MDSModelDeploy deploynew -package chartofaccounts_en.pkg -model ChartofAccounts -service MDS1  
    

    部署 customer_en.pkg 示例模型To deploy the customer_en.pkg sample model

    MDSModelDeploy deploynew -package customer_en.pkg -model Customer -service MDS1  
    

    部署 product_en.pkg 示例模型To deploy the product_en.pkg sample model

    MDSModelDeploy deploynew -package product_en.pkg -model Product -service MDS1  
    

    成功部署某一模型后,将显示“MDSModelDeploy 操作已完成”消息。When a model is successfully deployed, the MDSModelDeploy operation completed message is displayed.

    下图显示部署 product_en.pkg 示例模型的命令。The following image shows the command for deploying the product_en.pkg sample model.

    用于部署产品示例模型的命令行Command line for deploying the Product sample model

  4. 若要查看示例模型,执行以下操作。To view the sample models, do the following.

    1. 导航到你设置的 Master Data ServicesMaster Data Services 网站。Navigate to the Master Data ServicesMaster Data Services web site that you set up. 请参阅 设置数据库和网站 部分。See the Setting up the Database and Website section.

      网站地址为 "https://server 名称 / web 应用程序/"。The web site address is https://server name/web application/.

    2. 从“模型”列表框中选择模型,然后单击“资源管理器”。Select a model from the Model list box, and click Explorer.

      MDS 网站、主页。MDS Web site, home page.

下一步Next Step

为你的数据创建一个新的模型和实体。Create a new model and entities for your data. 请参阅创建模型 (Master Data Services)创建实体 (Master Data Services)See Create a Model (Master Data Services) and Create an Entity (Master Data Services).

有关如何使用模型和实体为 Master Data ServicesMaster Data Services 中的数据生成结构的概述,请参阅 Master Data Services 概述 (MDS)For an overview of how you use a model and entities to build a structure for your data in Master Data ServicesMaster Data Services, see Master Data Services Overview (MDS)

另请参阅See Also

Master Data Services 数据库 Master Data Services Database
主数据管理器 Web 应用程序 Master Data Manager Web Application
"数据库配置" 页 (Master Data Services 配置管理器) Database Configuration Page (Master Data Services Configuration Manager)
Master Data Services (MDS) 中的新增功能What's New in Master Data Services (MDS)