Running ACS Bogdan Jeram European Southern Observatory July 2005NAOJ
ALMA Project ACS Training for Developers, July 2005Running ACS2 Starting ACS Use commands with the shell or The GUI application ACS Command Center: acscommandcenter
ALMA Project ACS Training for Developers, July 2005Running ACS3 An ACS Session Consists of… ACS Suite: –Services –Manager(s) Containers Clients: –General: Administrator Client, Object Explorer, … –Specific: users developed clients
ALMA Project ACS Training for Developers, July 2005Running ACS4 CORBA/ACS Services Services: –Naming service –Interface Repository –Notify service –Logging service –Configuration data base (CDB) server –… start: acsStartORBSRVC stop: acsStopORBSRVC
ALMA Project ACS Training for Developers, July 2005Running ACS5 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
ALMA Project ACS Training for Developers, July 2005Running ACS6 ACS Suite Services + Manager start: acsStart stop: acsStop –This command also stops any containers that might have been started.
ALMA Project ACS Training for Developers, July 2005Running ACS7 Containers Processes where components reside Implemented in: –C++ –Python –Java start: acsStartContainer stop: acsStopContainer
ALMA Project ACS Training for Developers, July 2005Running ACS8 Instances of ACS Designed so that more than one developer can run ACS on the same machine Instances are numbers: 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)
ALMA Project ACS Training for Developers, July 2005Running ACS9 Run-time environment (services) Manager Container (C++) “bilboContainer” Container (java) “frodoContainer” Client Y X
ALMA Project ACS Training for Developers, July 2005Running ACS10 Running Examples Using ACS Command Center: 1.Start ACS suite (services + manager) 2.Start example containers : C++: mountContainer, bilboContainer Java: frodoContainer Python: aragornContainer 3.Run generic clients: Object Explorer ( objexp ), Logging Client ( jlog ), …
ALMA Project ACS Training for Developers, July 2005Running ACS11 Generic Clients Object Explorer Logging Client CDB browser Interface Repository browser Naming Service browser
ALMA Project ACS Training for Developers, July 2005Running ACS12 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, …
ALMA Project ACS Training for Developers, July 2005Running ACS13 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
ALMA Project ACS Training for Developers, July 2005Running ACS14 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
ALMA Project ACS Training for Developers, July 2005Running ACS15 References ACS Overview: Ports allocation Command Center : ommand_Center_-_User_Guide.html ommand_Center_-_User_Guide.html Object Explorer: Logging Client User’s Manual: Documentation on ACS examples: l l