Hi Goncalo,
Comment out any RB-specific lines in /opt/edg/etc/edg_wl_ui_cmd_var.conf and
per-VO conf files will be respected, e.g. the following file for dteam would
then ensure that rb.phy.bg.ac.yu is used for DTEAM VO:
[root@ce root]# cat /opt/edg/etc/dteam/edg_wl_ui.conf
[
VirtualOrganisation = "dteam";
NSAddresses = {"rb.phy.bg.ac.yu:7772"};
LBAddresses = {{"rb.phy.bg.ac.yu: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 = "grid.phy.bg.ac.yu"
]
Of course, ensure that per-VO conf files are readable for users!
Best regards, Antun
-----
Antun Balaz
Research Assistant
E-mail: [log in to unmask]
Web: http://scl.phy.bg.ac.yu/
Phone: +381 11 3713152
Fax: +381 11 3162190
Scientific Computing Laboratory
Institute of Physics, Belgrade, Serbia
-----
---------- Original Message -----------
From: Gonçalo Borges <[log in to unmask]>
To: [log in to unmask]
Sent: Wed, 11 Jul 2007 19:07:24 +0100
Subject: [LCG-ROLLOUT] How to set a different RB in the UI according to the VO?
> 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";
> # 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?
>
> Thanks in advance
> Best Regards
> Goncalo Borges
------- End of Original Message -------
|