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 mulanbe.psi.ch
mulan is the default login name for the address mulanbe.psi.ch
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 8081:mulanbe.psi.ch:8081 -l mulan mulanbe.psi.ch
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.
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>:mulanbe.psi.ch:80 -l mulan mulanbe.psi.ch
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.
Initializing port forwarding to port 80 on the mulan backend can also be done by including the -L 8082:mulanbe.psi.ch:80 as an option in the initial login command.