Changes between Version 3 and Version 4 of installation_QCG_BES_AR_in_PLGrid

Show
Ignore:
Timestamp:
05/19/11 15:26:06 (13 years ago)
Author:
bartek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • installation_QCG_BES_AR_in_PLGrid

    v3 v4  
    637637}}} 
    638638* Create an advance reservation: 
    639 :* copy the provided sample reservation description file (expressed in ARDL - Advance Reservation Description Language) 
     639 * copy the provided sample reservation description file (expressed in ARDL - Advance Reservation Description Language) 
     640{{{ 
     641#!div style="font-size: 90%" 
     642{{{#!sh 
    640643 $ cp /opt/plgrid/qcg/smoa/share/smoa-comp/doc/examples/ardl/oneslot.xml oneslot.xml 
    641  
    642 :* Edit the <code>oneslot.xml</code> and modify the ''StartTime'' and ''EndTime'' to dates that are in the near future, 
    643 :* Create a new reservation: 
     644}}} 
     645}}} 
     646 * Edit the `oneslot.xml` and modify the `StartTime` and `EndTime` to dates that are in the near future, 
     647 * Create a new reservation: 
     648{{{ 
     649#!div style="font-size: 90%" 
     650{{{#!sh 
    644651 $ smoa-comp -c -D oneslot.xml 
    645652 Reservation Id: aab6b04a-887b-4027-633f-412375559d7d 
    646 :* List all reservations: 
     653}}} 
     654}}} 
     655 * List all reservations: 
     656{{{ 
     657#!div style="font-size: 90%" 
     658{{{#!sh 
    647659 $ smoa-comp -l 
    648660 Reservation Id: aab6b04a-887b-4027-633f-412375559d7d 
    649661 Total number of reservations: 1 
    650 :* Check which hosts where reserved: 
     662}}} 
     663}}} 
     664 * Check which hosts where reserved: 
     665{{{ 
     666#!div style="font-size: 90%" 
     667{{{#!sh 
    651668 $ smoa-comp -s -r aab6b04a-887b-4027-633f-412375559d7d 
    652669 Reserved hosts: 
    653670 worker.example.com[used=0,reserved=1,total=4] 
    654 :* Delete the reservation: 
     671}}} 
     672}}} 
     673 * Delete the reservation: 
     674{{{ 
     675#!div style="font-size: 90%" 
     676{{{#!sh 
    655677 $ smoa-comp -t -r aab6b04a-887b-4027-633f-412375559d7d 
    656678 Reservation terminated. 
    657 :* Check if the grid-ftp is working correctly: 
     679}}} 
     680}}} 
     681 * Check if the grid-ftp is working correctly: 
     682{{{ 
     683#!div style="font-size: 90%" 
     684{{{#!sh 
    658685 $ globus-url-copy gsiftp://your.local.host.name/etc/profile profile 
    659686 $ diff /etc/profile profile 
     687}}} 
     688}}} 
    660689 
    661690= Configuring firewall = 
     
    664693* 19001 (TCP) - Smoa Notification 
    665694* 2811 (TCP) - GridFTP server 
    666 * 9000-9500 (TCP) - GridFTP  port-range (if you want to use different port-range adjust the <code>GLOBUS_TCP_PORT_RANGE</code> variable in the <code>/etc/xinetd.d/gsiftp</code> file) 
     695* 9000-9500 (TCP) - GridFTP  port-range (if you want to use different port-range adjust the `GLOBUS_TCP_PORT_RANGE` variable in the `/etc/xinetd.d/gsiftp` file) 
    667696 
    668697= Maintenance = 
    669 The historic usage information is stored in two relations of the Smoa Computing database: <code>jobs_acc</code> and <code>reservations_acc</code>. You can always archive old usage data to a file  and delete it from the database using the psql client: 
    670   $ psql -h localhost smoa_comp smoa_comp  
    671   Password for user smoa_comp:  
    672   Welcome to psql 8.1.23, the PostgreSQL interactive terminal. 
    673    
    674   Type:  \copyright for distribution terms 
    675        \h for help with SQL commands 
    676        \? for help with psql commands 
    677        \g or terminate with semicolon to execute query 
    678        \q to quit 
    679  
    680   smoa_comp=> \o jobs.acc 
    681   smoa_comp=> SELECT * FROM jobs_acc where end_time < date '2010-01-10'; 
    682   smoa_comp=> \o reservations.acc 
    683   smoa_comp=> SELECT * FROM reservations_acc where end_time < date '2010-01-10'; 
    684   smoa_comp=> \o 
    685   smoa_comp=> DELETE FROM jobs_acc where end_time < date '2010-01-10'; 
    686   smoa_comp=> DELETE FROM reservation_acc where end_time < date '2010-01-10'; 
     698The historic usage information is stored in two relations of the Smoa Computing database: `jobs_acc` and `reservations_acc`. You can always archive old usage data to a file  and delete it from the database using the psql client: 
     699{{{ 
     700#!div style="font-size: 90%" 
     701{{{#!sh 
     702 $ psql -h localhost smoa_comp smoa_comp  
     703 Password for user smoa_comp:  
     704 Welcome to psql 8.1.23, the PostgreSQL interactive terminal. 
     705   
     706 Type:  \copyright for distribution terms 
     707      \h for help with SQL commands 
     708      \? for help with psql commands 
     709      \g or terminate with semicolon to execute query 
     710      \q to quit 
     711 
     712 smoa_comp=> \o jobs.acc 
     713 smoa_comp=> SELECT * FROM jobs_acc where end_time < date '2010-01-10'; 
     714 smoa_comp=> \o reservations.acc 
     715 smoa_comp=> SELECT * FROM reservations_acc where end_time < date '2010-01-10'; 
     716 smoa_comp=> \o 
     717 smoa_comp=> DELETE FROM jobs_acc where end_time < date '2010-01-10'; 
     718 smoa_comp=> DELETE FROM reservation_acc where end_time < date '2010-01-10'; 
     719}}} 
     720}}}