I’m trying to follow
3.13.9.8 Configuring STARTD_ATTRS on a per-slot basis
But it does not seem to work for me. 1.
I tried the following lines in condor_config file: favorite_color = "blue" favorite_season = "spring" STARTD_ATTRS = favorite_color, favorite_season, ${STARTD_ATTRS} SLOT2_favorite_color = "green" SLOT3_favorite_season = "summer" I restarted STARTD and then view the attributes by listing condor_status –l, I did not find any string “favorite” I also could not find this string in any of the logfiles: /usr/local/condor/log/* 2.
I then tried the following lines in condor_config file: FunnyName = "noname" STARTD_ATTRS = FunnyName, $(STARTD_ATTRS) SLOT1_FunnyName = "donald" SLOT2_FunnyName = "mickey" SLOT3_FunnyName = "goofy" I restarted STARTD and then view the attributes by listing condor_status –l, I did not find any string “FunnyName” I also could not find this string in any of the logfiles: /usr/local/condor/log/* What am I doing wrong here ? 3.
I am trying to set ClassAds per machine (or slot of machine in this case). Where do I write the ClassAds – only in file condor_config
? or there are other files ? Thanks, Yuval. -- Yuval Leader Design Automation Engineer, Mellanox Technologies mailto: leader@xxxxxxxxxxxx Tel: +972-74-7236360 Fax: +972-4-9593245 Beit Mellanox. 6th Floor,R-620 P.O.Box 586, Yokneam Industrial Park, 20692 Israel From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx]
On Behalf Of Ian Chesal On Thursday, 23 August, 2012 at 4:43 AM, Yuval Leader wrote:
No. But you can change the prefix. See: http://research.cs.wisc.edu/condor/manual/v7.6/3_3Configuration.html#17909 You can also make per-slot attribute settings and push custom ads to the slots that "name" them: http://research.cs.wisc.edu/condor/manual/v7.6/3_13Setting_Up.html#36580 FunnyName = "noname" STARTD_ATTRS = FunnyName, $(STARTD_ATTRS) SLOT1_FunnyName = "donald" SLOT2_FunnyName = "mickey" SLOT3_FunnyName = "goofy" Now you can see these names with 'condor_status -f "%s\n" FunnyName'.
I'm not sure what you mean by machine names? You define types: SLOT_TYPE_1 = …some config… SLOT_TYPE_2 = …some config… And then you tell Condor to create instances of those type: NUM_SLOTS_TYPE_1 = 1 NUM_SLOTS_TYPE_2 = 2 That'll make slot1@<hostname> be of type 1 and slot2@ and slot3@ be of type 2.
No. Has to be an integer. See: http://research.cs.wisc.edu/condor/manual/v7.6/3_13Setting_Up.html#36499 Regards, - Ian --- Ian Chesal Cycle Computing, LLC Leader in Open Compute Solutions for Clouds, Servers, and Desktops Enterprise Condor Support and Management Tools |