当前位置:首页 > Was垂直集群 - 图文
C:点击集群与服务器右边的应用
D:点击最下方的确定按钮即可。最后记得点击保存。
E:验证:最右边服务器列中是否已经将web服务器加了进去:
4:在web服务器中生成插件并传播插件:
可以检查/HttpServer/Plugins/config/webserver1/plugin-cfg.xml,看集群机器及端口是否被配置成功(新文件6k左右,原文件2k左右)
1.一..8 同步从服务器和主服务器上的NC代码
将主服务器上的NC代码拷贝到从服务器相同的目录下。
1.一..9 重启was,验证应用服务器
重启was集群,在浏览器中访问“http:// 10.1.200.203”,验证NC是否部署成功。
1.一..10 附录:AIX下安装部署was常用的命令
--解压缩unzip_AIX工具
uncompress unzip_aix.Z
--解压缩nc502
Unzip_aix -x NC502.zip
--解压缩was安装盘 tar –xvf *.tar
--解压缩was补丁安装工具
unzip -x download.updii.61013.aix.ppc64.zip
--压缩NC产品代码
tar –cvf nchome.tar /nchome
--解压缩NC产品代码 tar –cvf nchome.tar
--设置变量NC_JAVA_HOME
#export JAVA_HOME=/usr/IBM/WebSphere/java
--设置中文字符集
#export LANG=Zh_CN
--设置显示终端
#export DISPLAY=10.7.3.225:0.0 #xhost +
--was集群启动脚本
ncstart.sh:
export LANG=Zh_CN
/ncapp/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/startManager.sh /ncapp/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startNode.sh
/ncapp/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh master /ncapp/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh Node01 /ncapp/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh Node02 /ncapp/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh Node03 /ncapp/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh Node04 /ncapp/IBM/HTTPServer/bin/apachectl -k start
--was集群停止脚本
ncstop.sh:
/ncapp/IBM/HTTPServer/bin/apachectl -k stop
/ncapp/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopServer.sh Node04 /ncapp/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopServer.sh Node03 /ncapp/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopServer.sh Node02 /ncapp/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopServer.sh Node01 /ncapp/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopServer.sh master /ncapp/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopNode.sh /ncapp/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/stopManager.sh
共分享92篇相关文档