JeeWiz Home

 
  
 
Contents  >   7.  GigaSystemBuilder Profile Reference
 


7.8 DeploymentOption Object

Used on
application
DescriptionSee PuDeploymentOption for a description of DeploymentOption.
Inherited
properties
template (base property)

text (base property)

jwpattern (base property)

 7.8.1  Property 'cloudToolsVersion'
 7.8.2  Property 'defaultMachineSize'
 7.8.3  Property 'deploymentKey'
 7.8.4  Property 'description'
 7.8.5  Property 'gscsPerMachine'
 7.8.6  Property 'machines'
 7.8.7  Property 'name'
 7.8.8  Property 'numberOfBackupClusterManagers'
 7.8.9  Property 'numberOfBackups'
 7.8.10  Property 'numberOfPartitions'
 7.8.11  Property 'startUi'
 7.8.12  Property 'target'
 7.8.13  Property 'vmsPerMachine'

7.8.1  Property 'cloudToolsVersion'
DescriptionThis is the default number for the cloudTools version.

If you want to use a new version than is supported in your version of GigaSpaces, make sure the application element in your OSM model has no value (shows as in the model) and then put the new 'cloudToolsVersion' value in the system.properties file.

Instructions for doing this are in customization 40 (in the directory jeewiz/customizations/giga-spaces).
TypeString
Choices 2.3.6 (default)
2.3.5
2.3.4
2.2.1
2.0.0

7.8.2  Property 'defaultMachineSize'
DescriptionThese are the sizes/power ratings of the machines you can use.

Small                - 1.7 GB of memory,  1 EC2 Compute Unit, 32-bit platform
Large                - 7.5 GB of memory,  4 EC2 Compute Units, 64-bit platform
Extra Large          - 15  GB of memory,  8 EC2 Compute Units , 64-bit platform
High-CPU Medium      - 1.7 GB of memory,  5 EC2 Compute Units, 32-bit platform
High-CPU Extra Large - 7   GB of memory, 20 EC2 Compute Units, 64-bit platform 


See the GigaSpaces documentation for further details.
TypeString
Choices small (default)
large
extraLarge
highCpu
highCpuLarge
Requiredtrue

7.8.3  Property 'deploymentKey'
DescriptionThis is the key or identifier to be used for this deployment. In AmazonEC2 this is will become the name of the key pair used in the deployment of the application
TypeString

7.8.4  Property 'description'
TypeString

7.8.5  Property 'gscsPerMachine'
DescriptionThis is the number of gscs that can be placed on a machine.

Normally this should be 1, which is the default if nothing is specified. However, if you are doing functional testing on a limited hardware base, increasing the gscsPerMachine will help you deploy more gscs and therefore PUs, to be able to get realistic amounts of functionality tested.
TypeInteger

7.8.6  Property 'machines'
DescriptionThis is list of the machines for this deployment.

It is a comma-separated list; empty entries are removed; leading and trailing whitespace (but not embedded whitespace) is trimmed.

The machines listed here are actually the target directories on the machines, rather than the names of the machines. The start-up script for the required number of GSC's (Grid Service Container's) is copied to each directory.

For example, in a Windows deployment the machine list could be either in terms of names, IP address or drive letter, plus the residual path:

\\BIGSERVER\D$\UAT\Deployments\1 , \\192.168.0.42\C$\Deployments\2 , X:\TestDepl
TypeString

7.8.7  Property 'name'
DescriptionThis is the name of this deployment option.

It is possible to have multiple deployment options and the name is used to distinguish between them.

Generated deployment configurations are identified by the names of deployment options modelled at the application level. However, this does not apply if the name is not specified or is empty (0-length); this deployment option is used to specfy defaults.

A named deployment option at the PU level does not automatically lead to a deployment option being generated; there must be a deployment option of the same name at the application level for that to happen. However, deployment options at the PU level define specific properties in the deployment configuration for that PU.

See the documentation for the details of the defaulting strategy, but in same the priority order for a specific configuration value is

(1) in a named PU-level deployment option

(2) in a unnamed PU-level deployment option

(3) in a named application-level deployment option

(4) in a named application-level deployment option.
TypeString

7.8.8  Property 'numberOfBackupClusterManagers'
DescriptionThis is the number of additional cluster managers (GigaSpace GSM). One cluster manager will always be started, which should be for test purposes, hence the default of this property is 0. For production deployment, you may want to specify one or more backups.
TypeInteger

7.8.9  Property 'numberOfBackups'
DescriptionThis is the number of backups that the each space will have. The default value is '0', which means there are no backups. A value of Y where Y > 0 means there will be a Y backups per space in the cluster For a GigaSpaces deployment this will value will be used in total-members setting e.g. total-members=X,Y.
TypeString

7.8.10  Property 'numberOfPartitions'
DescriptionThis is the number of partitions that will be used in this cluster. The default value is '1', which means there will be no partitioning. Similarly a value of '0' means . A value of X where X > 1 means the cluster will be partitioned and there will be X partitions. For a GigaSpaces deployment this will value will be used in total-members setting such that total-members=X,Y. In this example where Y is the number of backups. See 'number-of-backups' for more information.
TypeString

7.8.11  Property 'startUi'
DescriptionThis determines whether a Management tool should be started when this deployment is used. By default this is set to true. For GigaSpaces the management tool manager will be the GigaSpaces Management Center.
TypeBoolean

7.8.12  Property 'target'
DescriptionThis is the target environment where this application will be deployed to. The default deployment is 'CommandLine' - the Windows command line that is.

You can also specify AmazonEC2; this uses the GigaSpaces Cloud deployment tools to do the deployment, so it should deploy to other clouds as well, but we don't test them.

The UNIX target is generated, but it currently looks just like the Windows command line version (suprisingly). If you need the UNIX version and can help us test it, please get in touch.
TypeString
Choices CommandLine (default)
AmazonEC2
Unix
DefaultCommandLine

7.8.13  Property 'vmsPerMachine'
DescriptionThis is the number of processing units that can exist on a single machine.

Maps to -max-instances-per-machine on pudeploy.

When the location option is set to is EC2 ... ?
TypeInteger

Copyright (c) 2001-2009 New Technology/enterprise Ltd.