简体   繁体   English

SSIS - 是否可以从本地服务器获取远程 SSIS Package(存储在 SSISDB 中),并在本地服务器上执行

[英]SSIS - Is it possible to fetch Remote SSIS Package (Stored in SSISDB) From Local Server, And execute on the Local Server

We have an ETL-DB Server (SQL Server 2019) - installed with SSISDB and SSIS Service.我们有一个 ETL-DB 服务器 (SQL Server 2019) - 安装了 SSISDB 和 SSIS 服务。 As per our new company DBA policy, ETL Server will be treated as DB Server and no more allowed to install our Windows Service Applications on the ETL-DB Server.根据我们新的公司 DBA 政策,ETL 服务器将被视为数据库服务器,并且不再允许在 ETL-DB 服务器上安装我们的 Windows 服务应用程序。

To fix this issue, We got another SSIS Server(ETL-App Server) without SSISDB, only SSIS Service is running.为了解决这个问题,我们得到了另一个没有 SSISDB 的 SSIS 服务器(ETL-App 服务器),只有 SSIS 服务正在运行。 As per our company policy this server is treated as non DB Server and we are allowed to install our Windows Services on this Server.根据我们公司的政策,该服务器被视为非数据库服务器,我们被允许在此服务器上安装我们的 Windows 服务。

So, We installed our Windows Services on this ETLAppServer.因此,我们在此 ETLAppServer 上安装了 Windows 服务。 Programatically these services are trying to fetch the SSIS Packages that are stored in SSISDB (ETL-DB Server) and Execute Locally in the ETLAppServer.这些服务以编程方式尝试获取存储在 SSISDB(ETL-DB 服务器)中的 SSIS 包并在 ETLAppServer 中本地执行。

What I see, Local Packages can be executed from locally, Remote Packages Execution can be triggered from local server.我所看到的,本地包可以在本地执行,远程包执行可以从本地服务器触发。 But the Remote Packages can't be fetched from a remote server and executed on the Local Server.但是无法从远程服务器获取远程包并在本地服务器上执行。

The Windows service uses Microsoft.SqlServer.Management.IntegrationServices and tries to fetch and execute the package using ETLDBServer Connection String. Windows 服务使用Microsoft.SqlServer.Management.IntegrationServices并尝试使用 ETLDBServer 连接字符串获取和执行 package。 But what we have observed, the package is executing only on the ETLDBServer,但我们观察到,package 仅在 ETLDBServer 上执行,

Even though the Windows Service from ETLAppServer is the one trying to connect to the remote ETLDBServer to fetch the Package and Execute.即使来自 ETLAppServer 的 Windows 服务试图连接到远程 ETLDBServer 以获取 Package 并执行。

Note: As per the below MSDN Document, What I understand, looks like it's possible.注意:根据下面的 MSDN 文档,据我所知,这似乎是可能的。 but I'm not sure of the Correct Solution.但我不确定正确的解决方案。

SSIS Remote Execution SSIS 远程执行

A package runs on the same computer as the program that launches it. package 与启动它的程序在同一台计算机上运行。 Even when a program loads a package that is stored remotely on another server, the package runs on the local computer.即使程序加载远程存储在另一台服务器上的 package,package 也会在本地计算机上运行。

This is the Resolution have received from Microsoft Support.这是从 Microsoft 支持部门收到的解决方案。

Project deployment is tightly coupled architecture.项目部署是紧耦合架构。 Packages in SSISDB will be executed on the same server where they are deployed. SSISDB 中的包将在部署它们的同一台服务器上执行。 When you run the project in the project deployment model behind the scenes it will first trigger the store procedures in SSISDB which are responsible for executing.当你在项目部署model后台运行项目时会先触发SSISDB中的存储过程负责执行。 There is no way to make sure package execution happens on different server.无法确保 package 执行发生在不同的服务器上。 You can install SQL server as well on your application server and deploy the SSIS packages to SSISDB您也可以在应用程序服务器上安装 SQL 服务器并将 SSIS 包部署到 SSISDB

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在远程服务器上运行SQL Server 2005 SSIS包时出现的问题 - Issue when running SQL Server 2005 SSIS Package on Remote Server SSIS包未在生产环境中运行,但在本地运行 - SSIS package not running on production but working on my local 如何从 .NET 执行 SSIS 包? - How to execute an SSIS package from .NET? 我如何在存储过程中使用dtsExec命令通过从表传递整个配置来执行sis软件包? - How can i use dtsExec command in stored procedure to execute ssis package by passing entire configuration from a table? 使用DataTable从远程SQL Server获取记录并将其保存到本地SQL数据库的最快方法 - Fastest way to fetch records from remote sql server and save to local sql database using DataTable 从C#代码执行SSIS包作为SQLAgent作业,并将参数传递给SSIS包 - Execute an SSIS Package as a SQLAgent job from C# code and pass a parameter to the SSIS package 比较远程服务器和本地服务器中文件的 FileInfo - To compare FileInfo of file in remote server and local server 使用SSIS包通过SQL Server更新开发应用程序的正确方法 - Right approach to develop application with SQL server update using SSIS package Git入门-从远程TFS服务器进入本地存储库? - Getting started with Git - pull into local repository from a remote TFS server? 每天将数据从远程服务器数据库传输到本地数据库 - Transfer data from remote server database into local database daily
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM