[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] FW: Configuring Ubuntu22 cluster, missing config step?



On 3/28/2023 12:36 PM, Moore, Nathan T via HTCondor-users wrote:

Ok, looks like Iâm at the simple security setup stage.  Appreciate all the suggestions!

 


Hi Nathan,

Glad to hear you have your network host name issues sorted!

Especially since you are doing a fresh install, I strongly suggest you just use the "get_hcondor" tool to get a secure and configured working setup in a few minutes with just a couple commands.  This is a lot easier (in my opinion) than installing binaries on your own and then configuring a secure setup.  In one command, get_htcondor will install all the native packages (via apt-get) and also create a secure pool configuration.

To use get_htcondor, see the Admin Quick Start Guide page at https://htcondor.readthedocs.io/en/latest/getting-htcondor/admin-quick-start.html
All the options for get_htcondor are here: https://htcondor.readthedocs.io/en/latest/man-pages/get_htcondor.html

But the steps I recommend are as follows:

1. All you need installed on your Ubuntu22 servers is "curl" and "bash".  If you don't already have the curl command, install it (as root) like so:
   root# apt-get update && apt-get install -y curl

2. Pick a secure password; this password will be required to join your pool.  For the examples below, lets say your password is: some_secret_password (don't really use this!)

3. Install your central manager.  On physlin2.physics.winona.edu  as root enter:
   root# curl -fsSL https://get.htcondor.org | GET_HTCONDOR_PASSWORD="some_secret_password" /bin/bash -s -- --no-dry-run --central-manager physlin2.physics.winona.edu

4. Install your access point (submit host).  On physlin6 as root enter:
  root# curl -fsSL https://get.htcondor.org | GET_HTCONDOR_PASSWORD="some_secret_password" /bin/bash -s -- --no-dry-run --submit physlin2.physics.winona.edu

5. Install your execution points.  On each execution point (physlin20-26), as root enter:
  root# curl -fsSL https://get.htcondor.org | GET_HTCONDOR_PASSWORD="some_secret_password" /bin/bash -s -- --no-dry-run --execute physlin2.physics.winona.edu

6. Test some commands and running a job!  Login as a normal user (i.e. not root) to your access point (physlin6), and try out some commands:
  nmoore$ condor_q
  nmoore$ condor_status
  nmoore$ condor_submit executable="/bin/echo" arguments="Hello, world!" log=hello.log output=hello.out -queue 1
  nmoore$ condor_wait hello.log
  nmoore$ more hello.out
  nmoore$ more hello.log
-- 
Todd Tannenbaum <tannenba@xxxxxxxxxxx>  University of Wisconsin-Madison
Center for High Throughput Computing    Department of Computer Sciences
Calendar: https://tinyurl.com/yd55mtgd  1210 W. Dayton St. Rm #4257
Phone: (608) 263-7132                   Madison, WI 53706-1685