150 likes | 271 Views
Running ACS. Bogdan Jeram (bjeram@eso.org) European Southern Observatory. July 2005. NAOJ. Starting ACS. Use commands with the shell or The GUI application ACS Command Center: acscommandcenter. An ACS Session Consists of…. ACS Suite: Services Manager(s) Containers Clients:
E N D
RunningACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005 NAOJ
Starting ACS • Use commands with the shell or • The GUI application ACS Command Center:acscommandcenter Running ACS
An ACS Session Consists of… • ACS Suite: • Services • Manager(s) • Containers • Clients: • General: Administrator Client, Object Explorer, … • Specific: users developed clients Running ACS
CORBA/ACS Services • Services: • Naming service • Interface Repository • Notify service • Logging service • Configuration data base (CDB) server • … • start:acsStartORBSRVC • stop: acsStopORBSRVC Running ACS
Manager • Entry point for clients and containers • Provides “information” about services and components (references) • At least one manager per system, but could be more • Implemented in Java • start: acsStartManager • stop: acsStopManager Running ACS
ACS Suite • Services + Manager • start: acsStart • stop: acsStop • This command also stops any containers that might have been started. Running ACS
Containers • Processes where components reside • Implemented in: • C++ • Python • Java • start:acsStartContainer<-cpp|-java|-py> <container_name> • stop:acsStopContainer <container_name> Running ACS
Instances of ACS • Designed so that more than one developer can run ACS on the same machine • Instances are numbers: 0 - 9 • Resources (ports) configuration for: • services • manager • containers • Startup process takes the first available one or • ACS_INSTANCE environment variable determines which instance will be used (if not set, 0 is assumed) Running ACS
Run-time environment (services) Container(C++)“bilboContainer” Manager X Client Container(java)“frodoContainer” Y Running ACS
Running Examples • Using ACS Command Center: • Start ACS suite (services + manager) • Start example containers : C++: mountContainer, bilboContainerJava: frodoContainerPython: aragornContainer • Run generic clients: Object Explorer (objexp), Logging Client (jlog), … Running ACS
Generic Clients • Object Explorer • Logging Client • CDB browser • Interface Repository browser • Naming Service browser Running ACS
Command Center: an Administrator Client • Administrating and managing the system based on ACS: • Info about state of the system and its actors: • Containers: status, ping, logout from manager, shutdown, … • Clients: status, ping, logout from manager, shutdown, disconnect, … • Components: status, … Running ACS
Object Explorer • Generic tool for browsing BACI aware distributed objects in the system: • very useful in development phase: testing & debugging • hierarchically browsing components, seeing their properties/characteristics, invoking commands, creating monitors, … • Command Center:Tools-> Object Explorer... • cmd line: objexp Running ACS
Logging Client • Client that collects and display logging messages from the entire system • Adding/removing fields, sorting messages, applying filters • Command Center: Tools-> Logging Client... • cmd line: jlog Running ACS
References • ACS Overview:http://www.eso.org/projects/alma/develop/acs/OnlineDocs/ACS-Overview.pdf • Ports allocationhttp://almasw.hq.eso.org/almasw/bin/view/ACS/AcsPortsAllocation • Command Center:http://www.eso.org/projects/alma/develop/acs/OnlineDocs/ACSCommandCenter/Acs_Command_Center_-_User_Guide.html • Object Explorer:http://www.eso.org/projects/alma/develop/acs/OnlineDocs/Object_Explorer.pdf • Logging Client User’s Manual:http://www.eso.org/projects/alma/develop/acs/OnlineDocs/Logging_Client.pdf • Documentation on ACS examples:http://www.eso.org/projects/alma/develop/acs/OnlineDocs/doc/html/index.html Running ACS