On 10/12/2012 11:05 AM, Andras Hazi wrote:
>
>
>>> On 2012-10-12 07:49 Massimo Sgaravatto wrote:
>>>
>
>> Which one(s) ?
>> Please specify the name of the attribute(s) in glite-ce-glue2.conf
>> and in the *glue2* ldif file(s) that are different
>
> in glite-ce-glue2.conf:
> ExecutionEnvironment_grid106.kfki.hu_PhysicalCPUs = 93
> ExecutionEnvironment_grid106.kfki.hu_LogicalCPUs = 4
>
> in static-file-ce.ldif:
> GlueCEInfoTotalCPUs: 0
These are different things. The relevant attributes for glue1 are:
GlueSubClusterLogicalCPUs
GlueSubClusterPhysicalCPUs
>
> But I've found the right *glue2* related data in ExecutionEnvironment.ldif:
>
> GLUE2ExecutionEnvironmentPhysicalCPUs: 93
> GLUE2ExecutionEnvironmentLogicalCPUs: 4
>
> And the output of lcg-infosites(...) command shows 0 CPU's, which has to be
> the count of TotalCPUs.
>
>
>
>> You can try to run by hand the plugins in /var/lib/bdii/gip/plugin:
>>
>> /sbin/runuser -s /bin/sh ldap -c
>> "/var/lib/bdii/gip/plugin/glite-info-dynamic-ce"
>
> The output is (part of it):
>
> dn:
> GlueCEUniqueID=grid107.kfki.hu:8443/cream-sge-alice,mds-vo-name=resource,o=gridGlueCEInfoLRMSVersion:
> unknown
> GlueCEPolicyAssignedJobSlots: 0
> GlueCEPolicyMaxRunningJobs: 0
> GlueCEInfoTotalCPUs: 0
> GlueCEStateFreeJobSlots: 0
> GlueCEStateFreeCPUs: 0
> GlueCEPolicyMaxCPUTime: 9072
> GlueCEPolicyMaxWallClockTime: 10080
> GlueCEStateStatus: Production
>
> dn:
> GlueCEUniqueID=grid107.kfki.hu:8443/cream-sge-cms,mds-vo-name=resource,o=gridGlueCEInfoLRMSVersion:
> unknown
> GlueCEPolicyAssignedJobSlots: 380
> GlueCEPolicyMaxRunningJobs: 380
> GlueCEInfoTotalCPUs: 380
> GlueCEStateFreeJobSlots: 0
> GlueCEStateFreeCPUs: 0
> GlueCEPolicyMaxCPUTime: 4320
> GlueCEPolicyMaxWallClockTime: 4320
> GlueCEStateStatus: Production
>
> And it seems to be the right dynamic data: GlueCEInfoTotalCPUs: 380
>
>
>
> Now the question is, why can't I see it with lcg-infosites(..) command?
>
>
Did you check the bdii logs ?
You might need to increase the verbosity to DEBUG
>
> Regards
> Andras
|