Deployment Descriptor SystemRequirements Element

  GigaSpaces 5.X

Documentation Home
Quick Start Guide
Release Notes

Previous release

  Search Here
Searching GigaSpaces Platform 5.X Documentation

                                               

Summary: The SystemRequirements element specifies which system components and measures must be present on a compute resource for a ServiceBean to be provisioned.

Overview

The SystemRequirements element is a child of the ServiceLevelAgreements element and provides information specific to what system components and measures must be present on a compute resource in order for a ServiceBean to be provisioned. These capabilities allow better control over resources and better provisioning behaviour.

Declaring SystemRequirements for a ServiceBean allows specific matching to occur, ensuring the declared properties are matched to advertised GSC capabilities. The GSC provides (and updates) a ResourceCapability object with it's registration to discovered GSM instances.

The SystemRequirements element allows the declaration of SystemComponent and Utilization elements. Determination of whether a platform capability can be met is decided by the PlatformCapability itself. Declared Utilization requirements are verified against theMeasuredResource objects obtained from the ResourceCapability object.

If there are no GSC instances which support declared SystemRequirements, the service will not be provisioned, and the corresponding log message "No compute resources found that meet requirements" will be logged by the GSM.

The following example use of the SystemRequirements element declares that a GSC must advertise a SoftwareSupport component with a name of "Spring" and a Version of at least 1.2 (matching is done using regular expressions).

<ServiceLevelAgreements>
	<SystemRequirements>
		<SystemComponent Name="SoftwareSupport">
			<Attribute Name="Name" Value="Spring"/>
			<Attribute Name="Version" Value="1.2*"/>
		</SystemComponent>
	</SystemRequirements>
</ServiceLevelAgreements>

RELATED TOPICS

Declaring Elements Globally in Deployment Descriptor
Declaring Service UI in Deployment Descriptor
Deployment Descriptor Codebase Element
Deployment Descriptor DeploymentSchedule Element
Deployment Descriptor Parameters and Configuration Elements
Deployment Descriptor SharedComponent Element
Deployment Descriptor SLA Element
deploy - Service Grid CLI
Fixed and Dynamic ServiceBean ProvisionType
Injecting Deployment Descriptor Properties into POJOs
POJO Lifecycle in Service Grid
Proactive Cache
redeploy - Service Grid CLI
Rio OperationalString
Service Associations
Service Deployment Descriptor
Service Grid ClassLoader Hierarchy
undeploy - Service Grid CLI
Using Service Grid to Deploy Partitioned Space
Using Service Grid to Deploy Partitioned Space with Backup
Using Service Grid to Deploy Replicated Space
Using Service Grid to Deploy Space
Using Service Grid to Deploy Spring Applications
Using System Properties for Deployment Descriptor Element Values

Wiki Content Tree


Your Feedback Needed!

We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.

Labels