|
||||||
| BI Monkey BI Monkey is the ‘nom de plume’ of James Beresford, a Certified Microsoft BI Professional and MBA living and consulting in Sydney |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Jun 2009
Posts: 76
![]() |
I am back on the study wagon, getting ready for Exam 70-448: TS: Microsoft SQL Server 2008, Business Intelligence Development and Maintenance. One topic that is key for is understanding the command line utilities that allow you to carry out various functions across all the BI technologies. Possibly in excessive depth, but no-one can accuse the MS BI certifications of being easy.
There are two that impact SSIS – dtutil and dtexec. In simple terms, dtutil moves packages, and dtexec executes them. In this post I will be focussing on dtutil. dtexec will be covered in a later post. dtutil: deploying packages The*main use of dtutil is to script the deployment of packages. For file operations it is equivalent to a simple copy operation, though you can add SSIS specific operations, such as changing the package GUID. However it also allows for movement to and from the SQL Server msdb store, which can’t be done via copy / paste. Deploying a package requires you specify*its source location using one of the following options:
For packages located in msdb, you may also need to provide connection details using the following options:
Next up, you need to*tell dtutil to copy*the package and specify the destination. The option to move it is /C or (/Copy). This is then followed by the same options as specifying the source -*though without the preceding backslash (i.e. Fi, DT or SQ) – then a semicolon, and finally the destination path. If you are using a SQL Server destination you may also need to provide connection details with the /DestS, /DestU and /DestP options. As usual,*an example is worth its weight in gold, so heres some*to*help you understand. In each case I will give the Full and Abbreviated versions – both of which do exactly the same job. Moving a package from File to SSIS Package Store: dtutil /File C:\Package.dtsx /Copy DTS;PackageMoving a package from msdb on a Named Instance of SQL Server using SQL Server Authentication to the file system dtutil /SQL Folder\Package*/SourceServer SQLSERVER.INSTANCE*/SourceUser Monkey_User*/SourcePassword*P@$$word /Copy File;C:\Package.dtsxUsing a little batch scripting these can easily be converted into jobs which will deploy a bundle of packages quickly and easily. dtutil: altering packages dtutil is more than a deployment tool – it can also alter packages using the following options:
dtutil: file and folder*operations Finally, dtutil can*work components of the file system or MSDB folder structures, creating and deleting files and folders
dtutil: other things There are a few leftover functions which I don’t have a categorisation, so here they are.
The main reason for using dtutil is simply that the BIDS supplied deployment options, and all that mucking about with Deployment Manifests, is limited,*not as*scriptable, and also*has been*buggy, having problems with configuration files (though I believe this is now fixed in 2008, but since I stopped using it long ago, I can’t be sure). dtutil also offers additional functionality, such as being able to script package operations such as encryption. Official MSDN documentation can be found here for 2008 and here for here for 2005. Get More from the original blog... |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Transfield next in line for Reg D | Latest News Headlines | 2009 Q4 News Headlines | 0 | 7th December 2009 08:31 AM |
| I command thee... | Latest News Headlines | Microsoft News and Views | 0 | 25th November 2009 01:49 PM |
| SAP IS -Utilities Consultant | admin | 2009 Job Archive | 0 | 22nd November 2009 11:49 AM |
| Utilities | Steve Bennett | Local Industry Channels | 7 | 20th November 2009 07:12 AM |
| Leading Utilities | admin2 | Utilities | 0 | 2nd September 2009 04:25 PM |
|
|
|
|
|
|