Скачать презентацию SORCER Project Management Architecture Michael Sobolewski sobol cs ttu Скачать презентацию SORCER Project Management Architecture Michael Sobolewski sobol cs ttu

89bed8a9243a73289ee60b2f910e78bc.ppt

  • Количество слайдов: 28

SORCER Project Management Architecture Michael Sobolewski sobol@cs. ttu. edu SORCER Project Management Architecture Michael Sobolewski sobol@cs. ttu. edu

SORCER & Architecture Views Technical Architecture Physical Architecture Requirements Architecture Pattern System Architecture PM SORCER & Architecture Views Technical Architecture Physical Architecture Requirements Architecture Pattern System Architecture PM Architecture SW Architecture Deployment SORCER Reference Model System Architecture SW Architecture Tools Repository Hosts PM Architecture Process SW R&D Carrier Domain

Tools • • • • CVS JDK 5 (Java 5 SE), Java EE 5 Tools • • • • CVS JDK 5 (Java 5 SE), Java EE 5 SDK Jini 2. 1 Eclipse/Emacs/vi JUnit Apache Ant and Tomcat Mailman, the GNU Mailing List Manager Anthill (for nightly builds) Bugzilla Web browsers Service browsers: Inca X OSs: UNIX, Linux, Mac OS, Windows Developer's Corner http: //sorcer. cs. ttu. edu/resources/dev-corner. html

SORCER Repository • CVS SW Repository – CVS physically on yielddb – mounted as SORCER Repository • CVS SW Repository – CVS physically on yielddb – mounted as /research/sorcer/i. Grid. cvsrep – CVS for cs 4311 in /sp/cvs/i. Grid. cvsrep • File Storage – NFS File System

i. Grid Workspace (Sandbox) 1. 2. 3. 4. use tcsh as your default shell i. Grid Workspace (Sandbox) 1. 2. 3. 4. use tcsh as your default shell Configure 1. cp -r /projects/sorcer/configs ~ 2. cp ~/configs/. cshrc ~ 3. cp ~/configs/. login ~ 4. mkdir IGRID_HOME for example /projects/users//projects/i. Grid 5. set IGRID_HOME in ~/configs/. i. Grid_config accordingly Get i. Grid sources 1. cd 2. cp –r ~/configs. 3. source ~/. cshrc 4. cd. . 5. cvs co i. Grid Get an individual package 1. cd $IGRID_HOME 2. cd. . 3. cvs co i. Grid/modules/examples/src/sorcer/provider/arithmetic • In. cshrc: source ~/. i. Grid_config source $IGRID_HOME/configs/. i. Grid_env • In Eclipse workspace, config files are in i. Grid/configs http: //sorcer. cs. ttu. edu/resources/sorcer-eclipse. pdf

SORCER Hosts/Network • • Wintel desktops (in 20 B) – development bamboo and yielddb SORCER Hosts/Network • • Wintel desktops (in 20 B) – development bamboo and yielddb – login servers yucca and yield – remote desktop servers Sun Ray 170 – VLAN 931 Red Hat Sun Ray 170 – VLAN 932 Solaris pipal – databases and documents Servers in 17 B, access per justified request (contact mike. sobolewski@cs. ttu. edu) • See the list of developments hosts at: http: //sorcer. cs. ttu. edu/resources/dev-hosts. html

Common File Storage • /research – feasibility studies, course projects • /projects – Masters, Common File Storage • /research – feasibility studies, course projects • /projects – Masters, Ph. D. projects • /integra – integrated projects with the SORCER environment • /archive – archived SORCER SW and documents

Common File Storage • • • /research – studies – poppy: /Volumes/Projects – sorcer Common File Storage • • • /research – studies – poppy: /Volumes/Projects – sorcer – neem: /export/research/sorcer (research - R: ) – fiper – neem: /export/research/fiper – jgapp – redwood: /research/disk 2/jgapp (gapp - G: ) /projects – sorcer – redwood: /home/staff 1/sorcer (with portal) (sorcer - S: ) – dm - redwood: /home/faculty 2/search – users – neem: /export/projects/users (sandbox - W: ) – ce 2004 s - neem: /export/projects/users/ce 2004 – redwood: /home/faculty 2/ce 2004 (with confdm) – ce 2005 – redwood: /home/courses 1/ce 2005 /integra – sorcer – yew: /local/home/sorcer (with portal) – ce 2004 - yew: /local/home/ce 2004 – ce 2005 - yew: /local/home/ce 2005 – demos - yew: /export/projects /archive - yew: /export/archive /backup – projects – poppy: /Volumes/Backup (cron -> sorcer) – cvs – pipal: /export/backup (cron -> sorcer) – database – pipal: /home/oracle/backups (cron -> oracle)

