You are here: TWiki > SoftwareTeam Web>Projects>CMSGRAM>CMSGRAMReqs (03 May 2011, AlainRoy?)

CMS GRAM Improvement Requirements

Requirement 1: Clean up Globus cruft

CMS needs tools that are enabled by default on the CE to clean up the old cruft that failed Globus jobs leave behind in the user home directories and the Globus temporary directories. By "old" we mean older than 10 days, though the number should be configurable. Specifically, the following files should be cleaned up:

  1. In each user's home directory:
    1. Old gram_job_mgr*.log files
    2. Old gram_scratch* directories
    3. Old files in the .globus/.gass_cache directory
    4. Old files in the .globus/job directory
  2. Old files in the $GLOBUS_LOCATION/tmp/gram_job_state directory

Requirement 2: Change priority of the Globus gatekeeper

The priority of the globus-gatekeeper process should have a nice level and ionice level of 20 by default. This was requested by CMS as VDT Ticket #5028

Requirement 3: Prevent fork job manager synchronization

We should apply the following patch to the fork job manager poll function so that when there are many Condor-G grid_monitors (which are fork jobs), they are not sychronized.

--- globus/lib/perl/Globus/GRAM/JobManager/fork.pm     2010-09-29 17:59:17.000000000 -0500
+++ globus/lib/perl/Globus/GRAM/JobManager/fork.pm     2010-10-01 10:12:20.000000000 -0500
@@ -464,7 +464,7 @@
        $self->log("poll: job id defined!");
        return { JOB_STATE => Globus::GRAM::JobState::FAILED };
    }
-
+    sleep(int(10+rand(10)));
    $self->log("polling job " . $jobid);
    $_ = kill(0, split(/,/, $jobid));

This is now ticket VDT Ticket #8923

Requirement #4: Extend Condor job manager to be able set accounting groups.

Apply patch written by CMS that extracts FQAN from user's proxy then uses VO information to set Condor accounting group information. This is documented in VDT Ticket #5838

Topic revision: r2 - 03 May 2011 - 20:03:25 - AlainRoy?
Hello, TWikiGuest
Register

 
TWIKI.NET

TWiki | Report Bugs | Privacy Policy

This site is powered by the TWiki collaboration platformCopyright by the contributing authors. All material on this collaboration platform is the property of the contributing authors..