Deploying PTPFlow middleware requires four major steps:
- Preparing MySql database
- Build PTPFlow middleware for multi-user
- Installing PTPFlow multi-user
- Installing and launching the middleware (RMI service)
Preparing MySql database
You need to have root access to the mysql database.
- Build databases by using sql file
mysql installed locally
mysql -u root -p < all_with_user.sql
mysql installed remotelymysql -u root -p -h [host_ip] < all_with_user.sql
Build PTPFlow middleware for multi-user
- Check out ptpflow.team from svn://subversion.ncsa.uiuc.edu/bluwaters
- Import ptpflow readonly teamset
- modify ncsa.services.ptpflow.rmi.feature
- update feature.xml plugin dependency
- include all mysql plugins
- replace cfg.xml files under dist/templates
- modify user.auth.properties, gridmap
- modify host files
- update feature.xml plugin dependency
- run clean.sh external shell at ncsa.services.ptpflow.update
- shell script: ncsa.services.ptpflow.update/clean.sh
- shell working directory: ncsa.services.ptpflow.update
- build the site
- Right-click on site.xml
- Select PDE tool - build site
Installing ptpflow multi-user
- Download latest version of eclipse CDT
- Run the eclipse
- Install New Software
- Add Site
- Click on Local
- Select ncsa.services.ptpflow.update
- Select following packages
- ELF
- PTPFlow
- PTPFlow-help
- Help
Installing and launching ptpflow middleware
Refer to PTPFlow manual