I have several environments that my SSIS packages move through during a development cycle (Development, QA, Staging, and Production) as such I’d like to use a configuration in SSIS to set the Server Names in my Connection Managers so that I don’t need to do this by hand.
I’ve read about using xml config files, SQL config tables, and environment variables. However the problem I have is that my QA and Staging environments are on the same server but using two separate SQL instances. How can I configure the Server Name dynamically in this instance?
Ok this is how we handle. We use an environment variable to determine the database to read teh rest of teh configuration from. Environment variables are associated with users, so we set up the job for QA to one user and the job for staging to another. Our users are called something like SQLQA and SQLstaging and are only used to run jobs. Then the environment variable points to the database where we store the rest of the configurations in SSIS config.