Este conteúdo não está disponível no idioma selecionado.
Chapter 2. Troubleshooting a node
To begin troubleshooting a MicroShift node, first access the node status.
2.1. Checking the status of a node
You can check the status of a MicroShift node or see active pods. You can choose to run any or all of the following commands to help you get the information you need to troubleshoot the node.
Procedure
- Check the system status, which returns the node status, by running the following command: - sudo systemctl status microshift - $ sudo systemctl status microshift- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - If MicroShift fails to start, this command returns the logs from the previous run. - Example healthy output - Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
- Optional: Get comprehensive logs by running the following command: - sudo journalctl -u microshift - $ sudo journalctl -u microshift- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow Note- The default configuration of the - systemdjournal service stores data in a volatile directory. To persist system logs across system starts and restarts, enable log persistence and set limits on the maximum journal data size.
- Optional: If MicroShift is running, check the status of active pods by entering the following command: - oc get pods -A - $ oc get pods -A- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - Example output - Copy to Clipboard Copied! - Toggle word wrap Toggle overflow Note- This example output shows a basic MicroShift installation. If you installed optional RPMs, the status of pods running those services is also expected in your output.