Possible Computer Set-up Configurations » History » Version 2
Amber Herold, 04/16/2010 10:13 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 | * TEM/Camera control and data output (by python-side packages of Leginon |
||
| 7 | system) |
||
| 8 | |||
| 9 | |||
| 10 | *The computer attached to the microscope/camera is used for this function. |
||
| 11 | Therefore, it is on a Windows computer. |
||
| 12 | |||
| 13 | |||
| 14 | * General Leginon operation such as target selection and image processing (processing |
||
| 15 | server of Leginon system) |
||
| 16 | |||
| 17 | |||
| 18 | * Image data storage. |
||
| 19 | |||
| 20 | |||
| 21 | * Other meta-data storage through MySQL database (by database server of Leginon |
||
| 22 | system) |
||
| 23 | |||
| 24 | |||
| 25 | * Web server (using PHP-side of Leginon system). |
||
| 26 | |||
| 27 | |||
| 28 | *Important* The MRC module that is used to load mrc formatted files to the web |
||
| 29 | pages is not compiled on Windows. Therefore, this function must be on a linux box unless |
||
| 30 | you don't need to see the images*** |
||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | |||
| 35 | |||
| 36 | The five functions can be distributed to five different computers on a network or all on |
||
| 37 | one single computer. However, since the latter minimal setup requires the use of the computer |
||
| 38 | attached to the microscope for all functions, it is not advisable. |
||
| 39 | |||
| 40 | |||
| 41 | Processing server of Leginion is a multi-platform software, meaning it can run on both |
||
| 42 | Microsoft Windows and Linux. It is also inherently designed to utilize distributed systems on |
||
| 43 | a network. MySQL used in the database server is also supported by multiple platforms. This is |
||
| 44 | not true for the Web server because the custom MRC module used in the web viewer only compiles |
||
| 45 | on linux machines. Therefore, one of the computer not part of the microscope must be a linux. |
||
| 46 | The following examples show several arrangements that take advantage of distributed system. |
||
| 47 | Other combinations are possible, but will basically be variations on one of the following |
||
| 48 | themes. |
||
| 49 | |||
| 50 | |||
| 51 | |||
| 52 | h2. A: 1 Windows computer (attached to the Microscope) & 1 Linux computer (for all |
||
| 53 | other functions, separate from the Microscope) (Good for single user and small-scale |
||
| 54 | acquisition) |
||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | * Install the latest processing server side of Leginon release (and supporting |
||
| 61 | packages) on the Windows computer controlling the microscope and on the Linux computer |
||
| 62 | which is to run Leginon image acquisition and processing. |
||
| 63 | |||
| 64 | |||
| 65 | * Install the additional modules needed for CCD camera and film interaction on the |
||
| 66 | Windows computer controlling the microscope. |
||
| 67 | |||
| 68 | |||
| 69 | * Install MySQL, PHP, the Apache Web Server, and dbem tools only on the Linux |
||
| 70 | computer that will perform these functions, (i.e. NOT the computer controlling the |
||
| 71 | microscope). |
||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | h2. B: 1 Windows computer (attached to the Microscope) & 4 Linux computers (one for |
||
| 82 | each function) (Good for multiple microsopes, users and large-scale acquisition) |
||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | This is the set-up at NRAMM. It has the processing server side of Leginon installed on |
||
| 87 | the Windows computer attached to the microscope and on the Linux computer that is used for |
||
| 88 | running Leginon. A second Linux machine is dedicated to the database while the web-based |
||
| 89 | viewer is hosted by another server. |
||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | * Install the python-side Leginon (and supporting packages) on the Windows computer |
||
| 95 | controlling the microscope and on the Linux computer that is to run Leginon. You can |
||
| 96 | make the latter installation accessable to any numbers of linux computers on your |
||
| 97 | network. |
||
| 98 | |||
| 99 | |||
| 100 | * Install MySQL, PHP, the Apache Web Server, and dbem tools on the second Linux |
||
| 101 | computer that will serve as the database/web server/PHP host. |
||
| 102 | |||
| 103 | |||
| 104 | * The computer hosting the data storage should be accessable by all linux |
||
| 105 | boxes. |
||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | h2. C: 1 Windows computer (attached to the Microscope), 1 Windows computer running python- |
||
| 116 | and MySQL-side functions and 1 Linux computer as web server (Has been applied |
||
| 117 | successfully) |
||
| 118 | |||
| 119 | |||
| 120 | |||
| 121 | The data storage may be on one of these computers that is accessable by other |
||
| 122 | computers. |
||
| 123 | 2 | Amber Herold | |
| 124 | ______ |
||
| 125 | |||
| 126 | [[What is in this Chapter|< What is in this Chapter]] | [[Ports used by Leginon|Ports used by Leginon >]] |