重新配置 Azure-SSIS 集成运行时Reconfigure the Azure-SSIS integration runtime

适用于:是 Azure 数据工厂否 Azure Synapse Analytics(预览版)APPLIES TO: yesAzure Data Factory noAzure Synapse Analytics (Preview)

本文介绍如何重新配置现在的 Azure-SSIS 集成运行时。This article describes how to reconfigure an existing Azure-SSIS integration runtime. 若要在 Azure 数据工厂中创建 Azure-SSIS 集成运行时 (IR),请参阅创建 Azure-SSIS 集成运行时To create an Azure-SSIS integration runtime (IR) in Azure Data Factory, see Create an Azure-SSIS integration runtime.

数据工厂 UIData Factory UI

可以使用数据工厂 UI 停止、编辑/重新配置或删除 Azure-SSIS IR。You can use Data Factory UI to stop, edit/reconfigure, or delete an Azure-SSIS IR.

  1. 通过选择数据工厂主页上的“创作和监视”磁贴,打开数据工厂 UI。Open Data Factory UI by selecting the Author & Monitor tile on the home page of your data factory.
  2. 选择“主页”、“编辑”和“监视”中心下方的“管理”中心,以显示“连接”窗格。Select the Manage hub below Home, Edit, and Monitor hubs to show the Connections pane.

重新配置 Azure-SSIS IRTo reconfigure an Azure-SSIS IR

在“管理”中心的“连接”窗格中,切换到“集成运行时”页,然后选择“刷新” 。On the Connections pane of Manage hub, switch to the Integration runtimes page and select Refresh.

“连接”窗格

可以通过选择 Azure-SSIS IR 的名称来对其进行编辑/重新配置。You can edit/reconfigure your Azure-SSIS IR by selecting its name. 此外,还可以选择相应的按钮来监视/启动/停止/删除 Azure-SSIS IR,通过“执行 SSIS 包”活动自动生成 ADF 管道以在 Azure-SSIS IR 上运行,并查看 Azure-SSIS IR 的 JSON 代码/有效负载。You can also select the relevant buttons to monitor/start/stop/delete your Azure-SSIS IR, auto-generate an ADF pipeline with Execute SSIS Package activity to run on your Azure-SSIS IR, and view the JSON code/payload of your Azure-SSIS IR. 只能在 Azure-SSIS IR 停止时对其执行编辑/删除操作。Editing/deleting your Azure-SSIS IR can only be done when it's stopped.

Azure PowerShellAzure PowerShell

备注

本文进行了更新,以便使用新的 Azure PowerShell Az 模块。This article has been updated to use the new Azure PowerShell Az module. 你仍然可以使用 AzureRM 模块,至少在 2020 年 12 月之前,它将继续接收 bug 修补程序。You can still use the AzureRM module, which will continue to receive bug fixes until at least December 2020. 若要详细了解新的 Az 模块和 AzureRM 兼容性,请参阅新 Azure Powershell Az 模块简介To learn more about the new Az module and AzureRM compatibility, see Introducing the new Azure PowerShell Az module. 有关 Az 模块安装说明,请参阅安装 Azure PowerShellFor Az module installation instructions, see Install Azure PowerShell.

预配并启动 Azure-SSIS 集成运行时的实例后,可以通过连续运行 Stop - Set - Start PowerShell cmdlet 序列来重新配置该实例。After you provision and start an instance of Azure-SSIS integration runtime, you can reconfigure it by running a sequence of Stop - Set - Start PowerShell cmdlets consecutively. 例如,以下 PowerShell 脚本将分配给 Azure-SSIS 集成运行时实例的节点数更改为 5。For example, the following PowerShell script changes the number of nodes allocated for the Azure-SSIS integration runtime instance to five.

