Project

General

Profile

Possible Computer Set-up Configurations » History » Version 20

Anchi Cheng, 09/30/2011 12:31 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 5 Amber Herold
 *Note:* The computer attached to the microscope/camera is used for this function. Therefore, it is on a Windows computer.
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 4 Amber Herold
#  Web server (using PHP-side of Leginon system).
15 6 Amber Herold
 *Important:* The MRC module that is used to load mrc formatted files to the web pages is not compiled on Windows. Therefore, this function must be on a linux box unless you don't need to see the images.
16 1 Amber Herold
17
18
19
20
21
The five functions can be distributed to five 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 1 Amber Herold
attached to the microscope for all functions, it is not advisable.
24
25
26
Processing server of Leginion is a multi-platform software, meaning it can run on both
27 19 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. This is
28 12 Anchi Cheng
not true for the Web server because the custom php-MRC module used in the web viewer only compiles
29 1 Amber Herold
on linux machines. Therefore, one of the computer not part of the microscope must be a linux.
30
The following examples show several arrangements that take advantage of distributed system.
31
Other combinations are possible, but will basically be variations on one of the following
32
themes.
33
34
35
36 8 Amber Herold
h2.  Configuration A 
37
38
*1 Windows computer (attached to the Microscope) & 1 Linux computer (for all
39 1 Amber Herold
other functions, separate from the Microscope) (Good for single user and small-scale
40 9 Amber Herold
acquisition)*
41 1 Amber Herold
42
43
44 20 Anchi Cheng
h3. On the microscope computer:
45 1 Amber Herold
46
*  Install the latest processing server side of Leginon release (and supporting
47 20 Anchi Cheng
packages) following [[Installation_on_the_microscope_computer]]
48 1 Amber Herold
49 20 Anchi Cheng
h3. On the Linux computer:
50 1 Amber Herold
51 20 Anchi Cheng
* Install the full Leginon package including the processing, database, and web server.
52
For testing, the easiest is to follow [[appion:Install_Appion_and_Leginon_using_the_auto-installation_tool]]
53
For manual installation, follow full instruction in this chapter.
54
See [[Minimum_Requirements_and_current_NRAMM_setup]]
55 1 Amber Herold
56
57 11 Amber Herold
h2. Configuration B
58 8 Amber Herold
59
*1 Windows computer (attached to the Microscope) & 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
viewer is hosted by another server.
67
68
*  Install the python-side Leginon (and supporting packages) on the Windows computer
69
controlling the microscope and on the Linux computer that is to run Leginon. You can
70
make the latter installation accessable to any numbers of linux computers on your
71
network.
72
73
74 12 Anchi Cheng
*  Install MySQL on a Linux computer served as the database server
75
*  Install PHP, the Apache Web Server, and PHP-side of Leginon system on the third Linux
76
computer that will serve as the web server host.
77 1 Amber Herold
78
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
______