Basic Account Directories CS File System – development /research/disk 2/jgapp /home/staff 1/sorcer /home/faculty 2/ce Basic Account Directories CS File System – development /research/disk 2/jgapp /home/staff 1/sorcer /home/faculty 2/ce 2004 /home/courses 1/ce 2005 /home/undergrad 3/gisoa /home/undergrad 1/gisob /home/faculty 2/search /home/courses 1/java, cs 3392, cs 5376, cs 5331 /research/disk 2/compuse Websites (spring) /local/home/java, cs 4392, cs 4311, cs 5376, cs 5331

Basic Volumes in SORCER neem /export/research – 34 G /export/projects – 34 G /usr/integra Basic Volumes in SORCER neem /export/research – 34 G /export/projects – 34 G /usr/integra in /usr (34 G) /usr/archive yew /local/home - production only, not exported /export/projects – 33 G (for new projects) /export/archive – 33 G poppy /Volumes/Backup – 57 G /Volumes/Projects – 20 G pipal /ora-data – 46 G /export/backup – 7. 7 G /home/oracle/backups (cron) teak /export/share

Basic User Directories • Unix/Linux workspace /projects/users/<username> mount as \yielddbusers • Wintel workspace, yucca Basic User Directories • Unix/Linux workspace /projects/users/ mount as \yielddbusers • Wintel workspace, yucca and yield USERS (D: ) D: • Shared research related code /reserach/sorcer mount as \yielddbresearch

SORCER Build File Storage i. Grid (SORCER_HOME) – bin – configs – policy – SORCER Build File Storage i. Grid (SORCER_HOME) – bin – configs – policy – modules • jgapp • sorcer dm • sorcerportal • providers • wservices • mobility • examples • buildtools • utilities – classes – common (off the shelf libraries) – lib (i. Grid libraries) – docs – logs

mobility Module • i. Grid (SORCER_HOME) – bin – configs – policy – modules mobility Module • i. Grid (SORCER_HOME) – bin – configs – policy – modules • jgapp • sorcer • providers • mobility – cdc » pp – cldc » midp • examples – arithmetic – raytrace – classes – common (off the shelf libraries) – lib (i. Grid libraries) – docs

SORCER build. xml files i. Grid (SORCER_HOME) i. Grid-build. xml – built in terms SORCER build. xml files i. Grid (SORCER_HOME) i. Grid-build. xml – built in terms of other modules bin configs logs policy modules sorcer-build. xml – build a module src sorcer core provider jobber bin build. xml submodule (package) common-build. xml common-run. xml classes common lib docs jobber-runconfigs logs policy jobber-build. xml – build

Jini Infrastructure https: //starterkit. dev. java. net/downloads/index. html sorcer. DEV persimmon willow If you Jini Infrastructure https: //starterkit. dev. java. net/downloads/index. html sorcer. DEV persimmon willow If you want to run own Jin, then change the Jini default service group to socer. DEV by replacing the folowing line: initial. Lookup. Groups = new String[] { System. get. Property("user. name ") + "Install. Verify. Group" }; by initial. Lookup. Groups = new String[] { "sorcer. DEV" }; in all *config files jini 2_1installverifysupport then execute jini 2_1/installverify/Launch-All Jini 2. 1 install available on: yucca, hemp, ivy, spring, yew, poppy

Class Servers - Websters • Class server (webster) environment variables IGRID_WEBSTER_PORT • Scripts and Class Servers - Websters • Class server (webster) environment variables IGRID_WEBSTER_PORT • Scripts and webster-run. xml in i. Grid/bin/webster • Provide all lib, common *. jar files and i. Grid/classes • Use most recent SW versions (included in i. Grid sandbox) from: /researc/sorcer/jini /research/sorcer/rio /research/sorcer/ant /research/sorcer/tomcat /research/sorcer/incax /research/sorcer/java

Naming Conventions – bin • In i. Grid/modules/<module-name>/<package-name>/ and/or <packagename>: – src – bin Naming Conventions – bin • In i. Grid/modules/// and/or : – src – bin • secure-persitent-activatable---prv. sh • secure-persitent-activatable---prv. bat • secure-persitent-activatable---req. sh • secure-persitent-activatable---req. bat • secure-persitent-activatable---test. sh • secure-persitent-activatable---test. bat – lib – configs – policy – logs • - jrmp, jeri, jsse, https • If not secure, not persistent, not activatable– drop the word

Naming Conventions – build. xml • In i. Grid/modules/<module-name>/<package-name>/ and/or <package-name>: – src – Naming Conventions – build. xml • In i. Grid/modules/// and/or : – src – bin • secure-persitent-activatable---prv-run. xml • secure-persitent-activatable---req-run. xml • secure-persitent-activatable---test-run. xml – lib – configs – policy – Logs – secure-persitent-activatable---prv-run. xml – secure-persitent-activatable---req-run. xml – secure-persitent-activatable---test-run. xml • - jrmp, jeri, jsse, https • If not secure, not persistent, not activatable – drop the word

