Actions
Configure sinedoncfg » History » Revision 7
« Previous |
Revision 7/23
(diff)
| Next »
Neil Voss, 05/12/2010 05:01 PM
Configure sinedon.cfg¶
TODO: Consider moving this after we setup Mysql username.
Sinedon is designed to be able to interact with multiple databases. It can be configured at global or user level.
- An example configuration file is available at:
myami/sinedon/examples/sinedon.cfg
- Configurations for all users should be placed at the following path:
$PYTHONSITEPKG/sinedon/sinedon.cfg
- Modify host, db, user, passwd to what is used. Note that the user here is the MySQL user Leginon uses to communicate with the database for all Leginon users. For Leginon that uses Project database, set the following:
[global] #host: your_database_host host: localhost user: usr_object passwd: [projectdata] db: projectdb [leginondata] db: leginondb [appiondata] db: dynamic
- If you would like to name your Project Proccessing databases something other than the default "ap[Id_Num]",
you will need to do the following:- Go to your Leginon installation directory (typically /usr/lib/python2.4/site-packages/leginon/)
- Edit project.py. Change line 5 to:
use_processingdb_table = True
- [Note] The module names in brackets are case sensitive and need to be exact.
The user name needs to match the name for which privileges have been granted on the `ap%` databases.
- Add database configuration if you intend to use grid-inserting robot. The Robot2 module uses the database to communicate to the robot. Applications that carries the name "Robot" requires this to be set. In general, using the same database as the general leginon database is fine.
[robot2] db: leginondb
< Explanation of Sample Names | Install External Packages >
Updated by Neil Voss over 14 years ago · 7 revisions