Skip to content

Instantly share code, notes, and snippets.

View mconcas's full-sized avatar
🌊

Matteo Concas mconcas

🌊
View GitHub Profile
@mconcas
mconcas / 00-docker-worker.config
Last active August 29, 2015 14:25
Condor configuration for a working container. Assuming CONDOR_HOST = ali53xl.to.infn.it
DAEMON_LIST = MASTER, STARTD
CONDOR_HOST = ali53xl.to.infn.it
CCB_ADDRESS = $(CONDOR_HOST)
START = TRUE
SUSPEND = FALSE
PREEMPT = FALSE
KILL = FALSE
## for testing more than one w.c. (worker container <.< ) on the same host ##
NUM_CPUS = 1
#!/bin/bash
export NAME=ScientificCERNSLC
export VERSION_ID=6.6
@mconcas
mconcas / LIST
Last active August 29, 2015 13:59
ainfa01
ainfa02
ainfa03
ainfa04
ainfa05
ainfa06
ainfa07
ainfa08
ainfb01
ainfb02
#!/bin/bash
#Version 0.1.1
#A simple script to verify which nodes in a list, are active on the same network, even if you don't have network administration rights.
#Written by Matteo Concas | email: [email protected]
#Homepage: http://newton.ph.unito.it/~concas
#The mechanism is based on the assumption that if the ping command, with just one package sent (ping -c1 <hostname>), returns 0 it will labeled as "active".
#Obviously is quite reductive as assumption, a node could be active even ping can't reach it, or moreover ping is not enable on network.