文档首页 > > 安装指南> HTCondor 8.9.2 安装指南> HTCondor集群配置>

condor_config文件配置

condor_config文件配置

分享
更新时间:2021/01/25 GMT+08:00

操作步骤

  1. Manager节点“condor_config”文件信息如下:

    CONDOR_HOST             = 192.168.47.111
    RELEASE_DIR             = /path/to/HTCONDOR/htcondor-8_9_2/release_dir
    LOCAL_DIR               = /data
    LOCAL_CONFIG_DIR        = $(LOCAL_DIR)/config
    LOCAL_CONFIG_FILE       = $(LOCAL_DIR)/condor_config.local
    CONDOR_ADMIN            = root@192.168.47.111
    MAIL                    = /usr/bin/mail
    CONDOR_IDS              = 2001.2001
    
    ALLOW_WRITE             = 192.168.47.42
    ALLOW_READ              = 192.168.47.42
    ALLOW_ADVERTISE_SCHEDD = 192.168.47.*
    ALLOW_ADVERTISE_MASTER = 192.168.47.42
    ALLOW_ADVERTISE_STARTD = 192.168.47.42
    
    use SECURITY : HOST_BASED
    
    LOG                     = $(LOCAL_DIR)/log
    ALL_DEBUG               = D_ALL
    SPOOL                   = $(LOCAL_DIR)/spool
    LOCK                    = $(LOG)
    BIN                     = $(RELEASE_DIR)/bin
    LIB                     = $(RELEASE_DIR)/lib
    SBIN                    = $(RELEASE_DIR)/sbin
    LIBEXEC                 = $(RELEASE_DIR)/libexec
    HISTORY                 = $(RELEASE_DIR)/history
    
    MASTER_LOG              = $(LOG)/MasterLog
    SCHEDD_LOG              = $(LOG)/SchedLog
    SHADOW_LOG              = $(LOG)/ShadowLog
    
    SHADOW_LOCK             = $(LOCK)/ShadowLock
    
    DAEMON_LIST = COLLECTOR MASTER NEGOTIATOR SCHEDD STARTD
    USE_CLONE_TO_CREATE_PROCESSES = False

  2. 提交或执行节点condor_config文件信息如下:

    CONDOR_HOST             = 192.168.47.111
    RELEASE_DIR             = /path/to/HTCONDOR/htcondor-8_9_2/release_dir
    LOCAL_DIR               = /data
    LOCAL_CONFIG_DIR        = $(LOCAL_DIR)/config
    LOCAL_CONFIG_FILE       = $(LOCAL_DIR)/condor_config.local
    CONDOR_ADMIN            = root@192.168.47.111
    MAIL                    = /usr/bin/mail
    CONDOR_IDS              = 2008.2008
    
    ALLOW_WRITE             = 192.168.47.*
    ALLOW_READ              = 192.168.47.*
    
    use SECURITY : HOST_BASED
    LOG                     = $(LOCAL_DIR)/log
    SPOOL                   = $(LOCAL_DIR)/spool
    LOCK                    = $(LOCAL_DIR)/lock
    BIN                     = $(RELEASE_DIR)/bin
    LIB                     = $(RELEASE_DIR)/lib
    SBIN                    = $(RELEASE_DIR)/sbin
    LIBEXEC                 = $(RELEASE_DIR)/libexec
    HISTORY                 = $(RELEASE_DIR)/history
    
    MASTER_LOG              = $(LOG)/MasterLog
    SCHEDD_LOG              = $(LOG)/SchedLog
    SHADOW_LOG              = $(LOG)/ShadowLog
    SHADOW_LOCK             = $(LOCK)/ShadowLock
    
    DAEMON_LIST = MASTER STARTD SCHEDD
    USE_CLONE_TO_CREATE_PROCESSES = False

  3. 执行以下命令重新插入“condor_config”配置(注:管理及作业节点都需要执行)。

    condor_reconfig

  4. 执行以下命令查看condor队列状态(正常为节点核数总和)。

    condor_status

    结果样例如下所示。

分享:

    相关文档

    相关产品

文档是否有解决您的问题?

提交成功!非常感谢您的反馈,我们会继续努力做到更好!
反馈提交失败,请稍后再试!

*必选

请至少选择或填写一项反馈信息

字符长度不能超过200

提交反馈 取消

如您有其它疑问,您也可以通过华为云社区问答频道来与我们联系探讨

智能客服提问云社区提问