geonmo.htcondor_ce

htcondor_ce 构建状态 Ansible 角色

为WLCG/EGI站点配置HTCondor CE

灵感来自于Puppet模块Wiki条目。还有OSG文档

需求

  • EL6/7
  • EPEL
  • UMD仓库

角色变量

htcondor_ce_repo_install: true

安装HTCondor仓库

htcondor_ce_repo_development_enable: false

启用开发仓库以获取最新版本

htcondor_ce_batch_system: slurm

选择批处理系统(仅测试了slurm)

htcondor_ce_enable_static_shadow: false

未测试此功能。

htcondor_ce_enable_bdii: true

启用服务的BDII发布

htcondor_ce_uid_domain: "{{ ansible_domain }}"

将本地condor守护进程识别为友好(对批处理系统部署不实用)

htcondor_ce_condor_view_hosts: []

Condor View主机将您的收集器信息路由到全局或站点收集器

htcondor_ce_pool_collector_str: ''

设置适当的路由位置。

htcondor_ce_gsi_regexp: '^\/DC\=ch\/DC\=cern\/OU\=computers\/CN\=(host\/)?([A-Za-z0-9.\-]*)$'


htcondor_ce_benchmark_result: 10.00-HEP-SPEC06
htcondor_ce_execution_env_cores: 16
htcondor_ce_election_hosts:
  - "{{ ansible_fqdn }}"

用于BDII中的发布

htcondor_ce_argus_server: argus.hephy.oeaw.ac.at

Argus服务器

htcondor_ce_argus_port: 8154

Argus服务器端口

htcondor_ce_argus_resourceid: http://authz-interop.org/xacml/resource/resource-type/ce

Argus资源ID

依赖项

  • hephyvienna.grid

示例剧本

- hosts: servers
  vars:
    poolaccounts:
      - name: 'cms%03d'
        uid: 10000
        number: 2
        step: 2
        description: 'CMS VO的标准用户'
        group: cms
        gid: 10000
      - name: 'cmsprd%02d'
        uid: 11000
        number: 2
        step: 2
        description: 'CMS VO的生产用户'
        group: cmsprd
        gid: 11000
        groups: cms
      - name: 'cmspil%02d'
        uid: 12000
        number: 2
        step: 2
        description: 'CMS VO的试点用户'
        group: cmspil
        gid: 12000
        groups: cms
      - name: 'cmssgm'
        uid: 13000
        description: 'CMS VO的软件用户'
        group: cmssgm
        gid: 13000
        groups: cms
    grid_vos:
      - cms
  roles:
    - role: hephyvienna.poolaccounts
    - role: hephyvienna.grid
    - role: hephyvienna.htcondor-ce

许可证

MIT

作者信息

作者:Dietrich Liko,编写于2019年6月

奥地利科学院高能物理研究所

关于项目

HTCondor CE

安装
ansible-galaxy install geonmo.htcondor_ce
许可证
other
下载
198
拥有者