Visit Platform at http://www.platform.com

esc_service_context Struct Reference

Service context definition. More...


Data Fields

char * name
char * version
char * description
int priority
int minInstances
int maxInstances
int maxInstancesPerSlot
int maxInstancesPerHost
int needcred
vem_allocreq_tallocReq
int siDefC
esc_service_instance_def_t ** siDefV


Detailed Description

Define the context of a service, including the name, description, priority, request for allocation, etc; part of esc_service_info_t.

See also:
esc_service_info_t


Field Documentation

char* name

service name

char* version

service definition version

char* description

readable description

int priority

the order ESC starts services If priority is equal, SC randomly decides order.

The minimun number of service instances the system should keep running

The maximum number of service instances. The system will not instantiate more than maximum number of service instances

Account for services that are not CPU intensive

defines the max instances running on one host. The value of "MaxInstancesPerHost" will be used to create allocation requests when Service Controller requests allocation from vemkd on behalf of service, and to limit the number of instances running on one host when Service Controller starts service instance.

int needcred

the service needs a cluster administrator credential of VEMKD

the request for allocation

int siDefC

the number of service instance definitions

the array of service instance definitions



     
Date Modified: 26 Nov 2007
Platform Computing: www.platform.com

Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Copyright © 2001-2007 Platform Computing Corporation. All rights reserved.