This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.10.4. Resuming a node from maintenance mode
Resuming a node brings it out of maintenance mode and schedulable again.
Resume a node from maintenance from either the web console or the CLI.
Resume a node from maintenance mode using the Options menu
found on each node in the Compute
Procedure
-
In the OpenShift Virtualization console, click Compute
Nodes. You can resume the node from this screen, which makes it easier to perform actions on multiple nodes in the one screen, or from the Node Details screen where you can view comprehensive details of the selected node:
-
Click the Options menu
at the end of the node and select Stop Maintenance.
-
Click the node name to open the Node Details screen and click Actions
Stop Maintenance.
-
Click the Options menu
- Click Stop Maintenance in the confirmation window.
The node becomes schedulable, but virtual machine instances that were running on the node prior to maintenance will not automatically migrate back to this node.
10.4.2. Resuming a node from maintenance mode in the CLI 复制链接链接已复制到粘贴板!
Resume a node from maintenance mode and make it schedulable again by deleting the NodeMaintenance
object for the node.
Procedure
Find the
NodeMaintenance
object:oc get nodemaintenance
$ oc get nodemaintenance
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: Insepct the
NodeMaintenance
object to ensure it is associated with the correct node:oc describe nodemaintenance <node02-maintenance>
$ oc describe nodemaintenance <node02-maintenance>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example output
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Delete the
NodeMaintenance
object:oc delete nodemaintenance <node02-maintenance>
$ oc delete nodemaintenance <node02-maintenance>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow