osrf_control support for router re/de register and reload commands

Bug #1266886 reported by Bill Erickson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenSRF
Fix Released
Wishlist
Unassigned

Bug Description

From the commit:

Added support for the following new command line options in osrf_control:

--router-de-register
--router-de-register-all
Sends a SIGUSR1 signal to the selected service(s), which causes each service's listener process to send an "unregister" command to all registered routers. The --all variant sends the signal to all running listeners. The non-(--all) variant requires a --service.

--router-re-register
--router-re-register-all
Sends a SIGUSR2 signal to the selected service(s), which causes each service's listener process to send a "register" command to all configured routers routers. The --all variant sends the signal to all running listeners. The non-(--all) variant requires a --service.

--reload
--reload-all
Sends a SIGHUP signal to the selected service(s). SIGHUP causes each Listener process to reload its opensrf_core.xml config file and gracefully re-launch drone processes. The -all variant sends the signal to all services. The non-(-all) variant requires a --service.

Le Code:

http://git.evergreen-ils.org/?p=working/OpenSRF.git;a=shortlog;h=refs/heads/user/berick/osrf-control-router-and-reload-sigs

Tags: pullrequest
Bill Erickson (berick)
no longer affects: evergreen
Galen Charlton (gmc)
Changed in opensrf:
milestone: none → 2.3.0-beta
Revision history for this message
Galen Charlton (gmc) wrote :

Pushed to master and rel_2_3. Thanks, Bill!

Changed in opensrf:
status: New → Fix Committed
importance: Undecided → Wishlist
Galen Charlton (gmc)
Changed in opensrf:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.