Command line start - pc and web servers
- Article Type: General
- Product: Aleph
- Product Version: 20
Description:
Is there a way to restart the web and pc server directly from a Linux command line instead of using the util menu?
We are placing our production software under change control. The updates to the production server will be automated after proper changes are made to our pre-production server. I've created a script which will export files and place them in the right location in the production u20_1 tree.
But there are many times that, after a file update, the web and/or pc_servers need to be restarted. I can probably build something to do that, but if there is already something in place to address this that I could take advantage of, that would save me some script writing.
Resolution:
KB 5737 describes how p_sys_01 can be specified in the job_list to restart the servers.
Translating this into csh commands, we get:
csh -f $aleph_proc/p_sys_01 VIR01,WWW, > & ... &
csh -f $aleph_proc/p_sys_01 VIR01,PC, > & ... &
csh -f $aleph_proc/p_sys_01 VIR01,OCLC, > & ... &
(Note: in the case of an already-running server, p_sys_01 restarts it.)
- Article last edited: 10/8/2013