Skip to content

Instantly share code, notes, and snippets.

@kreczko
Created March 15, 2016 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kreczko/b3e7e3912dabd089cafd to your computer and use it in GitHub Desktop.
Save kreczko/b3e7e3912dabd089cafd to your computer and use it in GitHub Desktop.
HA config
## HTCondor configuration: high availability
## Define the port number on which the condor_had daemon will
## listen. The port must match the port number used
## for when defining HAD_LIST. This port number is
## arbitrary; make sure that there is no port number collision
## with other applications.
HAD_PORT = 51450
HAD_ARGS = -p $(HAD_PORT)
## The following macro defines the port number condor_replication will listen
## on on this machine. This port should match the port number specified
## for that replication daemon in the REPLICATION_LIST
## Port number is arbitrary (make sure no collision with other applications)
## This is a sample port number
REPLICATION_PORT = 41450
REPLICATION_ARGS = -p $(REPLICATION_PORT)
## The following list must contain the same addresses
## as HAD_LIST. In addition, for each hostname, it should specify
## the port number of condor_replication daemon running on that host.
## This parameter is mandatory and has no default value
REPLICATION_LIST = htc00.dice.priv:$(REPLICATION_PORT), htc01.dice.priv:$(REPLICATION_PORT)
## The following list must contain the same addresses in the same order
## as COLLECTOR_HOST. In addition, for each hostname, it should specify
## the port number of condor_had daemon running on that host.
## The first machine in the list will be the PRIMARY central manager
## machine, in case HAD_USE_PRIMARY is set to true.
HAD_LIST = htc00.dice.priv:$(HAD_PORT), htc01.dice.priv:$(HAD_PORT)
## HAD connection time.
## Recommended value is 2 if the central managers are on the same subnet.
## Recommended value is 5 if HTCondor security is enabled.
## Recommended value is 10 if the network is very slow, or
## to reduce the sensitivity of HA daemons to network failures.
HAD_CONNECTION_TIMEOUT = 2
##If true, the first central manager in HAD_LIST is a primary.
HAD_USE_PRIMARY = true
###################################################################
## THE PARAMETERS BELOW ARE ALLOWED TO BE DIFFERENT ON EACH #
## CENTRAL MANAGERS #
## THESE ARE MASTER SPECIFIC PARAMETERS #
###################################################################
## The location of executable files
HAD = $(SBIN)/condor_had
REPLICATION = $(SBIN)/condor_replication
TRANSFERER = $(LIBEXEC)/condor_transferer
DAEMON_LIST = MASTER, COLLECTOR, NEGOTIATOR, GANGLIAD, HAD, REPLICATION
DC_DAEMON_LIST = +HAD, REPLICATION
## Enables/disables the replication feature of HAD daemon
## Default: no
HAD_USE_REPLICATION = true
## Name of the file from the SPOOL directory that will be replicated
## Default: $(SPOOL)/Accountantnew.log
STATE_FILE = $(SPOOL)/Accountantnew.log
## Period of time between two successive awakenings of the replication daemon
## Default: 300
REPLICATION_INTERVAL = 300
# Period of time, in which transferer daemons have to accomplish the
## downloading/uploading process
## Default: 300
MAX_TRANSFERER_LIFETIME = 300
## Period of time between two successive sends of ClassAds to the collector by HAD
## Default: 300
HAD_UPDATE_INTERVAL = 300
## The HAD controls the negotiator, and should have a larger
## backoff constant
MASTER_NEGOTIATOR_CONTROLLER = HAD
MASTER_HAD_BACKOFF_CONSTANT = 360
## The size of the log file
MAX_HAD_LOG = 104857600
MAX_NUM_HAD_LOG = 10
## debug level
HAD_DEBUG = D_COMMAND
## location of the condor_had log file
HAD_LOG = $(LOG)/HADLog
## The size of replication log file
MAX_REPLICATION_LOG = 104857600
MAX_NUM_REPLICATION_LOG = 10
## Replication debug level
REPLICATION_DEBUG = D_COMMAND
## Replication log file
REPLICATION_LOG = $(LOG)/ReplicationLog
## The size of transferer log file
MAX_TRANSFERER_LOG = 104857600
MAX_NUM_TRANSFERER_LOG = 10
## Replication debug level
TRANSFERER_DEBUG = D_COMMAND
## Replication log file
TRANSFERER_LOG = $(LOG)/TransferLog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment