After updating multiple servers I had a need to reboot them one by one. Main issue was to automate that, so the script would wait for the node to become reachable before rebooting next one. Here’s the simple one-liner for that:

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post Navigation