Skip to content
Towsifa Akhter edited this page Dec 21, 2020 · 4 revisions

(how to create a DQM-GUI server using lxplus)


Document used: Set up your GUI Server (Link)

  1. Remember which machine you are using to create the server (i.e. lxplus1234). After establishing the server, you can log in to the same machine in your terminal by typing your_USERNAME@lxplus1234 .

  2. Use bash and work in a new environment in which you have not sourced CMSSW before, and type the following:

/bin/bash

export PATH=$PATH:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin

  1. creating a local directory for the DQM GUI:

mkdir -p /tmp/$USER/testGui

cd /tmp/$USER/testGui

  1. Start the development part of the server:

source current/apps/dqmgui/128/etc/profile.d/env.sh

$PWD/current/config/dqmgui/manage -f dev start "I did read documentation"

  1. in order to find the hostname of your server, type:

hostname

  1. You may not be able to modify your firewall settings. use an ssh tunnel in this case. You can follow the document here for better understanding the ssh tunnel (ssh tunnel).

  2. Once set up, you can access the GUI on your web browser:

http://localhost:8060/dqm/dev/

  1. Once finished working, stop the server:

$PWD/current/config/dqmgui/manage -f dev stop "I did read documentation"


(how to create a DQM-GUI server using Openstack)


Document used: (Creating a linux virtual machine on Openstack)

  1. You need to have a USR status to you cern account, or a status that allows you to own private virtual machines.
  2. After confirming the status of your account, subscribe following: subscription
  3. Sign in to your OpenStack account on openstack.cern.ch
  4. Set up a Keypair, by clicking on Import a Keypair: Key Pair Name: lxplus Public Key: (paste the public key here after generating a public key using the command below on your lxplus terminal)

ssh-keygen -t rsa -f cloud.key

  1. Click on Project>Compute>Instances from the left menu:

Launch Instance

(Under Details): Instance Name: pick a name that you would like

(Under Source): Boot Source: Image

From the list of items, select SLC6 or CC7 item (e.g. SLC6 - x86_64 [2018-08-20])

(Under Flavor) pick m2.small, m2.medium, or m2.large (depending on what flavor you want)

(Under keypair) lxplus should be selected which you established in step 4 above.

Click on the Launch Instance blue button at the bottom-right of the dialog.

  1. You can check the booting process on your instances dashboard. If the virtual machine transfers to an Active state, you can open the console. The booting process may take a few minutes or some time.

  2. If successful, your console will give you ssh login prompt. Then, from lxplus, you can log in using

ssh root@hostname