1.

What Is The Best Way To Restart A Salt Minion Daemon Using Salt After Upgrade?

Answer»

Updating the salt-minion package requires a restart of the salt-minion service. But restarting the service while in the middle of a state run interrupts the PROCESS of the Minion running STATES and sending results back to the Master. A common way to workaround that is to SCHEDULE restarting of the Minion service USING MASTERLESS mode after all other states have been applied. This allows the minion to keep Minion to Master connection alive for the Minion to report the final results to the Master, while the service is restarting in the background.

Updating the salt-minion package requires a restart of the salt-minion service. But restarting the service while in the middle of a state run interrupts the process of the Minion running states and sending results back to the Master. A common way to workaround that is to schedule restarting of the Minion service using masterless mode after all other states have been applied. This allows the minion to keep Minion to Master connection alive for the Minion to report the final results to the Master, while the service is restarting in the background.



Discussion

No Comment Found