Project

General

Profile

Network Configuration » History » Version 18

Anchi Cheng, 02/04/2014 12:36 PM

1 1 Anchi Cheng
h1. Network Configuration
2 2 Anchi Cheng
3 14 Anchi Cheng
At NRAMM, our microscope, Leginon processing server, Database server, and Webserver are all within the same and reliable firewall provided by its gateway.  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 8 Anchi Cheng
!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 16 Anchi Cheng
For most security, your building subnet should be firewall protected, like what we have at NRAMM.  In this case,
10
you can either by-pass the support PC, install a second network card on Leginon system to use that to isolate the scope PC from outside,
11 9 Anchi Cheng
!ByPassSupport.png!
12
13 11 Anchi Cheng
or do port-forwarding on the support PC.
14 8 Anchi Cheng
!PortForward.png!
15
Here is [[An example of working port-forwarding configuration|an example provided by a user]]
16
17 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.
18 5 Amber Herold
#  [[Ports used by Leginon]]
19 2 Anchi Cheng
#  Leginon bulletin board thread on "Network problem - Leginon not seeing tecnai host":http://emg.nysbc.org/boards/6/topics/3.
20
21 3 Jim Pulokas
Troubleshooting network between main leginon processing server and TEM host:
22
# 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.
23 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.
24 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.
25 17 Anchi Cheng
# Follow the tests described in [[Test_Network_Connection_Between_Remote_and_Microscope_Computers]]
26 3 Jim Pulokas
27 2 Anchi Cheng
______
28
29 18 Anchi Cheng
[[Select Linux distribution to use|< Select Linux distribution to use ]] | Manual Installation: [[Where to register and download Leginon| Where to register and download Leginon >]]
30 1 Anchi Cheng
31 18 Anchi Cheng
[[Select Linux distribution to use|< Select Linux distribution to use ]] | Auto Installation: [[Autoinstaller for CentOS| Autoinstaller for CentOS >]]
32 2 Anchi Cheng
33
______