Creating a Deployment Utility


An SSIS project can be configured to prepare packages for server deployment by using a deployment manifest file. This is a convenient method to deploy the packages in a project using the Package Deployment Wizard. You can configure this option in the project properties. To do this from Solution Explorer, right-click the project and select Properties to open the project Property Pages dialog box. Select the Deployment Utility page, and then set CreateDeploymentUtility to True.

When you build the project from Solution Explorer or from the Build menu, files are created in the project's Bin\Deployment subfolder, which can then be copied to the target server. Simply double-click the <project name>.SSISDeploymentManifest file to launch the Package Installation Wizard. This will install the package to the server with user-selectable options.

Using the Package Installation Wizard

In the following exercise, you will make changes to an existing project to prepare packages for deployment. Setting the project properties to create a deployment utility instructs BIDS to generate a folder containing copies of all packages ready for deployment along with a deployment manifest file when choosing the Build option. You can use this file to launch the Package Installation Wizard to deploy all packages in the project easily to the target SSIS server.

Enable the Deployment Utility
  1. Open the image from book SSIS Sample Solution.sln file located at C:\Documents and Settings\<username>\My Documents\Microsoft Press\is2005sbs\Chap10. This opens BIDS.

  2. In BIDS, right-click the SSIS Sample Project name in Solution Explorer, and then click Properties.

  3. In the Property Pages dialog box, click Deployment Utility.

  4. Change CreateDeploymentUtility to True.

  5. Confirm that AllowConfigurationChanges is True.

  6. Note the path for DeploymentOutputPath.

    Your screen looks like the following:

    image from book

  7. Click the OK button to close the Project Property Pages dialog box.

    Making these changes to the project sets up the metadata necessary to create a deployment manifest with instructions for package deployment. In BIDS or Microsoft Visual Studio, the Build action performs different functions, depending on the project type. For example, in a custom application project, building the project compiles source code into a binary executable. In an SSIS project, building the project produces an output folder with a deployment manifest and project files ready for deployment.

Build the SSIS Sample Project
  1. Right-click the SSIS Sample Project name in Solution Explorer, and then click Build.

    Note 

    The build process creates the .SSISDeploymentManifest file and copies the package files to the Deployment folder to prepare for package deployment.

  2. Navigate to the build folder for the project.

  3. Using Windows Explorer, locate the project files in the DeploymentOutputPath specified in the project properties. This folder is located at Bin\Deployment, under the project folder.

    If you were deploying packages in a production environment, you would copy build files to a production server at this point. For this exercise, you can leave the files in their current location.

  4. To start the Package Installation Wizard, double-click the SSIS Sample Project.SSIS-DeploymentManifest file.

  5. Click Next on the Welcome page.

  6. Select SQL Server Deployment, and then click Next.

  7. Specify the target server name: (local).

  8. Select Rely On Server Storage For Encryption.

  9. Click Next three times (keeping the default configuration properties in each page), and then click Finish.

Connect to Integration Services
  1. In SQL Server Management Studio (SSMS), in the Connect To Server dialog box, verify that you are connected to Integration Services.

  2. If not, click the Connect button above Object Explorer, choose Integration Services, and accept the default local server connection.

  3. If launching SSMS for the first time, choose Integration Services from the Server Type drop-down list, select localhost in the Server Name drop-down list, and then click Connect.

    Note 

    After the Connect To Server dialog box closes, you will see Integration Services in the Object Browser with Running nodes labeled Packages and Stored Packages. You are now connected to the SSIS server.




Microsoft SQL Server 2005 Integration Services Step by Step
MicrosoftВ® SQL Server(TM) 2005 Integration Services Step by Step
ISBN: 0735624054
EAN: 2147483647
Year: 2007
Pages: 152

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net