-
Notifications
You must be signed in to change notification settings - Fork 2
Deployment on OpenStack
TODO
These instructions are a summary of the official CERN docs, here, which will probably be more up-to-date. Make sure you check the official documentation as well.
If you already have a Cloud Infrastructure subscription for your CERN account, skip to Step 3.
Click here and enable the Cloud Infrastructure
service:
TODO
Create the instance:
It takes some time for the machine to start up and be accessible through ssh
.
ssh root@<your-instance-name>
Note: You will need to either be inside CERN network, or to tunnel through
lxtunnel.cern.ch
From outside CERN:
ssh -J <cern-username>@lxtunnel.cern.ch root@<your-instance-name>
Copy the package list from here
sudo yum install -y <package list>
sudo yum remove -y python36 # Just to make sure.
adduser dqm
sudo mkdir -p /data/srv
sudo chown -R dqm /data/srv
sudo su dqm
cd ~
tar -xf dqmgui_installation_package.tar.gz -C dqmgui_deployment
# Start the deployment script, it will take some time to finish
bash /home/dqm/dqmgui_deployment/deploy_dqmgui.sh
# Start all the services
/data/srv/current/config/dqmgui/manage -f dev start "I did read documentation"
firewall-cmd --list-all-zones
firewall-cmd --zone=public --add-port=8030/tcp # online
firewall-cmd --zone=public --add-port=8060/tcp # dev
firewall-cmd --zone=public --add-port=8070/tcp # online/dev
firewall-cmd --zone=public --add-port=8080/tcp # offline
firewall-cmd --zone=public --add-port=8081/tcp # relval
The DQMGUI should now be available at http://<your VM name>.cern.ch:8030/dqm/dev
.
Replace <your VM name>
with the name of the Virtual Machine that you created on openstack (e.g. dev-vm
).
Tip
If you are outside of CERN's network, you will need to tunnel through lxtunnel.cern.ch
first.