安裝 Integration Services 的考量

SQL Server 提供了單一安裝程式,以安裝它的任何或所有元件,包含 Integration Services 在內。您可以使用安裝程式來安裝 Integration Services,不論單一電腦上是否有其他 SQL Server 元件。

本主題將強調幾個重要考量事項,在您安裝 Integration Services 之前應該先了解這些事項。本主題的資訊將可幫助您評估安裝選項,好讓您可以做出讓安裝成功的選擇。

本主題不包含啟動安裝程式、使用安裝精靈或是從命令列執行安裝程式的相關指示。如需有關如何啟動安裝程式及選取安裝元件的逐步指示,請參閱<SQL Server 2008 快速入門安裝>。如需有關安裝 Integration Services 之命令列選項的詳細資訊,請參閱<如何:從命令提示字元安裝 SQL Server 2008>。

準備安裝 Integration Services

在安裝 MicrosoftSQL ServerIntegration Services 之前,請檢閱下列需求:

選取 Integration Services 組態

您可以使用以下組態安裝 SQL ServerIntegration Services:

  • 您可以將 SQL ServerIntegration Services 安裝在沒有舊版 SQL Server 執行個體的電腦上。

  • 您可以將 SQL Server 2008Integration Services 與 SQL Server 2005Integration Services 或 SQL Server 2000 Data Transformation Services (DTS) 或這兩者的現有執行個體一起並存安裝。

    重要注意事項重要事項

    Data Transformation Services (DTS) 已被取代。如需詳細資訊,請參閱<Data Transformation Services (DTS)>。

  • 您可以將 SQL Server 2005Integration Services 的現有執行個體升級到 SQL Server 2008Integration Services。如需詳細資訊,請參閱<升級 Integration Services 的考量>。如需有關與 Integration Services 舊版之回溯相容性的詳細資訊,請參閱<Integration Services 回溯相容性>。

  • 您可以將 SQL Server 2000 Data Transformation Services (DTS) 的現有執行個體升級到 SQL Server 2008Integration Services。如需詳細資訊,請參閱<升級 Data Transformation Services 的考量>。如需有關與 DTS 之回溯相容性的詳細資訊,請參閱<SQL Server 2008 中 Data Transformation Services (DTS) 的支援>。

安裝 Integration Services

在檢閱 SQL Server 的安裝需求並確認電腦符合這些需求之後,您就可以開始安裝 Integration Services。

如果您要使用安裝精靈安裝 Integration Services,您將會使用一連串的頁面來指定元件和選項。下表只列出您在安裝精靈中所選的選項將影響 Integration Services 安裝的那些頁面:

[!附註]

您可以在安裝精靈的 [特徵選取] 頁面上選取要安裝的一些 SQL Server 元件,這樣會安裝 Integration Services 元件的部分子集。這些元件對特定的工作有用,但 Integration Services 的功能會受到限制。例如,[Database Engine Services] 選項會安裝 SQL Server 匯入和匯出精靈所需的 Integration Services 元件。[Business Intelligence Development Tools (BIDS)] 選項會安裝設計封裝所需的 Integration Services 元件,但是不會安裝 Integration Services 服務,而且您無法在 BI Development Studio 外部執行封裝。為了確保 Integration Services 能完整安裝,您必須在 [特徵選取] 頁面上選取 [Integration Services]

頁面

建議

特徵選取

選取 [Integration Services],即可安裝 Integration Services 服務並在設計環境外面執行封裝。

如需 Integration Services 的完整安裝,以及開發和管理封裝的工具與文件集,請同時選取 [Integration Services] 和下列 [共用功能]

  • [Business Intelligence Development Studio],以便安裝設計封裝的工具。

  • [管理工具 - 完成],以便安裝管理封裝的 SQL Server Management Studio。

  • [SQL Server 線上叢書],以便安裝文件集。

  • [用戶端工具 SDK],以便安裝 Integration Services 程式設計的 Managed 組件。

  • [用戶端工具回溯相容性],以便安裝執行 DTS 2000 封裝工作 (如果您需要 DTS 封裝支援的話)。

