|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Saturday, May 11, 2013 8:32 PM
Points: 172,
Visits: 476
|
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Friday, May 03, 2013 2:54 AM
Points: 328,
Visits: 1,848
|
|
| Personally, I find using windows scheduling and invoking the SSIS package from a .bat file to be a lot more dependable.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 5:22 AM
Points: 1,037,
Visits: 1,354
|
|
Samuel Vella (12/10/2009) Personally, I find using windows scheduling and invoking the SSIS package from a .bat file to be a lot more dependable.
To each his own. I prefer using SQL Server's scheduler because it has better logging and troubleshooting features. In fact if I have a non-SQL-based scheduled job to run on a server that has a SQL server, I'll often use it's scheduler so I can track it in my SQL job tracking system.
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Wednesday, May 04, 2011 7:02 AM
Points: 65,
Visits: 265
|
|
Which storage option are you using when deploying your SSIS packages from BIDS? (msdb or filesystem?). I have found that storing them to msdb on the server by choosing "File | Save Copy of Package AS" works best. Important: You have to choose "Rely on Server Storage and roles for access control" for Protection Level in the Save As window. By doing it this way, you don't have any problems running the package from jobs and don't have to use a proxy account. Does anyone else do it this way? However, I did find this article very useful in understanding the Security changes in 2005. Thanks!!
Dave Coats
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Yesterday @ 6:53 AM
Points: 842,
Visits: 758
|
|
Dave Coats (12/10/2009) I have found that storing them to msdb on the server by choosing "File | Save Copy of Package AS" works best. Important: You have to choose "Rely on Server Storage and roles for access control" for Protection Level in the Save As window. By doing it this way, you don't have any problems running the package from jobs and don't have to use a proxy account. Does anyone else do it this way?
Dave,
That is exactly how I do it. When I was in SSIS training, another attendee mentioned your described approach to getting around the credentials issue and I've done it that way ever since. So there are at least 3 of us! Unless that was you in my class. 
Terry
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Yesterday @ 9:53 AM
Points: 14,
Visits: 247
|
|
We use proxy account / credentials and assign this account to the Run As property on a job step. The job does not have to be run under the proxy account (only the job step). I don't agree (or maybe understand) why a separate job executor account is used to create SSIS packages. We have a small team of people who create packages using VS (Pro version) and the jobs can be owned by them or any other account appropriate for the job (may need sa or SQL Agent account if CmdExec type job step is needed). The team has the appropriate SQL Agent roles.
We also use the proxy account when provisioning file share access appropriate for our job steps. I prefer the file system for storing SSIS packages (have done it both ways and think management, visibility and deployment is easier).
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Wednesday, May 04, 2011 7:02 AM
Points: 65,
Visits: 265
|
|
TerryS - Thats funny! Glad I'm not the only one. That wasn't me in that training but sounds like he was a smart man!
Dave Coats
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Wednesday, May 04, 2011 7:02 AM
Points: 65,
Visits: 265
|
|
Brad - just a couple ideas I have on File System deployment vs. msdb is: 1) I don't really like having packages floating out there on the server - seems much more secure to have them inside the database 2) If they are in msdb, the packages can be backed up with the scheduled sys backups 3) Don't have to worry about roles/passwords/proxies etc.
Just my thoughts though. Everyone has there own preferences.
Sorry for getting a bit off track Robert....thanks for the informative article!
Dave Coats
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Saturday, May 11, 2013 8:32 PM
Points: 172,
Visits: 476
|
|
Thank you, all for your comments, and reading....hope that it is helpful. I think that it's great that many of you experts chime in and add your experiences and knowledge. My goal is to offer up the experiences and solutions that I encounter to assist DBA's that may run accross similar issues.
Moreover, on the "Rely on Server Storage" option, I did extensively reseach this, and believe that one of the links I refernce in my article discusses this.
Here is one useful (didn't put this in the article) link that discusses all the options, including Rely on Server Storage....http://www.databasejournal.com/features/mssql/article.php/3619166/SQL-Server-2005-Integration-Services---Security---Part-28.htm
Nonetheless thank you for adding....
Regards, Robert Pearl
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Yesterday @ 9:53 AM
Points: 14,
Visits: 247
|
|
One of the beauties of proxy and abstracting permissions for a job step is to not tie the step's requirements to the account running the job or the service the job runs under. If you have a remote staging directory on some file share you can use that same domain account assigned to the credential object for read permissions on same staging file shares. It is a nice way to abstract permissions and if the accounts are established with some set of standards then it also provides information to others managing the remote file shares.
We use source control (TFS) for our SSIS packages in order to provide for our versioning and backup needs.
|
|
|
|