IBM Storwize 重启 Tomcat(GUI 无法访问)
Action plan
(I suggest you use the second method to CLI restart tomcat service)
1) using 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.Note: You can find out if the currently selected node is the configuration node by looking for the "Configuration Node: yes/no" section of the Node Detail panel on the home page.
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 Wait at least 5 minute for the tomcat service to restart before assuming that this has failed
2) using the CLI
Use the following command to obtain the list of nodes in the system:
sainfo lsservicenodesTo find out which node is the configuration node, run the following command :
sainfo lsservicestatus <panel name> - panel name from previous cmd outputhe following line tells you which node is the config node
"config_node Yes"
Use the following command to restart the web service on the configuration node
satask restartservice -service tomcat <panel name>
Wait at least 5 minutes for the service to restart before assuming that this has failed
3)If restarting the the Tomcat service does not resolve the problem, we should reset the internal sshd
satask restartservice -service internal_sshd <panelid>
the panel id is the configuration node's panel id.
4)If restarting the the Tomcat service does not resolve the problem, and restarting the internal sshd daemon also does not solve the problem, either a restart or a power cycle of the config node is required.
IF the high cpu percentage or high cpu TIME shows on a node, the same steps will work as for a config node.
A)Using the CLI
Use the following command to restart the configuration nodesvctask stopcluster -reset -node <node id or name>
B)Using the 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