Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

gwmsmon dependency

Sharad Agarwal edited this page May 28, 2020 · 14 revisions

site name, OS, SINGULARITY, MaxCpus, MaxMemMB

The json goes to dictionary gwmsmon_totals which is used by the function fetch_glidein_info in utils.py. The fetch_glidein_info function is called inside siteInfo class.

Name, TotalRunningJobs, TotalRunningCpus, MaxJobsRunning, TotalIdleJobs, TotalIdleCpus, Status

The json goes to dictionary gwmsmon_pool which is used by the function poll. The function is used in utils.py for agent status and putting agents in and out of drain.

has only site names that are used

The json goes to the list mcore_ready in utils.py which is used by siteInfo class and the getSiteWhiteList function in utils.py. It is the list of sites which are ready for multicore.

CpusInUse, CpusPending

The json goes to the dictionary 'gwmsmon_prod_site_summary' in utils.py. This dictionary is used by fetch_glidein_info to check the site pressure.

not used anymore

https://github.com/CMSCompOps/WmAgentScripts/pull/567 remove this call from unified.

sixdays of every site

The six days of every site is used from the dictionary gwmsmon_prod_maxused which is called in fetch_glidein_info function. This is used for site pledge and pressure calculations.

HLT prod view used in equalizor.

This json is used to calculate the total pending pressure at HLT.

Checking high I/O. Used in equalizor

Checking memory/cpu usage of a task. Used in equalizor

Checking run time for the task. Used in equalizor

we also use , http://cms-gwmsmon.cern.ch/prodview/json/%s/summary for a lot of requests from the system. The function(def getGlideMon) is here - https://github.com/CMSCompOps/WmAgentScripts/blob/master/utils.py#L7170 which is being used by the equalizor module. https://github.com/CMSCompOps/WmAgentScripts/blob/master/Unified/equalizor.py

Clone this wiki locally