Using the below as a guide--What are the chances multiple package updates will send server profiles more than one time?
On Thu, Sep 13, 2012 at 11:31 AM, Douglas Hubler <[email protected]> wrote: > On Thu, Sep 13, 2012 at 11:13 AM, Tony Graziano < > [email protected]> wrote: > >> We've seen a small number of instances with 4.6 where sending the server >> profiles seemed to resolve the issue. This was almost always after an >> update to the sipx system is made. >> >> So I need to ask, is it justifiable to add a watch mechanism that says >> "new package installed/send server profiles!" as an automatic function? >> Does this break anything else? >> > > Good suggestion, here's my input we can create a jira on > > Details: > ============ > Technically "Send Profiles" from UI does 3 things: > 1.) Regenerate configuration meta data > 2.) Run cfengine on appropriate systems > 3.) Resync MongoDB with postgres > > If you restart sipXconfig it actually performs #1 and #2 > > Proposal: > ============ > 1.) If a package updates sipxconfig plugin it should restart sipxconfig > which runs step #2 and #3 > Command to be added to rpm spec post update > service sipxconfig condrestart > 2.) If a package does not already do #1, but updates cfengine scripts it > should run step #2 on the system it updates > Command to be added to rpm spec post update > sipxagent > 3.) If a package does not already to #1 or #3, it should should restart > appropriate services to load new code. > Command to be added to rpm spec post update > service sipxfoo condrestart > > Requirements: > * If multiple packages are updates within a given time window, we should > make sure we do not run these commands more than once. > > Summary > ============ > With all this implemented, from an administrators perspective, system > should be able to handle yum updates w/o additional commands/intervention > but they should expected appropriate service disruption. > > > _______________________________________________ > sipx-dev mailing list > [email protected] > List Archive: http://list.sipfoundry.org/archive/sipx-dev/ > -- ~~~~~~~~~~~~~~~~~~ Tony Graziano, Manager Telephone: 434.984.8430 sip: [email protected] Fax: 434.465.6833 ~~~~~~~~~~~~~~~~~~ Linked-In Profile: http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4 Ask about our Internet Fax services! ~~~~~~~~~~~~~~~~~~ Using or developing for sipXecs from SIPFoundry? Ask me about sipX-CoLab 2013! <http://sipxcolab2013.eventbrite.com/?discount=tony2013> -- LAN/Telephony/Security and Control Systems Helpdesk: Telephone: 434.984.8426 sip: [email protected] Helpdesk Customers: http://myhelp.myitdepartment.net Blog: http://blog.myitdepartment.net
_______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
