System Environment

  GigaSpaces 5.X

Documentation Home
Quick Start Guide
Release Notes

Previous release

  Search Here
Searching GigaSpaces Platform 5.X Documentation

                                               

Section Summary: Deployment architecture; main configuration elements; environment requirements for machines running a space instance.

This page is specific to:
GigaSpaces 5.x

If you're interested in another version, click it below:
GigaSpaces 6.0
GigaSpaces 6.5

Overview

This section explains the main concepts and elements of the GigaSpaces system environment, including space, container, server startup scripts, properties and environment variables, and how to use them to set up the environment.

Deployment Architecture

The core element in the GigaSpaces architecture is the JavaSpaces space (the word cache is used to describe a space configured to act as a cache instance).

A space/cache always runs in a space container, a logical unit of the GigaSpaces server. The space container is encased in a service container: this enables dynamic deployment of spaces, and allows applications to access a space as a service (for more about the grid service container, see Service Grid).

Two or more spaces can form a cluster. The cluster comprises multiple spaces running in one or more containers. Two common clustering topologies are replicated and partitioned (see Space Cluster Topologies).

Remote vs. Embedded Space

Applications can access the space as a remote server. Direct communication with the space is facilitated by the RMI protocol or an NIO-based protocol; the space is discovered using the Jini Lookup Service. Alternatively, the space can be deployed as a service using the Service Grid.

The space can also run within the application's JVM. This type of space is called an embedded space.

Running the Remote Space

There are two ways to run a space server:

Expand this...

Key Environment Elements

The following elements participate in the GigaSpaces runtime environment:

  • Configuration schemas (<GigaSpaces Root>\config\schemas*-schema.xml or .xsl) – XML configuration files used as templates for the configuration of a space, container, or cluster.
    • Space configuration schemas define the space instance configuration, including serialization mode, protocol, persistency model, and memory management.
    • Container configuration schemas manage the lifecycle of the space and the lookup directory.
    • Cluster configuration schemas define the space cluster topology. The topology is defined using three policies: replication, load balancing and failover.
  • Default properties (com.gs.*) – variables used in the configuration schemas. The default properties hold the default values, which are not user-editable. These can be overwritten by user-defined values.

Expand this...

How Properties Affect Configuration

In GigaSpaces, properties are used to populate values of configuration parameters in schema files. In the schema files, each configuration parameter may either have an absolute value, or may be populated from a property.

Expand this...

Section Contents

  • Common Environment VariablesDescriptions of the main environment variables set automatically by setenv.bat.
  • Configuration Files Element ListA list and description of Service Grid Deployment Descriptor, space schema, space container, cluster schema, JMS clustered space, JMS client schema configuration file, local cache, and space POJO class mapping schema elements.
  • Debugging GigaSpaces Using EclipseHow to create a new Java project for GigaSpaces in Eclipse, and debug it.
  • GigaSpaces LoggingGigaSpaces logging system.
  • GigaSpaces Port UsageDefault ports used by the space, container, and Jini Lookup Service, and how to configure them.
  • Installing GigaSpacesRequirements and how to install GigaSpaces with Windows, Linux or Unix.
  • Java SecurityPolicy FileSetting the java.security.policy property.
  • License KeyGetting a license key and defining it in the space schema.
  • Lookup Service ConfigurationDefining group names for Jini Services; searching for available lookup services in the network.
  • Multicast ConfigurationEnabling multicast on Linux and windows.
  • Multi-NIC ConfigurationConfiguring GigaSpaces for a machine with multiple network cards. By default all network cards are used; you can limit GigaSpaces to specific ones.
  • Network Detection FailureThe Network Detection Failure facility provides robust and optimize mechanism to identify network Failures.
  • Performance TuningHelpful recommendations for tuning GigaSpaces, boosting its performance, and improving its scalability.
  • Properties ListGigaSpaces properties list, as defined in the com.j_spaces.kernel.SystemProperties class.
  • Setting ClasspathJARs that should be in the classpath of applications accessing a remote or embedded space.
  • Setting JVM LocationSetting the JAVAHOME parameter to tell GigaSpaces where the JDK is installed.
  • Space JMX ManagementControlling space attributes and operations using the JMX console.
  • Space URLAn address, passed to SpaceFinder and CacheFinder, used to connect to a space and remotely create new spaces.
  • Tested JVMs and PlatformsJVM vendors GigaSpaces has been tested with: Windows, Linux, and Solaris.
  • Testing System EnvironmentVerifying a local installation, a remote installation, and the cluster configuration.
  • Understanding Space Configuration SchemaWhat is a schema; space schema basics; overwriting default configuration; custom schemas.
    • Custom SchemasHow to create a custom configuration schema, manually and using the GigaSpaces Browser.
    • Overwriting Schema Settings in RuntimeOverwriting schema values using system properties and attributes in the space URL.
    • Schema BasicsThe space schema is defined through the schema attribute in the SpaceFinder URL.
    • What is a Schema?Uses of configuration schemas; physical location of schemas; schema naming conventions.

Wiki Content Tree


Your Feedback Needed!

We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.

Labels

 
(None)