Project

General

Profile

Possible Computer Set-up Configurations » History » Version 22

Anchi Cheng, 02/04/2014 10:59 AM

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 1 Amber Herold
16
17
18
19
20
The five functions can be distributed to five different computers on a network or all on
21 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
22 21 Anchi Cheng
attached to the microscope and digital camera for all functions, it is not advisable.
23 1 Amber Herold
24
25 12 Anchi Cheng
Processing server of Leginion is a multi-platform software, meaning it can run on both
26 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.
27 1 Amber Herold
The following examples show several arrangements that take advantage of distributed system.
28
Other combinations are possible, but will basically be variations on one of the following
29
themes.
30
31 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.
32 1 Amber Herold
33 8 Amber Herold
h2.  Configuration A 
34
35 21 Anchi Cheng
* One or more Windows computer that controls the Microscope and your digital camera ; 1 Linux computer (for all
36 1 Amber Herold
other functions, separate from the Microscope) (Good for single user and small-scale
37 9 Amber Herold
acquisition)*
38 1 Amber Herold
39
40
41 21 Anchi Cheng
h3. On the microscope/camera computer(s):
42 1 Amber Herold
43
*  Install the latest processing server side of Leginon release (and supporting
44
packages) following [[Installation_on_the_microscope_computer]]
45 20 Anchi Cheng
46 1 Amber Herold
h3. On the Linux computer:
47
48 20 Anchi Cheng
* Install the full Leginon package including the processing, database, and web server.
49 22 Anchi Cheng
The easiest is to use [[Autoinstaller for CentOS]]
50 20 Anchi Cheng
For manual installation, follow full instruction in this chapter.
51
See [[Minimum_Requirements_and_current_NRAMM_setup]]
52 1 Amber Herold
53
54 11 Amber Herold
h2. Configuration B
55 8 Amber Herold
56 21 Anchi Cheng
*One or more Windows computers that control the microscope and your digital camera ; 4 Linux computers (one for
57 1 Amber Herold
each function) (Good for multiple microsopes, users and large-scale acquisition)*
58
59
60
This is the set-up at NRAMM. It has the processing server side of Leginon installed on
61
the Windows computer attached to the microscope and on the Linux computer that is used for
62
running Leginon. A second Linux machine is dedicated to the database while the web-based
63 22 Anchi Cheng
viewer is hosted by another server, and a third Linux machine specialized as the database server.
64 1 Amber Herold
65
*  Install the python-side Leginon (and supporting packages) on the Windows computer(s)
66
controlling the microscope/camera and on the Linux computer that is to run Leginon. You can
67 21 Anchi Cheng
make the latter installation accessable to any numbers of linux computers on your
68
network.
69 1 Amber Herold
70 22 Anchi Cheng
* Install full processing server side of Leginon on a Linux computer, typically in the scope room
71
for setup convenience.
72 1 Amber Herold
*  Install MySQL on a Linux computer served as the database server
73 22 Anchi Cheng
74 12 Anchi Cheng
*  Install PHP, the Apache Web Server, and PHP-side of Leginon system on the third Linux
75
computer that will serve as the web server host.
76
77 22 Anchi Cheng
* For each additional scope/camera pair, add a linux computer for the processing purpose.
78 1 Amber Herold
79
*  The computer hosting the data storage should be accessable by all linux
80
boxes.
81
82 12 Anchi Cheng
The data storage may be on one of these computers that is accessable by the web and the processing
83 1 Amber Herold
computers.
84
85 16 Anchi Cheng
See also [[Minimum_Requirements_and_current_NRAMM_setup]]
86 2 Amber Herold
______
87
88 18 Anchi Cheng
[[What is in this Chapter|< What is in this Chapter]] | [[Select Linux distribution to use|What Linux distribution should be used? >]]
89 3 Amber Herold
90
91
______