Project

General

Profile

Possible Computer Set-up Configurations » History » Version 24

Anchi Cheng, 09/14/2017 07:53 PM

1 1 Amber Herold
h1. Possible Computer Set-up Configurations
2
3
4
5
Computer(s) used for the whole Leginon system need to support five functions:
6 4 Amber Herold
#  TEM/Camera control and data output (by python-side packages of Leginon
7 1 Amber Herold
system)
8 22 Anchi Cheng
 *Note:* The computer(s) attached to the microscope/camera is used for this function. Therefore, it is on a Windows os.
9 4 Amber Herold
#  General Leginon operation such as target selection and image processing (processing
10 1 Amber Herold
server of Leginon system)
11 4 Amber Herold
#  Image data storage.
12
#  Other meta-data storage through MySQL database (by database server of Leginon
13 1 Amber Herold
system)
14 6 Amber Herold
#  Web server (using PHP-side of Leginon system).
15 23 Anchi Cheng
#  Direct detector movie frame alignment processing server.  For the popular MotionCorr and MotionCor2, this needs to have multiple gpus dedicated for processing.
16 1 Amber Herold
17
18
19
20
21 23 Anchi Cheng
The six functions can be distributed to six different computers on a network or all on
22 12 Anchi Cheng
one single computer (with web server not viewing the images). However, since the latter minimal setup requires the use of the computer
23 21 Anchi Cheng
attached to the microscope and digital camera for all functions, it is not advisable.
24 1 Amber Herold
25
26 12 Anchi Cheng
Processing server of Leginion is a multi-platform software, meaning it can run on both
27 22 Anchi Cheng
Microsoft Windows and [[Select Linux distribution to use|Linux]], although we and others have found that Windows have trouble managing its memory for such a demanding task.  MySQL used in the database server is also supported by multiple platforms.
28 1 Amber Herold
The following examples show several arrangements that take advantage of distributed system.
29
Other combinations are possible, but will basically be variations on one of the following
30
themes.
31
32 21 Anchi Cheng
See special notes on [[Using Leginon on a system where the microscope and camera are controlled by different computers]] if it applies to you.
33 1 Amber Herold
34 8 Amber Herold
h2.  Configuration A 
35
36 21 Anchi Cheng
* One or more Windows computer that controls the Microscope and your digital camera ; 1 Linux computer (for all
37 1 Amber Herold
other functions, separate from the Microscope) (Good for single user and small-scale
38 9 Amber Herold
acquisition)*
39 1 Amber Herold
40
41
42 21 Anchi Cheng
h3. On the microscope/camera computer(s):
43 1 Amber Herold
44
*  Install the latest processing server side of Leginon release (and supporting
45
packages) following [[Installation_on_the_microscope_computer]]
46 20 Anchi Cheng
47 1 Amber Herold
h3. On the Linux computer:
48
49 20 Anchi Cheng
* Install the full Leginon package including the processing, database, and web server.
50 22 Anchi Cheng
The easiest is to use [[Autoinstaller for CentOS]]
51 20 Anchi Cheng
For manual installation, follow full instruction in this chapter.
52
See [[Minimum_Requirements_and_current_NRAMM_setup]]
53 1 Amber Herold
54 24 Anchi Cheng
For an example of this configuration for Krios/K2 combination, see [[Minimum_Requirements_for_frame-saving_direct_detectors|here]]
55 1 Amber Herold
56 24 Anchi Cheng
57 11 Amber Herold
h2. Configuration B
58 8 Amber Herold
59 21 Anchi Cheng
*One or more Windows computers that control the microscope and your digital camera ; 4 Linux computers (one for
60 1 Amber Herold
each function) (Good for multiple microsopes, users and large-scale acquisition)*
61
62
63
This is the set-up at NRAMM. It has the processing server side of Leginon installed on
64
the Windows computer attached to the microscope and on the Linux computer that is used for
65
running Leginon. A second Linux machine is dedicated to the database while the web-based
66 22 Anchi Cheng
viewer is hosted by another server, and a third Linux machine specialized as the database server.
67 1 Amber Herold
68
*  Install the python-side Leginon (and supporting packages) on the Windows computer(s)
69
controlling the microscope/camera and on the Linux computer that is to run Leginon. You can
70 21 Anchi Cheng
make the latter installation accessable to any numbers of linux computers on your
71
network.
72 1 Amber Herold
73 22 Anchi Cheng
* Install full processing server side of Leginon on a Linux computer, typically in the scope room
74
for setup convenience.
75 1 Amber Herold
*  Install MySQL on a Linux computer served as the database server
76 22 Anchi Cheng
77 12 Anchi Cheng
*  Install PHP, the Apache Web Server, and PHP-side of Leginon system on the third Linux
78
computer that will serve as the web server host.
79
80 22 Anchi Cheng
* For each additional scope/camera pair, add a linux computer for the processing purpose.
81 1 Amber Herold
82
*  The computer hosting the data storage should be accessable by all linux
83
boxes.
84
85 12 Anchi Cheng
The data storage may be on one of these computers that is accessable by the web and the processing
86 1 Amber Herold
computers.
87
88 24 Anchi Cheng
See [[Current_NRAMM_setup]]
89 2 Amber Herold
______
90
91 18 Anchi Cheng
[[What is in this Chapter|< What is in this Chapter]] | [[Select Linux distribution to use|What Linux distribution should be used? >]]
92 3 Amber Herold
93
94
______