khuedoan-homelab/docs/troubleshooting.md

30 lines
1.0 KiB
Markdown
Raw Normal View History

# Troubleshooting
2021-04-20 01:14:11 +07:00
2021-07-17 00:02:28 +07:00
## PXE server logs
2021-04-20 01:14:11 +07:00
2021-07-17 00:02:28 +07:00
To view PXE server (includes DHCP, TFTP and HTTP server) logs:
2021-05-16 16:39:25 +07:00
```sh
./scripts/pxe-logs
2021-05-16 16:39:25 +07:00
```
!!! tip
You can view the logs of one or more containers selectively, for example:
```sh
./scripts/pxe-logs dhcp
./scripts/pxe-logs tftp http
```
2021-07-17 00:02:28 +07:00
## Nodes not booting from the network
2021-04-20 01:14:11 +07:00
- Plug a monitor and a keyboard to one of the bare metal node if possible to make the debugging process easier
- Check if the controller (PXE server) is on the same subnet with bare metal nodes (sometimes Wifi will not work or conflict with wired Ethernet, try to turn it off)
- Check if bare metal nodes are configured to boot from the network
- Check if Wake-on-LAN is enabled
- Check if the operating system ISO file is mounted
2022-01-04 22:48:23 +07:00
- Check the controller's firewall config
2021-04-20 01:14:11 +07:00
- Check PXE server Docker logs
2022-01-04 22:48:23 +07:00
- Check if the servers are booting to the correct OS (Rocky Linux installer instead of the previously installed OS), if not try to select it manually or remove the previous OS boot entry