GigaSpaces XAP 8.0 API

org.openspaces.admin.pu.elastic
Interface ElasticMachineProvisioningConfig

All Superinterfaces:
BeanConfig
All Known Implementing Classes:
DiscoveredMachineProvisioningConfig

public interface ElasticMachineProvisioningConfig
extends BeanConfig

Defines the required configuration properties of an @{link ElasticMachineProvisioning} bean. This bean

Since:
8.0.0
Author:
itaif

Method Summary
 String[] getGridServiceAgentZones()
          Gets the list of zones that can be discovered and started by this machine provisioning.
 double getMinimumNumberOfCpuCoresPerMachine()
          Gets the minimum number of CPU cores per machine.
 CapacityRequirements getReservedCapacityPerMachine()
          Gets the expected amount of memory,cpu,disk,etc... per machine that is reserved for processes other than grid containers.
 boolean isDedicatedManagementMachines()
          By default is false, which means that a Grid Service Agents may run a management process.
 boolean isGridServiceAgentZoneMandatory()
          By default is false, which means that Grid Service Agents without a zone can be started and discovered by this machine provisioning.
 
Methods inherited from interface org.openspaces.admin.bean.BeanConfig
getBeanClassName, getProperties, setProperties
 

Method Detail

getMinimumNumberOfCpuCoresPerMachine

double getMinimumNumberOfCpuCoresPerMachine()
Gets the minimum number of CPU cores per machine. This value is used during deployment to calculate number of partitions (partitions = maxNumberOfCpuCores/minNumberOfCpuCoresPerMachine)

Since:
8.0.0

getReservedCapacityPerMachine

CapacityRequirements getReservedCapacityPerMachine()
Gets the expected amount of memory,cpu,disk,etc... per machine that is reserved for processes other than grid containers. These include Grid Service Manager, Lookup Service or any other daemon running on the system. For example, a machine with a 16GB server and 1GB reserved can run 3 containers 5GB each.

Since:
8.0.2

getGridServiceAgentZones

String[] getGridServiceAgentZones()
Gets the list of zones that can be discovered and started by this machine provisioning. By default returns an empty array. For example: String[] {} - Grid Service Agents are started without -Dcom.gs.zones (requires that isGridServiceAgentZoneMandatory() is false) String[] {"zoneA"} - Grid Service Agents are started with -Dcom.gs.zones=zoneA (or without -Dcom.gs.zones if isGridServiceAgentZoneMandatory() is false) String[] {"zoneA","zoneB"} - Grid Service Agents are started with -Dcom.gs.zones=zoneA or -Dcom.gs.zones=zoneB or -Dcom.gs.zones=zoneA,zoneB (or without -Dcom.gs.zones if isGridServiceAgentZoneMandatory() is false)

Since:
8.0.1

isDedicatedManagementMachines

boolean isDedicatedManagementMachines()
By default is false, which means that a Grid Service Agents may run a management process. If true, it means that agents started and discovered by this machine provisioning cannot run a GridServiceManager nor LookupService nor ElasticServiceManager Usually setting this value to true means that #getReservedCapacityPerMachineInMB() memory can be decreased, since no memory needs to be reserved for management processes.

Since:
8.0.1

isGridServiceAgentZoneMandatory

boolean isGridServiceAgentZoneMandatory()
By default is false, which means that Grid Service Agents without a zone can be started and discovered by this machine provisioning. When true, each started or discovered agent much have one or more of the zones described in getGridServiceAgentZones()

Since:
8.0.1

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.