How to configure SSIS 2012 project to run under different environment configurations?

后端 未结 2 2046
暗喜
暗喜 2020-12-02 17:26

What would be the best logical way of configuring 2012 SSIS project using the Project Deployment Model?

Consider a scenario of an SSIS Project

2条回答
  •  眼角桃花
    2020-12-02 18:09

    From my reading of your question, you have 3 separate servers to deploy to, each with it's own instance of the SSIS Catalog. You do not want a single server to execute for multiple environments. For that scenario, user756519's answer is of little use unfortunately - 10 out of 10 for effort though.

    I would ignore the "Environments" setup in SSIS. This is for managing multiple environments on a single SQL Server instance.

    Instead I would:

    1. set the Environment 1 Project Parameter values in the Visual Studio solution and deploy to Environment 1
    2. Deploy to Environment 2
    3. Use SSMS to connect to Environment 2, navigate Under Integration Services Catalogs to find your project, right-click it and choose Configure. Edit the parameters as required for Environment 2
    4. Deploy to Environment 3
    5. Use SSMS to connect to Environment 3, navigate Under Integration Services Catalogs to find your project, right-click it and choose Configure. Edit the parameters as required for Environment 3

    You can now continue to develop and deploy your project to each environment. No further maintenance is required, unless you add/delete/rename a Project Parameter. When any package is executed on each Environment/server, it will follow the configuration set via SSMS

提交回复
热议问题