許多資料倉儲方案也需要安裝其他 SQL Server 元件,例如 SQL Server Database Engine、SQL ServerAnalysis Services 和 SQL ServerReporting Services。

在 64 位元電腦上安裝:在 64 位元電腦上,選取 [Integration Services] 只會安裝 64 位元的執行階段和工具。如果您必須以 32 位元模式執行封裝,您也必須選取其他選項來安裝 32 位元的執行階段和工具:

  • 如果 64 位元電腦正在執行 x86 作業系統,請選取 [Business Intelligence Development Studio][管理工具 - 完成]

  • 如果 64 位元電腦正在執行 Itanium 作業系統,請選取 [管理工具 - 完成]

在 ETL 的專用伺服器上安裝:若要使用擷取、轉換和下載 (ETL) 處理序的專用伺服器,我們建議您在安裝 Integration Services 時安裝 SQL Server Database Engine 的本機執行個體。Integration Services 通常會將封裝儲存在 Database Engine 的執行個體中,而且它會仰賴 SQL Server Agent 來排程這些封裝。如果此 ETL 伺服器沒有 Database Engine 的執行個體,您就必須從具有 Database Engine 執行個體的伺服器排程或執行封裝。這表示,雖然封裝無法在 ETL 伺服器上執行,但是它們會改在啟動封裝的伺服器上執行。因此,系統將無法如預期方式使用專用 ETL 伺服器的資源。此外,其他伺服器的資源可能會受到執行中 ETL 處理序的限制。

執行個體組態

您在 [執行個體組態] 頁面上所做的任何選取都不會影響 Integration Services 或 Integration Services 服務。

您在電腦上只能安裝一個 Integration Services 服務執行個體。您可以使用電腦名稱來連接此服務。

根據預設,Integration Services 服務設定為可管理儲存在 Database Engine 執行個體之 msdb 資料庫中的封裝,該執行個體與 Integration Services 同時安裝。如果 Database Engine 執行個體並未與 Integration Services 同時安裝,Integration Services 服務會設定為可管理儲存在本機預設 Database Engine 執行個體之 msdb 資料庫中的封裝。若要管理儲存在 Database Engine 具名執行個體或遠端執行個體中的封裝,或儲存在多個 Database Engine 執行個體中的封裝,您就必須修改組態檔。如需有關如何修改此組態檔的詳細資訊,請參閱<設定 Integration Services 服務>。

伺服器組態

[伺服器組態] 頁面的 [服務帳戶] 索引標籤上,檢閱 Integration Services 服務的設定。

根據預設,Integration Services 服務會註冊成在內建的網路服務帳戶底下執行,而且 [啟動類型][自動]。您不需要針對內建的網路服務帳戶輸入密碼。

根據預設,在新的安裝中,Integration Services 會設定為不要將與封裝執行相關的事件記錄至應用程式事件記錄檔。當您使用 SQL Server 2008 的資料收集器功能時,這個設定可避免產生過多的事件記錄項目。不會記錄的事件包括 EventID 12288「封裝已啟動」和 EventID 12289「封裝已成功完成」。若要將這些事件記錄到應用程式事件記錄檔,請開啟登錄進行編輯。在登錄中找出 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\SSIS 節點,然後將 LogPackageExecutionToEventLog 設定的 DWORD 値從 0 變更為 1。

了解 Integration Services 服務

Integration Services 會安裝 Integration Services 服務,此服務可讓您在 SQL Server Management Studio 中執行以下工作:

  • 管理階層式檢視中的 Integration Services 封裝和資料夾。封裝可以儲存在 Database Engine 的執行個體或檔案系統中。

  • 監視在電腦上執行之 Integration Services 封裝的執行。

重要注意事項重要事項

