腳本執行成功後,啟動Dmgr,檢查日誌。
檢查日誌,沒有錯誤。
創建Custom Profile
檢查Dmgr的Soap端口
根據Dmgr的端口,生成Custom Profile的生成腳本。參見CreateCustom.sh
#!/bin/sh
WPS_HOME=/washome/IBM/WebSphere/ProcServer
DB_DRIVER=/washome/IBM/DB2JAVA
echo =========Begin to Create Deployment Manager Profile=====================
echo $WPS_HOME/bin/manageprofiles.sh -create \
-templatePath $WPS_HOME/profileTemplates/managed.wbiserver \
-profileName ProcCustom01 \
-dmgrHost GD.ZYP.APP2 \
-dmgrPort 8881 \
-dmgrAdminUserName wsadmin \
-dmgrAdminPassword wsadmin \
-dbType DB2_Universal \
-dbJDBCClasspath $DB_DRIVER \
-profilePath $WPS_HOME/profiles/ProcCustom01
$WPS_HOME/bin/manageprofiles.sh -create \
-templatePath $WPS_HOME/profileTemplates/managed.wbiserver \
-profileName ProcCustom01 \
-dmgrHost GD.ZYP.APP2 \
-dmgrPort 8881 \
-dmgrAdminUserName wsadmin \
-dmgrAdminPassword wsadmin \
-dbType DB2_Universal \
-dbJDBCClasspath $DB_DRIVER \
-profilePath $WPS_HOME/profiles/ProcCustom01
創建Custom Profile時的參考參數
Table 9. Specified manageprofiles command parameters
|
Parameter |
Value |
|
-create |
N/A |
|
-templatePath |
“install_root\profileTemplates\managed.wbiserver” (must be fully qualified) |
|
-profileName |
“my_WPSCUSTOM_profile“ |
|
–dmgrHost |
“remote_host“ |
|
–dmgrPort |
“8882” (To find the –dmgrPort value, go to thedmgr_profile_root\logs directory for the deployment manager associated with this custom profile. In this directory, open the AboutThisProfile.txt file and find the value for the entry “Deployment manager SOAP connector port:”.) |
|
–dmgrAdminPassword |
“admin_pwd“ |
|
–dmgrAdminUserName |
“admin_id“ |
|
-ndtopology |
“false” |
|
-dbType |
“DB2_Universal” |
|
-dbJDBCClasspath |
“install_root\universalDriver_wbi\lib” |
Table 10 shows manageprofiles command parameters with default values that do not normally have to be changed.
|
Table 10. Defaulted manageprofiles command parametersParameter |
Default values |
|
-profilePath |
“install_root\profiles\my_WPSCUSTOM_profile“ |
|
-hostName |
“host_name“ |
|
-nodeName |
“host_nameNodenode_number“ |
創建群集
在管理控制台上配置WPS的群集。
配置群集
參見informationCenter”Configuring SCA support for a server or cluster”一節。
**注意數據庫連接JAAS條目可能需要再指定。
參見安裝手冊”installing_wpsmp_en.pdf”的P73
1)確認使用對數據庫具有相應執行權限的ID
2)進入到安裝路徑<介質>/dbscripts\CommonDB\DB2
3)修改 configCommonDB.bat和configCommonDB.sh文件
a. 替換DB_NAME參數,指定為WPS要使用的數據庫名, 例如WPS62DB
b. 替換DB_USER變量,使用數據庫的用戶名,例如db2admin.
**執行時添加createDB參數以指定創建數據庫
4)修改createDatabase_CommonDB.sql腳本文件
a. 替換DB_NAME變量
5)修改insertTable_CommonDB.sql腳本文件
根據將要安裝的WebSphere Process Server版本進行如下修改。例如,將要安裝WebSphere Process Server version is 6.2.0.0,那麼:
a. 替換MajorVersion 變量為版本號的第一個數字6.
b. 替換MinorVersion變量為版本號的第二個數字2
c. 替換RefreshPackLevel變量為版本號的第三個數字0
d. 替換FixpackLevel變量為版本號的第四個數字0
6)運行configCommonDB.sh腳本,該腳本將調用createDBTables腳本來創建需要的schema 和tables
**運行之前,可以將整個DB2腳本目錄copy至DB2所在機器的/tmp目錄,然後chmod -R 777 DB2增加權限
進入腳本目錄,chmod +x * 為腳本增加可執行權限
su – <DB_USER> 切換至數據庫用戶執行腳本
7)如果出現報錯,則根據提示做相應的修改,然後再次運行。
一、 常用服務啟停命令:
root(root})@GD.ZYP.APP2:/washome/IBM/WebSphere/ProcServer/profiles/ProcDM01/bin/>./startManager.sh
root(root})@GD.ZYP.APP2:/washome/IBM/WebSphere/ProcServer/profi
以下文章點擊率最高
Loading…