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


SSIS Configurations


SSIS Configurations

Author
Message
Kayal-717623
Kayal-717623
SSC Journeyman
SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)

Group: General Forum Members
Points: 78 Visits: 290
Hi all,

I have a master package to execute 200 child packages. The master package goes thru a loop and executes 5 -6 packages at a time. The configuration for these packages are stored in file system. The location of the file system is changing and due to that i need to modify the 200 packages to change the config file location. Any better ideas to prevent modifying 200 packages to use the new config file location.

Also, this master package is called in a job. Master package uses a different config file from that of the child packages.

Thanks.
Kayal
robert.gerald.taylor
robert.gerald.taylor
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1332 Visits: 1399
Kayal-717623 (10/31/2012)
Hi all,
I have a master package to execute 200 child packages. The master package goes thru a loop and executes 5 -6 packages at a time. The configuration for these packages are stored in file system. The location of the file system is changing and due to that i need to modify the 200 packages to change the config file location. Any better ideas to prevent modifying 200 packages to use the new config file location.

Also, this master package is called in a job. Master package uses a different config file from that of the child packages.

It sounds like your .dtsConfig locations are hardcoded within your SSIS packages. So I think you're going to have touch each package to update them. I like the ideas that Andy Leonard uses in his example SSIS framework: http://sqlblog.com/blogs/andy_leonard/archive/2011/09/16/designing-an-ssis-framework.aspx

Andy's framework uses an Environment variable to point to the location for the parent .dtsConfig file. This then points to a SSIS configuration database that that contains your child package information. It's a pretty slick setup and I've probably not described it well enough. Search through Andy's blog for more posts about it.

HTH,
Rob
MWise
MWise
SSC-Addicted
SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)

Group: General Forum Members
Points: 427 Visits: 1747
We use an environmental variable too to point to the configuration database. It's a pretty cool method.

Right now for your problem you might want to look into do a massive find/replace in file on your DTSX files. Obviously you'll want to test it out so you make sure you get the right string to find/replace. DTSX file are just XML text files so you can use the Replace in Files in either BIDS, Visual Studio or your preferred text editor if it has that functionality. I've done this in the past when we did a server migration and it worked out quite well. Again, just make sure that you test on dev copies to make sure you are replacing only the text that you need to - you can mess up your packages if you aren't careful.

MWise



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