Summary: Deploys a Space onto the Service Grid.

Syntax

gs> deploy-space [space name]

Description

A Space only Processing Unit can be easily deployed onto the Service Grid.

Options

Option Description Value Format
Space Name – mandatory The name of the space to be deployed.
-cluster Allows you to control the clustering characteristics of the space.
The following options are available (used automatically by any embedded space included in the Processing Unit):
  • schema – the cluster schema used by the Processing Unit.
  • total_members – the number of instances, optionally followed by the number of backups
    (number of backups is required only if the partitioned-sync2backup schema is used).
-cluster schema=[schema name] total_members=numberOfInstances[,numberOfBackups]
-properties Allows you to control deployment properties. -properties [bean name] location
-sla Allows you to specify a link (default to file-system) to a Spring XML configuration, holding the SLA definition. -sla [slaLocation]
-zones Allows you to specify a list of deployment zones that are to restrict that the deployment to specific GSCs. -zones [zoneName1, zoneName2 ... ]
-max-instances-per-vm Allows you to set the SLA number of instances per VM  
-max-instances-per-machine Allows you to set the SLA number of instances per machine  
-max-instances-per-zone Allows you to set the SLA number of instances per zone in the format of zoneX/number,zoneY/number  
h / help Prints help  
-secured Deploys a secured processing unit (implicit when using -user/-password) - (CLI) Security -secured [true/false]
-user -password Deploys a secured processing unit propagated with the supplied user and password - (CLI) Security -user xxx -password yyyy
You may use the GigaSpaces Universal Deployer to deploy complex multi processing unit applications.
You may use the Primary-Backup Zone Controller to deploy primary and backup instances on different zones.

Example

The following deploys a space named mySpace using the sync_replicated cluster schema with 2 instances (total_members).

gs> deploy-space -cluster schema=sync_replicated total_members=2 mySpace

The following deploys a space named mySpace using deployment properties file called pu.properties.

gs> deploy-space -properties file://config/pu.properties mySpace

The following deploys a space called mySpace using an SLA element read from an external sla.xml file.

gs> deploy-space -sla file://config/sla.xml mySpace
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence