It general, it is not possible to distinguish from outside if node was shut down or cable was disconnected. The only situation where it can be distinguished that I can think of is following:
Assumptions:
1. If node is off (shutdown), it still have power and link on NIC is up
2. Node is connected to managed switch and port is known
Then you can check port state on switch - if it is down, then most likely cable is disconnected (or node was completely powered off). If it is up, but node is not responding, then node was shutdown.
Also, if node in question is a server with management board (like HP iLO), you can double check server state via management board.
Best regards,
Victor
Assumptions:
1. If node is off (shutdown), it still have power and link on NIC is up
2. Node is connected to managed switch and port is known
Then you can check port state on switch - if it is down, then most likely cable is disconnected (or node was completely powered off). If it is up, but node is not responding, then node was shutdown.
Also, if node in question is a server with management board (like HP iLO), you can double check server state via management board.
Best regards,
Victor
