Changes between Version 6 and Version 7 of InstallingUsingRPMS
- Timestamp:
- 06/12/11 16:45:38 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallingUsingRPMS
v6 v7 271 271 }}} 272 272 273 Add appropriate rights for the `qcg_comp` and ` grms` users in the Maui scheduler configuaration file:273 Add appropriate rights for the `qcg_comp` and `qcg_broker` users in the Maui scheduler configuaration file: 274 274 {{{ 275 275 #!div style="font-size: 90%" … … 278 278 # primary admin must be first in list 279 279 ADMIN1 root 280 ADMIN2 grms280 ADMIN2 qcg_broker 281 281 ADMIN3 qcg_comp 282 282 }}} … … 365 365 {{{#!xml 366 366 <?xml version="1.0" encoding="UTF-8"?> 367 <sm: qcgCore368 xmlns:sm="http://schemas.q cg-project.com/core/2009/01/config"369 xmlns="http://schemas.q cg-project.com/comp/2009/01/config"370 xmlns:smc="http://schemas.q cg-project.com/comp/2009/01/config"367 <sm:QCGCore 368 xmlns:sm="http://schemas.qoscosgrid.org/core/2011/04/config" 369 xmlns="http://schemas.qoscosgrid.org/comp/2011/04/config" 370 xmlns:smc="http://schemas.qoscosgrid.org/comp/2011/04/config" 371 371 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 372 372 373 373 <Configuration> 374 374 <sm:ModuleManager> 375 <sm:Directory>/opt/plgrid/qcg/ qcg/lib/qcg-core/modules/</sm:Directory>376 <sm:Directory>/opt/plgrid/qcg/ qcg/lib/qcg-comp/modules/</sm:Directory>375 <sm:Directory>/opt/plgrid/qcg/lib/qcg-core/modules/</sm:Directory> 376 <sm:Directory>/opt/plgrid/qcg/lib/qcg-comp/modules/</sm:Directory> 377 377 </sm:ModuleManager> 378 378 379 379 <sm:Service xsi:type="qcg-compd" description="QCG-Computing"> 380 380 <sm:Logger> 381 <sm:Filename>/opt/plgrid/var/log/qcg-comp/qcg-comp .log</sm:Filename>381 <sm:Filename>/opt/plgrid/var/log/qcg-comp/qcg-compd.log</sm:Filename> 382 382 <sm:Level>INFO</sm:Level> 383 383 </sm:Logger> … … 390 390 <sm:Authentication> 391 391 <sm:Module xsi:type="sm:atc_transport_gsi.service"> 392 <sm:X509CertFile>/opt/plgrid/qcg/ qcg/etc/certs/qcgcert.pem</sm:X509CertFile>393 <sm:X509KeyFile>/opt/plgrid/qcg/ qcg/etc/certs/qcgkey.pem</sm:X509KeyFile>392 <sm:X509CertFile>/opt/plgrid/qcg/etc/certs/qcgcert.pem</sm:X509CertFile> 393 <sm:X509KeyFile>/opt/plgrid/qcg/etc/certs/qcgkey.pem</sm:X509KeyFile> 394 394 </sm:Module> 395 395 </sm:Authentication> … … 405 405 <sm:Module xsi:type="pbs_jsdl_filter"/> 406 406 <sm:Module xsi:type="atz_ardl_filter"/> 407 <sm:Module xsi:type="sm:general_python" path="/opt/plgrid/qcg/ qcg/lib/qcg-comp/modules/python/monitoring.py"/>408 409 <sm:Module xsi:type="submission_drmaa" path="/opt/plgrid/qcg/ qcg/lib/libdrmaa.so"/>410 <sm:Module xsi:type="reservation_python" path="/opt/plgrid/qcg/ qcg/lib/qcg-comp/modules/python/reservation_maui.py"/>407 <sm:Module xsi:type="sm:general_python" path="/opt/plgrid/qcg/lib/qcg-comp/modules/python/monitoring.py"/> 408 409 <sm:Module xsi:type="submission_drmaa" path="/opt/plgrid/qcg/lib/libdrmaa.so"/> 410 <sm:Module xsi:type="reservation_python" path="/opt/plgrid/qcg/lib/qcg-comp/modules/python/reservation_maui.py"/> 411 411 412 412 <sm:Module xsi:type="notification_wsn"> … … 421 421 422 422 <sm:Module xsi:type="application_mapper"> 423 <ApplicationMapFile>/opt/plgrid/qcg/ qcg/etc/application_mapfile</ApplicationMapFile>423 <ApplicationMapFile>/opt/plgrid/qcg/etc/application_mapfile</ApplicationMapFile> 424 424 </sm:Module> 425 425 … … 439 439 440 440 </Configuration> 441 </sm: qcgCore>441 </sm:QCGCore> 442 442 }}} 443 443 }}} … … 459 459 a human readable description of the cluster 460 460 461 == Configuring BAT accounting module == 462 In order to report resource usage to the central PL-Grid accounting service you must enable the `bat_updater` module. You can do this by including the following snippet in the aforementioned configuration file (`/opt/plgrid/qcg/qcg/etc/qcg-comp.xml`). Please put the following snippet just before the `Database` section: 463 {{{ 464 #!div style="font-size: 90%" 465 {{{#!xml 466 <sm:Module xsi:type="bat_updater"> 467 <BATServiceURL>tcp://acct.grid.cyf-kr.edu.pl:61616</BATServiceURL> 468 <SiteName>psnc-qcg-plgrid</SiteName> 469 <QueueName>test-jobs</QueueName> 470 </sm:Module> 471 }}} 472 }}} 473 where: 474 * BATServiceURL : URL of the BAT accounting service 475 * !SiteName : local site name as reported to the BAT service 476 * !QueueName : queue name to which report usage data 477 461 == Configuring BAT accounting cron job == 462 **TODO** 478 463 = Note on the security model = 479 464 The QCG-Computing can be configured with various authentication and authorization modules. However in the typical deployment we assume that the QCG-Computing is configured as in the above example, i.e.: … … 504 489 * `releaseres` 505 490 * `checknode` 506 If any of the above commands is not installed in a standard location (e.g. `/usr/bin`) you may need to edit the `/opt/plgrid/qcg/ qcg/etc/sysconfig/qcg-compd` file and set the `PATH` variable appropriately, e.g.:491 If any of the above commands is not installed in a standard location (e.g. `/usr/bin`) you may need to edit the `/opt/plgrid/qcg/etc/sysconfig/qcg-compd` file and set the `PATH` variable appropriately, e.g.: 507 492 {{{ 508 493 #!div style="font-size: 90%" … … 546 531 {{{#!sh 547 532 <?xml version="1.0" encoding="UTF-8"?> 548 <sm: qcgCore549 xmlns:sm="http://schemas.q cg-project.com/core/2009/01/config"550 xmlns="http://schemas.q cg-project.com/comp/2009/01/config"551 xmlns:smc="http://schemas.q cg-project.com/comp/2009/01/config"533 <sm:QCGCore 534 xmlns:sm="http://schemas.qoscosgrid.org/core/2011/04/config" 535 xmlns="http://schemas.qoscosgrid.org/comp/2011/04/config" 536 xmlns:smc="http://schemas.qoscosgrid.org/comp/2011/04/config" 552 537 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 553 538 554 539 <Configuration> 555 540 <sm:ModuleManager> 556 <sm:Directory>/opt/ QCG/qcg/lib/qcg-core/modules/</sm:Directory>557 <sm:Directory>/opt/ QCG/qcg//lib/qcg-comp/modules/</sm:Directory>541 <sm:Directory>/opt/qcg/lib/qcg-core/modules/</sm:Directory> 542 <sm:Directory>/opt/qcg/lib/qcg-comp/modules/</sm:Directory> 558 543 </sm:ModuleManager> 559 544 … … 581 566 Enter GRID pass phrase for this identity: 582 567 Creating proxy .................................................................. Done 583 Your proxy is valid until: Wed Sep 16 05:01:02 2009568 Your proxy is valid until: Wed Apr 6 05:01:02 2012 584 569 }}} 585 570 }}} … … 605 590 <bes-factory:NamingProfile>http://schemas.ggf.org/bes/2006/08/bes/naming/BasicWSAddressing</bes-factory:NamingProfile> 606 591 <bes-factory:BESExtension>http://schemas.ogf.org/hpcp/2007/01/bp/BasicFilter</bes- factory:BESExtension> 607 <bes-factory:BESExtension>http://schemas.q cg-project.com/comp/2009/01</bes-factory:BESExtension>592 <bes-factory:BESExtension>http://schemas.qoscosgrid.org/comp/2011/04</bes-factory:BESExtension> 608 593 <bes-factory:LocalResourceManagerType>http://example.com/SunGridEngine</bes-factory:LocalResourceManagerType> 609 <smcf:NotificationProviderURL xmlns:smcf="http://schemas.q cg-project.com/comp/2009/01/factory">http://localhost:2211/</smcf:NotificationProviderURL>594 <smcf:NotificationProviderURL xmlns:smcf="http://schemas.qoscosgrid.org/comp/2011/04/factory">http://localhost:2211/</smcf:NotificationProviderURL> 610 595 </bes-factory:FactoryResourceAttributesDocument> 611 596 }}} … … 615 600 #!div style="font-size: 90%" 616 601 {{{#!sh 617 qcg-comp -c -J /opt/plgrid/qcg/ qcg/share/qcg-comp/doc/examples/jsdl/sleep.xml602 qcg-comp -c -J /opt/plgrid/qcg/share/qcg-comp/doc/examples/jsdl/sleep.xml 618 603 Activity Id: ccb6b04a-887b-4027-633f-412375559d73 619 604 }}} … … 637 622 #!div style="font-size: 90%" 638 623 {{{#!sh 639 cp /opt/plgrid/qcg/ qcg/share/qcg-comp/doc/examples/ardl/oneslot.xml oneslot.xml624 cp /opt/plgrid/qcg/share/qcg-comp/doc/examples/ardl/oneslot.xml oneslot.xml 640 625 }}} 641 626 }}} … … 687 672 In order to expose the !QosCosGrid services externally you need to open the following ports in the firewall: 688 673 * 19000 (TCP) - QCG-Computing 689 * 19001 (TCP) - qcgNotification674 * 19001 (TCP) - QCG-Notification 690 675 * 2811 (TCP) - GridFTP server 691 676 * 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)