Project

General

Profile

Fifebatch1 info » History » Version 6

Dennis Box, 06/02/2015 05:47 PM

1 2 Dennis Box
h1. Fifebatch info
2 1 Dennis Box
3 2 Dennis Box
covers: jobsub v0.2.1, client and server.  Server address is fifebatch.fnal.gov and is served by fifebatch1.fnal.gov and fifebatch2.fnal.gov as of 6/2/15
4 1 Dennis Box
5 1 Dennis Box
6 1 Dennis Box
h3. Steering jobs with --resource-provides
7 1 Dennis Box
8 2 Dennis Box
* This information is specific to SERVER https://fifebatch.fnal.gov:8444 
9 2 Dennis Box
** all slots on fifebatch1 and fifebatch2 are grid slots, there are no local batch. The -g flag is on by default
10 2 Dennis Box
** steering to quota slots, opportunistic slots, offsite, fermigrid and amazon is supported using --resource-provides.   The --opportunistic flag has no effect on this server other than to spit out a warning.
11 1 Dennis Box
12 1 Dennis Box
13 3 Dennis Box
* Quota'ed slots on fermigrid
14 3 Dennis Box
** --resource-provides=usage_model=DEDICATED
15 3 Dennis Box
* Opportunistic slots on fermigrid
16 3 Dennis Box
** --resource-provides=usage_model=OPPORTUNISTIC
17 3 Dennis Box
* for OSG sites
18 3 Dennis Box
** --resource-provides=usage_model=OFFSITE
19 4 Dennis Box
** should provide a --site directive as well
20 5 Dennis Box
** to query what sites are supported at any given time see [[Jobsub_status]]
21 6 Dennis Box
22 6 Dennis Box
h3. Querying what values of --resource-provides are configured
23 6 Dennis Box
24 6 Dennis Box
* to see what values are configured into the jobsub server submit a bogus value and read the error that results :
25 6 Dennis Box
<pre>
26 6 Dennis Box
$jobsub_submit   --group nova --resource-provides usage_model=AN_OBVIOUSLY_WRONG_ENTRY file://$HOME/test_grid_env.sh
27 6 Dennis Box
/fife/local/scratch/uploads/nova/dbox/2015-06-02_174556.601288_2158/test_grid_env.sh_20150602_174557_9894_0_1.cmd
28 6 Dennis Box
29 6 Dennis Box
RESPONSE ERROR:
30 6 Dennis Box
illegal --resource-provides value: AN_OBVIOUSLY_WRONG_ENTRY for option: usage_model is not supported on fifebatch2.fnal.gov according to your config file /opt/jobsub/server/conf/jobsub.ini.  Legal values are:FERMICLOUD_PRIV1,FERMICLOUD_PRIV,FERMICLOUD_PP_PRIV1,FERMICLOUD_PP_PRIV,FERMICLOUD_PP,FERMICLOUD,OFFSITE,PAID_CLOUD,DEDICATED,OPPORTUNISTIC,SLOTTEST,PAID_CLOUD_TEST
31 6 Dennis Box
32 6 Dennis Box
33 6 Dennis Box
JOBSUB SERVER CONTACTED     : https://fifebatch2.fnal.gov:8443
34 6 Dennis Box
JOBSUB SERVER RESPONDED     : https://fifebatch2.fnal.gov:8443
35 6 Dennis Box
JOBSUB SERVER RESPONSE CODE : 200 (Success)
36 6 Dennis Box
JOBSUB SERVER SERVICED IN   : 1.06240510941 sec
37 6 Dennis Box
JOBSUB CLIENT FQDN          : fermicloud326.fnal.gov
38 6 Dennis Box
JOBSUB CLIENT SERVICED TIME : 02/Jun/2015 17:45:57
39 6 Dennis Box
</pre>
40 6 Dennis Box
41 6 Dennis Box
42 4 Dennis Box
* Fermicloud
43 4 Dennis Box
** --resource-provides=usage_model=FERMICLOUD
44 4 Dennis Box
* for Amazon EC2
45 4 Dennis Box
** --resource-provides=usage_model=PAID_CLOUD
46 4 Dennis Box
** this option is very much in the alpha development stage and will not work unless you have made prior arrangements for payment