70 likes | 209 Views
A few elements of the SONG software principles Søren Frandsen, Jonas B. Nielsen and Mads Fredslund Andersen Aarhus University. SONG Cluster Software. Flow: Both data and files. Simplified Architecture. Remote Site 1. Remote Site 2. Remote Site 3. Remote Site 8. Central Site.
E N D
A few elements of the SONG software principles Søren Frandsen, Jonas B. Nielsen and Mads Fredslund Andersen Aarhus University SONG Cluster Software SONG Software
Flow: Both data and files Simplified Architecture Remote Site 1 Remote Site 2 Remote Site 3 Remote Site 8 Central Site Remote Site 4 Remote Site 7 Remote Site 6 Remote Site 5 SONG Software
SONG Software Requirements • All communication between sites via the database • One central site and eight remote sites • Central site center of communication (a star architecture) • Autonymous remote sites • Continue work if communication is lost • Eventually consistent • Open-source tools • Linux based
SONG Software Major Software Component • DBMS: PostgreSQL http://www.postgresql.org/ • Database Replication: Slony-I http://slony.info/ • File Replication: GlusterFShttp://www.gluster.org/ • All • Open source projects/products • Mature projects • Good release cyclus • Good documentation
SONG Software dispatcher or_status or_status commands dispatcher_status dispatcher_status Obs. request web_cam_1 web_cam_1 dispatcher dispatcher or_status or_status commands commands dispatcher_status dispatcher_status Obs. request Obs. request web_cam_1 web_cam_1 Database Replication, Overview Central Node Remote Node 1 Remote Node 2
SONG Software dispatcher dispatcher commands commands Obs. request Obs. request or_status or_status dispatcher_status dispatcher_status web_cam_1 web_cam_1 dispatcher dispatcher slony checker scheduler worker slony Work processes ... ... house hold Central Site Remote Site n Telescope Weather
SONG Software Ordering an observation: Observing requests Central: OR_handler.py Site 1: OR_executer.py