IBM Storwize 重启 Tomcat(GUI 无法访问)
行动计划
(建议使用第二种方法通过 CLI 重启 Tomcat 服务)
1) 使用 Service Assistant
Connect to the service IP of a non configuration node via a web browser From the home panel of the service assistant, select the configuration using the radio buttons.注意:您可以通过查看主页上 Node Detail 面板的“Configuration Node: yes/no”部分,确认当前选中的节点是否为配置节点。
Select the Restart Service page using the link on the left hand side of the page.
Select "Web Server (tomcat)" from the radio button list and press the restart button 在认定此操作失败之前,请至少等待 5 分钟以让 tomcat 服务完成重启
2) 使用 CLI
使用以下命令获取系统中节点的列表:
sainfo lsservicenodes要找出哪个节点是配置节点,请运行以下命令:
sainfo lsservicestatus <panel name> - panel name from previous cmd output下一行将显示哪个节点是配置节点
"config_node Yes"
使用以下命令在配置节点上重启 Web 服务
satask restartservice -service tomcat <panel name>
在认定此操作失败之前,请至少等待 5 分钟以让服务完成重启
3) 如果重启 Tomcat 服务无法解决问题,我们需要重置内部 sshd
satask restartservice -service internal_sshd <panelid>
面板 ID 即为配置节点的面板 ID。
4) 如果重启 Tomcat 服务无法解决问题,且重启内部 sshd 守护进程也无法解决问题,则必须对配置节点进行重启或电源循环。
如果某个节点显示高 CPU 百分比或高 CPU TIME,则对该节点执行与配置节点相同的步骤即可。
A) 使用 CLI
Use the following command to restart the configuration nodesvctask stopcluster -reset -node <node id or name>
B) 使用 Service Assistant GUI
Select the configuration node using the radio buttons on the home page
Select "Restart node" from the actions dropdown box
Press the Go Button