@Deprecated public class DiscoveredMachineProvisioningConfig extends Object implements ElasticMachineProvisioningConfig
DiscoveredMachineProvisioningConfigurer
,
ElasticDeploymentTopology.dedicatedMachineProvisioning(org.openspaces.admin.pu.elastic.ElasticMachineProvisioningConfig)
,
ElasticDeploymentTopology.sharedMachineProvisioning(String, org.openspaces.admin.pu.elastic.ElasticMachineProvisioningConfig)
Constructor and Description |
---|
DiscoveredMachineProvisioningConfig()
Deprecated.
|
DiscoveredMachineProvisioningConfig(Map<String,String> properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static double |
detectMinimumNumberOfCpuCoresPerMachine(Admin admin)
Deprecated.
|
String |
getBeanClassName()
Deprecated.
The
Bean implementation class name corresponding to this BeanConfig. |
RequiredZonesConfig |
getGridServiceAgentZones()
Deprecated.
Gets the list of zones that can be discovered and started by this machine provisioning.
|
double |
getMinimumNumberOfCpuCoresPerMachine()
Deprecated.
Gets the minimum number of CPU cores per machine.
|
Map<String,String> |
getProperties()
Deprecated.
Get the String key-value pairs properties used to configure this bean.
|
CapacityRequirements |
getReservedCapacityPerMachine()
Deprecated.
Gets the expected amount of memory,cpu,disk,etc...
|
CapacityRequirements |
getReservedCapacityPerManagementMachine()
Deprecated.
Gets the expected amount of memory,cpu,disk,etc...
|
double |
getReservedCpuCapacityPerMachine()
Deprecated.
|
Map<String,Long> |
getReservedDriveCapacityPerMachineInMB()
Deprecated.
|
long |
getReservedMemoryCapacityPerMachineInMB()
Deprecated.
|
Long |
getReservedMemoryCapacityPerManagementMachineInMB()
Deprecated.
|
boolean |
isDedicatedManagementMachines()
Deprecated.
By default is false, which means that a Grid Service Agents may run a management process.
|
boolean |
isGridServiceAgentZoneMandatory()
Deprecated.
|
void |
setDedicatedManagementMachines(boolean isDedicatedManagementMachines)
Deprecated.
A false value indicates that Grid Service Agents may run a management process.
|
void |
setGridServiceAgentsZones(String zones)
Deprecated.
Sets the list of zones that can be discovered and started by this machine provisioning.
|
void |
setGridServiceAgentZoneMandatory(boolean zoneMandatory)
Deprecated.
|
void |
setGridServiceAgentZones(String[] zones)
Deprecated.
Sets the list of zones that can be discovered and started by this machine provisioning.
|
void |
setMinimumNumberOfCpuCoresPerMachine(double minimumNumberOfCpuCoresPerMachine)
Deprecated.
Sets an assessment for the minimum number of CPU cores per machine.
|
void |
setProperties(Map<String,String> properties)
Deprecated.
Set with String key-value pairs to configure properties belonging to this bean.
|
void |
setReservedCapacityPerMachine(CapacityRequirements capacityRequirements)
Deprecated.
Sets the expected amount of memory, cpu, drive space (per machine) that is reserved for
processes other than processing units.
|
void |
setReservedCpuCapacityPerMachineInMB(double reservedCpu)
Deprecated.
Sets the expected CPU cores per machine that is reserved for processes other than grid
containers.
|
void |
setReservedDriveCapacityPerMachineInMB(Map<String,Long> reservedInMB)
Deprecated.
Sets the expected amount of disk drive size per machine that is reserved for processes other
than grid containers.
|
void |
setReservedMemoryCapacityPerMachineInMB(long reservedInMB)
Deprecated.
Sets the expected amount of memory per machine that is reserved for processes other than grid
containers.
|
void |
setReservedMemoryCapacityPerManagementMachineInMB(long reservedInMB)
Deprecated.
Sets the expected amount of memory per management machine that is reserved for processes
other than grid containers.
|
public DiscoveredMachineProvisioningConfig(Map<String,String> properties)
public DiscoveredMachineProvisioningConfig()
public String getBeanClassName()
BeanConfig
Bean
implementation class name corresponding to this BeanConfig.getBeanClassName
in interface BeanConfig
public void setProperties(Map<String,String> properties)
BeanConfig
setProperties
in interface BeanConfig
properties
- the properties to configure this bean object.public Map<String,String> getProperties()
BeanConfig
getProperties
in interface BeanConfig
public double getMinimumNumberOfCpuCoresPerMachine()
ElasticMachineProvisioningConfig
getMinimumNumberOfCpuCoresPerMachine
in interface ElasticMachineProvisioningConfig
public void setMinimumNumberOfCpuCoresPerMachine(double minimumNumberOfCpuCoresPerMachine)
detectMinimumNumberOfCpuCoresPerMachine(org.openspaces.admin.Admin)
to get an assessment of minimum number of CPU cores per machine.public RequiredZonesConfig getGridServiceAgentZones()
ElasticMachineProvisioningConfig
getGridServiceAgentZones
in interface ElasticMachineProvisioningConfig
public void setGridServiceAgentZones(String[] zones)
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)public void setGridServiceAgentsZones(String zones)
zones
- comma separated list of zonessetGridServiceAgentZones(String[])
public void setReservedMemoryCapacityPerMachineInMB(long reservedInMB)
reservedInMB
- - amount of reserved memory in MBsetReservedCapacityPerMachine(CapacityRequirements)
public void setReservedMemoryCapacityPerManagementMachineInMB(long reservedInMB)
reservedInMB
- - amount of reserved memory in MBsetReservedCapacityPerMachine(CapacityRequirements)
public Map<String,Long> getReservedDriveCapacityPerMachineInMB()
public void setReservedDriveCapacityPerMachineInMB(Map<String,Long> reservedInMB)
reservedInMB
- - amount of reserved disk drive in MBsetReservedCapacityPerMachine(CapacityRequirements)
public long getReservedMemoryCapacityPerMachineInMB()
public double getReservedCpuCapacityPerMachine()
public void setReservedCpuCapacityPerMachineInMB(double reservedCpu)
reservedCpu
- - number of reserved CPU coressetReservedCapacityPerMachine(CapacityRequirements)
public CapacityRequirements getReservedCapacityPerMachine()
ElasticMachineProvisioningConfig
getReservedCapacityPerMachine
in interface ElasticMachineProvisioningConfig
public CapacityRequirements getReservedCapacityPerManagementMachine()
ElasticMachineProvisioningConfig
getReservedCapacityPerManagementMachine
in interface ElasticMachineProvisioningConfig
public void setReservedCapacityPerMachine(CapacityRequirements capacityRequirements)
capacityRequirements
- - specifies the reserved memory/cpu/disk spacesetReservedCpuCapacityPerMachineInMB(double)
,
setReservedMemoryCapacityPerMachineInMB(long)
,
setReservedDriveCapacityPerMachineInMB(Map)
public boolean isDedicatedManagementMachines()
ElasticMachineProvisioningConfig
GridServiceManager
nor LookupService
nor ElasticServiceManager
Usually setting this value to true means that ElasticMachineProvisioningConfig.getReservedCapacityPerMachine()
memory
can be decreased, since no memory needs to be reserved for management processes.isDedicatedManagementMachines
in interface ElasticMachineProvisioningConfig
public void setDedicatedManagementMachines(boolean isDedicatedManagementMachines)
GridServiceManager
nor LookupService
nor ElasticServiceManager
Usually setting this value to true means that setReservedMemoryCapacityPerMachineInMB(long)
can be decreased, since no memory needs to be reserved for management processes.@Deprecated public boolean isGridServiceAgentZoneMandatory()
ElasticMachineProvisioningConfig
ElasticMachineProvisioningConfig.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.isGridServiceAgentZoneMandatory
in interface ElasticMachineProvisioningConfig
@Deprecated public void setGridServiceAgentZoneMandatory(boolean zoneMandatory)
setGridServiceAgentZones(String[])
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.public static double detectMinimumNumberOfCpuCoresPerMachine(Admin admin)
public Long getReservedMemoryCapacityPerManagementMachineInMB()
Copyright © GigaSpaces.