| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| groups:aps:home [2009/01/08 20:27] – clayton | groups:aps:home [2009/01/08 20:33] (current) – clayton |
|---|
| ==== Generating preview images ==== | ==== Generating preview images ==== |
| |
| Preview images need to be cropped, and John Martin wrote a routine to determine where. ''/home/jtolds/archivefiles/imagegeneration/image_rowdb/getimgarea''' | Preview images need to be cropped, and John Martin wrote a routine to determine where. ''/home/jtolds/archivefiles/imagegeneration/image_rowdb/getimgarea'' |
| is a binary John made does this. | is a binary John made does this. |
| ''create_row_info.pl'' in the same directory is a script that I wrote to wrap | ''create_row_info.pl'' in the same directory is a script that I wrote to wrap |
| on STDOUT and tabular data on STDERR. The SQL is to be dumped into the EtaCar db, and the tabular data is used by the preview image creation program. | on STDOUT and tabular data on STDERR. The SQL is to be dumped into the EtaCar db, and the tabular data is used by the preview image creation program. |
| |
| In ''/home/jtolds/archivefiles/imagegeneration/make_pics''', there are more important scripts. | In ''/home/jtolds/archivefiles/imagegeneration/make_pics'', there are more important scripts. |
| ''create-imagebounds'' will regenerate the tabular data from stderr of the previous program from the database in case you lost it. | ''create-imagebounds'' will regenerate the tabular data from stderr of the previous program from the database in case you lost it. |
| ''create-preview4'' takes the tabular data file as an argument and creates preview images in the appropriate places. | ''create-preview4'' takes the tabular data file as an argument and creates preview images in the appropriate places. |
| ''create-preview4-hacknstack'' is the same, except it first uses the '''hacknstack''' binary that John wrote. This is useful for very wide and short observations. Instead of having to scroll right-to-left, the image is cut off at a certain amount of observation pixels and wrapped. | ''create-preview4-hacknstack'' is the same, except it first uses the ''hacknstack'' binary that John wrote. This is useful for very wide and short observations. Instead of having to scroll right-to-left, the image is cut off at a certain amount of observation pixels and wrapped. |
| |
| As of 5/28/8, there is also a ''create-preview3'' script, but I believe this is just an outdated version. | As of 5/28/8, there is also a ''create-preview3'' script, but I believe this is just an outdated version. |
| ===== Startup / Shutdown Procedure ===== | ===== Startup / Shutdown Procedure ===== |
| |
| '''Attention''' This section describes how to power off the APS/Eta lab systems in the event of an emergency. Please follow the directions as closely as possible to ensure a correct, safe shutdown. | **Attention:** This section describes how to power off the APS/Eta lab systems in the event of an emergency. Please follow the directions as closely as possible to ensure a correct, safe shutdown. |
| |
| ==== Controlled Shutdown ==== | ==== Controlled Shutdown ==== |
| In no particular order: | In no particular order: |
| |
| * enki | * enki |
| * anubis | * anubis |
| * horus | * horus |
| * ea | * ea |
| * bast | * bast |
| * set | * set |
| * imhotep | * imhotep |
| |
| === Servers === | === Servers === |
| The servers should be shutdown in the following order: | The servers should be shutdown in the following order: |
| |
| - amonra | - amonra |
| - isis | - isis |
| - osiris | - osiris |
| |
| === Shutdown Instructions === | === Shutdown Instructions === |
| |
| If the computer is a workstation, it can be shutdown by powering on the monitor and selecting the 'Shutdown' option in the user interface. The machine will probably show either a graphical or text based shutdown. At the conlcusion of shutdown, the machine will either power itself off or inform you to do so. | If the computer is a workstation, it can be shutdown by powering on the monitor and selecting the 'Shutdown' option in the user interface. The machine will probably show either a graphical or text based shutdown. At the conclusion of shutdown, the machine will either power itself off or inform you to do so. |
| |
| '''Note:''' The following also works on workstations.[[BR]] | **Note:** The following also works on workstations. |
| |
| If the computer is a server, you will have to login as the `root` user or, alternatively, you can login as yourself and use the `su` command. After you become root, run the following command: ''shutdown 0''. The machine will show a text-based shutdown as it stops all services. At the conclusion, it will either power itself off or prompt you to do so. | If the computer is a server, you will have to login as the `root` user or, alternatively, you can login as yourself and use the //su// command. After you become root, run the following command: ''shutdown 0''. The machine will show a text-based shutdown as it stops all services. At the conclusion, it will either power itself off or prompt you to do so. |
| |
| ==== Fast Shutdown Instructions ==== | ==== Fast Shutdown Instructions ==== |
| - anubis | - anubis |
| |
| ''amonra'' | **Amonra** requires a monitor to be plugged into it to complete its bootup. Once it has restarted, the monitor can be reconnected to imhotep. |
| Amonra requires a monitor to be plugged into it to complete its bootup. Once it has restarted, the monitor can be reconnected to imhotep. | |
| |
| ==== Contact ==== | ==== Contact ==== |