Repository Clean Initialization

  • Installation as defined in the deployment scripts
  • if tomcat is running, stop gently the repository service using the method startShutDown with admin certificate (this will stop the queuing and complete the pending registrations and backup the statistics)

To gently shutdown a running repository service:

  • After having stopped the Repository service, stop Tomcat /etc/init.d/tomcat5 stop

  • start mysql
  • create empty database with the name matching the one configured in eticsRepositoryWSRepository.xml
  • grant all permission on repository to the user configured in eticsRepositoryWSRepository.xml
  • create empty directory as configured in eticsRepositoryWSConfiguration.xml (usually /home/repository) token @@repository_root@@
  • create empty directory called datastore inside the repository root directory
  • if the AFS copy is enabled and tested in fake directories, create also those ones (volatileRoot and registeredRoot)
  • grant read/write access on this directory and children to the user running tomcat (usually tomcat4)
  • start tomcat
  • at this point the webservice notices that the DB is existing but empty and then creates the tables in DB and the basic structure in the root directory
  • verify that the logs (usually /tmp/eticsRepositoryWSLog.log) include "Repository service successfully initialized..."

-- LorenzoDini - 11 Jun 2009

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2009-08-25 - unknown
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ETICS All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback