GigaSpaces XAP 9.7.2 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
 ZonesConfig 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.
 CapacityRequirements getReservedCapacityPerManagementMachine()
          Gets the expected amount of memory,cpu,disk,etc... per management 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()
          Deprecated. 
 
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

ZonesConfig getGridServiceAgentZones()
Gets the list of zones that can be discovered and started by this machine provisioning. By default returns an empty array. For example: If Grid Service Agents can be with/without any zone return new AnyZonesConfig() If Grid Service Agents must have at least "zoneA" (started with -Dcom.gs.zones=zoneA) return new AtLeastOneZoneConfigurer().addZone("zoneA").create() If Grid Service Agents must have at least "zoneA" or "zoneB" (or both) return new AtLeastOneZoneConfigurer().addZones("zoneA","zoneB").create() If Grid Service Agents must have exactly "zoneA" and "zoneB" (and no other zone) return new ExactOneZoneConfigurer().addZones("zoneA","zoneB").create()

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 getReservedCapacityPerMachine() memory can be decreased, since no memory needs to be reserved for management processes.

Since:
8.0.1

isGridServiceAgentZoneMandatory

@Deprecated
boolean isGridServiceAgentZoneMandatory()
Deprecated. 

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() This flag is deprecated since 9.1.0 since the zones behavior of agents and containers are the same. Meaning an elastic pu that has a zone defined will not deploy on a GSA without zone anyhow.

Since:
8.0.1

getReservedCapacityPerManagementMachine

CapacityRequirements getReservedCapacityPerManagementMachine()
Gets the expected amount of memory,cpu,disk,etc... per management 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:
9.5.0

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.