Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Configuration Table and deployment to Production Server


Configuration Table and deployment to Production Server

Author
Message
Paul Hernández
Paul Hernández
SSC Veteran
SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)

Group: General Forum Members
Points: 210 Visits: 661
Hi all,

I have to deploy a set of packages from the development server to the test server and later on to the production server.

Due to new security policy, developers have no access to the production server, so I have to prepare a deployment strategy.

I used package configuration, and it is stored in the SQL Server (DEV Server).

In the past I got into the production server, open the package and set the connection to the right SSIS configuration Table manually.
I also used other option, is to create the configuration table where the packages are going to be executed, then the address or server name of the configuration table is "." or "(local)"
In this way it didn't need to adjust the connection to the server if a move the configuration table, if and only if the packages are stored and are executed in the same server and this server is the default server.

I dislike both methods because they are not general and work only under specific conditions.

I read something about environment variables but it doesn't convince me.

Any other suggestion will be appreciated.

Kind Regards,

Paul Hernández
Orlando Colamatteo
Orlando Colamatteo
SSCrazy Eights
SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)

Group: General Forum Members
Points: 9747 Visits: 14376
A blend worked well for me at one shop where an environment variable pointed to an XML configuration file, and that XML configuration file contained a connection string for a Connection Manager that pointed to my [SSIS Configurations] table. From there the Package Configurations took over and everything was driven by the values in the table, which were obviously different between environments and could be modified via SQL scripts that were deployed into the database at the same time when the SSIS Packages were deployed.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Paul Hernández
Paul Hernández
SSC Veteran
SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)

Group: General Forum Members
Points: 210 Visits: 661
Hi opc.three

Thanks for your useful answer.

I did something similar. Just what you said, the only difference is I didn’t create an environment variable to point to the xml file. At the moment I need to store the configuration file in the same location in every server. Tomorrow I’ll implement and document the environment variable. I think it is a flexible and general solution.

I will also open another thread to discuss deployment strategies in general. There are a set of new policies and strategies in the company which I work for, and they want to isolate the development team from the production systems. Therefore, the deployment and maintenance should be done by the admins or the operations team.

Kind Regards

Paul Hernández
Orlando Colamatteo
Orlando Colamatteo
SSCrazy Eights
SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)

Group: General Forum Members
Points: 9747 Visits: 14376
Happy to assist. As it played out the configuration file ended up living in the same location in every server in that shop as well but your comment about flexibility is aligned with my view as well. It was an extra option in case that file needed to move, the packages would not need to change. It also gave the developers the ability to store that file anywhere they liked which was important as they may not always have the same drive letters available as the servers.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search