User Tools

Site Tools


evergreen-admin:services-restart14

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
evergreen-admin:services-restart14 [2009/09/30 11:35] – created dmcmorrisevergreen-admin:services-restart14 [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Restarting Services (Evergreen 1.4+) ====== ====== Restarting Services (Evergreen 1.4+) ======
  
-This is a very very brief workflow for restarting services on an Evergreen 1.4 or above series.  This, like the majority of documentation here, assumes a single-server brick.+This is a very very brief workflow for restarting services on an Evergreen 1.4 or above series.  This, like the majority of documentation here, assumes a single-server brick with the services defined inside of a <localhost> block in '''opensrf.xml'''. If you have the services defined within a real hostname, then do not use the '''-l''' flag for '''osrf_ctl.sh''':
  
   - Stop apache   - Stop apache
-    * As root: +    * As root:<code>/etc/init.d/apache2 stop</code>
-<code>/etc/init.d/apache2 stop</code> +
   - Stop the reporter daemon   - Stop the reporter daemon
-    * as root: +    * as root:<code>kill `ps wax | grep "Clark Kent" | grep -v grep | cut -b1-6`
-<code>kill `ps wax | grep "Clark Kent" | grep -v grep | cut -b1-6`+
 rm /tmp/reporter-LOCK</code> rm /tmp/reporter-LOCK</code>
- 
   - Stop SIP   - Stop SIP
-    * as opensrf: +    * as opensrf:<code>oils_sip.ctl -c /openils/conf/oils_sip.xml -a stop_sip</code>
-<code>oils_sip.ctl -c /openils/conf/oils_sip.xml -a stop_sip</code> +
   - Stop Evergreen services   - Stop Evergreen services
-    * as opensrf: +    * as opensrf:<code>osrf_ctl.sh -l -a stop_all</code> 
-<code>osrf_ctl.sh -l -a stop_all</code> +  - verify services are all stopped (kill if needed)<code>ps aux | grep OpenSRF</code>
- +
-  - verify services are all stopped (kill if needed) +
-<code>ps aux | grep OpenSRF</code> +
   - start Evergreen services   - start Evergreen services
-    * as opensrf: +    * as opensrf:<code>osrf_ctl.sh -l -a start_all</code>
-<code>osrf_ctl.sh -l -a start_all</code> +
   - wait about 60 seconds   - wait about 60 seconds
- 
   - test in srfsh   - test in srfsh
-    * as opensrf: +    * as opensrf:<code>request open-ils.cstore open-ils.cstore.direct.actor.user.retrieve 1
-<code>request open-ils.cstore open-ils.cstore.direct.actor.user.retrieve 1+
 request open-ils.storage open-ils.storage.direct.actor.user.retrieve 1 request open-ils.storage open-ils.storage.direct.actor.user.retrieve 1
 </code> </code>
- 
   - start apache   - start apache
-     * as root: +     * as root:<code>/etc/init.d/apache2 start</code>
-<code>/etc/init.d/apache2 start</code> +
   - start SIP   - start SIP
-    * as opensrf: +    * as opensrf:<code>oils_sip.ctl -c /openils/conf/oils_sip.xml -a start_sip</code>
-<code>oils_sip.ctl -c /openils/conf/oils_sip.xml -a start_sip</code> +
   - start reporting datemon   - start reporting datemon
-    * as opensrf: +    * as opensrf:<code>clark-kent.pl -d > /dev/null 2>&1</code>
-<code>clark-kent.pl -d > /dev/null 2>&1</code>+
  
  
evergreen-admin/services-restart14.1254324909.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.