Possible Computer Set-up Configurations » History » Version 18
Anchi Cheng, 09/14/2010 11: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 | 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 | 12 | Anchi Cheng | Microsoft Windows and 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 | 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 | |||
45 | * Install the latest processing server side of Leginon release (and supporting |
||
46 | packages) on the Windows computer controlling the microscope and on the Linux computer |
||
47 | which is to run Leginon image acquisition and processing. |
||
48 | |||
49 | |||
50 | * Install the additional modules needed for CCD camera and film interaction on the |
||
51 | Windows computer controlling the microscope. |
||
52 | |||
53 | |||
54 | * Install MySQL, PHP, the Apache Web Server, and dbem tools only on the Linux |
||
55 | computer that will perform these functions, (i.e. NOT the computer controlling the |
||
56 | 16 | Anchi Cheng | microscope). See [[Minimum_Requirements_and_current_NRAMM_setup]] |
57 | 1 | Amber Herold | |
58 | |||
59 | 11 | Amber Herold | h2. Configuration B |
60 | 8 | Amber Herold | |
61 | *1 Windows computer (attached to the Microscope) & 4 Linux computers (one for |
||
62 | 10 | Amber Herold | each function) (Good for multiple microsopes, users and large-scale acquisition)* |
63 | 1 | Amber Herold | |
64 | |||
65 | This is the set-up at NRAMM. It has the processing server side of Leginon installed on |
||
66 | the Windows computer attached to the microscope and on the Linux computer that is used for |
||
67 | running Leginon. A second Linux machine is dedicated to the database while the web-based |
||
68 | viewer is hosted by another server. |
||
69 | |||
70 | |||
71 | |||
72 | |||
73 | * Install the python-side Leginon (and supporting packages) on the Windows computer |
||
74 | controlling the microscope and on the Linux computer that is to run Leginon. You can |
||
75 | make the latter installation accessable to any numbers of linux computers on your |
||
76 | network. |
||
77 | |||
78 | |||
79 | 12 | Anchi Cheng | * Install MySQL on a Linux computer served as the database server |
80 | * Install PHP, the Apache Web Server, and PHP-side of Leginon system on the third Linux |
||
81 | computer that will serve as the web server host. |
||
82 | 1 | Amber Herold | |
83 | |||
84 | * The computer hosting the data storage should be accessable by all linux |
||
85 | boxes. |
||
86 | |||
87 | 12 | Anchi Cheng | The data storage may be on one of these computers that is accessable by the web and the processing |
88 | 1 | Amber Herold | computers. |
89 | |||
90 | 16 | Anchi Cheng | See also [[Minimum_Requirements_and_current_NRAMM_setup]] |
91 | 2 | Amber Herold | ______ |
92 | |||
93 | 18 | Anchi Cheng | [[What is in this Chapter|< What is in this Chapter]] | [[Select Linux distribution to use|What Linux distribution should be used? >]] |
94 | 3 | Amber Herold | |
95 | |||
96 | ______ |