Project

General

Profile

Network Configuration » History » Version 13

Anchi Cheng, 09/09/2013 07:19 PM

1 1 Anchi Cheng
h1. Network Configuration
2 2 Anchi Cheng
3 8 Anchi Cheng
At NRAMM, our microscope, Leginon processing server, Database server, and Webserver are all within the same and reliable firewall.  We turn off the Windows firewall on the scope PC in this case.  The assumption used in this configuration is that computers within the bound of the gateway is safe.  This allows all computers in the lab access to the data collected.  
4
!SimpleNetwork.png!
5
6 10 Anchi Cheng
Some of the FEI microscopes come with a "support PC" which acts as gateway to the scope PC and prevents the latter direct internet access.  The easiest set up is then put the Leginon system within that local network.  This has the drawback that Leginon web viewing as well as the data collected are only accessible in the local network (typically in the same room).
7 8 Anchi Cheng
!SupportPCNetwork.png!
8
9 9 Anchi Cheng
You can either by-pass the support PC, putting the trust on the building (or your lab) network gateway
10
!ByPassSupport.png!
11
12 11 Anchi Cheng
or do port-forwarding on the support PC.
13 8 Anchi Cheng
!PortForward.png!
14
Here is [[An example of working port-forwarding configuration|an example provided by a user]]
15
16 13 Anchi Cheng
Here are some extra information if you know how and want to further configure, however, be warned that we might not be able to help you if you are stuck since we have no experience in doing so.
17 5 Amber Herold
#  [[Ports used by Leginon]]
18 2 Anchi Cheng
#  Leginon bulletin board thread on "Network problem - Leginon not seeing tecnai host":http://emg.nysbc.org/boards/6/topics/3.
19
20 3 Jim Pulokas
Troubleshooting network between main leginon processing server and TEM host:
21
# Try to ping TEM host from Leginon host using host name (not IP).  If host name does not work, then you need to configure either your DNS server or your /etc/hosts file to know the host name to IP mapping.
22 4 Jim Pulokas
# Pay attention to whether you need to use the fully qualified name, for example "myhost.scripps.edu" rather than just "myhost".  If that is the case, then you must also use the fully qualified name in Leginon when connecting to clients.
23 3 Jim Pulokas
# Try to ping Leginon host from TEM host.  Again, you may need to adjust host name mapping.  On Windows, there is "/etc/hosts" but it is located in a strange place:  C:\Windows\System32\Drivers\etc\hosts.   The first part of that may be slightly different depending on version of Windows.
24
# Start Leginon Client (launcher.py) on TEM host, then try to telnet to it from Leginon processing server
25
 "telnet temhost 55555"  (replace with your hostname)
26
If the connection is refused, then you have a firewall blocking connections on TEM host
27
# Try the opposite, running launcher.py on Leginon processing server, and telnet from TEM host.  If that fails, then you have a firewall on Leginon processing host that is blocking incoming connections to port 55555
28
# Try test1.py and test2.py as described in bulletin board post above
29
30 2 Anchi Cheng
______
31
32 7 Anchi Cheng
[[Select Linux distribution to use|< Select Linux distribution to use ]] | [[Where to register and download Leginon| Where to register and download Leginon >]]
33 2 Anchi Cheng
34
35
______