Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    SIP 2 - automation of the SIP2 Server restart via job daemon in Aleph 18

    • Article Type: General
    • Product: Aleph
    • Product Version: 18
    • Relevant for Installation Type: Dedicated-Direct; Direct; Local; Total Care

    Desired Outcome Goal:
    Restart SIP2 server automatically via job daemon

    Procedure:
    Unfortunately p_sys_01 can not be used to restart the SIP2-server.

    But you can easily create a script on your own to restart the SIP2-server.

    INSTRUCTIONS
    =============

    1) Place a script sip2_start anywhere on your server (for example under $alephe_root).
    The script should have executable permissions in UNIX.

    2) Contents of this script:

    #!/bin/csh -f
    # begin script
    # restart SIP2-server
    source $aleph_proc/def_local_env
    source $aleph_proc/define_server_params
    set lib = $1
    set port1 = $l_sip2_server_port
    start_p0000 $lib
    csh -f $aleph_proc/sip2_server $port1 >& /dev/null &
    # end script

    3) In your job_list add this script at the time you want.

    Example:
    W1 15:41:00 N sip2_start.log /exlibris/aleph/u18_1/alephe/sip2_start ABC50
    (Instead of ABC50 enter your ADM-library code.)

    Additional Information

    Please note: The job_list is not using any library batch to start this script. The script will start immediately.

    Please also note: This script can be used for customers that are having one SIP2-server-process on their ALEPH site. Customers that have several SIP2-server running for different ADMs would need to change the script so that different port numbers are used for each library (in this case the related section from aleph_startup may be used as an example).

    For starting the SIP2 server from job list in Aleph 20 and up see How to restart the SIP2 server via job daemon (from job list)

    Category: System management

    Subject: Self check (500) - ALEPH


    • Article last edited: 11/20/2013