NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Navigate to the running instance of protege, likely in /local/content/protege/scripts/
  2. Shutdown the explanation server:  “./pellet server --config /local/content/protege/protegedata/configdata/server.properties stop"
  3. Shutdown the protege server: "./shutdown.sh" 
  4. Archive the previous version of the services, which are these 3 directories:
    • explanationserver
    • protegeserver
    • protegedesktop
  5. Copy the new protegeserver into the service directory "cp -r <build-location>/nci-protege5/scripts/nci-protege5/protege-server/target/server-distribution/server /local/content/protege/protegeserver"
  6. Copy the new protegedesktop into the empty desktop directory "cp -r 

    /local/project/nciedittab-dev-1.00v<build-location>/nci-protege5/scripts/nci-protege5/protege/protege-desktop/target/protege-5.1.1-SNAPSHOT-platform-independent/Protege-5.1.1-SNAPSHOT /* ./protegedesktop"

    Copy

    /local/content/protege/protegedesktop"

  7. Create a new explanationserver directory "mkdir explanationserver"

  8. Untar the explanationserver tarball to the explanationserver folder "cp /local/project/nciedittab-dev-1.00vserver folder 
    • Unpack "tar -xf <build-location>/nci-protege5/scripts/nci-protege5/pellet/distribution/target/*.gz
    ./explanationserver/"  and untar it
    • /local/content/protege/pellet-2.4.0-SNAPSHOT" 
    • rename "mv pellet-2.4.0-SNAPSHOT explanationserver"
  9. Remove previously compiled reasonings from the protegedata/pelletdata folder "rm -rf /local/content/protege/protegedata/pelletdata/*"
  10. From the /local/content/protege/scripts directory start the protege server: "./run-background.sh".  The server should start almost immediately
  11. Confirm the service has started by checking /local/content/protege/logs/protserv-console.txt for "Admin server has started at port 9091"
  12. Start the explanation server “./pellet server --config /local/content/protege/protegedata/configdata/server.properties start".  The service can take half an hour or more to start.
  13. Confirm the service has started by checking /local/content/protege/logs/pellet-console.txt for "Listening at: https://<server>.nci.nih.gov:18080"

Shutdown/Startup of Services

...