Testing Dynamic Information
It has been noticed that there are some mismatches between the dynamic values for the GlueCEStateTotalJobs GlueCEStateWaitingJobs GlueCEStateRunningJobs in the GlueCE entry and the GlueVOView entry. This guide is aimed at helping system administrators troubleshoot the problem.
The following command can be used to query the MDS server on the CE to return the GlueCE and GlueVOView entries for a VO filtering on the attribute that we are interested in. Please replace
ce-host with the host name of the CE and
my-vo with a VO name which you support.
ldapsearch -LLL -x -h ce-host -p 2135 -b mds-vo-name=local,o=grid '(&(|(objectclass=GlueVOView)(objectclass=GlueCE))(GlueCEAccessControlBaseRule=VO:my-vo))' GlueCEStateTotalJobs GlueCEStateWaitingJobs GlueCEStateRunningJobs GlueCEAccessControlBaseRule
- Both show non-zero values.
- Both show zero values.
- There are either no jobs (no problem)
- The dynamic plugins are not working
- One entry shows non-zero and the other entry is zero.
- If the CE is shared and there are no jobs (no problem)
- The dynamic plugins are not working
- Both entries show non-zero and are different.
- If the CE is shared this could be ok so check the jobs in the system.
- Problem with the plugins
Investigating the plugins
There are two plugins that return this information.
/opt/glite/etc/gip/plugin/glite-info-dynamic-ce
and
/opt/glite/etc/gip/plugin/glite-info-dynamic-scheduler-wrapper
Try to run these commands using the following replacing
command one of the scripts above. We need to run this as edginfo to preserve and check for permission.
su - edginfo -c "command"
If the command fails to run, please investigate why not.
If the command runs please check the values returned and compare them to what you observe in the batch system. If there is a disagreement, please try to figure out why the the dynamic plugins are not in agreement with the batch system.