diff --git a/docs/site/vobox_htc_arc.md b/docs/site/vobox_htc_arc.md index e2104a81668e43a7f6ae4b17d4d95cc14148e273..835c95d1790cebdf4f5b3799891bc74ec0513f24 100644 --- a/docs/site/vobox_htc_arc.md +++ b/docs/site/vobox_htc_arc.md @@ -125,23 +125,22 @@ This configuration is needed for HTCondor that _used_ run a _JobRouter_ (not nee ### Install HTCondor on EL 9 -1. Install the HTCondor 10.x repository rpm: +1. Install the HTCondor LTS ("stable") release: ```console - ~# yum install https://research.cs.wisc.edu/htcondor/repo/10.x/htcondor-release-current.el9.noarch.rpm + ~# (umask 077; uuidgen > ~/pool-pwd-$$.txt) + ~# curl -fsSL https://get.htcondor.org | GET_HTCONDOR_PASSWORD=`cat ~/pool-pwd-$$.txt` /bin/bash -s -- --no-dry-run --channel stable ``` -2. Install HTCondor 10.x: +2. Move the original configuration file out of the way: ```console - ~# cd - ~# yum update - ~# yum install condor + ~# mv /etc/condor/config.d/00-minicondor ~/00-minicondor.orig ``` 3. Add the following configuration contents: - ??? info "/etc/condor/config.d/00-minicondor.vobox" + ??? info "/etc/condor/config.d/99-minicondor.vobox" ```console # HTCONDOR CONFIGURATION TO CREATE A POOL WITH ONE MACHINE @@ -157,51 +156,52 @@ This configuration is needed for HTCondor that _used_ run a _JobRouter_ (not nee # See the Quick Start Installation guide at: # https://htcondor.org/manual/quickstart.html # - + # --- NODE ROLES --- - + # Every pool needs one Central Manager, some number of Submit nodes and # as many Execute nodes as you can find. Consult the manual to learn # about addtional roles. - + use ROLE: CentralManager use ROLE: Submit # --> next line commented out to prevent jobs from running on this host: # use ROLE: Execute - + # --- NETWORK SETTINGS --- - + # Configure HTCondor services to listen to port 9618 on the IPv4 # loopback interface. - # --> next line commented out to allow job submissions to remote CEs: - # NETWORK_INTERFACE = 127.0.0.1 + NETWORK_INTERFACE = 127.0.0.1 + # --> next line added to allow job submissions to remote CEs: + NETWORK_INTERFACE = * BIND_ALL_INTERFACES = False CONDOR_HOST = 127.0.0.1 # --> next line added to avoid condor_status errors: CONDOR_HOST = $(HOSTNAME) - + # --- SECURITY SETTINGS --- - + # Verify authenticity of HTCondor services by checking if they are # running with an effective user id of user "condor". SEC_DEFAULT_AUTHENTICATION = REQUIRED SEC_DEFAULT_INTEGRITY = REQUIRED ALLOW_DAEMON = condor@$(UID_DOMAIN) ALLOW_NEGOTIATOR = condor@$(UID_DOMAIN) - + # Configure so only user root or user condor can run condor_on, # condor_off, condor_restart, and condor_userprio commands to manage # HTCondor on this machine. # If you wish any user to do so, comment out the line below. ALLOW_ADMINISTRATOR = root@$(UID_DOMAIN) condor@$(UID_DOMAIN) - + # Allow anyone (on the loopback interface) to submit jobs. ALLOW_WRITE = * # Allow anyone (on the loopback interface) to run condor_q or condor_status. ALLOW_READ = * - + # --- PERFORMANCE TUNING SETTINGS --- - + # Since there is just one server in this pool, we can tune various # polling intervals to be much more responsive than the system defaults # (which are tuned for pools with thousands of servers). This will @@ -214,13 +214,16 @@ This configuration is needed for HTCondor that _used_ run a _JobRouter_ (not nee SHADOW_QUEUE_UPDATE_INTERVAL = 10 UPDATE_INTERVAL = 5 RUNBENCHMARKS = 0 - + # --- COMMON CHANGES --- - + # Uncomment the lines below and do 'sudo condor_reconfig' if you wish # condor_q to show jobs from all users with one line per job by default. #CONDOR_Q_DASH_BATCH_IS_DEFAULT = False #CONDOR_Q_ONLY_MY_JOBS = False + + # next line added to run only the daemons necessary on a VObox + DAEMON_LIST = MASTER, SCHEDD, COLLECTOR ``` ??? info "/etc/condor/config.d/99-alice-vobox.conf" @@ -249,6 +252,7 @@ This configuration is needed for HTCondor that _used_ run a _JobRouter_ (not nee 4. Restart HTCondor now and automatically at boot time: ```console + ~# systemctl restart condor ~# systemctl enable --now condor ``` @@ -257,13 +261,12 @@ This configuration is needed for HTCondor that _used_ run a _JobRouter_ (not nee ```console ~# pstree | grep condor |-condor_master-+-condor_collecto - | |-condor_negotiat | |-condor_procd | |-condor_schedd | `-condor_shared_p ``` -### LDAP and VObox Configuration +### LDAP and VObox Configuration (for the ALICE grid team) In the __Environment__ section, these values need to be added/adjusted as needed: