在两台虚拟机上都搭建了was8.5.5.13,参照 https://blog.csdn.net/lvshaorong/article/details/78932108 安装,升级
安装升级包为这些:
创建完文件概要,添加节点,同步,日志显示都成功(图片上传不了,就直接贴出来了)
启动控制台:
[was@KS-SHA-VM190054 bin]$ ./startManager.sh
ADMU0116I: Tool information is being logged in file
/was/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/dmgr/startServer.log
ADMU0128I: Starting tool with the Dmgr01 profile
ADMU3100I: Reading configuration for server: dmgr
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server dmgr open for e-business; process id is 13527
启动主节点:
[was@KS-SHA-VM190054 bin]$ ./startNode.sh
ADMU0116I: Tool information is being logged in file
/was/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/nodeagent/startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: nodeagent
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server nodeagent open for e-business; process id is 16045
添加节点:
[was@KS-SHA-VM190055 bin]$./addNode.sh KS-SHA-VM190054 8879 -username wasadmin -password wasadmin
日志:
ADMU0300I: The node KS-SHA-VM190055Node01 was successfully added to the
KS-SHA-VM190054Cell01 cell.
ADMU0306I: Note:
ADMU0302I: Any cell-level documents from the standalone KS-SHA-VM190054Cell01
configuration have not been migrated to the new cell.
ADMU0307I: You might want to:
ADMU0303I: Update the configuration on the KS-SHA-VM190054Cell01 Deployment
Manager with values from the old cell-level documents.
ADMU0306I: Note:
ADMU0304I: Because -includeapps was not specified, applications installed on
the standalone node were not installed on the new cell.
ADMU0307I: You might want to:
ADMU0305I: Install applications onto the KS-SHA-VM190054Cell01 cell using
wsadmin $AdminApp or the Administrative Console.
ADMU0003I: Node KS-SHA-VM190055Node01 has been successfully federated.
启动副节点:
[was@KS-SHA-VM190055 bin]$ ./startNode.sh
ADMU0116I: Tool information is being logged in file
/was/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/nodeagent/startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: nodeagent
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server nodeagent open for e-business; process id is 3642
同步副节点:
[was@KS-SHA-VM190055 bin]$ ./syncNode.sh KS-SHA-VM190054 8879
ADMU0116I: Tool information is being logged in file
/was/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/syncNode.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU0401I: Begin syncNode operation for node KS-SHA-VM190055Node01 with
Deployment Manager KS-SHA-VM190054: 8879
ADMU0016I: Synchronizing configuration between node and cell.
ADMU0402I: The configuration for node KS-SHA-VM190055Node01 has been
synchronized with Deployment Manager KS-SHA-VM190054: 8879
日志上面都没有报错。
hosts 配置文件
主机:
[was@KS-SHA-VM190054 bin]$ cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.243.141.116 KS-SHA-VM190054
10.243.141.116 KS-SHA-VM190054
10.243.141.117 KS-SHA-VM190055
副机:
[was@KS-SHA-VM190055 bin]$ cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.243.141.117 KS-SHA-VM190055
10.243.141.116 KS-SHA-VM190054
10.243.141.117 KS-SHA-VM190055
控制台:
主节点正常,副节点状态未知
node agent 状态 已停止
不知道是哪里出了错,删除重新创建概要,手动同步,重启控制台,节点都做了,但是控制台上副节点就是现实没启动成功。
希望知道的大佬们指点下。万分感谢。