Accessing the mulan backend from a Unix System


The following are some of the basic procedures that can be used to access the mulan backend at PSI in Switzerland from a unix based system.  These procedures should allow access to the various components and tools on the mulan backend that can be used to access, take, and analyze data.  All of the commands shown are for the Bash Shell.


1.  Accessing the Backend:


The backend can be accessed simply by opening the shell and executing the following:


            ssh -X -l mulan


mulan is the default login name for the address


The password is the standard mulan password.


The run data is stored in /home/mulan/mulandaq/mulan.


2.    Setting Up Port forwarding:


When taking data the status of the run can be view by enabling port forwarding on port 8081.  It is easiest to simply do this when first logging on to the backend.   The only difference here is the addition of the -L to the ssh command.  By executing the following command the backend can be accessed with tunneling enabled:


            ssh -X -L -l mulan


Using this will allow access to both the mulan backend as well as the run monitor.  Once port forwarding is set up by this method open a web browser and go to http://localhost:8081.  This will provide access to the run monitor.


3.    Analyzers:


The data analyzers are located in /home/mulan/mulan/analyzer on the mulan backend.

Work in the fs_testing directory


4.      Setting up and Accessing the FS Control Page


The flight simulators that control the LED Driver Boxes can be accessed remotely.   To set this up a tunnel must be made on port 80 to access the control page.  This can be done by using the command:


            ssh -L <localport> -l mulan


Once this port connection is made open a second web browser and access the page http://localhost:<localport>.  For simplicity I use port 8082 but it should be possible to use any port.  However,  root privileges are required for ports <1024.  Once open, this page will provide control of the flight simulator and the LED Driver Boxes.  More information is available in the Summer2004 eLog, posting LED and Detector prep. as well as in the file README.


5.    NOTES:


Initializing port forwarding to port 80 on the mulan backend can also be done by including the -L as an option in the initial login command.