grycap.htcondor
HTCondor 集群角色
这是一个用于安装 HTCondor [HTCondor] 集群的 Ansible 角色(https://research.cs.wisc.edu/htcondor/)。该配方将用于 EC3。
角色变量
可以传递给此角色的变量及其简要描述如下。
# HTCondor 版本: https://research.cs.wisc.edu/htcondor/repo/keys/
# 示例值:
# 9.0
# 9.1
# 9.x
# 10.0
# 10.x
# 23.0
# 23.x
htcondor_version: 10.x
# 域配置
# https://htcondor.readthedocs.io/en/latest/users-manual/submitting-a-job.html#submitting-jobs-using-a-shared-file-system
htcondor_domain: ""
# HTCondor 角色:
# 如果设置了 htcondor_type_of_node,则会被覆盖
htcondor_role_manager: false
htcondor_role_submit: false
htcondor_role_execute: false
# Condor 密码(需要添加到 Vault 吗?)
# 也可以通过 CLI 设置:
# ansible-playbook playbook-htcondor.yml --user cloudadm --extra-vars htcondor_password=changeme
htcondor_password: changeme
# 要安装的节点类型:front, wn
htcondor_type_of_node: 'front'
# 服务器名称
htcondor_server: "{{ ansible_fqdn }}"
# 默认 SSH 用户
htcondor_ssh_user: condoruser
示例剧本
以下是如何安装 HTCondor 前端节点的示例:
- hosts: server
roles:
- { role: 'grycap.htcondor', htcondor_type_of_node: 'front', htcondor_role_manager: true, htcondor_role_submit: true }
以下是如何安装 HTCondor 工作节点的示例:
- hosts: server
roles:
- { role: 'grycap.htcondor', htcondor_type_of_node: 'wn', htcondor_role_execute: true }
贡献本角色
为了保持代码整洁,已禁用对主分支的直接推送。如果您想贡献代码,您必须创建一个分支,上传您的更改,然后创建一个拉取请求。
谢谢!