You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 40 Next »

Status

IMPROVING

Principle

  • Minimize user operations for managing and monitoring topologies
  • REST Service centralized metadata management
  • Consistent UI experience

Objective

  1. Make sure consistent semantics between the term application (user space) and topology (physical space only)
  2. Topology should read configuration from TopologyDescService#config instead of configuration file
  3. Use REST Service as only entry to manage application (START/STOP/HEALTH CHECKING) and ApplicationManager to schedule the task execution and update the execution information 
  4. Eagle UI should support to manage/monitor the application on site/application page
  5. Single site/application may have more than one topologies (for example hdfsAuditLogMonitoring and userProfileMonitoring should have topologies running separately)

Architecture

To have a better user experience with EAGLE ui, we could provide an interface to manage a certain topology via the ui page, such as submit a topology

ApplicationTopologyArch

topologyManagerArch

Schema

Topology Description Service

  • Service name: TopologyDescService
  • Table name: eagle_metadata
  • Prefix: topology_definition
 AttributeTypeDescription
tagetopologyStringtopology desc name
fieldsexeClassStringtopology entry class
 typeStringtopology type: build-in topology or main-class topology
 configStringtopology config
 descriptionStringdescription on this topology
 versionStringtopology version

Topology Execution Service 

  • Service name: TopologyExecutionService
  • Table name: eagle_metadata
  • Prefix: topology_execution
  • Description: define the relation between an application and an topology, and maintain the execution status as well
 AttributeTypeDescription
tagssiteStringtopology site
 applicationStringtopology application
 topologyStringtopology desc name
 nameStringtopology execution name: eagle_${site}_${application}_${topology}
fieldsurlStringtopology tracking url
 deployStringdeploy environment description
 statusStringapplication running status {STARTING, STARTED, STOPPING, STOPPED}
 lastUpdateTimelonglast status update time

Topology Operation Service

 AttributeTypeDescription
tagscommandString{START, STOP}
 topologyStringapplication name: eagle_${site}_${application}_${topology}
fieldsstatusString{INITIALIZED, FAILED, DONE}

Use Cases in BPMN diagram

1. user define a topology entity 

DefinitionTopologyBPMN

2. user add multiply topologies to an application

addApplicationTopologyBPMN

3. user start/stop a topology (both push and pull mode provided)

operationExecutionBPMN

4. Edit topology configuration

5. Periodically check/update topology healthy status 

6. Edit deployment cluster?

 

 

  • No labels