Difference between revisions of "Common-accounting-model ABANDONED"

From Gcube Wiki
Jump to: navigation, search
(Execution)
Line 9: Line 9:
 
* createTime : when the UR was created
 
* createTime : when the UR was created
 
* startTime, endTime : the time window the UR refers to
 
* startTime, endTime : the time window the UR refers to
* resourceType : the type of resource the UR tracks
+
* resourceType : the type of resource the UR tracks: i.e. Job, Task, Service, StorageUsage, StorageStatus
 
* scope : the scope of the resource
 
* scope : the scope of the resource
 
* resourceOwner : who owns the resource and/or who creates the UR
 
* resourceOwner : who owns the resource and/or who creates the UR
Line 68: Line 68:
 
* serviceName : name of the service
 
* serviceName : name of the service
  
=== Data-access ===
+
=== StorageUsage ===
This specialization will be used to take into account the information about the accessed data from Tree-Manager, SPD, Geonetwork.
+
This specialization will be used to account the operations performed against different storage backends.  
  
Specific Data-access properties:
+
Specific storage usage attributes:
 +
* ProviderID: the identifier of the provider which is the target of a read/write operation
 +
* ObjectURI : the identifier of an information within the data source which is the target of a given read/write operation performed
 +
* operationType : the name of the read/write operation performed over a given source, i.e. GET, PUT, UPDATE, DELETE
 +
* dataType : type of data accessed, i.e. STORAGE, TREE, GEO, TS … service type
 +
* dataVolume : quantity of data in terms of KB
 +
* dataCount : the number of objects within the data provider which are accessed/written.
 +
* callerIP : IP address that originated the service call (if appropriate)
  
* sourceId: the identifier of the source which is the target of a read/write operation
+
=== StorageStatus ===
* operation : the name of the read/write operation performed over a given source
+
Identifies the exploitation (in terms of storage volume) of a storage resource type by an identifiable entity.
* dataId : the identifier of an information within the data source which is the target of a given read/write operation performed
+
* dataType : type of data accessed (geo, biodiversity, tree, etc.)
+
* dataVolume : quantity of data accessed in terms of KB
+
* dataCount : the number of information within the data source which are accessed/written.
+
  
=== Storage ===
+
Specific storage status attributes:
This specialization will be used to take into account storage resources and timeseries/services using DBs backend.
+
  
Specific storage attributes:
+
* ProviderID: the identifier of the provider which is the target of a read/write operation
 
+
* dataType : type of data accessed, i.e. STORAGE, TREE, GEO, TS … service type
* operationType : GET, PUT, UPDATE, DELETE
+
* dataVolume (Kbytes): quantity of data monitored at the time of the record creation
* targetResource : URI representing the storage resource
+
* dataCount : number of objects
* fileDimension : dimension of the storage resource
+
* hostname: hostname of the host where the storage library is invoked
+

Revision as of 18:21, 28 May 2013

Scope

This library contains the definition of the resource accounting record.

Data-model

The structure of a generic accounting record (Usage Record, UR) will be composed of a set of common fields for all resource types, in particular:

  • id : an unique identifier for the UR
  • consumerId : the user actually consuming the resource (optional, for future purposes)
  • createTime : when the UR was created
  • startTime, endTime : the time window the UR refers to
  • resourceType : the type of resource the UR tracks: i.e. Job, Task, Service, StorageUsage, StorageStatus
  • scope : the scope of the resource
  • resourceOwner : who owns the resource and/or who creates the UR

Furthermore, for each UR there will be a section to be filled with the specific properties per resource type (key-value pairs).

Resource Types

The resource types we've identified are: Execution, Service, Data-access and Storage.

Execution

This specialization will be used to take into account information about services running jobs on the infrastructure (Workflow Engine, Execution Engine, Statistical Manager, Aquamaps).

For this resource type, there are two sub-types:

Job

Contains the information about the overall job, that will be partitioned in N Tasks.

Specific Job properties:

  • jobId : an unique identifier for the job
  • jobQualifier : qualifies the job in terms of algorithm type or job type (e.g. search, data-transformation, etc)
  • jobName : name of the job
  • jobStart : the instant the job start running
  • jobEnd : the instant the job ends its execution
  • jobStatus: completed/failed
  • vmsUsed : number of the VMs (gHNs) used by the job.
  • wallDuration : duration between the instant the job start running and the instant the job ends its execution.

Task

Contains the information about one slice of the overall Job.

Specific Task properties:

  • jobId : reference to the Job that generated this Task
  • refHost : hostname of the virtual machine (gHN)
  • refVM : virtual machine id (gHN)
  • usageStart : the earlier usage time of the Task
  • usageEnd: the latest usage time of the Task
  • usagePhase: completed/failed
  • inputFilesNumber : number of input files to the Task
  • inputFilesSize : dimension of input files to the Task
  • outputFilesNumber : number of output files from the Task
  • outputFilesSize : dimension of output files from the Task
  • overallNetworkIn : overhead of the input traffic over the network to the Task
  • overallNetworkOut : overhead of the output traffic over the network from the Task
  • cores : number of cores per Task.
  • processors : number of processors per Task.

Service

This specialization will be used to take into account information about the services invocations.

Specific service attributes

  • callerIP : IP address that originated the service call
  • invocationCount : number of invocations (aggregated information)
  • averageInvocationTime : average invocation time (aggregated information)
  • serviceClass : name of the service class
  • serviceName : name of the service

StorageUsage

This specialization will be used to account the operations performed against different storage backends.

Specific storage usage attributes:

  • ProviderID: the identifier of the provider which is the target of a read/write operation
  • ObjectURI : the identifier of an information within the data source which is the target of a given read/write operation performed
  • operationType : the name of the read/write operation performed over a given source, i.e. GET, PUT, UPDATE, DELETE
  • dataType : type of data accessed, i.e. STORAGE, TREE, GEO, TS … service type
  • dataVolume : quantity of data in terms of KB
  • dataCount : the number of objects within the data provider which are accessed/written.
  • callerIP : IP address that originated the service call (if appropriate)

StorageStatus

Identifies the exploitation (in terms of storage volume) of a storage resource type by an identifiable entity.

Specific storage status attributes:

  • ProviderID: the identifier of the provider which is the target of a read/write operation
  • dataType : type of data accessed, i.e. STORAGE, TREE, GEO, TS … service type
  • dataVolume (Kbytes): quantity of data monitored at the time of the record creation
  • dataCount : number of objects