Gonçalo Borges wrote:
> Hi All,
>
> Is it possible to configure an UI that submits jobs through different
> RBs according to the established VO in the generated proxy?
> I though that this could be done making a directory as /opt/edg/etc/<VO>
> and configuring files inside, like:
>
> ###
>
> [root@i2g-ui02]# cat edg_wl_ui.conf
> [
> VirtualOrganisation = "<VO>";
> NSAddresses = {"<RB.DOMA.IN>:7772"};
> LBAddresses = {"<RB.DOMA.IN>:9000"}};
> ]
>
> ###
>
> [root@i2g-ui02]# cat edg_wl_ui_cmd_var.conf
> [
> rank = - other.GlueCEStateEstimatedResponseTime;
> requirements = other.GlueCEStateStatus == "Production";
> RetryCount = 3;
> ErrorStorage = "/tmp";
> OutputStorage = "/tmp/jobOutput";
> ListenerPort = 44000;
> ListenerStorage = "/tmp";
> LoggingTimeout = 30;
> LoggingSyncTimeout = 30;
> LoggingDestination = "<RB.DOMA.IN>:9002";
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
That needs to be commented out.
> # Default NS logger level is set to 0 (null)
> # max value is 6 (very ugly)
> NSLoggerLevel = 0;
> DefaultLogInfoLevel = 0;
> DefaultStatusLevel = 0;
> DefaultVo = "unspecified";
> ]
>
> but it's not working for me...
>
> A simple "edg-job-list-match --vo <VO> <JDL FILE>" is always using the
> RB defined in site-info.def at configuration time. I know that I can do
> it like
> "edg-job-list-match --config <RB.CONF> --config-vo <RB-VO.CONF> <JDL
> FILE>" but I wanted a more automatic procedure...
>
> Any suggestions?
This works for "dteam":
--------------------------------------------------------------
$ cat $EDG_LOCATION/etc/edg_wl_ui_cmd_var.conf
[
rank = - other.GlueCEStateEstimatedResponseTime;
requirements = other.GlueCEStateStatus == "Production";
RetryCount = 3;
ErrorStorage = "/tmp";
OutputStorage = "/tmp";
ListenerPort = 44000;
ListenerStorage = "/tmp";
LoggingTimeout = 30;
LoggingSyncTimeout = 30;
# LoggingDestination = "gdrb01.cern.ch:9002";
# Default NS logger level is set to 0 (null)
# max value is 6 (very ugly)
NSLoggerLevel = 0;
DefaultLogInfoLevel = 0;
DefaultStatusLevel = 0;
DefaultVo = "unspecified";
]
--------------------------------------------------------------
$ cat $EDG_LOCATION/etc/dteam/edg_wl_ui.conf
[
VirtualOrganisation = "dteam";
NSAddresses = {"rb104.cern.ch:7772","rb124.cern.ch:7772"};
LBAddresses = {{"rb104.cern.ch:9000"},{"rb124.cern.ch:9000"}};
## HLR location is optional. Uncomment and fill correctly for
## enabling accounting
#HLRLocation = "fake HLR Location"
## MyProxyServer is optional. Uncomment and fill correctly for
## enabling proxy renewal. This field should be set equal to
## MYPROXY_SERVER environment variable
MyProxyServer = "myproxy.cern.ch"
]
--------------------------------------------------------------
Note how you can even load-balance over multiple RBs:
a random RB will be picked; if its NS does not respond,
the next RB is tried. If the NS responds, but the job
submission still fails, the other RB is not tried...
YAIM does not yet support such configurations,
so you have to do that manually.
|