As part of evaluating XAP or InsightEdge, or as part of working with the products in a lab environment, you’ll want to deploy a data grid, also known as a Space. After you’ve deployed the Space, you can perform Space-related activities, such as adding data objects, viewing information about the Space configuration, querying the data in the Space, and viewing logs and alerts.
In order to deploy a Space, you must first have a service grid up and running. Deploying a Space creates a Processing Unit that contains only a Space, without any application components.
Deploys a Space in a stateful Processing Unit.
Before deploying a Space, you must start a container (refer to Starting a Container).
Parameter name Provide the name of the Space you are deploying. If you run the command without defining any options, a non-clustered Space is deployed.
Option --partitions Define how many primary partitions the Space should contain, using the syntax --partitions=n.
Option --ha High availability. Adds a single backup partition per primary partition.
Option --requires-isolation If this Space should not share a container, adding this option provisions the Space in a dedicated container.
This example deploys a Space named mySpace with high availability and two partitions, two instances for the first parition (mySpace~1_1,mySpace~1_2) and two for the second partition (mySpace~2_1,mySpace~2_2). For this example, you must start at least 2 containers.
Deploys a Space in a stateful Processing Unit. If you run the command without defining any options, a non-clustered Space is deployed.
This example deploys a Space named mySpace with high availability, three partitions and isolation.
From the Deploy menu on the menu bar, select Space.
In the Space name box, type a name for the Space.
Provide the user credentials in the User Name and Password boxes.
In the Cluster Info area, apply the required configuration details.
None - A standalone Space.
Partitioned - A cluster that is partitioned across the instances that are specified.
Sync_replicated - A cluster with synchronous replication across the instances that are specified.
Async_replicated - A cluster with asynchronous replication across the instances that are specified.
In the Number of Instances box, specify the number of primary Space instances to deploy in the cluster.
(For partitioned clusters) In the Number of Backups box, define the number of backup Spaces for each primary Space.
In the Max Inst. per VM box, define the maximum number of Space instances each virtual host may contain (the default is 1).
In the Max Inst. per VM box, define the maximum number of Space instances each physical host may contain.
If you have more than one host, you can specify on which host to deploy the primary Space instances.
(Optional) If you want to use a configuration file to specify the SLA definitions, or if you want to override your defined SLA definitions in specific scenarios, click Next.
Click the Browse button next to the SLA override box and select the sla.xml file that you want to use.
From the list on the left, select which zone to use for the -zone deployment parameter.
In the Max. Instances (partitions) number area on the right, define the maximum instances per zone (`-max-instances-per-zone` deployment parameter).
If you don’t want to specify a zone, select Any Zone.