建立、儲存及執行 Integration Services 封裝時,不需要 Integration Services 服務。

當您在 [特徵選取] 頁面上選取 [Integration Services] 選項時,就會安裝 Integration Services 服務。當您在 [伺服器組態] 頁面上接受預設設定時,Integration Services 服務就會啟用而且其 [啟動類型][自動]

您在一部電腦上只能安裝單一 Integration Services 服務的執行個體。此服務並非特定 Database Engine 執行個體特有的。您可以使用執行此服務所在的電腦名稱來連接此服務。

若要管理此服務,請使用 SQL Server 組態管理員,或在 [控制台] 開啟 [系統管理工具] 來使用 Microsoft Management Console (MMC) 的 [服務] 嵌入式管理單元。如需詳細資訊,請參閱<管理 Integration Services 服務>。

根據預設,Integration Services 服務設定為可管理儲存在 Database Engine 執行個體之 msdb 資料庫中的封裝,該執行個體與 Integration Services 同時安裝。如果 Database Engine 執行個體並未與 Integration Services 同時安裝,Integration Services 服務會設定為可管理儲存在本機預設 Database Engine 執行個體之 msdb 資料庫中的封裝。若要管理儲存在 Database Engine 具名執行個體或遠端執行個體中的封裝,或儲存在多個 Database Engine 執行個體中的封裝,您就必須修改組態檔。如需有關如何修改此組態檔的詳細資訊,請參閱<設定 Integration Services 服務>。

在 64 位元電腦上安裝 Integration Services

64 位元電腦上安裝的 Integration Services 功能

安裝程式會根據您所選取的安裝選項來安裝各種 Integration Services 功能:

  • 當您安裝 SQL Server 並選取 Integration Services 進行安裝時,安裝程式就會安裝所有可用的 64 位元 Integration Services 功能和工具。

  • 如果您需要 Integration Services 設計階段功能,就必須一併安裝 Business Intelligence Development Studio。

  • 如果您需要 32 位元版本的 Integration Services 執行階段和工具,才能在 32 位元模式中執行特定封裝,就必須一併安裝 Business Intelligence Development Studio。

64 位元功能會安裝在 Program Files 目錄下,而 32 位元功能則另外安裝在 Program Files (x86) 目錄下 (此行為不是 Integration Services 或 SQL Server 特有的)。

重要注意事項重要事項

Business Intelligence Development Studio (也就是 Integration Services 封裝的 32 位元開發環境) 在 Itanium 64 位元作業系統上不受支援,且不會安裝在 Itanium 伺服器上。

如需詳細資訊,請參閱<Integration Services 的 64 位元考量>。

64 位元電腦上的 Data Transformation Services 支援

DTS 封裝沒有 64 位元設計階段或執行階段支援。在 64 位元電腦上,DTS 封裝和執行 DTS 封裝的 Integration Services 封裝只能在 32 位元模式中執行。若要安裝 32 位元版本的 dtexec 公用程式 (dtexec.exe),請務必在安裝期間選取用戶端工具或 Business Intelligence Development Studio。

Itanium 作業系統也不提供 DTS 封裝的 32 位元設計階段或執行階段支援;因此,您無法在 Itanium 作業系統上建立、檢視、修改或執行 DTS 封裝。

安裝 SQL Server 2000 Data Transformation Services 封裝的支援

SQL Server 2008 不會安裝 DTS 封裝的執行階段支援。您必須先安裝這個執行階段支援,然後才能執行和管理 DTS 封裝。如需有關如何安裝 DTS 支援的詳細資訊,請參閱<如何:安裝 Data Transformation Services 封裝的支援>。

重要注意事項重要事項

Data Transformation Services (DTS) 已被取代。如需詳細資訊,請參閱<Data Transformation Services (DTS)>。

如需有關如何搭配 SQL Server 2008 使用 DTS 的詳細資訊,請參閱<SQL Server 2008 中 Data Transformation Services (DTS) 的支援>。