You could have a "client service" that when the admin runs "Refresh config", checks patches and reboots the machine. If you don't run ambari agent as root you can give the user sudo permission to do the reboot.
Also, you probably want to have ambari agent and other services enabled so they start automatically on boot, apps running on yarn should recover automatically and run somewhere else. In Ambari configure the services to start automatically (in Ambari 2.6 you can do it in the admin UI, in previous version you need the API), so as soon as the agent starts, ambari order it to start services on that node. While technically possible to do that also on a master node on an HA cluster, it might cause disruption. Gonzalo On 16 January 2018 at 01:06, Jae-Hyuck Kwak <[email protected]> wrote: > Hi, > I am using ambari as big data management platform for our project. > > I would like to add custom ambari services for cluster management tasks > of our bigdata cluster. One of them is kernel update which is frequently > occur in cluster management. (Think of a recent intel bugs:-)) > > But, one thing to consider is that the kernel update requires a reboot. > > How can this be implemented by ambari srevice? > > Any comments will be appreciated. > > Thanks, > > BR, > Jae-Hyuck > > >
