Starting multiple oclc_servers
- Article Type: General
- Product: Aleph
- Product Version: 18.01
Description:
We want to add more oclc ports to the aleph_startup script. Can you tell me where I should do this? Each of our libraries uses it's own OCLC server.
Resolution:
Here is how you can initiate multiple oclc_servers. In $alephe_root/aleph_startup, replace this section:
if ($OCLC_SERVER_STARTUP == "Y") then
echo "starting oclc_server..."
csh -f $aleph_proc/oclc_server $l_oclc_server_port >& /dev/null &
echo " "
endif
with this:
if ($OCLC_SERVER_STARTUP == "Y") then
echo "starting oclc_servers..."
csh -f $aleph_proc/oclc_server 5771 >& /dev/null &
csh -f $aleph_proc/oclc_server 5772 >& /dev/null &
csh -f $aleph_proc/oclc_server 5773 >& /dev/null &
csh -f $aleph_proc/oclc_server 5774 >& /dev/null &
csh -f $aleph_proc/oclc_server 5775 >& /dev/null &
csh -f $aleph_proc/oclc_server 5776 >& /dev/null &
csh -f $aleph_proc/oclc_server 5777 >& /dev/null &
csh -f $aleph_proc/oclc_server 5778 >& /dev/null &
csh -f $aleph_proc/oclc_server 5779 >& /dev/null &
echo " "
endif
This will start an oclc_server process on each on the 9 ports you have designated.
- Article last edited: 10/8/2013