Home

SEVENTH FRAMEWORK PROGRAMME THEME 3 Information and

image

Contents

1. GSS a EO Yk aaa a Eee ee E umwisebednodeubern23 CERA BERGER le mt E urn wisebed node ubern msb1 EZEREDEMHAA E _ GERBER ANA AA urnwisebednodeubernmsb2 BRO cnnna A pela aa umwisebednodeubernmsb3 Ea ll AENA urm wisebed nodeubern msb4 HEEEBEEEEEES m E ERSEE E um wisebednodeuberamsos RRR E E urn wisebed nodeubern msb6 1000 0000011001011 Ml E M UE E urnwisebed nodeubern 0001001500800 0100 A A A Ba A Figure 54 Testbed management block for maintenance B The TARWIS Admin has the same reservation schedule sheet as the TARWIS user but the administrator can block some nodes or the whole testbed for a certain time period due to maintenance reasons Your reservation was successful Undo Blocking Figure 55 Testbed management undo blocking C After blocking the administrator can also undo it D The administrator has a list of all maintenance blocks and can delete them E And it has a list of all users reservations and experiment configurations and can delete them as well A By clicking on the Testbed Management Reservations and Experiments tab the user can add new sensor nodes to the testbed cf Fig 58 or update existing ones cf Fig 59 B By selecting Add New Sensor Node from the drop down menu the user can enter the properties of the new sensor node into the form 224460 WISEBED Deliverable TR TARWIS USER MANUAL Pag
2. 0 bs ls rt ee AOE e a RR es 33 MySQL database seup 2068 ar wee A A e 3 4 Apache configuration 3 5 ONASCODNSUTAION lt a 46444 AAA AS JO Enable webservice SAA AAA oa Sl EOS a ss cae ea e a ss ee A 4 User Administration 4 1 Manage Groups lt a ee SE A a a2 SA Se as ee A saa ons igh Bache Mae A he ee ce E 5 Administration of User Roles and Actions 6 Installation of TARWIS Server TARWIS GUI and Reservation System 6 1 Folder Contents amp Gos eo we he ees bo bw ZEEE RR eS EBS 224460 WISEBED Deliverable TR TARWIS USER MANUAL WISEBED Page 2 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED 6 2 Installation of php perl libraries sosse icut ieuane e e 34 0o TARWI CON o o bee ote ek ee a de ee ee ee ores dine be oe 34 64 NMYSOLAUSER SCUD r age See A ee EE ACESS SEE Sew ee SD 35 0 5 TARWUISS6LVer S tUp ee ceig e ainm aa A AAA BO a A 35 60 WebGIUIESYStem setup y ps pass 4 4 ea Oe a a a Oe A OG A A k 35 O RSS UP siea eaae ee ES ee le A AS E AA ES ee ees 36 6 8 DUMMY_TESTBED IMPLEMENTATION 0 000002 eee ees 37 6 9 Testing the Installation Setup Progress aooaa e 37 6 10 Stopping Killing Cleaning Up tos goanen fotei iede e i a e RE a E a a A EEI BoA a 38 Ost SCODE ra A ae ee eee Ee A A 38 0 12 ICONS TOP yout nodes uu aa a b e A A a A Se He de e Se ew A 38 7 Before You Start
3. and for node reservation the Reservation System The protect the access to the web based graphical user inter face SPs are used The authentication is done by the IDP To manage the users a graphical user interface called IDP Tools us provided The define the roles of the users within a testbed the SNA with the according GUI has to be used 2 Installation of the IDP and SP This Section describes the installation of the Identity Provider IDP and the Service Providers SP 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 4 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED 2 1 Prerequisites 2 1 1 OpenSSL Recommended Version 0 9 8 Debian Package openssl The OpenSSL tools are used to handle the server cer tificates apt get update apt get install openssl 2 1 2 NTP apt get install ntp server tzconfig Do you want to change that n y Number 12 Name UTC date Fri Feb 20 09 32 26 UTC 2009 WARNING If this server is a virtual instance ntp does not work You have to synchronize Dom0 because Dom0 regulate the time for the virtual machines Example Time synchronization for Lancaster apt get install ntpdate ntpdate u b uk pool ntp org 4 Mar 19 32 20 ntpdate 18770 step time server 77 75 105 150 offset 5 017991 sec 2 1 3 Apache 2 2 with mod_ssl and mod _proxy_ajp Debian packages apache2 T
4. sun export JAVA_HOME Check if the correct Java version 1s included in the path source etc profile java version java version 1 5 0_14 Java TM 2 Runtime Environment Standard Edition build 1 5 0_14 b03 Java HotSpot IM Server VM build 1 5 0_14 b03 mixed mode 2 1 7 Maven Maven is used to build CAS server and client Currently there s no Debian package for Maven 2 in the stable distribution A manual installation is required on pure Debian stable systems which is shown below cd opt curl O http archive apache org dist maven binaries apache maven 2 0 9 bin zip jar xf apache maven 2 0 9 bin zip rm apache maven 2 0 9 bin zip In s opt apache maven 2 0 9 opt apache maven chmod x opt apache maven bin mvn Configure the proxy if necessary search for prox1es line 74 89 Here an example cd opt apache maven vi conf settings xml lt proxies gt lt proxy gt 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 6 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED lt id gt optional lt id gt lt active gt true lt active gt lt protocol gt http lt protocol gt lt username gt lt username gt lt password gt lt password gt lt host gt proxy 1am unibe ch lt host gt lt port gt 8080 lt port gt lt nonProxyHosts
5. Now you can see an overview about the 8 imported users If you press the Download password list button as shown in Fig 13 you will get a list about all given respectively automatic created passwords 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 27 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Contract No 224460 Group Create List Manage User Create List Import Preferences Statistics Logout oi oini on wi AJ Ww N h gt we W N e O pa A 15 Download password list useri user2 user3 user4 user5 user6 user7 user8 user9 useri0 user11 useri2 user13 user14 testusers CSV import passl1 pass2 pass3 pass4 passS pass6 pass7 pass8 pass9 pass10 pass11 pass12 pass13 pass14 eeeeoeooeoooeoooddosd line username password status OK OK OK OK OK OK OK OK OK OK OK OK OK OK Processed the file importUsers csv for group testusers 14 users have been imported Send username and password to givennamel surnamel lt user1 example com gt Send username and password to givenname2 surname2 lt user2 example com gt Send username and password to givenname3 surname3 lt user3 example com gt Send username and password to givenname4 surname4 lt user4 example com gt Send username and password to givenname5 surname5 lt userS example com gt Send username and password to givenname6 surname6 lt user6 example com gt Send username and pa
6. menu A By clicking on the Experiment Monitoring tab the user can monitor the experiments cf Fig 48 B On top of the site cf Fig 49 all running experiments are listed including the Experiment ID the owning User and the Name of the experiment C By clicking on the experiment ID the user choose the experiment it wants to monitor D This experiment is listed with additional information such as experiment description start and end time and number of runs E Also displayed is the control output which includes e g status of flashing the images on the sensor nodes F By clicking on the End Experiment Save Result button the user cancel the experiment before the regular end The user will get an email with the zipped experiment results 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 46 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED Experiments currently running on the Testbed Experiment ID encrypted mbCi 4600430 gridlab21 unibe ch hurni iam unibe ch MaxMAC ticks 0 ubg93t7JtL3L1Q0 4600430 gridlab21 unibe ch hurni iam unibe ch xmac_4_hops_dualcon Experiment ID GpTleC vds User 358047 0gridlab21 unibe ch wagen iam unibe ch Name Beacon Experiment Displayed Experiment Experiment ID GpTleC vas D User 3858047 0gridlab21 unibe ch wagen iam unibe ch Name Beacon Ex
7. request GpT leChv4s l resetNodes urnwisebed node ubern 19 1 1011 02 18 09 16 50 status of request request GpTleC6v4s 1 resetNodes urnwisebed node ubern 20 1 1011 02 18 09 16 53 nodes successfully reset 011 02 18 09 16 53 nm flashing selected images to the sensor nodes 1011 02 18 09 16 57 ted Os of max 80 s WAIT_PERIOD_BEFORE_FLASH_RETRY for status updates 1011 02 18 09 17 01 mie d 4 s of max 80 s WAIT_PERIOD_BEFORE_FLASH_RETRY for status updates w oaeee Eeee Figure 49 Monitoring switching between parallel experiments broadcast to all nodes Reset J toggle all nodes output l iy Node ID urn wisebed node ubern 15 Node ID urn wisebed node ubern 16 l output l Reset output l Reset A x YTT DAA de id 16 received a broadcast from 19 0 tency 3 ms be ssage Hello Everybody h z LE LES LL ping 15 0 Node ID un wisebed node ubern 17 Node ID um wisebed node ubern 18 output l Reset output l Reset ar UI ight 2 358 o k emperature 29 0 itting a ast lative humidity 31 de id 17 recei iveda broadcast from 18 0 SI 3 tency 3 ms oltage 2 9 ssage Hello Everybody y mutting a broadcast C h Node ID un wisebed node ubern 19 Node ID urn wisebed node ubern 20 p output l Reset output l Reset ADS Ty 4 l a a aa z YZZ LULL Figure 50 Monitoring experiment output and map On the bo
8. www iam unibe ch wisebed scripts attribute resolver xml vi opt shibboleth idp conf attribute resolver xml lt resolver DataConnector 1d myMySQL xsi type RelationalDatabase xmlns urn mace shibboleth 2 0 resolver dc gt 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 15 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED lt ApplicationManagedConnection jdbcDriver com mysql jdbc Driver jdbcURL jdbc mysql localhost IDPtools jdbcUserName idpadmin jdbcPassword SECRET USER DB PASSWORD gt lt QueryTemplate gt lt CDATA select from view_aa where principal requestContext principalName 11 gt lt Query Template gt lt resolver DataConnector gt The Attribute Filter Policy file attribute filter xml allows the release of attributes to every test Service Provider within the EdiNet Federation For more configuration details look at AttributeFilterPolicy cd opt shibboleth idp conf curl O http www iam unibe ch wisebed scripts attribute filter xml Configure the CAS client filter for the Shiboleth IdP web application in opt identityprovider build WEB INF web xml cd opt identityprovider build WEB INF curl O http www iam unibe ch wisebed scripts web xml Replace idp example org with your server name sed 1 s idp examp
9. 3 4 Apache configuration vi etc apache2 sites available sna portal define an Alias for the AATIportal Alias sna portal opt sna portal 1 0 5 web configure the directory with the AAIportal web application lt Directory opt sna portal 1 0 5 web gt DirectoryIndex index php IMPORTANT Make sure we can override PHP configuration and Shibboleth authentication settings in htaccess files in the web directory AllowOverride All Order allow deny Allow from all lt Directory gt a2ensite sna portal etc init d apache2 reload 3 5 SNA configuration The file etc SNA conf specifies settings for the per site local authorization tool SNA Sensor Network Autho rization Tool This file is given in the top level directory and a needs to be moved to etc SNA conf and be made readable for the users www data and root as root run chmod 644 etc SNA conf cd TARWIS 4 0 cp SNA conf etc b needs to be ADAPTED for YOUR PARTICULAR SITE Then go on and ALTER THIS FILE set your particular settings there SNA GUILURL https lt yourhost gt sna portal the webpage where SNA GUI is accessible over HTTP SNA AUTHORIZATION URL https lt yourhost gt webservices authorization php webservice url for authorization GET_UID_URL https lt yourhost gt portal getUID php SUPPORT_EMAIL somebody O youruniversity whereveryouare the email adress of the person responsible fo
10. 7d ys A E 7 HL i Runs 1 1 14 59 per run Y Le KA E r A Automated Command Input LA y A BE a d H Wiz Fr 77 AV ode co s K urn node ubern wt 7 AZ Eta Finish BY 7 A Y L aot Figure 45 Configuration image description number of runs automated commands First the user can use a experiment template This includes the images of the selected nodes the descrip tion the number of runs and the set of automated commands Using a template could be utile if the user wants to perform a series of similar experiments The user can choose its binary code which will be uploaded to the selected sensor nodes It can choose one image for all nodes or different images for different sensor nodes A Name and a Description can be entered optionally by the user If the user checks the public experiment checkbox the experiment can be monitored by every TARWIS User and TARWIS Viewer The user can select the number of runs how often the experiment should be repeated The time of a run is divided through reserved time After a run the nodes are reseted and the experiment starts again To configure the nodes or control the experiment the user may add commands which are transmitted to the sensor nodes at the chosen time The commands are transmitted to the sensor nodes using the serial interface and have to be interpreted and executed by the operating system on the sensor node A command can be send to all or only to selected sensor n
11. Select All Unselect All ee Accept Selected Mail to Selected SMS to Selected All Orphans Ss iim ca ac an cian a Actions Confirmed Subscriptions All Actions Add Acti T o ns O subscriptions 100 subs page on O pages Status Events Viewer On User Name User ID Status Subscribed On Actions Email Notifications On Currently there are no accepted rejected or suspended subscriptions for this role PHP Info Logout Figure 17 User role administration accept own role as TARWIS user H After choosing Portal Administrator and clicking on Save the AAI login of the administrator has the Portal Administrator privilege and can administrate the roles of all AAI users SNAportal 1 0 5 Admin portaladmin Portal Administrator Home Role Management List Subscriptions Delete User I Change Local Password My Roles Add a Role Edit User All Roles User Management Last Login G 21 06 2010 19 46 Oe ECORNELL 0 User ID 215829 qridlab21 unibe ch My Users Add a User User Role O User All Users E O Role Administrator All Orphans Portal Administrator Actions Subscription Administrator All Actions Family Name Anwander Add Actions a Given Name Markus a Events Viewer On ieina Email Notifications On Gender PHP Info Logout Language Email anwander iam unibe ch Home Address Figure 18 User role administration change role to portaladmin SNAportal 1 0 5 Admin portaladmin Portal Administrator
12. Small medium scale focused research project STREP Contract No 224460 WISEBED 3 XML Security cd MYBUILD xml security c 1 4 0 configure without xalan prefix SHIB HOME make env XERCESCROOT XERCESCROOT make install 4 XML Tooling cd MYBUILD xmltooling 1 1 configure with log4shib SHIB_HOME prefix 1 SHIB_HOME C make make install 5 OpenSAML cd MYBUILD opensaml 2 1 configure prefix SHIB_HOME with 10g4shib 1 SHIB_HOME C make make install 6 Shibboleth Service Provider cd MYBUILD shibboleth 2 1 configure with saml SHIB HOME enable apache 22 with log4shib SHIB HOME prefix SHIB_HOME C make make install 2 11 3 Install Shibboleth Apache module Create the file etc apache2 mods available shib load vi etc apache2 mods available shib load Load the shibboleth module LoadModule mod_shib opt shibboleth sp2 lib shibboleth mod_shib_22 so Create the file etc apache2 mods available shib conf vi etc apache2 mods available shib conf Global Configuration This is the XML file that contains all the global non apache specific configuration Look at this file for most of your configuration parameters ShibConfig etc shibboleth2 shibboleth2 xml Used for example logo and style sheet in error templates lt IfModule mod_alias c gt lt Location shibboleth
13. Your Experiment 38 A SS a o AI AN AN 38 Ge SA A AN 39 7 3 Binary Code Image for Experiments 0 ee 40 8 How to Perform an Experiment on TARWIS 42 SAd INGde Reservation e s 44 45 56 eee e o E A a SRE e oa 42 9 2 Expenment CONMCUTAION saree aeaa ae AA EA SS 44 8 Experiment Montonne sr bse eed a ee Boe Sew a eS ee 46 94 Finishing EXP OMENS a 2 2 6 Ea 405 AO Gk oe SE dh Om ES AS a a a N 48 9 Data Acquisition and Representation 48 10 TARWIS Testbed Management 50 References 53 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 3 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED 1 What Is TARWIS All over the world researchers have set up small wireless sensor network testbeds for research purposes in or der to test and evaluate the real world behavior of developed protocol mechanisms A large number of testbeds have been put into operation each with different equipment and testbed architecture design e g MoteLab 6 Kansei 3 PowerBench 2 JAWS DSN DES Testbed 1 The popularity of wireless sensor networks is increasing and many researchers are setting up and deploying their own new testbeds Although each testbed may differ with respect to hardware and software all wireless sensor network testbeds require common func tionalities As every shared resource a testbed needs a notion of users it requires support for reprogr
14. are listed in UTC and divided into 15 minute slots E The state of the nodes is depicted by the color of the sheet Available slots are colored green blocked ones red and own reservations blue Slots in the past are gray colored F To reserve sensor nodes for an experiment the user can select nodes in the green area To achieve this you can either click amp drag to select a rectangle nodes vs time and double click on a node to remove this node from the selected nodes of the rectangle Or the user can select single click the first and the last time slots 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 42 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED 1 00 2 00 5 00 6 00 osjo anhi 14 00 al 15 00 a 16 00 al 7 00 18 00 w N Ling o o PR Y o o Sensor Nodes w o o x A o o 19 00 20 00 el P umwisebednodeubern 1 Y umwisebed nodeubern 2 P urmuwisebednodeubern 3 urmwisebednodeubern4 urnwisebed inodeubern 5 urmwisebed inodeubern P urnwisebedinodeubern 7 urnwisebednodeubern 8 umwisebednodeubern 9 C Y urnmwisebed inode ubern 10 Y urmwisebed inode ubern 12 Y urnwisebed nodeubern 13 O E E E E E 002mm Y umwisebednodeubern 14 EREBER aaa ale ee se an HH a LETTERE 3000 AMA aa Caracas aaa CASO
15. as experiment description Reservation Experiment Configuration Experiment Monitoring Testbed Management My Images My Experiments Finished Experiments Figure 44 Configuration menu A By clicking on the Configure Experiment for Reservation button cf H in Fig 39 after reservation or via the Experiment Configuration My Experiments tab cf Fig 44 the user can configure its experiments using the dialog shown in Fig 45 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 44 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED B C D E E G H I Load Experiment Template Experiment Configuration aan Dos delete template ID Name T dy expNet_GpTleC vds E um wisebed node ubem 15 public experiment M wm wisebed node ubern 16 4 y umwisebed node ubem 17 Dj um wisebed node ubem 18 Nf umwisebed node ubem 19 Selected Nodes ALL NODES Defaultlmage y LE A um wisebed node ubem 20 Y node um wisebed node ubern 15 Beaconin g E Description D p a Sup ya 47 7 Z VA um wisebed node ubern 16 Beaconing Ud Leg La umwisebed node uberm 17 Beaconing umwisebed inode ubern 13 Beaconing Lay Si AS urn wisebed node ubern 19 Beaconing Start 2011 02 18 09 15 00 Pa A um wisebed node ubern 20 Beaconing Y End 2011 02 18 10 29 59
16. d shibd update rc d shibd defaults WARNING This step is only needed if you do a fresh installation In case of an update these steps will overwrite the existing configuration files which may not be what you want Copy the configuration files mkdir etc shibboleth2 cp SHIB HOME etc shibboleth attribute map xml etc shibboleth2 cp SHIB_HOME etc shibboleth attribute policy xml etc shibboleth2 cp SHIB_HOME etc shibboleth native logger etc shibboleth2 cp SHIB HOME etc shibboleth shibboleth2 xml etc shibboleth2 cp SHIB_HOME etc shibboleth shibd logger etc shibboleth2 cp SHIB_HOME etc shibboleth syslog logger etc shibboleth2 Prepare logging directory mkdir p var log shibboleth sp touch var log shibboleth sp native log cherp www data var log shibboleth sp native log 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 19 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED chmod g w var log shibboleth sp native log touch opt shibboleth sp 2 0 var log shibboleth shibd log touch opt shibboleth sp 2 0 var log shibboleth transaction log In s opt shibboleth sp 2 0 var log shibboleth shibd log var log shibboleth sp ln s opt shibboleth sp 2 0 var log shibboleth transaction log var log shibboleth sp Configuration shibboleth main configuration file cd etc sh
17. following people can administer thes group and all soboroapa of E Nara E Mail Dear nphon Last login Add group admin E mail Description Helpdesk information The following information wE be displayed on the aai Helpdesk page The contact information should be a group phonefemal address and not a personal address tap ewe under ch faculty taculrpbdbunibe ch 01114446 7897465 Haii templates Waw apar Subject Mew DP Ai phun PAKS QUSERNAMED PASSW OADE PGROUPADHMING CUSTOMISE CUSTOM will be replaced correspondingly Dear SHAHES a We cronted yoo a nal AAD account ih the Virtaal Moss OF Pehl Swe LGA Useras GUSERHAHES Pabevord SPAS SWORDS Plesi bo aware that the Gaarhame and padiwerd are Cade son tive If you bave any problem using your credential please comtect directly the IDF help desk A diet of ali TOP help deske if avarilab e online si https gridlabh i unibe chs idpadmin support When using your Account and you have to choose 4 S41 Bore Urpanization please select Virtual Boss Organisation faai Best regards 4 your LiP Adniniatrater Figure 4 User administration manage group Group Create List Manage User Create List Import Preferences Statistics Logout You have access to the following 9 groups Name Description Users v MainGroup IDP ADMIN 1 vw facultya Faculty A 0 departmenta Department A 0 departmentb Department B 0 departmentc Depart
18. further experi ments By clicking on Experiment Configuration My Experiments cf Fig 44 the user can finds its experiments the unconfigured ones and the configured ones cf Fig 47 My Unconfigured Experiments no unconfigured experiments saved My Configured experiments 8580470 gridlab21 unibe ch wagen iam unibe ch GpTleC vas Beacon Experiment The sensor nodes sends beacons and discover the neighborhood 2011 02 18 09 15 00 2011 02 18 10 29 59 Modify Experiment Figure 47 Configuration my experiments M The user can find again the configuration data of all its experiments like experiment ID name and de scription of the experiments and start and end time as well N To modify the experiment configuration the user can press the Modify Experiment button O To delete the experiment configuration the user can press the Delete Experiment button 9 3 Experiment Monitoring A configured experiment is performed during the reserved time slots The user can monitor its own experiments or public experiments It can follow the output of the sensor nodes If necessary the user can send commands to the sensor nodes or reset the sensor nodes if it is owner of the experiment It is possible that two or more experiments running in parallel on the testbed and the user can switch between them Reservation Experiment Configuration Experiment Monitoring Testbed Management Figure 48 Monitoring
19. interfaces of the TARWISServer In this release of TARWIS you can find a subdirectory called gt DUMMY _TESTBED_IMPLEMENTATION in the directory TARWIS Server 6 9 Testing the Installation Setup Progress We test the installation setup progress using the generic TARWISServer on top of the DUMMY_TESTBED_IMPLEMEN Make sure you have installed ruby and all the necessary libraries using install sh check point 1 If you have correctly set the parameters in etc TARWIS conf and changed the 1p addresses in the WSDL Files you can start the DUMMY TESTBED IMPLEMENTATION that then starts serving the WSNService WebService cd opt TARWISServer DUMMY _TESTBED IMPLEMENTATION sh runDummyTestbedImplementation sh After that you can start the TARWISServer which should then successfully start and use those interfaces You can then go to the WebGUI in order to check if the GUI operates properly and 1f you can schedule an experiment and let 1t execute cd opt TARWISServer sh runTARWISServer sh If you start an experiment by using TARWIS on top of the DUMMY_TESTBED_IMPLEMENTATION it ap parently will do nothing useful but only interact with the dummy nodes but it will illustrate you the interaction between the Testbed Implementation and the TARWISServer hence give you an idea how to use WebServices to interconnect your particular Testbed Implementation with the Testbed Management System TARWIS You can then inspect the code in DUMMY_
20. on 1 pages My Profile Lang en My Users Role Title Role Key Provider Name Prilivege Creation Actions Add a User TARWIS Admin 2 42E959C C94 Anwander Markus Portal Administrator 06 04 2010 Edit Copy Delete Admins All Users TARWIS User 1 E10F7CBD7C Anwander Markus Portal Administrator 06 04 2010 Edit Copy I Delete Admins All Orphans TARWIS Visitor 3 7 AB7716F2E Anwander Markus Portal Administrator 06 04 2010 Edit Copy Delete Admins Actions All Actions Add Actions Status Events Viewer On Email Notifications On PHP Info Logout Figure 21 User role administration allowed to administrate all three user roles O We do this for all three roles TARWIS Admin TARWIS User and TARWIS Visitor Now the adminis trator has the Portal Administrator privilege and can administrate all three roles cf Fig 21 P As last step the default password of the user portaladmin has to be changed cf Fig 22 by clicking on Edit The default password can be changed using Change Local Password 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 31 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED SNAportal 1 0 5 Admin portaladmin Portal Administrator Home Role Management All Users My Roles Add a Rol AA SS 2222222525252 do ins x e Show users where User ID contains gt Search Cam User Management 2 use
21. position gt 11 lt data key textOutput gt latency 15 ms lt data gt 12 lt node gt B lt timestamp gt 3605 164612 lt timestamp gt if lt node 1d urn wisebed node ubern 9 gt i lt position gt 16 LX 8I X gt 17 lt y gt 80 lt y gt 18 ET DEG IE 19 lt position gt of lt data key textOutput gt Light 1 202 lt data gt 21 lt node gt 22 EARN 2 lt wiseml gt The WiseML code sample in Listing 2 lists two trace events retrieved in a small experiment at the University of Bern testbed For each output line one can determine the exact time within the precision of some few mil liseconds relative to the experiment start time c f the timestamp tag the position of the node hence with mobile nodes the node movement can also be captured and the output itself The WiseML file generated by TARWIS can therefore describe to a very high degree what has happened at a certain time during the experiment 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 49 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED 10 TARWIS Testbed Management To perform testbed administration tasks the user has to be a TARWIS Admin How to become a TARWIS Admin is described in Section 5 Reservation Experiment Configuration Experiment Monitoring Testbed Management eservations amp Experiments Testbed Figure 53 Testbed manage
22. register for roles User roles can be obtained by the following steps 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 39 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED Welcome to the SNAportal 1 0 5 Login as User WISEBED Login for WISEBED AAI users Available to all members of the institutions participating in the WISEBED Federation nr eee n E wisesen Login SNA Administrator Access Figure 29 User roles SNA portal login A By clicking on register for roles on the right top of the site cf Fig 28 the user can register itself for roles B The user is directed to the SNA Sensor Network Authorization portal shown in Fig 29 where the user has to login again using its wisebed login C The user can now subscribe for a role cf Fig 30 All Available Roles This is the list of all roles you can subscribe to Click on View Details to see detailed information about a role Click on Subscribe to submit a subscription request for this role Role Title Status Actions TARWIS Admin Open for Subscription View Details Subscribe TARWIS User Open for Subscription View Details Subscribe TARWIS Visitor Open for Subscription View Details Subscribe G Figure 30 User roles available roles D By clicking on the Subscribe button cf Fig 31 the role administrator will get a notification abou
23. scale focused research project STREP Contract No 224460 WISEBED e Now you should see a You don t have permission to access this site notice add Install to your URL https idp example org idpadmin admin Install e Now you should be the main DP Administrator with full authorization e Create one or more sub groups e Create users You give users admin authorization for the sub groups 3 Installation of the SNA 3 1 SNA installation Webserver apt get install libapache2 mod php5 php5 php5 common php5 curl php5 dev php3 gd php5 mysql php5 mhash MySQL apt get install mysql server 5 0 mysgql common usr bin mysqladmin u root password SECRET MySQL ROOT PASSWORD 3 2 Get SNAportal Source Code cd opt wget http www iam unibe ch wisebed sna portal 1 0 5 tgz tar zxf sna portal 1 0 5 tgz chown R www data www data sna portal 1 0 5 3 3 MySQL database setup mysqladmin u root p create snaportal mysql u root p GRANT DELETE INSERT SELECT UPDATE ON snaportal x x TO snaportal localhost IDENTIFIED BY wisebed quit cd opt sna portal 1 0 5 db mysql u root p database snaportal lt sna portal db sql 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 21 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED
24. user has to be member of the WISEBED federation To get a WISEBED login the user has to ask the administrator of its home organization which is a partner in the WISEBED federation Every partner is responsible for its own users 7 1 User Login To access the TARWIS GUI the user needs to be authenticated using its WISEBED login By accessing the TARWIS GUI with a web browser the user 1s directed to the two step login process cf Fig 25 and 26 Step 1 A First the user is redirected to the WAYF Where Are You From server B There the user has to select its home organization e g University of Bern 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 38 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED a 3 g ante WISEBED Uber AAI FAQ i Hilfe Datenschutz Home Organisation ausw hlen Um auf Resourcen auf dem Rechner gridlab23 unibe ch zuzugreifen ist eine g ltige enutzerauthentifizierung n tig Wahlen Sie Ihre Home Organisation Institute of Telematics University of L beck Freie Universitat Berlin Algorithms Group Institute of Operating Systems and Computer Network Braunschweig Institute of Technology Research Academic Computer Technology Institute a Universitat Politecnica de Catalunya University of Gen Delft University of Technology Lancaster Universi University of Bern WISEB
25. 0 5 Login as User WISEBED Login for WISEBED AAI users Available to all members of the institutions participating in the WISEBED Federation SNA Administrator Access A A First the administrator has to login as the user portaladmin cf Fig 14 This has to be done only once because before the first use no AAI user has the Portal Administrator rights which are necessary to administrate the roles of all other AAI users B The administrator has to enter the credentials for the portaladmin user portaladmin password wisebed as shown in Fig 15 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 28 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED Welcome to the SNAportal 1 0 5 Login as Administrator WISEBED AAI Login for Administrator Available to the members of the institutions participating in the WISEBED Federation which are SNAportal administrators dl semen Login Login for local administrators Username portaladmin Password B User Access Figure 15 User role administration portaladmin credentials SNAportal 1 0 5 Admin portaladmin Portal Administrator same Welcome to the SNAportal C Role Management My Roles ER a neil a Giles This is your personal start page for administering the SNA Portal Sigs bles There are 1 pending subscription requests to proce
26. 2009 UY The date format is dd mm YYYY After the expiration date is reached the user won t be able to login with his IDP account Custom field 1 Custom field 2 ance Figure 6 User administration create user Because it is not feasible for the main administrator to do the whole work delegate the subgroups to other administrators To add an administrator select the corresponding group in Group List and the click on Group Manage Group Create List Manage User Create List Import Preferences Statistics Logout facultyb Administrators of thia group E aes z The following people can aiminister this group and all subgroups of it Mama E Mail Description Last legin P Add group admin E mail Yjohndeegunibech 22222 Description Deparemeat B Administrator Helpdesk information The following information will be displayed on the aal Helpdesk page The contact information should be a group phorefemail address and mot a personal address Description Department Website E mail Phone Figure 7 User administration add administrator To invite the further administrator send him an email as shown in Fig 8 and 9 Group Create List Manage User Create List Import Preferences Statistics Logout facultyb Invite a new group admministrator Click on the button to send the invitation email by your default email application to the new group administrator bg lt lt Man
27. ABASE PASSWORD wisebed Then proceed with the RS subfolder Move the directory RS somewhere and make sure you specify the location correctly in the RESERVA TION SYSTEM DIRECTORY variable in etc RS conf The directory specified in the variable must correctly point to your location of your directory containing the Reservation System We suggest you use opt RS but you are free to change it cd TARWIS 4 0 cp r RS opt 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 36 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED Before starting the Reservation System for the first time run resetDB sh in this folder This will set up the database for reservations cd opt RS Sh resetDB sh Then go to the TARWISServer folder and run the script change URL in_WSDL _files sh cd opt RS sh change_URL_in_WSDL_files sh To start the Reservation System type cd opt RS sh runReservationSystem sh 6 8 DUMMY TESTBED IMPLEMENTATION In order to test the cleanliness and correctness as well as the language independence of the WebService Interfaces we implemented a so called DUMMY Implementation of these interfaces essentially those that need to be implemented by each partner The implementation of these interfaces mimick a dummy network and this implementation correctly talks to the web services
28. D References 1 B Blywis F Juraschek M G nes and J Schiller Design concepts of a persistent wireless sensor testbed In 7 GIITG KuVS Fachgesprdch Sensornetze 2008 2 I Haratcherev G Halkes T Parker O Visser and K Langendoen PowerBench A scalable testbed infrastructure for benchmarking power consumption In nt Workshop on Sensor Network Engineering IWSNE pages 37 44 Santorini Island Greece June 2008 3 Ertin E et al Kansei a testbed for sensing at scale In ntl Conference On Information Processing In Sensor Networks IPSN 2006 4 Seventh Framework Programme FP7 Information and Communication Technologies Wireless sensor net works testbed project wisebed ongoing project since june 2008 http www wisebed eu 5 P Hurni and G Wagenknecht and M Anwander and T Braun A Testbed Management System for Wire less Sensor Network Testbeds TARWIS European Conference on Wireless Sensor Networks EWSN February 17 19 Coimbra Portugal 2010 6 G Werner Allen P Swieskowsk1 and M Welsh Motelab A wireless sensor network testbed In PSN SPOTS 05 pages 483 488 California USA April 2005 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 53 of 53
29. ED VHO TestIDP Bern Figure 25 Login select home organization C If the user has no own home organization it can select a so called virtual home organization in this example itis WISEBED VHO Step 2 D Now the user is directed to the login dialog cf Fig 26 of its own home organization and has to enter its credentials from its WISEBED login Enter your WISEBED login and password Passwort d D ANMELDEN L SCHEN Figure 26 Login enter the credentials 7 2 User Roles After login the user is redirected to the TARWIS GUI To perform experiments on the testbed the user requires access rights a so called User Role It is not enough to be part of the WISEBED federation On the Welcome site the user can see its own roles cf Fig 27 You have the following roles in the testbed 2 ARWIS Viewer TARWISUser TARWISAdmin You can register for further roles at the SNA Portal Figure 27 User roles current roles Possible roles are TARWIS Viewer TARIWS User and TARWIS Admin A TARWIS Viewer 1s allowed to monitor public experiments and download theirs results It 1s not allowed to reserve sensor nodes and perform own experiments A TARWIS User can reserve sensor nodes nodes from the testbed and perform experiments A TARWIS Admin can perform all administrative tasks 2011 02 18 11 29 31 UTC b u Welcome User Test User 614853 gridlab21 unibe ch eiii A register for roles 2 Figure 28 User roles
30. Edit Custom Attributes Role Management My Roles Edit Role Administrators Add a Role All Roles You can change the role owner Only Portal and Role Administrator privileged users are allowed to be role owner User Management My Profile Lang en My Users Role Title Key TARWIS Admin 2 42E359CC94 Add a User E E Al Users Provider Name Privilege portaladmin Portal Administrator All Orphans Anwander Markus Portal Administrator Change Owner M Actions All Actions You can manage the Hole Administrators of this role A Role Administrator will be able to manage the role regarding his Add Actions Privilege Status Events Viewer On 7 A Role Title Key TARWIS Ad 2 423500094 Email Notifications Om om Tiie Kay canti PHP Info Mo role administrator associated to this role Logout Anwander Markus Portal Administrator Add Administrator Figure 20 User role administration change role owner and add role administrator M Now the role provider owner of the role has to be changed from the initial portaladmin user to the own AAI user in the current example Markus Anwander as shown in Fig 20 N The own AAI user should also be added as a role administrator SNAportal 1 0 5 Admin portaladmin Portal Administrator Home Role Management All Roles My Roles Add a Role A SS ee a es All Roles Show roles where Role Title starts with Search AI User Management 3 roles 100 roles page
31. Home Role Management All Roles My Roles Add a Role 1 All Roles Show roles where Role Title starts with Search All User Management 3 roles 100 roles page on 1 pages My Profile Lang en My Users Role Title Role Key Provider Name Prilivege Creation Actions Add a User TARWIS Admin 2 42E3590C54 portaladmin Portal Administrator 06 04 2010 Edit Copy Delete Admins All Users TARWIS User 1 E10F7CBID7C K portaladmin Portal Administrator 06 04 2010 Edit Copy Delete Admins L rphans isitor 3 16F portaladmin Portal Administrator 04 201 it Copy ete mins All Orph TARWIS Visitor 3 7 4B7716F2E aladmin Portal Admini 1 06 04 2010 Edit E Delete Admi Figure 19 User role administration all roles I By clicking on All Roles as shown in Fig 19 J all roles can be seen TARWIS Admin TARWIS User TARWIS Visitor are pre configured 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 30 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED K and the administrator of the roles Currently it is the user portaladmin we logged in as portaladmin see step B L By clicking on Admins we change it to the own AAI user in step H we gave the own AAI user the Portal Administrator privilege SNAportal 1 0 5 Admin portaladmin Portal Administrator Home Edit Role Edit Standard Attributes
32. If you enter no password a password will be generated for every user Select the csv file and upload it cf Fig 11 Group Create List Manage User Create List Import Preferences Statistics Logout testusers Import users from CSV file You can import a list of users in the IDP using a CSV Comma Separated Values file Caution Please use this new template with the specified attribute names Use this Excel template idp import xis to create your users list then just export the sheet in CSV format ISO 8859 1 in order to import your users in the IDP CSV Data Specifications At least the fields marked with an asterisk need to be in your CSV header username The prefix testusers will be added automatically if missing password If the field has no value a new password will be generated Please choose a good password if you define one minimum 6 characters mixed uppercase and lowercase letters and at least one number surname The last name givenname The first name mail The email address of the user eduPersonEntitlement If the field has no value http gridlab21 unibe ch testUsers will be used as default prefix value For multiple entitlements please add additional eduPersonEntitlement columns postalAddress Use the dollar sign for line breaks telephoneNumber e g international format 41 44 268 15 05 preferredLanguage Must be one of de fr it en description For your internal use e P
33. SEVENTH FRAMEWORK PROGRAMME THEME 3 Information and Communication Technologies SEVENTH FRAMEWORK PROGRAMME Grant agreement for Collaborative project Small and medium scale focused research project STREP Technical Report TR TARWIS USER MANUAL TARWIS 4 0 User Manual v1 0 Project acronym WISEBED Project full title Wireless Sensor Network Testbeds Grant agreement no 224460 Responsible Partner UBERN Philipp Hurni Gerald Wagenknecht Markus Anwander Torsten Braun Report Preparation Date April 29 2011 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 Contents 1 What Is TARWIS 2 Installation of the IDP and SP 2 PESTE UISMES a dr dd ee dd bee ed 22 NOMCM OS airy AAA AAA oe 2 3 Shibboleth IdP 2 0 Installation o o 2 4 MySQL Server Installation o eee eee 293 Tistall IDP AQDIO as 2 rar o a Be da Boe amp Bd Oe SS 2 6 Install the java mysql connector 00000 ZI SOAS SCrver Web applCatiOn 1 210 Ss eee Sh rd ara OH Oe e 2 0 GAS Client Installation id 40682462 42 ts da 29 Apache Configuration se s weed ES a ae ee A ee eS 2 10 Shibboleth IDP 2 0 Configuration 2004 2 11 Service Provider to protect IDPtools web interface SI AAA 3 Installation of the SNA Sl SNA msalah sodio rd ar eke e e e a H 3 2 Get SNAportal Source Code x
34. TESTBED_IMPLEMENTATION to start working on the code to interconnect your particular testbed to TARWIS 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 37 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED 6 10 Stopping Killing Cleaning Up In oder to stop the TARWISServer there s a script called killall sh that kills all the perl processes of TAR WISServer cd opt TARWISServer sh killall sh To clean up all out and err files TARWIS Server redirects STDOUT and STDERR to out and err files for debugging purposes run cleanOutFilesErrorHiles sh cd opt TARWISServer sh cleanOutFilesErrorFiles sh To stop the DUMMY_TESTBED_IMPLEMENTATION Webservices go to the folder DUMMY TESTBED IMPLEMENT and run cd opt TARWISServer DUMMY_TESTBED_IMPLEMENTATION sh killall sh 6 11 Init script We use a init script for starting and stopping all wisebed related testbed software You can re use this script if you wish it s contained in the subfolder INIT of the TARWIS_4 0 folder 6 12 Icons for your nodes Put a small icon sized image of type png to your var www portal TARWIS folder and it will be used for the testbed map The name of the picture must be the same as the name used in the jnodeType tag of your testbed WiseML description var www portal TARWIS pics YOUR_TY PEj png 7 Before You Start Your Experiment First the
35. Your role is not visible to others unless you select Visible in the field Role Visibility My Users j Add a User Users cannot subscribe to your role unless you select Free Managed Passwords or Suspended in the field Role Subscription State All Users All Orphans F Date Created 06 04 2010 12 06 Actions Role Key e T All Actions Password 1 E10F7CBD7C Add Actions You can define a unique role key and use it as password if the subscription state is set to Password Status The length of the key must be between 6 and 40 characters Events Viewer On Role Title ro Email Notifications On TARWIS User PHP Info SS TA a http www wisebed eu Logout Role Description Role Visibility 5 Visible Invisible Role Subscription State Free Managed Password Suspended Closed Allowed Actions Stat Action Title createExperiment Define an experiement El deleteReservation delete a reservation getReservations Access the rervation table i ld lt LJ maintainReservation Maintaing all reservation maintain TARWIS z Maintaing TARWIS iw makeReservation make a Reservation in makingOwmnReservation Create modify or remove own reservations iw viewNetwork View an all nodes This Role Adapter redirects the user to the Role URL Save Figure 24 User role administration all roles 6 Installation of TARWIS Server TARWIS GUI and Reservation System This section is a guideline to set up the curr
36. aaa age aloe es al a Y umwisebednodeubern 15 Y urnmwisebed inodeubern 16 umowisebednodeubern 17 urmwisebednodeubern 18 umowisebednodeubern 19 umwisebednodeubern 20 Y urnmwisebed inodeubern 21 urmwisebednodeubern 11 umwisebednodeubern 22 L mM H gt urn wisebed node ubern 23 eres SEES cc A amp urn wisebed node ubern msb3 Eo DEERERA OEE DRAH anda Se rh Coo E aaa a a ppp ppp AAA A a a A A o AAA eff ad A A eee IAEA AAA E amp urn wiseb e ubern msb reserve G Figure 38 Reservation overview Your reservation was successful Undo Reservation H Configure Experiment for Reservation Figure 39 Reservation undo reservation or configure experiment G By click on the reserve button on the bottom of the page the reservation is finished H Afterwards it is depicted if the reservations was successful or not Now the user can either undo the reservation button Undo Reservation or I go directly to the experiment configuration tab clicking the button Configure Experiment for Reservation cf Fig 39 Reservation Experiment Configuration Experiment Monitoring Testbed Management Testbed Map Reservation Overview Figure 40 Reservation menu J By clicking on the Reservation My Reservations tab the user can find its own reservations cf Fig 40 My Reser
37. age group Send invitation emall gt gt Figure 8 User administration invite administrator 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 25 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED L be Ed iste Adresien Schriften Farben Als Enter sehem Fotoubrrik ht An penne ch kope Blend ope Bere sii OF bvitateon YOu Fires ba Ped Gl ral home pania IL uG mi ol eo rosa aiut You tara D fad a aegagi he AAI IDP policy Pity ae A a a4 Ad FIP Poly dl Viger Pee idioma JF and legen Wiig your kad begoun IO CCAA he inilaban p pr ie ONadpadmenadreen Tomer Malt aad 042 le Bure maiti Tour DOF acer aie Ar blk Figure 9 User administration invitation email Now the user opens the URL inside the email The URL is protected by shibboleth so the user has to log in with its AAI login After successful login he is automatically added as administrator for the selected group cf Fig 10 Group Create List Manage User Create List Import Preferences Statistics Logout D Deleted IDF group admin johndoe unibe ch facultyb Administrators of this group The following people can administer this group and all subgroups of it Mara E Mail Description Last login johrdosB uribe ch Cepatiment B Administrator ever delete Add group admin E mail Description Helpdesk information The following informat
38. ail f var log tomcat3 5 x log 2 11 Service Provider to protect IDPtools web interface 2 11 1 Source code download export MYBUILD opt shibsp2 0 build mkdir MYBUILD wget http shibboleth internet2 edu downloads log4shib 1 0 1 log4shib 1 0 1 tar gz P MYBUILD wget http mirror switch ch mirror apache dist xerces c 2 sources xerces c src_2_8_0 tar gz P MYBUILD wget http www iam unibe ch wisebed xerces c src_2_8_0 tar gz P MYBUILD wget http www iam unibe ch wisebed xml security c 1 4 0 tar gz P MYBUILD wget http www iam unibe ch wisebed xmltooling 1 1 tar gz P SMYBUILD wget http www iam unibe ch wisebed opensaml 2 1 tar gz P MYBUILD wget http www iam unibe ch wisebed shibboleth sp 2 1 tar gz P MYBUILD for f in SMYBUILD x tar gz do tar xzvf f C MYBUILD done 2 11 2 Build export SHIB_HOME 0pt shibboleth sp 2 0 export XERCESCROOT SMYBUILD xerces c src_2_8_0 mkdir SHIB_HOME 1 Log4Shib cd MYBUILD log4shib 1 0 1 configure disable static disable doxygen prefix SHIB_HOME make make install 2 XercesC cd MYBUILD xerces c src_2_8_0 src xercesc runConfigure p linux r pthread P SHIB_HOME make env XERCESCROOT XERCESCROOT make install 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 17 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6
39. amming and reconfiguration of the nodes provisions to debug and remotely reset sensor nodes in case of node failures as well as a solution for collecting and storing experimental data TARWIS targets at providing these functionalities independent from the node type and node operating system The system has been designed to access and manipulate a testbed from within a website in order to also let researchers access testbed resources remotely over the Internet in order to share testbed resources with European research partners in a federation of testbeds TARWIS hence relieves researchers setting up a sensor network testbed from the burden to implement their own scheduling and testbed management solutions TARWIS has been incrementally developed during the first two years of the WISEBED 4 project by University of Bern and has recently been demonstrated to the European sensor network research community 5 TARWIS contains a number of different components such as the TARWIS Server the TARWIS GUI the Reser vation System the Identity Provider IDP plus a web interface IDP Tools the Service Provider SP and Sensor Network Authorization System SNA plus a web interface SNA GUT Fig 1 shows the relation between the different components User access Authentication Authorization Web service calls Link Figure 1 TARWIS Overview The core of the system build the TARWIS Server as backend the TARWIS GUI as graphical user interface
40. bly fail Go to the directory TARWISServer and run cd TARWISServer sh install sh Please follow the installation instructions attentively and install failed packets manually e g by using perl s packet manager cpan 6 3 TARWIS conf TARWIS reads the essential configuration parameters from the file TARWIS conf This file is given in the top level directory and a needs to be moved to etc TARWIS conf and be made readable for the users www data and root as root run chmod 644 etc TARWIS conf b needs to be ADAPTED for YOUR PARTICULAR SITE We briefly go through the variables in the TARWIS Server configuration file etc TARWIS conf HERRERA RR HOROROHARR RRHH HR HARR RRA HORR AHH RARA TARWIS Server Configuration File HEHHHHEHHEHE HEHE RH HR HEHEHE RHEE HH VARIABLES RELATED TO THE TARWIS SERVER COMPONENT ORGANIZATION _NAME University of BERN obviously write which is your university affiliation ORGANIZATION_ACRONYM UBERN use the ACRONYM used by the WISEBED Proposal TESTBED NAME UBERNTestbed find a fancy name for your Testbed MYSQL_DATABASE_NAME wsn info do not change this entry MYSQL_DATABASE_HOST 130 92 66 182 the host of the database either bind it to the ip of ethO or use localhost MYSQL_DATABASE_USER wisebeduser please use the user wisebeduser MYSQOL_DATABASE PASSWORD wisebed use a password for the user wisebeduser the script createWisebedMySQLUser sh sets the password wiseb
41. ch the smtp relay that is used to send the notification emails UPDATE_LINES_TARWIS_GUI 10 how many lines of output the GUI shall update 6 4 MYSQL USER setup TARWIS needs MYSQL to be present at the portal server You need to know the password for your root mysql user If you have not defined a password for the root mysql user Proceed as follows run resetDB sh to set up the table definitions resetDB sh first prompts you to set up the root mysql user password Enter y to set the root mysql user password now Please remember this password If you have ALREADY set your root mysql user password enter n when the script asks you this question make sure you are inside the directory TARWIS Server when running this script cd TARWISServer sh resetDB sh resetDB sh reads in the table definitions given in wisebed sql and sets up the database schema The script create WisebedMySQLUser sh generates a new MySQL user with username wisebeduser and password wisebed Please run the script and enter the password of the root mysql user in order to set up the wisebeduser cd TARWISServer sh createWisebedMySQLUser sh 6 5 TARWISServer setup Move the directory TARWISServer somewhere and make sure you specify the location correctly in the TAR WIS_DIRECTORY variable in etc TARWIS conf The directory specified in TARWIS_DIRECTORY variable must correctly point to your location of the direc
42. ch project STREP Contract No 224460 WISEBED user2 pass2 surname2 givenname2 user20 example com street 2 41 44 268 01 05 en user 2 31 12 2009 user3 pass3 surname3 givenname3 user3 example com street 1 41 44 268 02 05 en user 3 31 12 2009 user4 pass4 surname4 givenname4 user4 example com street 1 41 44 268 04 05 en user 4 31 12 2009 user5 pass5 surname5 givenname5 user5 example com street 1 41 44 268 05 05 en user 5 31 12 2009 user6 pass6 surname6 givenname6 user6 example com street 1 41 44 268 06 05 en user 6 31 12 2009 user7 pass7 surname7 givenname7 user7 example com street 1 41 44 268 07 05 en user 7 31 12 2009 user8 pass8 surname8 givenname8 user8 example com street 1 41 44 268 08 05 en user 8 31 12 2009 user9 pass9 surname9 givenname9 user9 example com street 1 41 44 268 09 05 en user 9 31 12 2009 userl0 pass10 surnamel0 givennamelO userl10 example com street 1 41 44 268 10 05 en user 10 31 12 2009 userll passl1 surnamell givennamell userl 1 example com street 1 41 44 268 11 05 en user 11 31 12 2009 userl2 pass12 surnamel2 givennamel2 userl2 example com street 1 41 44 268 12 05 en user 12 31 12 2009 userl3 pass13 surnamel3 givennamel3 userl 3 example com street 1 41 44 268 13 05 en user 13 31 12 2009 userl4 pass14 surnamel4 givennamel4 userl4 example com street 1 41 44 268 14 05 en user 14 31 12 2009 As you can see the password is clear text
43. d display its logo in the top right corner This facilitates the identification of the portal that is currently being displayed For this reason go to cd var www portal TARWIS pics and edit the file logo jpg Please do not change the size of the file as this impacts on the layout of the size Rather resize your logo instead 6 7 RS Setup TARWIS reads the essential configuration parameters for the reservation process from the file etc RS conf This file 1s given in the top level directory and a needs to be moved to etc RS conf and be made readable for the users www data and root as root run chmod 644 etc RS conf b needs to be ADAPTED for YOUR PARTICULAR SITE We briefly go through the variables of the RS o et file etc RS conf RESERVATIONS YSTEM _SERVICE_URL http 130 92 66 the url where this service runs RESERVATION _S YSTEM_DIRECTORY opt RS the directory of the perl based RS URN_PREFIX gridlab21 unibe ch the hostname of the machine where the RS is accessible from the outside RS_MYSQL_DATABASE_NAME rs info do not change this entry RS_MYSQL_DATABASE_HOST localhost It s the name of the database containing all the tables the host of the database in most cases localhost please use the user wisebeduser use a password for the user wisebeduser the script resetDB sh sets the password wisebed you are free to change it RS_MYSQL_DATABASE_USER wisebeduser RS_MYSQL_DAT
44. e 50 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED Maintenance related Reservations 858047 egridlab21 unibe ch EYju xysiL Description no description supplied Start 2011 02 18T12 00 00 End 2011 02 18T12 59 59 Delete Maintance Block D Other Users Unconfigured Experiments User 4600480 gridlab21 unibe ch Experiment ID 599 Name Description no description supplied Start 2011 02 18T07 45 57 End 2011 02 18T11 30 57 Delete Experiment amp Reservation E User 4600430 gridlab21 unibe ch Experiment ID UCTkygOYT1 Figure 56 Testbed management list of maintenance blocks and users reservations Reservation Experiment Configuration Experiment Monitoring Testbed Management Reservations amp Experiments Testbed Figure 57 Testbed management menu Avaliable Sensor Nodes in the Database Add New Sensor Node 7 ID A furn 3D Position PT O ft int int gateway AAA nodeType E description Lo 7 urn wisebed node capability temperature Po urnwisebed inode capability light_1 Po urn wisebed node capabilitylight_2 Po G um wisebed node capability relative_humidity Po Create New Sensomode Figure 58 Testbed management add new sensor node C This includes the ID urn position gateway type description and capabilities D The x y and z value o
45. e flashed to every node after every experiment DEFAULT _IMAGE_PLATFORME Contiki specify the platform of this default image USE_JAX_IN BACKEND 0 Do we use JAVA JAX in the backend If yes we need a workaround DEBUG_MODE 0 WITH DEBUG_MODE the entire SOAP TRACE stuff is written into the err files HHEHHHEHHAEHHAEHHEE HE EAE HE HAE HAE ARE VARIABLES RELATED TO THE WEB BASED GUI HHEHHHEHHAEHHAEHHEE HE EAE HE HAE HAE RE 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 34 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED variables to specify the coordinate system that is projected onto the image containing the map of the sensor network testbed x y z in pixel and a in degree MAP_SIZE_X 390 check out map parameters pdf MAP_SIZE_Y 172 to see how parameters x y z and angle are MAP_SIZE_Z 455 specified MAP_ANGLE 45 MAP_REFRESH_INTERVAL 30000 refreshing interval of the map in the Experiment Monitoring Section in ms MAP PATH pics maps path of the images of the maps relative to the folder named TARWIS inside portal MAP _FILE NAME 3 D_nobuilding png file name of the map file default template MAX_DISPLAY ABLE_NODES 200 specify the max number of nodes that are being loaded SCALE_NODES_IN_GUI 0 specify whether to scale the nodes to positions in between 0 100 in the GUI SMTP_RELAY asterix unibe
46. e_priv VALUES gt localhost idpadmin PASSWORD SECRET USER DB PASSWORD Y Y ps O O As PTAS can ees FLUSH PRIVILEGES CREATE DATABASE IF NOT EXISTS IDPtools CHARACTER SET utf8 USE IDPtools GRANT ALL PRIVILEGES ON IDPtools TO idpadmin localhost IDENTIFIED BY SECRET USER DB PASSWORD QUIT Check if the user idpadmin has been created with password secret password mysql u idpadmin p Enter password SECRET USER DB PASSWORD Welcome to the MySQL monitor Commands end with or g Kees quit Create tables curl O http www iam unibe ch wisebed scripts wisebed sql sed 1 s idp example org idp example org g wisebed sql mysql u root p lt wisebed sql rm wisebed sql Define your main IDP Administrator mysql u idpadmin p USE IDPtools INSERT INTO idp_Users idUser idGroup uniquelD username password lt customl custom2 state dateCreate dateExpire dateModify dateLastLogin VALUES 1 1 000001 idp example org USERNAME WEB INTERFACE ADMIN MD5 SECRET WEB INTERFACE ADMIN PASSWORD NULL NULL active NOW 2032 09 30 08 38 35 NW NULL 6 idp example org replace it with your address for example 000001 idp unibe ch USERNAME replace it with the admin username for example ad
47. ed you are free to change it TARWIS_DIRECTORY opt TARWISServer the directory where the TARWIS server and the correspondign code is SESSION MANAGEMENT _SERVICE_URL http 130 92 66 182 3000 the SESSION MANAGEMENT SERVICE URL CONTROLLER SERVICE _URL http 130 92 66 182 3025 the URL of the CONTROLLER SERVICE TARWIS GUI_URL https gridlab23 unibe ch portal TARWIS where TARWIS GUI is accessible over HTTP SOAP_TIMEOUT 20 how many seconds the SOAP call is allowed to last until the response deprecated FLASH_ATTEMPTS 2 how many times the system shall attempt to flash the nodes WAIT_PERIOD _BEFORE_FLASH_RETRY 50 how long TARWIS shall wait before reattempting to flash ndoes with negative flash status WAIT_PERIOD_AFTER_REBOOT 20 how long it takes a node to reboot after a hard reset UBERN 60s This time only specifies how long TARWIS maximally waits for the asynchronous status replies If replies return earlier TARWIS continues of course HHH HH TOPOLOGY_UPDATE_INTERVAL 0 how often is getNeighborhood called for every neighbor CURRENTLY DISABLED PROPERTY UPDATE_INTERVAL 0 how often is getPropertyValueOf called for every capability ALIVE_ STATE_ UPDATE_INTERVAL 0 how often is areNodesAlive called ALIVE STATE REQUEST_MAXIMUM RESPONSE TIME 20 how long shall be waited for the reply DEFAULT_IMAGE PATH opt TARWISServer noExperiment ihex specify the location of the default image that will b
48. ent version of TARWIS Version 4 0 and further a RS API Reservation System compliant perl based and Web Service accessible Reservation System 6 1 Folder Contents After having checked out TARWIS_4 0 from the subversion repository svn co https svn itm uni luebeck de wisebed TARWIS TARWIS_4 0 Make sure you have the following subfolders in your directory TARWISServer the testbed management system core logic portal the php based WebGUI RS the Reservation System sna portal 1 0 5 the Sensor Network Authorization tool 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 33 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED 6 2 Installation of php perl libraries We assume you are running a fresh Debian Lenny distro on your portal server as requested by the Interface Description and Hardware requirements Document of December 2008 The install script install sh in the TARWISServer directory installs the necessary php perl libraries as well as other programs and utilites necessary to run the portal server software for Debian Etch The script has to be run as root user REMINDER If you use another distro you have to search all the packages that install sh for your particular linux distro If you do not have all the software packages listed in install sh the setup of the TARWIS prototype will inevita
49. f the sensor nodes position are between O and 100 according to the coordinates in the map E By clicking the Create New Sensor Node button the node is added to the TARWIS database and depicted in the map F By selecting an existing sensor node from the drop down menu the user can update the properties of the new sensor node G The user can either update the properties for the selected sensor node or delete the sensor node from the database 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 51 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED Avaliable Sensor Nodes in the Database ID 10 TMoteSky Dz ID Jumwisebec node uberr 3D Position fas a p gateway ue 2011 02 16 16 01 03 nodeType TMoteSky 2011 02 16 16 01 03 description Node 10 Anwander We 2011 02 16 16 01 03 urm wisebed node capability temperature po 2011 02 16 16 01 03 urnwisebed node capabilitylight_1 0 00 2011 02 16 16 01 03 urnwisebed node capability light_2 0 00 2011 02 16 16 01 03 urn wisebed node capability relative_humidity 0 00 2011 02 16 16 01 03 Update Sensornode Delete Sensornode G Figure 59 Testbed management update sensor node 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 52 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBE
50. figure the virtual host on idp example org Create a new configuration file in etc apache2 sites available or adapt an existing one For example use etc apache2 sites available aai logon vi etc apache2 sites available aai logon lt IfModule mod_ssl c gt lt VirtualHost _default_ 443 gt ServerName idp example org SSLEngine On SSLCipherSuite ALL ADH RC4 RSA HIGH MEDIUM LOW SSLv2 EXP eNULL SSLCertificateFile etc ssl certs idp example org crt SSLCertificateKeyFile etc ssl private idp example org key SSLCertificateChainFile etc ssl certs idp example org crt SSLVerifyDepth 10 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 13 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED SSLOptions StdEnvVars DocumentRoot var www lt VirtualHost gt lt IfModule gt lt IfModule mod_proxy_ajp c gt ProxyRequests Off lt Proxy ajp localhost 8009 gt Allow from all lt Proxy gt ProxyPass idp ajp localhost 8009 idp retry 5 ProxyPass cas ajp localhost 8009 cas retry 5 lt IfModule gt Configure the virtual host for port 8443 Make a new configuration file in etc apache2 sites available or adapt an existing one For example use etc apache2 sites available aai aa Uncomment the last ProxyPass line if CAS is going to be used vi etc apache2 sites available aai aa lt IfModule mod_ssl c
51. gt lt VirtualHost _default_ 8443 gt ServerName idp example org SSLEngine On SSLCipherSuite ALL ADH RC4 RSA HIGH MEDIUM LOW SSLv2 EXP eNULL SSLCertificateFile etc ssl certs idp example org crt SSLCertificateKeyFile etc ssl private idp example org key SSLCertificateChainFile etc ssl certs idp example org crt SSLCACertificateFile etc ssl ca bundle crt SSLVerifyDepth 10 SSLVerifyClient optional_no_ca SSLOptions StdEnvVars ExportCertData lt VirtualHost gt lt IfModule gt lt IfModule mod_proxy_ajp c gt ProxyRequests Off lt Proxy ajp localhost 8009 gt Allow from all lt Proxy gt ProxyPass idp ajp localhost 8009 idp retry 5 lt IfModule gt Enable both virtual hosts aai logon and aai aa a2ensite aai logon a2ensite aai aa apache2ctl t Syntax OK 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 14 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED Enable the ssl module Module ssl installed run etc init d apache2 force reload to enable Enable the ajp proxy module the module mod_proxy has also to be enabled a2enmod proxy _ajp apache2ctl k restart 2 10 Shibboleth IDP 2 0 Configuration 2 10 1 Configure Shibboleth IdP Copy the key and certificate used for signing to the opt shibboleth idp credentials directory Make sure the tomcat user has read permissions f
52. gt unibe ch lt nonProxyHosts gt lt prox y gt lt prox1es gt Add the following lines to etc profile vi etc profile M2 HOME opt apache maven export M2 HOME M2_HOME bin PATH M2 PATH export PATH The environment variables become active in a new shell Or just read in the new profile by the following command source etc profile 2 1 8 Shibboleth Service Provider build environment Since the Shibboleth Service Provider is implemented in C C some C C build tools are required apt get install gcc g make 2 1 9 external libraries Service Provider The Shibboleth service provider is linked against some external libraries The required header files and libraries are apt get install libssl0 9 8 libssl dev apt get install libcurl3 libcurl3 dev apt get install apache2 threaded dev 2 2 Tomcat 5 5 Configure JVM memory options and not to use the security manager In etc default tomcat5 5 line 19 set the following variables vi etc default tomcat5 5 CATALINA_OPTS Xms256M Xmx312M XX MaxPermSize 512M XX DisableExplicitGC server TOMCATS_SECURITY no 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 7 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED The values for memory usage depend on the physical memory of the server Set Xmx to 512MBy
53. hD Student dateExpire Expected format is dd mm YYYY If the field has no date the user will expire in 1 year e An AAI UniquelD will be generated automatically for each user e The file encoding should be ISO 8859 1 You can change the encoding in the preferences e Additional columns in your CSV file will be ignored Choose the CSV file containing your users list to import in the IDP a Desktop importUsers csv Durchsuchen Process CSV file gt gt Figure 11 User administration import users Now we get an overview with the message that all 14 users are feasibly to be imported cf Fig 12 Group Create List Manage User Create List Import Preferences Statistics Logout testusers Preview of the CSV import Processed the file importUsers csv for group testusers 14 from 14 users are feasible to be imported line username status 2 user User will be imported 3 user2 User will be imported 4 user3 User will be imported 5 user4 _ User will be imported 6 user5 User will be imported 7 user6 User will be imported 8 user User will be imported 9 user8 User will be imported 10 user9 User will be imported 11 user10 User will be imported 12 user11 User will be imported 13 user12 User will be imported 14 user13 User will be imported 15 user14 User will be imported EIA Figure 12 User administration import users Press button Import correct users now
54. he modules mod_ssl and mod_proxy ajp are part of the package apt get install apache2 apache2 mpm worker apache2 utils apache2 2 common libaprl libaprutill libpq4 libsqlite3 0 2 1 4 cURL Debian package curl optional as an alternative to wget apt get install curl 2 15 gnupg GNU Privacy Guard and gpgv Debian packages gnupg and gpgv recommended to verify the signature on the installed software apt get install gnupg gpgv 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 5 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED 2 1 6 JAVA 1 5 Make sure that the non free repository 1s included in the apt sources sources list file or a file in directory etc apt sources list d echo deb ftp mirror switch ch mirror debian etch main contrib non free gt gt etc apt sources list echo deb http ftp us debian org debian etch main contrib non free gt gt etc apt sources list Install Java apt get update apt get install sun java5 jdk Note for those who like vim with a basic syntax highlighting apt get install vim echo syntax on gt root vimrc To avoid conflicts with other Java virtual machines like kaffe or gcj deinstalling them 1s highly recommended You may also include the following lines in etc profile vi etc profile JAVA HOME usr lib jvm java 1 5 0
55. ibboleth2 mv shibboleth2 xml shibboleth2 xml original curl O http www iam unibe ch wisebed scripts shibboleth2 xml sed 1 s sp example org idp example org g shibboleth2 xml Check the certificate paths Is etc ssl private idp example org key Is etc ssl certs idp example org crt Change in etc shibboleth2 shibboleth2 xml at line 207 the supportContact with your email address vi etc shibboleth2 shibboleth2 xml SupportContact admin sp example org Attribute handling Get the attribute map xml and attribute policy xml cd etc shibboleth2 curl O http www iam unibe ch wisebed scripts attribute map xml curl O http www iam unibe ch wisebed scripts attribute policy xml 2 12 Tests Re start shibd etc init d shibd restart Check logfiles tail f var log shibboleth sp x Now open the URL https idp example org idpadmin e Press the Login Button This forwards you to https idp example org idpadmin admin e The shibboleth Service Provider forwards you the WAYF Server IDPtools is protected by opt idpad min htdocs admin htaccess e Select your IDP in the List e Now the IDP is addressed The cas client forwards you to the cas server which asks you for your creden tials e Enter your main IDP Administrator username and password 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 20 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium
56. ion will be displayed on the aai Helpdesk page The contact informabon should be a group phone femail address and not a personal address Gescription Depariment B Wie brit E mail Peor Figure 10 User administration admin is defined for this group To list and manage current user click on User List There you get an overview about the users in the currently selected group Groups can be selected in the Group List Menu In this menu you can manage the users e Edit attributes name email expiration date e Reset password e Expire a user immediately e Delete a user IMPORTANT IT IS NOT POSSIBLE TO REMOVE AN USER FROM THE DATABASE For security and auditing reasons legal issues every deleted unique ID remains in the database to ensure that no other new user can get the same unique ID It is also possible to import users with a file formated with the CSV format ISO 8859 1 Goto to the menu User Import to get further information The fields marked with an asterisk have to be in your CSV header Here an example We try to import 14 users username password surname givenname mail postalAddress telephoneNumber preferredLanguage description dateExpire userl passl surnamel givennamel userl example com street 1 41 44 268 01 05 en user 1 31 12 2009 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 26 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused resear
57. is subscription Figure 31 User roles subscribe for a selected role My Subscribed Roles This is the list of roles you are subscribed to Click on View Details to see detailed information about a role Click on Unsubscribe to unsubscribe from a role E redirects you to the role Role Title Status Actions TARWIS User Subscription pending View Details Unsubscribe E Figure 32 User roles list of subscriptions Reservation Experiment Configuration Experiment Monitoring Testbed Management My Images My Experiments Finished Experiments Figure 33 Image menu Available Images Upload New Image y B ID CIA Name Beaconing Version fio Platform ContikiTelosB Description Sends beacons to the neighbors File Name is File Size A Time A File eaconinglmage ihex Durchsuchen Upload New Image Figure 34 Image upload A By clicking on the Experiment Configuration My Images tab cf Fig 33 the user can upload its software to the TARWIS GUI B Selecting Upload New Image the user can upload its developed binary code image cf Fig 34 C Afterwards the user can enter the name version platform and description of the image D Then the user selects the file of the image E Finally the user finish the form by clicking on the Upload New Image button The image is now uploaded to the TARWIS GUI and can be used for the experiments see Section 8 2 F By selecting a previou
58. keReservation make a Reservation 22 04 2010 Never Edit Delete Events Viewer On viewNetwork View an all nodes 06 04 2010 Mever Edit Delete Email Notifications On FHF Info Logout Figure 23 User role administration all actions Q Now the administrator currently as user portaladmin has to be logged out and again logged in as admin istrator with its own AAI login cf Fig 23 R By clicking on All Actions the administrator can see all possible actions S Every action corresponds to a webservice supported by TARWIS and the Reservation System T Actions can be edited and deleted U By clicking on All Roles and afterwards on Edit a role can be edited cf Fig 24 V The important thing is the correlation between the actions and a role In case of the role TARWIS User the actions createExperiment deleteReservation getReservations makeReservation makingOwnReser vation and viewNetwork are allowed 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 32 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Contract No 224460 Small medium scale focused research project STREP WISEBED SNAportal 1 0 5 Home Role Management My Roles Add a Role All Roles U User Management My Profile Lang del Admin Anwander Markus Portal Administrator Edit Role Administrators Edit Standard Attributes I Edit Custom Attributes Delete Edit Role Fields marked with must be filled in
59. le org idp example org g web xml Redeploy the Shibboleth IdP web application responding no Tomcat will reload the web application provided that the context descriptor points to the file opt identityprovider war idp war see the IdP deployment section for that cd opt identityprovider ant sh install Buildfile build xml install Is this a new installation Answering yes will overwrite your current configuration yes no no Copying 1 file to opt shibboleth idp 2 0 0 lib JARs are never empty they contain at least a manifest file Building jar opt shibboleth idp 2 0 0 war idp war BUILD SUCCESSFUL 2 10 2 Some Tests Restart tomcat etc init d tomcats 5 restart Restart apache apache2ctl restart In case of errors check the log files 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 16 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED tail f var log apache2 x log tail f var log tomcat3 5 x log Try to open the following URLs in your browser https MY _IDP SERVER COM cas login https MY_IDP SERVER COM idp profile Status You can test your IDP Admin credentials if you like Message Log In Successful In case of errors check also the IDP and CAS log files tail f var log shibboleth x log tail f var log cas caslog log tail f var log apache2 x log t
60. ment menu A By clicking on the Testbed Management Reservations and Experiments tab the administrator can modify the reservations and experiments cf Fig 54 0 00 1 00 2 00 7 00 8 00 9 00 ahs 10 00 An 11 00 12 00 13 00 sb 14 00 Ab 15 00 sk 16 00 17 00 ob 18 00 ol 19 00 20 00 21 00 22 00 23 00 Sensor Nodes ole ole ole of el oP ojo ojo o jo A wnswiatednoteuben a Ansmann Nepas aaa aaa ala A ea Oca umwisebednodeubem4 SERRE REE eee umwisebednodeubems BEER eee y umwisebednodeuben O O O O O a oa O 0 O O A O O O 0 O O O umwisebednodeubem7 ESSEEN 0 0 eee 4 uenwisebednodeubems Maras aaa umwisebednodeubem9 ee a ee ee a a aa a umwisebednodeuben 10 sr es i a a a a OS aaa umwisebednodeubem 11 eS ie a aa a a a ap aaa aaa El umnwisebednodeubern12 BERR Ea aaa aa umwisebednodeubem 13 EERE arar aaa aa _ Eure A ica Aaa ERE EEE umwisebednodeubern 15 aa ae A Ea aaa aja umwisebednodeubem 16 a ea a paraa a umnwisebednodeubern17 E BoaBeo Maa Malal El umwisebednodeubemn 18 E i a ee a a aaa umnwisebednodeubern 19 a urn wisebed node ubern 16 il Ml Ml A 08 08 008 eee E veniwisebednodenber 20 cana aura aa aa unwisebednodeubern 21 Moa apa la EAARRAa AER eee umwisebednodeubem 22
61. ment C 0 gt facultyb Faculty B 0 gt facultyc Faculty C 0 gt rvsphd RVS PHD students 3 testusers Test Users 14 Figure 5 User administration list groups 4 2 Manage Users Now we create some users Select in the menu Group List the group the user should be added Then click on User Create Now you see the selected group in the upper right corner cf Fig 6 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 24 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED Group Create List Manage User Create List Import Preferences Statistics Logout e Fields marked with an asterisk are mandatory A password and an AAI UniquelD wil be generated automatically Username testo Last name Doe First name john E mail johndoe unibe ch Entitlement https gridlab04 unibe ch i AN entitlements must be prefixed with https gridlab04 unibe ch Use one line per entitlement if you want to define multiple values Business phone number G 9 41 44 268 15 05 Business postal address G Enter the full postal address with carriage returns Preferred Language en Description i The description is intended for internal use only It will never been released to any resource Affiliation affiliate Home organization gridiab2l unibe ch Home organization type idp Expiration date or enter date 25 11
62. min unibe ch Set the Last name and First name INSERT INTO idp_UserAttributes idAttribute idUser value VALUES C22 A SUENAN INSERT INTO idp_UserAttributes idAttribute idUser value VALUES CAS RN enname Js quit 2 5 Install IDP A dmin Install the Debian etch package for PHP 5 and PEAR DB to access MySQL 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 10 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED apt get install libapache2 mod php5 apt get install php5 mysql apt get install php db Activate apache2 modul mod_rewrite In s etc apache2 mods available rewrite load etc apache2 mods enabled Make sure PHP5 module is installed a2Zenmod php5 etc init d apache2 force reload cd opt curl O http www iam unibe ch wisebed idpadmin tgz tar zxf idpadmin tgz rm idpadmin tgz In s opt idpadmin htdocs var www idpadmin Add your IDP URL and Admin mail address cd opt idpadmin find type f exec sed i s idp example org idp example org g find type f exec sed i s admin example org admin example org g Xp Insert password for database line 31 in opt idpadmin libs config php vi opt idpadmin libs config php define DB PASSWORD SECRET USER DB PASSWORD Set Permissio
63. n yes no yes Where should the Shibboleth Identity Provider software be installed default opt shibboleth idp 2 0 0 opt shibboleth idp 2 0 0 What is the hostname of the Shibboleth Identity Provider server default idp e xample org ipd example org A keystore is about to be generated for you Please enter a password that will b e used to protect it SECRET PASSWORD output omitted Building jar opt shibboleth idp 2 0 0 war idp war BUILD SUCCESSFUL Set symbolic links for your convenience Link etc shibboleth to the shibboleth idp configuration directory and var log shibboleth to the shibboleth idp log directory 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 8 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED In s opt shibboleth idp 2 0 0 opt shibboleth idp In s opt shibboleth idp conf etc shibboleth In s opt shibboleth idp logs var log shibboleth Set the IDP_HOME environment variable export IDPHOME opt shibboleth idp You may also include the following line into your etc profile file vi etc profile IDP_HOME opt shibboleth idp export IDP_HOME Set permissions and ownership in order to allow the tomcat55 user to access directories in IDP_HOME cd opt shibboleth idp chown R tomcat55 logs metadata credentials chmod 755 logs metadata C
64. ns cd opt idpadmin chgrp www data logs chmod g w logs chgrp www data import chmod g w import chgrp R www data templates compiled chmod R g w templates compiled 2 6 Install the java mysql connector Install debian package apt get install libmysql java mysql connector java jar will be installed in user share java apt get install libmysql java Create a symbolic link to provide tomcat with the java mysql connector classes In s usr share java mysql connector java jar usr share tomcat5 5 common lib 2 7 CAS Server web application Get and uncompress CAS server 3 2 1 from http www ja sig org products cas 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 11 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED cd opt curl O http www ja sig org downloads cas cas server 3 2 1 release zip ee CES Serco o PS lp tim Cas server 3 2 release zip Replace the WEB INF cd opt cas server 3 2 1 cas server webapp src main rm rf webapp curl O http www iam unibe ch wisebed cas webapp tgz tar zxf webapp tgz rm webapp tgz The config file opt cas server 3 2 1 cas server webapp src main webapp WEB INF deployerConfigContext xml 1s now configured for a MySQL connection to the IDPtools database You just have to adjust the password line 148 vi opt cas se
65. odes On the right side the map with the selected sensor nodes and additional information such as ID type description capabilities are displayed Clicking on the Finish button finish the configuration sheet Configuration for a public Experiment id GpTleC6v4s finished User Wagenknecht Gerald 858047 gridlab21 unibe ch Experiment ID GpTleC 6v4s Name Beacon Experiment Description The sensor nodes sends beacons and discover the neighborhood Start 2011 02 18 09 15 00 End 2011 02 18 10 29 59 Runs 1 Selected Nodes Images um wisebed inode ubern 15 Beaconing v1 0 urnwisebed inodeubern 16 Beaconing v1 0 um wisebed node ubern 17 Beaconing v1 0 um wisebed node ubern 18 Beaconing v1 0 un wisebed inodeubern 19 Beaconing v1 0 um wisebed node ubern 20 Beaconing v1 0 save settings as template specify template name GpTleCBv4s L Figure 46 Configuration configured experiment J After finishing the configuration data of the experiment are depicted cf Fig 46 like experiment ID name and description of the experiment start and end time and number of runs and 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 45 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED K the selected sensor nodes with the selected images L Furthermore the user can save the current configuration into a template for re using with
66. on about it s underlying Network definition Furthermore it uses WiseML for storing and generating the output of the Experiment log and debug traces ina common defined format Network definition in order to read the network resources node type sensors positions etc TARWIS calls the getNetwork function of the SessionManagementService API and retrieves a WiseML document listing the entire network endowment It uses the retrieved positions to display the nodes of the network in the network graph Listing 1 lists one instantiation of a node entry The node type and endowment are described in the defaults section Listing 1 Node entry in SessionManagementService of Univ of Bern testbed lt node id urn wisebed node ubern 1 gt lt position gt lt x gt 69 lt x gt lt y gt 20 lt y gt SIDA DS lt position gt lt gateway gt true lt gateway gt lt description gt Node 1 Office 205 2nd Floor lt description gt lt node gt 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 48 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED Experiment log and debug traces As soon as an experiment is scheduled and configured the TARWIS Con trollerService retrieves experiment output e g debug information sensor values over the receive function and stores it to the TARWIS internal database As soon as the experiment time ha
67. or both the key and the certificate file cp idp example org key crt opt shibboleth idp credentials Remember to set appropriate ownership and permissions notably for the file idp example org key cd opt shibboleth idp credentials chown tomcat55 idp example org key chgrp root idp example org key crt chmod 440 idp example org key chmod 644 idp example org crt Move away the self signed certificate generated from the installation procedure mv idp crt idp self signed crt mv idp key idp self signed key Use the certificate idp example org crt for the IdP to SP communcation together with idp example org key cd opt shibboleth idp credentials In sf idp example org crt idp crt In sf idp example org key idp key Configure to use the EditNet federation metadata and the trusted root certificate in opt shibboleth idp 2 0 0 cont relying party xml The entity identifier https idp example org idp shibboleth of the IdP may be adapted also if a different value than the default should be used Get the relying party xml from unibe ch cd opt shibboleth idp 2 0 0 conf curl O http www iam unibe ch wisebed scripts relying party xml Replace idp example org with your IDP URL sed 1 s idp example org idp example org g relying party xml Download the EdiNetaai specific attribute resolver xml file and adapt it line 740 cd opt shibboleth idp conf curl O http
68. periment Description The sensor nodes sends beacons and discover the neighborhood Start 2011 02 18 09 15 00 End 2011 02 18 10 29 59 Runs l End Experiment Save Results F Experiment Control Output 011 02 18 09 16 05 time elapsed since reboot 60 s of max 120 s WAIT_PERIOD_AFTER_REBOOT 1011 02 18 09 16 11 time elapsed since reboot 66 s of max 120 s WAIT_PERIOD_AFTER_REBOOT 1011 02 18 09 16 17 time elapsed since reboot 72 s of max 120 s WAIT_PERIOD_AFTER_REBOOT 1011 02 18 09 16 23 time elapsed since reboot 78 s of max 120 s WAIT_PERIOD_AFTER_REBOOT 1011 02 18 09 16 29 time elapsed since reboot 84 s of max 120 s WAIT_PERIOD_AFTER_REBOOT 1011 02 18 09 16 35 time elapsed since reboot 90 s of max 120 s WAIT_PERIOD_AFTER_REBOOT 1011 02 18 09 16 41 time elapsed since reboot 96 s of max 120 s WAIT_PERIOD_AFTER_REBOOT 1011 02 18 09 16 47 time elapsed since reboot 102 s of max 120 s WAIT_PERIOD_AFTER_REBOOT 1011 02 18 09 16 50 status of request request GpTleChv4s 1 resetNodes urnwisebed node ubern 1 5 1 1011 02 18 09 16 50 status of request request GpTleC6v4s l resetNodes umwisebed node ubern 16 1 1011 02 18 09 16 50 status of request request GpT leChv4s l resetNodes umavisebed node ubern 17 1 1011 02 18 09 16 50 status of request request GpTleChv4s l resetNodes urmwisebed node ubern 18 1 1011 02 18 09 16 50 status of request
69. r the wisebed testbed SUPPORT_URL http www youruniversity whereveryouare whereveryouwantthistopointto html a webpage e g of the responsible person SNA_ MYSQL PASS wisebed the mysql password AAIPORTAL_SMTP mail iam unibe ch the smpt relay server used for automated mail sending then go to the SNA directory and set up the mysql db cd opt sna portal 1 0 5 sh resetDB sh You will be prompted to enter your mysql password again then go to opt sna portal 1 0 5 again and run setConfig sh This program sets the configuration values of etc SNA conf to the tool at opt sna portal 1 0 5 cd opt sna portal 1 0 5 sh setConfig sh 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 22 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED 3 6 Enable webservice https lt DOMAIN gt sna portal admin php User portaladmin Pass wisebed 4 User Administration 4 1 Manage Groups The following example cf Fig 2 illustrates a possible scenario for an university with different faculties and departments Faculty C Faculty A inant 4 5 6 Department Department Department A B C 1 2 3 Figure 2 User administration manage groups To create a group first login to the IDPtools web interface as main admin Choose menu Group Create as shown in Fig 3 To create Department C as a child of the Fac
70. rch project STREP Contract No 224460 WISEBED 2 8 CAS Client Installation cd opt wget http www ja sig org downloads cas clients cas client 3 1 1 release tar gz tar zxf cas client 3 1 1 release tar gz rm cas client 3 1 l release tar gz cd cas Chente 3 lolly cas client core mvn package Make the CAS client classes available to the Shibboleth IdP web application cp opt cas client 3 1 1 cas client core target cas client core 3 1 l1 jar opt identityprovider lib 2 9 Apache Configuration Apache has to be configured with the modules mod_ssl for SSL support and mod_proxy_ajp to redirect requests to Tomcat The Apache configuration usually takes place in files in the directory etc apache2 sites available mod_ssl Copy the idp example org key to the directory etc ssl private and idp example org crt to the directory etc ss I certs cp idp example org key etc ssl private cp idp example org crt etc ssl certs Get the bundle with the accepted CA root certificates and place it into the directory etc ssl cd etc ssl curl O http www iam unibe ch wisebed metadata ca bundle crt Make sure the server listens on port 443 and 8443 for AA connections with the Listen directive in etc a pache2 ports conf vi etc apache2 ports conf Listen 443 Listen 8443 Remove default configuration cd etc apache2 sites enabled unlink 000 default Con
71. reate a context descriptor for the IdP web application in CATALINA_HOME conf Catalina localhost cd var lib tomcat5 5 mkdir p conf Catalina localhost Create the context descriptor file var lib tomcat5 5 conf Catalina localhost idp xml vi var lib tomcat5 5 conf Catalina localhost idp xml lt Context docBase opt shibboleth idp war idp war privileged true antiResourceLocking false antiJARLocking false unpackWAR false gt 2 4 MySQL Server Installation 2 4 1 Installation Install the Debian etch package for MySQL 5 apt get install mysql server 5 0 By default the mysql daemon only listens to localhost on IPv4 Set password for the root user in MySQL IMPORTANT replace the SECRET MySQL ROOT PASS WORD with a own password usr bin mysqladmin u root password SECRET MySQL ROOT PASSWORD 2 4 2 IDP user data database Create the IDP database and an IDP Admin user IMPORTANT replace the two SECRET USER DB PASSWORD with a own password 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 9 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED mysql u root p SET NAMES utf8 SET CHARACTER SET utf8 CHARSET utf8 USE mysql INSERT INTO user Host User Password Select_priv Insert_priv Update priv Delete_priv Create_tmp_table_priv Lock tables priv Execut
72. rnmsb5 El E um wisebed nodeubernmsb6 E E un wisebed nodeubernimsb E y un wisebed inodeubern 1 El F urnwisebed inode ubern 2 El y um wisebed nodeubern 3 E y urnwisebed inode ubern 4 El y um wisebed nodeubern 5 E y urnwisebed inode ubern E y um wisebed inode ubern El y um wisebed nodeubern 8 E y um wisebed inode ubern 9 A y urnwisebed inode ubern 10 6 sensor_node_id urn wisebed node ubern 10 6 gateway true nodeType TMoteSky 6 description Node 10 Anwander Wagenknecht 6 um wisebed node capability temperature 0 00 6 umwisebed node capabilitylight_1 0 00 6 um wisebed node capabilityight_2 0 00 6 urm wisebed node capability relative_humidity 0 00 El urm wisebed node ubern 11 W y urnwisebed inodeubern 12 E um wisebed nodeubern 13 un wisebed nodeubern 14 E y urnwisebed inode ubern 15 El F urnwisebed inode ubern 16 E3 y umwisebed inode ubern 17 E y urnwisebed inode ubermn 18 4 E urnwisebed inode ubern 19 E y urnwisebed inode ubern 20 E y um wisebed nodeubern 21 El y urnwisebed inode ubern 22 E y um wisebed nodeubern 23 Figure 43 Reservation testbed map 8 2 Experiment Configuration After the user has reserved nodes for certain time slots 1t has to configure the experiment Configuration of an experiment includes binary code images and configuration commands for the sensor nodes number of runs which the experiment should be performed and additional information such
73. rs 100 users page on 1 pages My Profile Lang en My Users User ID Lastname Firstname Privilege Last Login Actions Add a User m portaladmin Portal Administrator 21 06 2010 19 49 subscriptions Edit Delete ie sa m 215329Bgridlab21 unibe ch Anwander Markus Portal Administrator 21 06 2010 19 46 Subscriptions p Delete renans Actions 2 Select All Unselect AJl All Actions Delete Selected Add Actions m Status Events Viewer On Email Notifications On PHP Info Logout Figure 22 User role administration change initial password of user portaladmin SNAportal 1 0 5 Admin Anwander Markus Portal Administrator Home Role Management All Actions My Roles Add a Role Carton Tie 12 f nn A pales Show actions where Action Title starts with ai me User Management 8 actions 100 _ actions page on 1 pages My Profile Lang de My Users Action Name Action Title Creation Modified Actions Add a User getReservations Access the rervation table 06 04 2010 Never Edit Delete All Users makingOwnResernvation Create modify or remove awn reservations 06 04 2010 Never Edit Delete All Orphans createExperiment Define an experiement 06 04 2010 Never Edit Delete Actions deleteReservation i delete a reservation 14 06 2010 Mever Edit Delete All Actions maintainReservaton S Maintaing all reservation 06 04 2010 Mever Edit Delete Add Actions maintainTARWIS Maintaing TARWIS 06 04 2010 Never Edit Delete Status ma
74. rver 3 2 1 cas server webapp src main webapp WEB INF deployerConfigContext xml lt property name password gt lt value gt SECRET PASSWORD lt value gt lt property gt Add for instance at line 30 the following dependency to the maven config file opt cas server 3 2 1 cas server webapp pom xml vi opt cas server 3 2 1 cas server webapp pom xml lt dependency gt lt groupld gt project groupId lt groupId gt lt artifactId gt cas server support jdbc lt artifactId gt lt version gt project version lt version gt lt dependency gt Now build the CAS server web application cd opt cas server 3 2 1 cas server support jdbc mvn package cd opt cas server 3 2 1 cas server webapp mvn package Create a context descriptor for the CAS server web application in CATALINA HOME conf Catalina localhost Create the context descriptor file var lib tomcat5 5 conf Catalina localhost cas xml vi var lib tomcat5 5 conf Catalina localhost cas xml lt Context docBase opt cas server 3 2 1 cas server webapp target cas war privileged true antiResourceLocking false antiJARLocking false unpackWAR false gt cas log mkdir var log cas chown tomcat55 var log cas 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 12 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused resea
75. s expired the nodes are reflashed with a default image and the network is prepared for the subsequent experiment Every output of the finishing experiment is exported by TARWIS to a WiseML file zipped and saved to the TARWIS database This WiseML file hence comprises all important information about an experiment run e g where the experiment took place geographically what kind of nodes were used what their sensor endowment was and much more Storing all this experiment related information in one WiseML file offers many advantages besides the possibility to easily use it for post experiment analysis As it defines essentially all crucial information of an experiment it further allows to make the experiment data public to other research partners in a common well defined language giving them the opportunity to repeat the same or similar experiment e g trying to improve the results Hence having integrated WiseML into the Testbed Management System inherently pushes research on wireless sensor networks one crucial step towards transparency and repeatability of sensor network experimentation Listing 2 Excerpt from a TARWIS generated Experiment Trace lt wiseml gt lt trace i1id experiment UBERN_uniquelD_23453323 gt 3 WERO 4 lt timestamp gt 3605 164612 lt timestamp gt s lt node 1d urn wisebed node ubern 9 gt d lt position gt 7 8 9 lt x gt 85 lt x gt lt y gt 80 lt y gt Vi IEG 4 10 lt
76. scribed in the next Section Reservation Experiment Configuration Experiment Monitoring Testbed Management My Experiments Finished Experiments Figure 51 Configuration menu A The finished experiments can be found in the Experiment Configuration Finished Experiments tab cf Fig 51 My private experiments User 858047 egridlab21 unibe ch wagen iam unibe ch Experiment ID GpTleC vds Name Beacon Experiment Description The sensor nodes sends beacons and discover the neighborhood Start 2011 02 18 09 15 00 End 2011 02 18 09 31 48 Results Download Delete Experiment Definition amp Results Public experiments B User 858047 gridlab21 unibe ch wagen iam unibe ch Experiment ID GpTleC v4s Name Beacon Experiment Description The sensor nodes sends beacons and discover the neighborhood Start 2011 02 18 09 15 00 End 2011 02 18 09 31 48 Results Download Figure 52 Configuration finished experiments B On this site cf Fig 52 all users experiments are listed as well as all public experiments The user can download the experiment results of its own experiments and of the public experiments C For its own experiment the user can delete the definitions and the results 9 Data Acquisition and Representation TARWIS integrates the WiseML Wireless Sensor Network Markup Language for several purposes On one side it uses WiseML for reading and parsing the necessary informati
77. sly uploaded image the user can update the name version description and the platform cf Fig 35 G By clicking on the according button the user can update delete or download the image 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 41 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED Figure 35 Image update 8 How to Perform an Experiment on TARWIS This Section describes the steps how a user can perform its experiment It starts with the nodes reservation and afterwards the experiment configuration Finally it describes the experiment monitoring and downloading the experiment results 8 1 Node Reservation Experiment Configuration Experiment Monitoring Testbed Management Figure 36 Reservation menu A By clicking on the Reservation Reservation Overview tab cf Fig 36 the user can reserve nodes of the underlying testbed using the schedule sheet 13 14 15 16 17 20 21 22 23 24 25 ag Figure 37 Reservation calendar sheet B First the user can select the day when its experiment should performed cf Fig 37 The current day is preselected C The available sensor nodes are listed on the left side of the schedule sheet cf Fig 38 Different types of sensor nodes are separated by a white line D On the top of the schedule sheet the 24 hours of the day
78. sp gt Allow from all lt Location gt Alias shibboleth sp main css opt shibboleth sp2 share doc shibboleth main CSS Alias shibboleth sp logo jpg opt shibboleth sp2 share doc shibboleth logo jpg lt IfModule gt Adjust the Apache configuration etc apache2 envvars 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 18 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED vi etc apache2 envvars This file is generated from envvars std in export LD_LIBRARY_PATH opt shibboleth sp2 lib Enable the Shibboleth Apache module a2Zenmod shib Module shib installed run etc init d apache2 force reload to enable 2 11 4 Install Shibboleth daemon Define the current Shibboleth SP release Symlink the current installation In sf A SHIB_HOME opt shibboleth sp2 Prepare SP2 init script Copy the distribution init script cp SHIB_HOME etc shibboleth shibd debian etc init d shibd Adjust the init script etc init d shibd vi etc init d shibd PATH sbin bin usr sbin usr bin DESC Shibboleth 2 daemon NAME shibd SHIB_HOME opt shibboleth sp2 SHIBSP_CONFIG etc shibboleth2 shibboleth2 xml LD_LIBRARY_PATH opt shibboleth sp2 lib DAEMON opt shibboleth sp2 sbin shibd SCRIPINAME etc init d NAME PIDFILE var run NAME pid Install the init script chmod x etc init
79. ss User Management Subs My Profile Lang en Role Title Actions My Users Requests Add a User TARWIS User 1 Edit Process Subscription Requests All Users All Orphans Actions All Actions Add Actions Status Events Viewer On Email Notifications Om PHP Info Logout Figure 16 User role administration administrator menu C Now the user is logged in as user portaladmin cf Fig 16 D The next step it to edit the own pending subscription as TARWIS user clicking on Process Subscription Requests and E accepting the request cf Fig 17 This has nothing to do with the own role as Portal Administrator F In the next step the administrator gets the Portal Administrator privilege After clicking on All Users choosing the own AAI user clicking on Edit G the properties of the AAI user are shown and can be edited cf Fig 18 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 29 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED SNAportal 1 0 5 Admin portaladmin Portal Administrator Home Role Management Subscriptions for Role TARWIS User 1 E10F7CBD7C My Roles Add a Role AS Pending Subscriptions a ment User Name User ID Status Subscribed On Actions K Se dla Ral aA Anwander Markus 2153294 gridlab21 unibe ch Pending 21 06 2010 Details Accept Delete Invite Send Email Add a User
80. ssword to givenname7 surname7 lt user7 example com gt Send username and password to givenname8 surname8 lt user8 example com gt Send username and password to givenname9 surname9 lt user9 example com gt Send username and password to givenname10 surnamei0 lt useri0 example com gt Send username and password to givennameil surname11 lt userl11 example com gt Send username and password to givennamei2 surname12 lt useri2 example com gt Send username and password to givenname13 surname13 lt user13 example com gt Send username and password to givenname14 surname14 lt useri4 example com gt Figure 13 User administration import users Small medium scale focused research project STREP WISEBED In the menu Preferences you can modify several preferences such expiration date attributes email settings and more In the menu Statistics you get an overview about the statistics and the possibility to maintain the database 5 Administration of User Roles and Actions In this Section the administration of user roles according to the local testbed is described First the administrator has to login with its AAI login and register for a role e g TARWIS User as shown in Section 7 2 In the next step the AAI login of the user has to get the Portal Administrator role in the SNA thus it can administrate the roles of all other AAI users Figure 14 User role administration login as user portaladmin Welcome to the SNAportal 1
81. t the request The user gets informed by email when it 1s accepted or not accepted for the requested role E By clicking on List My Roles in the left menu the user can see its roles including the status cf Fig 32 F The user can also Unsubscribe for a role 7 3 Binary Code Image for Experiments The behavior of the sensor nodes only depends on the software running on the nodes This software 1s developed by the user There is no pre installed software 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 40 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED Subscribe to a Role Click on Subscribe to subscribe for the following role Role Title TARWIS User Role Description The role owner asks you to complete your subscription request with the information items shown below Some of these information items cannot be edited because they are provided by your Home Organization Required information items which can be edited must not be empty The subscription request cannot be accepted unless all empty form fields are filled in Cancel C 5 If you click on Subscribe a subscription request is sent to the role provider He or she will accept or reject your subscription request in the next few days You might want to regularly check your list of pending subscription requests and your list of subscribed roles for the latest status of th
82. tes minimum and XX MaxPermSize to half of the available memory or 512MBytes minimal Tomcat user is tomcat55 In etc tomcat5 5 server xml replace the AJP 1 3 Connector on port 8009 line 105 vi etc tomcat5 5 server xml lt Connector port 8009 address 127 0 0 1 enableLookups false redirectPort 443 protocol AJP 1 3 tomcatAuthentication false gt Other connectors are not needed when Apache is run in front of Tomcat so they should be commented out 1 e the Connector for port 8180 2 3 Shibboleth IdP 2 0 Installation Remove XML Xerces libraries that came with the Tomcat distribution from SCATALINA_HOME common endorsed rm usr share tomcat5 5 common endorsed xercesImpl jar rm usr share tomcat5 5 common endorsed xml apis Get Shibboleth IdP 2 0 0 cd opt curl O http www iam unibe ch wisebed shibboleth idp 2 0 0 bin zip jar xf shibboleth idp 2 0 0 bin zip rm shibboleth idp 2 0 0 bin zip Install the Shibboleth IdP package in opt shibboleth idp 2 0 0 and the webapplication in SCATALINA_HOME webapps Endorse libraries from the Shibboleth IdP tar ball in directory SCATALINA_HOME common endorsed cd opt identityprovider cp endorsed x jar usr share tomcat5 5 common endorsed Run the ant tasks to install the Shibboleth IdP software chmod 755 ant sh ant sh Is this a new installation Answering yes will overwrite your current configurat io
83. tory TARWISServer We suggest you use opt TARWISServer but you are free to change it cd TARWIS 4 0 cp r TARWISServer opt Then go to the TARWISServer folder and run the script change_ URL in _WSDL _files sh cd opt TARWISServer sh change_URL_in_WSDL_files sh 6 6 WebGUI System setup Move the directory portal to the apache folder that is accessible from the outside most likely var www 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 35 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED If you already have something there remove this directory first rm rf var www portal cd TARWIS_4 0 cp r portal var www Change the ownership of var www portal such that php apache can access all files chown R www data www data var www portal Test if the access to this directory works with your browser go to https j your_portal_server_url portal TARWIS When you access the directory you should be first prompted to the Shibboleth Login Interface and then get to the overview screen of the Testbed Management System of TARWIS This step requires the Shibboleth Service Provider to be installed on this machine check ps aux grep shibd if the daemon is running If you do not have this software installed yet check out the Section 2 in this document how to do that 6 6 1 Logo Every partner shoul
84. ttom of the site the output of the sensor nodes of the chosen experiment is displayed as shown in Fig 50 G On the left side the nodes connectivity on the node map is displayed as soon as nodes transmits packets and discover each other H On the right side an output window including a Reset button and a command line is displayed for each sensor node used in the experiment I The output window can be switched off for performance and clearness reasons by clicking in the output checkbox J If the user notices that a node misbehaves e g is stuck in an endless loop or similar it can reset the node using the Reset button K Furthermore the user can send commands to the sensor nodes using the command line The set of com mands which can be used is the same as for the control of a local physical testbed and depends on the Operating system on the sensor nodes L It is also possible to reset all nodes with one click and send a command parallel to all sensor nodes 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 47 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED 8 4 Finishing Experiments After finishing or canceling an experiment all results are stored in the designated TARWIS database The experiments results and further information about the experiment are stored using WiseML Wireless Sensor Network Markup Language as de
85. ulty A choose Faculty A in the list Fill in Name a Short Description and an Entitlement Prefix Now press the Create button Now fill in the Helpdesk information and press the Save button as shown in Fig 4 In this menu it is possible to e Invite an user as administrator for this group and all its sub groups later in this tutorial e Change the helpdesk information e Change the mail templates for user notifications e Enabling and disabling this group After creating all faculties and departments click on Group List to get an overview as shown in Fig 5 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 23 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED Group Create List Manage User Create List Import Preferences Statistics Logout Create Group Name departments Short Description Department C SubGroup of MainGroup facultya Faculty A departmenta Department A departmentb Department B facultyb Faculty B facultyc Faculty C rvsphd RVS PHD students testusers Test Users Entitlement prefix https gridlab21 unibe ch department_c gt gt Create Figure 3 User administration create group Group Create List Manage User Create List Import Preferences Statistics Logout D The group facultyb has been created fecultyh Administrator of thia group The
86. vations Upcoming Reservations User K 858047 gridlab2 1 unibe ch Experiment ID GpTleC v4s Name Description no description supplied Start 2011 02 18T09 15 00 End 2011 02 18T10 29 59 Modify Reservation i Configure Experiment M Delete Reservation N Figure 41 Reservation my reservations K The unique ID of the experiment owner the ID of the experiment the name and description if available and the start and end time of the experiment are displayed L The user can modify the reservation button Modify Reservation or 224460 WISEBED Deliverable TR TARWIS USER MANUAL Page 43 of 53 Call identifier FP7 ICT 2007 2 ICT 2007 1 6 Small medium scale focused research project STREP Contract No 224460 WISEBED M can configure the experiment button Configure Experiment or N delete the reservation button Delete Experiment see Section 8 2 Reservation Experiment Configuration Experiment Monitoring Testbed Management Testbed Map Figure 42 Reservation menu O By clicking on the Reservation Testbed Map tab cf 42 P the user can find the map of the positions of all nodes of the testbed cf Fig 43 Q On the right side there are additional information about the nodes ID type description capabilities El di UBERNTestbed HE umwisebednodeubernmsb1 E E um wisebed nodeubernmsb2 E E um wisebed inodeubernimsb3 ce BE umwisebednodeubemmsb4 E urnwisebed inodeube

Download Pdf Manuals

image

Related Search

Related Contents

Lenco BTT-100 loudspeaker  Samsung YP-R1JEB User Manual  Télécharger la fiche produit  nanoloop 2.5  Bandridge BCP271  92A02 - Journées de la Recherche Porcine  Stick déodorant – 30g  Bedienungsanleitung (Deutsch)  入札説明書 [PDFファイル/540KB]  LUBRIFIANT OCULAIRE  

Copyright © All rights reserved.
Failed to retrieve file