Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Configuration Table and deployment to Production Server Expand / Collapse
Author
Message
Posted Wednesday, March 20, 2013 3:05 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, July 21, 2014 3:46 AM
Points: 115, Visits: 472
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
http://hernandezpaul.wordpress.com/
https://twitter.com/paul_eng
Post #1433072
Posted Wednesday, March 20, 2013 11:23 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 11:45 PM
Points: 7,094, Visits: 12,582
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
Post #1433360
Posted Wednesday, March 20, 2013 12:36 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, July 21, 2014 3:46 AM
Points: 115, Visits: 472
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
http://hernandezpaul.wordpress.com/
https://twitter.com/paul_eng
Post #1433414
Posted Wednesday, March 20, 2013 1:27 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 11:45 PM
Points: 7,094, Visits: 12,582
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
Post #1433450
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse