Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Set up a CERN OpenStack virtual machine to run acron jobs. See for more.
echo 'Provisioning acron VM'
# Install what we'll need
sudo yum install -y cern-config-users cern-get-keytab arc-server
# Make sure we ready for Kerberos-authenticated jobs
sudo cern-get-keytab --force
# Open the firewall for the acron communication
sudo firewall-cmd --zone=public --add-port=4241/tcp --permanent
sudo firewall-cmd --reload
# Set up AFS
sudo sed -i"" "s/ \-dynroot//" /etc/sysconfig/openafs
# Let the internet daemon know about the acron communication service
echo -e 'arc 4241/tcp\n' | sudo tee -a /etc/services
sudo service xinetd restart
# Reboot for good measure
sudo reboot now
echo 'Provisioning acron VM complete'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.