Naming Conventions - configs • In your module: – src – bin – lib Naming Conventions - configs • In your module: – src – bin – lib – configs • secure-persitent-activatable---prv. config • secure-persitent-activatable---req. config • secure-persitent-activatable---test. config • start-secure-persitent-activatable---prv. config • start-secure-persitent-activatable---req. config • start-secure-persitent-activatable---test. config • -prv. properties • -req. properties • secure-persitent-activatable---prv. logging • secure-persitent-activatable---req. logging • sorcer. logging – policy – logs • - jrmp, jeri, jsse, https • If not secure, not persistent, not activatable – drop the word

Naming Conventions - policy • In your module: – src – bin – lib Naming Conventions - policy • In your module: – src – bin – lib – configs – policy • secure--prv. policy • secure--req. policy • secure--test. policy – logs • - jrmp, jeri, jsse, https • If not secure – drop the word

Jar Naming • *-dl. jar downloadable code • *-cc. jar configurable components • *-bn. Jar Naming • *-dl. jar downloadable code • *-cc. jar configurable components • *-bn. jar service beans • *-prv. jar service provider code • *-req-jar service requestor code

Logging in SORCER • Use i. Grid/configs/sorcer. logging config file -Djava. util. logging. config. Logging in SORCER • Use i. Grid/configs/sorcer. logging config file -Djava. util. logging. config. file= ${IGRID_HOME}/configs/sorcer. logging • It creates five loggers in sorcer. core. util. Log as follows: Log. get. Starter. Log(), Log. get. Sorcer. Log(), Log. get. Provider. Log(), Log. get. Random. Log(), Log. get. Test. Log() • Rotating log files: sorcer 1. log, sorcer 2. log, sorcer 3. log, each 1 MB • Use java. util. logging. Logger API with any of five available loggers • See comments in sorcer. core. util. Log for details

Printing Java Sources • Printers – cp 309 pr or cs 3 fl - Printing Java Sources • Printers – cp 309 pr or cs 3 fl - CP 309 (next door to my room) – cp 20 pr is room 20 B, SORCER lab printer – cp 306 pr or cs 3 fl 1 - CP 306 • On yew, neem, poppy – print my. Java. File. java

i. Grid Resources yucca • /research/sorcer (research – R: ) – i. Grid. cvsrep i. Grid Resources yucca • /research/sorcer (research – R: ) – i. Grid. cvsrep – ant – tomact – jini • /projects/sorcer (sorcer – S: ) – projects/i. Grid – users (projects – P: ) • /integra – sorcer – demos SORCER Web server • Bookmark URL: Developer’s Corner – http: //sorcer. cs. ttu. edu/resources/dev-corner. html

Production on yew • Apache ( SORCER website, CE 2004 and CE 2005 ) Production on yew • Apache ( SORCER website, CE 2004 and CE 2005 ) – To start as root: /usr/local/apache 2. 0. 43/bin/apchectl start • Tomcat-CE 2004 -production • To start as ce 2004 (local): source ~ce 2004/public_html/cedm/conf/. jconfigure ~ce 2004/public_html/cedm/bin/tomcat start/restart • CE 2004 dev: ~ce 2004/dev/cedm/conf • CE 2004 staging: ~ce 2004/public_html/cedm/conf • Tomcat-CE 2005 • To start as ce 2005 (local): source ~ce 2005/public_html/cedm/conf/. jconfigure ~ce 2005/public_html/cedm/bin/tomcat start/restart

Jini and Mounts on poppy • /Users/admin/startjini • uses /research/sorcer/etc/env/poppy • At startup – Jini and Mounts on poppy • /Users/admin/startjini • uses /research/sorcer/etc/env/poppy • At startup – /Library/Start. Up. Items/Jini. Services – /Library/Start. Up. Items/NFSMounts

Getting Started with i. Grid • Install JDK 5 and Apache Ant http: //java. Getting Started with i. Grid • Install JDK 5 and Apache Ant http: //java. sun. com/javase/downloads/index. jsp and http: //ant. apache. org/ • Install Jini 2. 1 (runtime Jini services are not required) see page 16 • Install Inca X Service Browser http: //www. incax. com/download. htm • Create an i. Grid sandbox – see page 5 (Eclipse CVS-based workspace recommended – at minimum Java 5 needed only) • README, *-build. xml, and *run. xml files are included in i. Grid modules to help you build and learn i. Grid and run its services • Play with arithmetic providers and requestors (jeri version recommended first in i. Grid/examples/arithmetic/jeri) to test and learn how to develop your own SORCER services • Service. UI http: //www. artima. com/jini/serviceui/index. html

Michael Sobolewski sobol@cs. ttu. com Michael Sobolewski sobol@cs. ttu. com