This page last changed on Jun 09, 2011 by kgomes.

The ALOHA group contacted MBARI about using SSDS and SIAM for a deployment that they were working towards for January of 2011. This page documents the work to get that installation up and running for them.

Meeting Notes
  1. April 27, 2010
Installation Notes

These notes document what was done to configure the SSDS installation in HAWAII on the machine malino.soest.hawaii.edu. There are a couple of accounts that I used on malino during the installation. They are:

  1. kgomes
  2. jboss
    I also used the 'root' account on the mysql installation for the work I was doing on the database.
    JBoss and Java were installed by the sysadmin

    For this particular installation, the folks in Hawaii installed JBoss 5.1.0GA and Java 6.0.25 for me.

  3. I first ssh'd into the malino and then started up the mysql client using
    mysql --user=root --password
    
  4. I then created the two needed databases using:
    create database ssds_data;
    create database ssds_metadata;
    
  5. I then created a user that will have all rights to the databases that SSDS will use to connect:
    create user 'ssdsadmin'@'localhost IDENTIFIED BY 'XXXXXXX'
    
  6. I then granted all rights to the databases for the newly created user
    GRANT ALL ON ssds_data.* TO 'ssdsadmin'@'localhost';
    GRANT ALL ON ssds_metadata.* TO 'ssdsadmin'@'localhost';
    
  7. I then checked out the source code on my malino in the jboss home directory /export/malino/jboss/ssds/build/shore-side-data-system-read-only
  8. I downloaded the adobe flex sdk and unpacked it in /export/malino/jboss/flex_sdk
  9. I downloaded apache ant and unzipped it in /export/malino/jboss/ant
  10. I created a .login file in the jboss home directory and set two environment variables
    setenv JAVA_HOME /export/malino1/jdk
    setenv ANT_HOME /export/malino/jboss/ant
    
  11. I removed the following applications by moving them to the jboss/backup directory in the jboss users's home directory
    1. admin-console.war
    2. jmx-console.war
  12. I started up the JBoss on malino from the command line just to make sure it worked and all looked OK.
  13. I then copied the custom.properties.template file in the ssds source directory to a file called custom.properties and edited it to match all the configurations for the deployment on malino
  14. I then ran:
    ../../../ant/apache-ant-1.8.2/bin/ant deploy
    

    from the /export/malino/jboss/ssds/build/shore-side-data-system-read-only directory and it deployed all the files to the JBoss installation.

  15. I then ran JBoss from the command line to make sure SSDS started up OK. (started up in 30s)
    Firewall issue

    I had to use the local firefox and point it to localhost to get to SSDS because of firewall issues (exported XTerm display)

  16. I used the ssds/newDeviceType.jsp page to create new device types for camera, CTD, ADP/currents, fluorometer, and inductive modem.
  17. I used the ssds/newPerson.jsp page to create a contact for Fernando
  18. I used the ssds/newDevice.jsp page to create all new device IDs for the ALOHA instruments and sent those IDs to the ALOHA team.
  19. I edited the /export/malino1/jboss/bin/run.conf and added the following parameters to the JAVA_OPTS environment variable:
    -Djava.awt.headless=true -Duser.timezone=UTC
    

    and also changed the Xms and Xmx to 1024 and 2048 respectively

Document generated by Confluence on Feb 23, 2017 15:08