Tags:
create new tag
,
view all tags
---+ Certifying WMS HOWTOS %TOC% ---++ Checks before starting * hardware requirements for WMS & L&B - see [[https://wiki.egi.eu/wiki/WMS_best_practices][WMS best practices]] * disable yum-autoupdate * disable puppet (if "allowed") * check eventual important notes for WMS and L&B, and UI ---++ EMI UI The EMI UI for the certification can be installed following the instructions reported [[https://twiki.cern.ch/twiki/bin/view/EMI/GenericInstallationConfigurationEMI1][here]]. %BR% A further configuration is required in order to match the resources tagged with other.GlueCEStateStatus == "Testing": %BR% %BR% In =/etc/glite-wms/dteam/glite_wmsui.conf= and =/etc/glite-wms/dteam/glite_wms.conf= comment out the following line: <verbatim> // requirements = other.GlueCEStateStatus == "Production"; </verbatim> ---++ WMS ---+++ BDII The wms should be configured in order to point to a bdii that contains both production and testing resources, like =cert-42.cnaf.infn.it= ---+++ Normal submission In order to test a simple submission, submit a jdl with the following command from a UI (after having created a dteam or testers proxy): <verbatim> glite-wms-job-submit -a -c wms_XXX.conf ls.jdl where wms_XXX.conf points to the wms being tested: WmsClient = [ ErrorStorage="/var/tmp"; OutputStorage= "/tmp"; ListenerStorage="/tmp"; virtualorganisation="dteam"; RetryCount = 0; WMProxyEndPoints = {"https://XXX.cnaf.infn.it:7443/glite_wms_wmproxy_server"}; rank = -other.GlueCEStateEstimatedResponseTime; ]; and ls.jdl: [ Executable = "ls.sh"; Arguments = "-al"; requirements = RegExp("/cream-", other.GlueCEUniqueID) && other.GlueCEStateStatus == "Testing"; retrycount = 4; shallowretrycount = 3; StdError = "stderr.log"; StdOutput = "stdout.log"; InputSandbox = "ls.sh"; OutputSandbox = {"stderr.log", "stdout.log"}; ] be sure to have ls.sh in the current directory containing: #!/bin/sh /bin/ls $1 </verbatim> The command returns the jobid of the job. %BR% Check for the job status via the following command: <verbatim> glite-wms-job-status _jobid_ where _jobid_ is the jobid returned by the submit command. </verbatim> When the job attains the _Done Success_ status try to retrieve the job output via the following command: <verbatim> glite-wms-job-output _jobid_ </verbatim> ---++ Advisory #4039 Submitting this JDL ([[%ATTACHURL%/wms_4039.jdl][wms_4039.jdl]]) will cause arbitrary code to be run as 'glite' user on the WMS, when time to renew the user proxy. It must select only CREAM CEs, so as to trigger the ICE's (WMS component that submits to CREAM) proxy renewal mechanism. Using a short proxy results in an almost immediate execution. ---++ Standard conformance tests (always) <verbatim> # yum install glue-validator # glue-validator -t glue1 -h cert-XX.cnaf.infn.it -p 2170 -b o=grid # glue-validator -t glue2 -h cert-XX.cnaf.infn.it -p 2170 -b o=glue </verbatim>
Attachments
Attachments
Topic attachments
I
Attachment
Action
Size
Date
Who
Comment
jdl
wms_4039.jdl
manage
0.4 K
2012-10-08 - 07:59
CristinaAiftimiei
JDL to test #4039
E
dit
|
A
ttach
|
PDF
|
H
istory
: r6
<
r5
<
r4
<
r3
<
r2
|
B
acklinks
|
V
iew topic
|
M
ore topic actions
Topic revision: r6 - 2012-11-13
-
FabioCapannini
Home
Site map
CEMon web
CREAM web
Cloud web
Cyclops web
DGAS web
EgeeJra1It web
Gows web
GridOversight web
IGIPortal web
IGIRelease web
MPI web
Main web
MarcheCloud web
MarcheCloudPilotaCNAF web
Middleware web
Operations web
Sandbox web
Security web
SiteAdminCorner web
TWiki web
Training web
UserSupport web
VOMS web
WMS web
WMSMonitor web
WeNMR web
IGI Documentation
Repositories specifications
Installation and Configuration Guides
Updates Guides
Services/Node Types List
IGI Updates Calendar
Tips & Tricks
Use Cases & Troubleshooting
Site Admin Corner
IGI Release Management
Integration Process
TODO List
IGI Testing & Certification
Certification Testbed
Blah testing
CREAM testing
HLR testing
Storm testing
UI testing
VOMS testing
WMS testing
WN testing
IGIRelease Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback