[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Pool setup



On 10/18/2023 12:04 AM, Yang Liu wrote:
Dear experts,

Recently I'm trying to setup a pool for two machines.

I'm setting one of them as CM, submitter and a executer, and the other one as executer only.

I'm following the installation instructions in the doc for V10.x version. But I just can't get the CPU resources in the second machine.

Hi Yang,

I see CONDOR_HOST below is set to an IP address.  Did you set this, or did the get_htcondor installation program? Did you give an IP address when you ran the get.htcondor.org installation command, or a hostname ?  If, for instance,  you gave get_htcondor a hostname, and then changed CONDOR_HOST to be an IP address, you will get the behavior you describe.  As a check if this is the problem, you could run "condor_token_list" as root.... does the "sub" field say "condor@xxxxxxxxxxxxx", or does it say something else like "condor@xxxxxxx"

If the sub field output by condor_token_list gives a hostname instead of an IP address: To fix, you could set CONDOR_HOST back to what it was originally (a hostname), or if DNS is not configured properly on your network, you could
   a) reinstall giving get_htcondor the IP address as well for the "--central-manager" argument, or
   b) add the following line to your config file:  "TRUST_DOMAIN = 192.168.31.74"

More comments inline below ---

Below is the config that I had:

CONDOR_HOST = 192.168.31.74
# For details, run condor_config_val use role:get_htcondor_central_manager
use role:get_htcondor_central_manager
use role:get_htcondor_submit
use role:get_htcondor_execute

Getting the get_htcondor installer to more easily/intuitively allow for a single machine to adopt multiple rolls, like you are doing above, is on our todo list.  Your above configuration will not allow non-root users to submit jobs.  To fix, place the "use role:get_htcondor_submit" as the last line so it appears after the central_manager and execute role lines.

Hope the above helps, feel free to send another message if you are still stuck.

regards,
Todd