was节点不同步解决方法

Was控制台节点显示同步状态不正常,无法完成同步,问题解决如下:
一、
切换到bin目录下,执行相应命令,依次停止 server 、 node 、dmgr(严格按照此顺序)
/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/bin/stopServer.sh  server1 --servername

/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/bin/stopNode.sh

/opt/IBM/WebSphere/AppServer/bin/stopManager.sh

二、删除 wstemp, temp 和 config/temp 文件夹下面的临时文件
/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/temp、wstemp、tranlog目录下内容删除。
/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/temp目录下内容删除。

四、同步节点:
##同步节点信息
切换到“/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/bin/”下:
执行 :syncNode.sh fqztestap 8879 -username appname -password 000000

------------
其中 “fqztestap”是was所部署在的主机名,linux/unix 下用“uname -all”(或者hostname)获取
比如我执行 “uname -all ”后,显示:
Linux fqztestap 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
第二项即为主机名
------------

五、依次启动 dmgr、node、server (严格按照此顺序)

/opt/IBM/WebSphere/AppServer/bin/startManager.sh

/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/bin/startNode.sh

/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/bin/startServer.sh  server1 --servername


以下可供参考:
1.非控制主机节点停止命令在:/opt/IBM/WebSphere/AppServer/bin/stopNode.sh
2.非控制主机同步节点时控制台(dmgr好像要先启动),同步节点时主机名字要用控制主机(即dmgr所在机器)的名字

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值