重新配置 Azure-SSIS IRReconfigure an Azure-SSIS IR

  1. 首先,使用 Stop-AzDataFactoryV2IntegrationRuntime cmdlet 停止 Azure-SSIS Integration Runtime。First, stop the Azure-SSIS integration runtime by using the Stop-AzDataFactoryV2IntegrationRuntime cmdlet. 此命令释放该运行时的所有节点并停止计费。This command releases all of its nodes and stops billing.

    Stop-AzDataFactoryV2IntegrationRuntime -DataFactoryName $DataFactoryName -Name $AzureSSISName -ResourceGroupName $ResourceGroupName 
    
  2. 接下来,使用 Set-AzDataFactoryV2IntegrationRuntime cmdlet 重新配置 Azure-SSIS IR。Next, reconfigure the Azure-SSIS IR by using the Set-AzDataFactoryV2IntegrationRuntime cmdlet. 以下示例命令将 Azure-SSIS 集成运行时横向扩展到五个节点。The following sample command scales out an Azure-SSIS integration runtime to five nodes.

    Set-AzDataFactoryV2IntegrationRuntime -DataFactoryName $DataFactoryName -Name $AzureSSISName -ResourceGroupName $ResourceGroupName -NodeCount 5
    
  3. 然后,使用 Start-AzDataFactoryV2IntegrationRuntime cmdlet 启动 Azure-SSIS Integration Runtime。Then, start the Azure-SSIS integration runtime by using the Start-AzDataFactoryV2IntegrationRuntime cmdlet. 此命令分配该运行时的所有节点来运行 SSIS 包。This command allocates all of its nodes for running SSIS packages.

    Start-AzDataFactoryV2IntegrationRuntime -DataFactoryName $DataFactoryName -Name $AzureSSISName -ResourceGroupName $ResourceGroupName
    

删除 Azure-SSIS IRDelete an Azure-SSIS IR

  1. 首先,列出数据工厂下的所有现有 Azure SSIS IR。First, list all existing Azure SSIS IRs under your data factory.

    Get-AzDataFactoryV2IntegrationRuntime -DataFactoryName $DataFactoryName -ResourceGroupName $ResourceGroupName -Status
    
  2. 接下来,停止数据工厂中的所有现有 Azure SSIS IR。Next, stop all existing Azure SSIS IRs in your data factory.

    Stop-AzDataFactoryV2IntegrationRuntime -DataFactoryName $DataFactoryName -Name $AzureSSISName -ResourceGroupName $ResourceGroupName -Force
    
  3. 接下来,逐个删除数据工厂中的所有现有 Azure SSIS IR。Next, remove all existing Azure SSIS IRs in your data factory one by one.

    Remove-AzDataFactoryV2IntegrationRuntime -DataFactoryName $DataFactoryName -Name $AzureSSISName -ResourceGroupName $ResourceGroupName -Force
    
  4. 最后,删除数据工厂。Finally, remove your data factory.

    Remove-AzDataFactoryV2 -Name $DataFactoryName -ResourceGroupName $ResourceGroupName -Force
    
  5. 如果已创建了新的资源组,请删除该资源组。If you had created a new resource group, remove the resource group.

    Remove-AzResourceGroup -Name $ResourceGroupName -Force 
    

后续步骤Next steps

有关 Azure-SSIS 运行时的详细信息,请参阅以下主题:For more information about Azure-SSIS runtime, see the following topics:

  • Azure-SSIS 集成运行时Azure-SSIS Integration Runtime. 此文提供有关集成运行时(包括 Azure-SSIS IR)的一般概念性信息。This article provides conceptual information about integration runtimes in general including the Azure-SSIS IR.
  • 教程:将 SSIS 包部署到 AzureTutorial: deploy SSIS packages to Azure. 此文以分步说明的方式介绍了如何创建 Azure-SSIS IR 并使用 Azure SQL 数据库来托管 SSIS 目录。This article provides step-by-step instructions to create an Azure-SSIS IR and uses Azure SQL Database to host the SSIS catalog.
  • 如何:创建 Azure-SSIS 集成运行时How to: Create an Azure-SSIS integration runtime. 此文延伸了本教程的内容,介绍了如何使用 Azure SQL 托管实例以及如何将 IR 加入虚拟网络。This article expands on the tutorial and provides instructions on using Azure SQL Managed Instance and joining the IR to a virtual network.
  • 将 Azure-SSIS IR 加入虚拟网络Join an Azure-SSIS IR to a virtual network. 此文提供有关将 Azure-SSIS IR 加入 Azure 虚拟网络的概念性信息。This article provides conceptual information about joining an Azure-SSIS IR to an Azure virtual network. 此外,还介绍可以执行哪些步骤来使用 Azure 门户配置虚拟网络,以便 Azure-SSIS IR 能够加入虚拟网络。It also provides steps to use Azure portal to configure virtual network so that Azure-SSIS IR can join the virtual network.
  • 监视 Azure-SSIS IRMonitor an Azure-SSIS IR. 此文介绍如何检索有关 Azure-SSIS IR 的信息,以及返回的信息中的状态说明。This article shows you how to retrieve information about an Azure-SSIS IR and descriptions of statuses in the returned information.