Deploying PTPFlow middleware requires four major steps:

  1. Preparing MySql database
  2. Build PTPFlow middleware for multi-user
  3. Installing PTPFlow multi-user
  4. Installing and launching the middleware (RMI service)

Preparing MySql database

You need to have root access to the mysql database.

  1. Build databases by using sql file
    mysql installed locally
    mysql -u root -p < all_with_user.sql
    
    mysql installed remotely
    mysql -u root -p -h [host_ip] < all_with_user.sql
    

Build PTPFlow middleware for multi-user

  1. Check out ptpflow.team from svn://subversion.ncsa.uiuc.edu/bluwaters
  2. Import ptpflow readonly teamset
  3. modify ncsa.services.ptpflow.rmi.feature
    1. update feature.xml plugin dependency
      1. include all mysql plugins
    2. replace cfg.xml files under dist/templates
    3. modify user.auth.properties, gridmap
    4. modify host files
  4. run clean.sh external shell at ncsa.services.ptpflow.update
    1. shell script: ncsa.services.ptpflow.update/clean.sh
    2. shell working directory: ncsa.services.ptpflow.update
  5. build the site
    1. Right-click on site.xml
    2. Select PDE tool - build site

Installing ptpflow multi-user

  1. Download latest version of eclipse CDT
  2. Run the eclipse
  3. Install New Software
    1. Add Site
    2. Click on Local
    3. Select ncsa.services.ptpflow.update
    4. Select following packages
      1. ELF
      2. PTPFlow
      3. PTPFlow-help
      4. Help

Installing and launching ptpflow middleware

Refer to PTPFlow manual

  • No labels