如果您計劃在 DB2® 資料庫或子系統上啟動 IBM® InfoSphere® Optim™ Query Workload Tuner 3.1.1 版的授權,則必須在工作站上同時安裝用戶端及授權啟動套件。而其安裝方式是執行無聲自動安裝。
關於這項作業
此作業包含在某部工作站上產生回應檔,然後使用回應檔在其他工作站上執行安裝。在其中產生回應檔的工作站必須已安裝 IBM Installation Manager。
安裝 IBM InfoSphere Optim Query Workload Tuner 3.1.1 版會在工作站上安裝兩個元件:
- IBM Data Studio 完整用戶端 3.1.1 版
- IBM Data Studio 提供整合開發環境,進行資料庫伺服器的健全資料庫應用程式開發及資料庫管理。您可以使用此用戶端進行調整作業。您可以執行有限的免費調整作業集合,也可以針對具有作用中
IBM InfoSphere Optim Query Workload Tuner 3.1.1 版授權的任何資料庫,存取完整的調整作業集合。
- InfoSphere Optim Query Workload Tuner 3.1.1 版的授權啟動套件
- 此套件可讓您啟動完整的特性集合,以調整查詢工作量及單一 SQL 陳述式。當您使用 IBM Data Studio 完整用戶端以開始調整時,用戶端會在已連接的 DB2 for Linux, UNIX, and Windows 資料庫或 DB2 for z/OS® 子系統上安裝及啟動授權。在該資料庫或子系統上啟動授權之後,透過 Data Studio 完整用戶端或管理用戶端 3.1.1 版連接至該資料庫或子系統的其他任何人都可以使用這組完整的調整特性。
- 您的產品 DVD 或下載自 IBM Shopz 的 IBM Passport Advantage® 的壓縮檔,都會包含所購買產品的對應套件:
- InfoSphere Optim Query Workload Tuner for DB2 for Linux, UNIX, and Windows 授權啟動套件
- InfoSphere Optim Query Workload Tuner for DB2 for z/OS 授權啟動套件
限制: - 如果您在執行 Windows 作業系統的工作站上產生回應檔,則必須使用該回應檔在另一個執行 Windows 作業系統的工作站上執行無聲自動安裝。
- 如果您在執行 Linux 作業系統的工作站上產生回應檔,則必須使用該回應檔在另一個執行 Linux 作業系統的工作站上執行無聲自動安裝。
程序
若要在工作站上安裝 IBM InfoSphere Optim Query Workload Tuner 3.1.1 版的這兩個元件,請執行下列動作:
- 確定 IBM Installation Manager 自動檢查它自己的更新項目。
- 啟動 IBM Installation Manager。
- 選取。
- 在「喜好設定」視窗中,選取更新項目。
- 在「更新項目」頁面上,選取搜尋 Installation Manager 更新項目選項。然後,按一下確定。
- 關閉 IBM Installation Manager。
- 產生回應檔:
- 在指令行上,切換至已安裝 IBM Installation Manager 的目錄中的 eclipse 子目錄。 子目錄的預設路徑取決於您的作業系統以及您是否具有工作站上的管理權限。
- 如果您具有工作站上的管理權限,請執行下列動作:
- 在 Windows 上:C:\Program Files\IBM\Installation Manager\eclipse
- 在 Linux 上:/opt/IBM/Installation Manager/eclipse
- 如果您沒有工作站上的管理權限,請執行下列動作:
- 在 Windows 2000 及 Windows XP Professional 上:C:\Documents and Settings\user\IBM\Installation Manager
- 在 Windows Vista、Windows 2008 及 Windows 7 上:C:\Users\users\IBM\Installation Manager
- 在 Linux 上:/user_home_directory/IBM/InstallationManager
- 執行其中一個指令以啟動 IBM Installation Manager,來產生回應檔,以及產生日誌檔。當您指定該指令時,請確定您輸入的檔案路徑已存在;Installation Manager 不會建立回應檔及日誌檔的目錄。 如果您想要在工作站上安裝 InfoSphere Optim Query Workload Tuner,則除了產生回應檔之外,也請移除所執行指令中的 -skipInstall 選項。
- 要在計劃安裝 IBM InfoSphere Optim Query Workload Tuner 的工作站上的使用者具有管理權限時執行的指令
- 若為 Windows:
IBMIM.exe
-record response_file_name_and_path
-log log_file_name_and_path
-skipInstall full_path_name_of_a_writable_directory
- 若為 Linux:
IBMIM
-record response_file_name_and_path
-log log_file_name_and_path
-skipInstall full_path_name_of_a_writable_directory
- 要在計劃安裝 IBM InfoSphere Optim Query Workload Tuner 的工作站上的使用者沒有 管理權限時執行的指令
- 若為 Windows:
userinst.exe
-record response_file_name_and_path
-log log_file_name_and_path
-skipInstall full_path_name_of_a_writable_directory
- 若為 Linux:
userinst
-record response_file_name_and_path
-log log_file_name_and_path
-skipInstall full_path_name_of_a_writable_directory
- 在 IBM Installation Manager 中,選取。
- 在「儲存庫」頁面上,新增 IBM Data Studio 完整用戶端 3.1.1 版及 IBM
InfoSphere Optim Query Workload Tuner for DB2
for z/OS 授權啟動套件 3.1.1 版的 diskTag.inf 檔案位置。然後,按一下確定。
IBM Data Studio 完整用戶端的
diskTag.inf 檔案的路徑:
- 在 Windows 作業系統上:Root_path_of_installation_media\disk1\diskTag.inf
- 在 Linux 作業系統上:Root_path_of_installation_media/disk1/diskTag.inf
授權啟動套件的
diskTag.inf 檔案的路徑:
- 在 Windows 作業系統上:Root_path_of_installation_media\oqwt\diskTag.inf
- 在 Linux 作業系統上:Root_path_of_installation_media/oqwt/diskTag.inf
- 在 IBM Installation Manager 的主要畫面中,按一下安裝。
- 在「安裝套件」頁面上,指定現有套件群組或新的套件群組(視是否升級現有產品而定)。 這些步驟的結果會套用至在其上產生回應檔的工作站(如果您在步驟 b 中未使用 -skipInstall 選項);這些步驟的結果也會套用至在其中執行無聲自動安裝的工作站。
- 完成精靈中的其餘步驟。
當您執行指令時,會在指定的位置產生回應檔。
- 將回應檔傳送至想要在其中安裝 IBM InfoSphere Optim Query Workload Tuner 3.1.1 版的工作站。 請確定想要在其中執行無聲自動安裝的工作站已安裝 IBM Installation Manager。請確定 IBM Installation Manager 可以存取回應檔所指定的儲存庫。
例如,如果回應檔指向產品 DVD 上的 diskTag.inf 檔案,請先將產品 DVD 放入工作站的 DVD 光碟機中,再啟動無聲自動安裝。
- 確定 IBM Installation Manager 自動檢查它自己的更新項目。
- 啟動 IBM Installation Manager。
- 選取。
- 在「喜好設定」視窗中,選取更新項目。
- 在「更新項目」頁面上,選取搜尋 Installation Manager 更新項目選項。然後,按一下確定。
- 關閉 IBM Installation Manager。
- 執行無聲自動安裝。
- 在指令行上,切換至已安裝 IBM Installation Manager 的目錄中的 eclipse 子目錄。
- 在 Windows 上,例如:cd C:\Program Files\IBM\Installation Manager\eclipse
- 在 Linux 上,例如:cd /opt/IBM/Installation Manager/eclipse
- 執行指令以啟動無聲自動安裝。 -log 選項會建立新的日誌檔,因此,您指定的目錄必須是可寫入的。
- 若為 Windows:imcl.exe
-acceptLicense input response_file_name_and_path -log log_file_name_and_path
- 若為 Linux:./imcl
-acceptLicense input response_file_name_and_path -log log_file_name_and_path
下一步
如果您需要配置 DB2 for Linux, UNIX, and Windows 資料庫,以調整 SQL 陳述式或查詢工作量,請參閱配置 DB2 for Linux, UNIX, and Windows 資料庫,以搭配使用 IBM InfoSphere Optim Query Workload Tuner。
如果您需要配置 DB2 for z/OS 子系統,以調整 SQL 陳述式或查詢工作量,請參閱配置 DB2 for z/OS 子系統,以使用 InfoSphere Optim Query Workload Tuner 進行查詢及查詢工作量調整。
如果您的資料庫或子系統已配置成使用 IBM InfoSphere Optim Query Workload Tuner 3.1 版進行調整,而且資料庫或子系統上具有該版本的作用中授權,則可以啟動 IBM Data Studio 完整用戶端並開始調整。