LexBuild

Swap Procedures for Computer Migration

Over the time, LexBuild server needs to be upgraded or migrated to a new hardware or OS (operation Systems). Here are the procedures for the swap task.

I. Prepare swap machine
The LexBuild should be implmented in a new computer, named as XXX-swap, by following the implementation procedures.

II. Swap Precedures
The swap processes are conducted after the Lexbuild Web tools pass all tests:

  • Configure Apache2:
    • /etc/apache2/sites-enabled/httpd-vhosts.conf
    • /var/www/html

    • Start apache2 server
  • Configure Tomcat web apps server
    • /opt/tomcat/webapps
  • Configre JavaDb
    • /usr/local/Database/JavaDb/data
    • Start apache2 server
  • Configre GSpell
    • install GSpell to /usr/local/Applications/GSpell/gspell_V0.0.40.${HOST_NAME}
    • Copy ${GSEPLL_DIR}/nls/gspell/dictionaries from orginal machine
    • run ${LEXBUILD_DIR}/Tools/WebScript/ReIndexDic
    • check ${LEXBUILD_DIR}/Tools/WebScript/ReIndexDic.log.${HOST_NAME} to ensure the reindxing is completed
  • Configure ${TOMCAT_DIR}/WebApps
    • /usr/local/www/Tomcat/tomcat
  • Configre crontab
    N/A
  • Start Tomcat server
  • chown tomcat -R on
    • ${LEXBUILD_DIR}/data.${HOST_NAME}/WebApp/MsgTemp
    • ${LEXBUILD_DIR}/data.${HOST_NAME}/WebApp/Outputs

III. Tests
All tests are conducted on the new server after the swap processes.