geonmo.htcondor

ansible-htcondor

=========

This role helps you install and set up the HTCondor Job Manager. We aimed to replicate the same environment as the get_htcondor script found on the HTCondor homepage, with additional settings specific to our institution.

Requirements


More testing is needed, but so far, there are no special requirements. This role does need to be run on an EL (Enterprise Linux) system because it uses the yum package manager. Support for other operating systems isn't available right now, but we would consider contributions for this.

Role Variables


This role still has room for improvement. Several features are available as variables but are not fully implemented yet. Below are the default settings from the default/main.yml file for this role.

# defaults file for roles/ansible-htcondor
condor_version: "9.0"
condor_admin: ""         #[email protected]
condor_daemon_list: ""   # "MASTER,SCHEDD,STARTD,GANGLIAD"
condor_domain: "{{ ansible_domain }}"
condor_host: ""
condor_name: ""
condor_pool_password_file_path: "/etc/condor/passwords.d/POOL"
condor_pool_password: "hello world"
enable_dynamicslot: False
enable_singularity: False
firewall_lowport: 9000
firewall_highport: 9999
firewall_whitelist: []
step: "default"
extra: ""

In this role, the configuration files are saved as 01-cluster.conf and 02-local.conf in the /etc/condor/config.d/ directory. The cluster.conf file holds common settings for the HTCondor Pool, while the local.conf file contains machine-specific settings, like condor_daemon_list.

  • condor_version : Choose the HTCondor version to install. Supported versions are only 9.0 and later (LTS: 9.0, 10.0).
  • condor_admin : Email address of the administrator for the HTCondor cluster.
  • condor_daemon_list : Recommended settings based on the official installation script:
    • CentralManager: MASTER, NEGOTIATOR, COLLECTOR
    • Submit: MASTER, SCHEDD
    • Execute: MASTER, STARTD
  • condor_domain : Domain settings for FILESYSTEM_DOMAIN and UID_DOMAIN in HTCondor.
  • condor_host : Fully Qualified Domain Name (FQDN) of the CentralManager.
  • step : Select the action to perform (default [install+config], install, or config).

Example Playbook


Here’s a modified version of the settings we use. Adjust the configuration with the following details:

- hosts: servers
  roles:
  - role: geonmo.htcondor 
    condor_admin: "[email protected]"
    condor_daemon_list: "MASTER, STARTD"
    condor_domain: "localhost.lo"
    condor_host: "condor.local.lo"
    condor_name: "HTCondor Cluster"
    enable_dynamicslot: true
    enable_singularity: true

License


BSD

Author Information


Email: geonmo@kisti.re.kr

Informazioni sul progetto

Supports installation and basic setup of the HTCondor Job Manager program developed by the University of Wisconsin.

Installa
ansible-galaxy install geonmo.htcondor
Licenza
Unknown
Download
283
Proprietario