脚本执行成功后,启动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…