running acs bogdan jeram ([email protected]) european southern observatory july 2005naoj

15
Running ACS Bogdan Jeram ([email protected]) European Southern Observatory July 2005 NAOJ

Upload: dorcas-whitehead

Post on 04-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

Running

ACS

Bogdan Jeram([email protected])

European Southern ObservatoryJuly 2005 NAOJ

Page 2: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 2

ALMA Project

Starting ACS

• Use commands with the shell or

• The GUI application ACS Command Center:acscommandcenter

Page 3: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 3

ALMA Project

An ACS Session Consists of…

• ACS Suite:– Services– Manager(s)

• Containers• Clients:

– General: Administrator Client, Object Explorer, …

– Specific: users developed clients

Page 4: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 4

ALMA Project

CORBA/ACS Services

• Services:– Naming service– Interface Repository– Notify service– Logging service– Configuration data base (CDB) server– …

• start:acsStartORBSRVC• stop: acsStopORBSRVC

Page 5: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 5

ALMA Project

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

Page 6: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 6

ALMA Project

ACS Suite

• Services + Manager• start: acsStart• stop: acsStop

– This command also stops any containers that might have been started.

Page 7: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 7

ALMA Project

Containers

• Processes where components reside• Implemented in:

– C++– Python– Java

• start:acsStartContainer <-cpp|-java|-py> <container_name>

• stop:acsStopContainer <container_name>

Page 8: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 8

ALMA Project

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)

Page 9: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 9

ALMA Project

Run-time environment (services)

Manager Container(C++)“bilboContainer”

Container(java)“frodoContainer”

Client

Y

X

Page 10: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 10

ALMA Project

Running Examples

• Using ACS Command Center:1. Start ACS suite (services + manager)2. Start example containers :

C++: mountContainer, bilboContainerJava: frodoContainerPython: aragornContainer

3. Run generic clients: Object Explorer (objexp), Logging Client (jlog), …

Page 11: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 11

ALMA Project

Generic Clients

• Object Explorer

• Logging Client

• CDB browser

• Interface Repository browser

• Naming Service browser

Page 12: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 12

ALMA Project

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, …

Page 13: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 13

ALMA Project

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

Page 14: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 14

ALMA Project

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

Page 15: Running ACS Bogdan Jeram (bjeram@eso.org) European Southern Observatory July 2005NAOJ

ACS Training for Developers, July 2005 Running ACS 15

ALMA Project

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