Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. UTML Script / Template Mechanism -- How to Run It

    UTML Script / Template Mechanism -- How to Run It

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    What is the "utml script" / "template mechanism"? How do you run it?

    Resolution:
    The template mechanism was introduced in Aleph v16.02. It is used when we need to modify major Aleph configuration parameters like the location of a-tree and u-tree, server ports, Oracle database names, etc. All these parameters are managed in one central location and propagated into all configuration files for Aleph, www_server, and Apache..

    Stop Aleph, Apache and Oracle as user root
    # cd /etc/init.d
    # ./exlibris stop

    2) As user aleph, for example in a18(1)
    >> cd /exlibris/aleph/a18_1/install

    3) Edit the file conf_tml.dat
    _HTTPD_PORT =
    <etc.>

    4) Apply changes to all configuration files.
    >> ./utml -bd /exlibris/aleph/u18_1
    here you will see the list of Aleph parameters and prompt for confirmation
    Change config files? y/n [n] y
    Wait ...
    /exlibris/aleph/a18_1/alephe/aleph_startup changed.
    /exlibris/aleph/a18_1/alephe/apache/conf/httpd.conf changed.
    <etc.>

    Logout and login (or start a new session)...

    Start Oracle (UTIL-O-1-1)
    Start apache (UTIL-W-3-6)
    Restart aleph (aleph_startup)

    **NOTE: Any change done to any of the configuration files not using the utml script and not included in the relevant xxxxx.tml files will be overwritten by rerunning utml. In particular, be sure to check for changes to these aleph_start setenv's: usr_library, pw_library, z105_library, and www_base which have not been made to aleph_start.tml.**

    For example: If aleph_start contains:
    setenv WWW_HOST myaleph.edu
    setenv PDS_HOST myprimo.edu
    setenv HTTPD_PORT 80
    setenv PDS_PORT 80
    setenv www_base "ABC01"

    And aleph_start.tml has the following parallel entries:
    setenv WWW_HOST @_HOST_WWW
    setenv PDS_HOST @_HOST_WWW
    setenv HTTPD_PORT @_HTTPD_PORT
    setenv PDS_PORT @_HTTPD_PDS_PORT
    setenv www_base "USM01"

    And /exlibris/aleph/a20_1/install/conf_tml.dat contains:
    _AL_COPY = 1
    _HOST_WWW = myalephtest.edu
    _HOST_PDS = $_HOST_WWW ##HOST:PDS host
    _HTTPD_PORT = 899$_AL_COPY ##WWW :httpd port
    _HTTPD_PDS_PORT = $_HTTPD_PORT ##WWW :httpd pds port

    If conf_tml.dat and aleph_start.tml aren't updated and the utml mechanism is run, the aleph_start values would automatically revert to:
    setenv WWW_HOST myalephtest.edu
    setenv PDS_HOST myalephtest.edu
    setenv HTTPD_PORT 8991
    setenv PDS_PORT 8991
    setenv www_base "USM01"

    (Keywords: faq)

    Additional Information

    faq,


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Util/S/1 Monthly loan statistics; z1002
      • V. 17 and 18: p_manage_32 always creates just one process
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 18.01
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved