Summary: Requirements and how to install GigaSpaces with Windows, Linux or Unix.

Overview

GigaSpaces is 100% pure Java, and therefore can run on any UNIX or Windows machine that supports Java.

Prior to Installation

Prior to the GigaSpaces installation, make sure:

  • JDK 1.6 is installed (see note below):
    • JDK 1.6 – download the latest update (for example, JDK 6 Update 32)
  • The JAVA_HOME environment variable points to the correct JDK (not JRE) directory before running GigaSpaces. For example, D:\Java\jdk1.6.0_32.
  • The JAVA_HOME environment variable should be added to the beginning of the Path environment variable. For example, %JAVA_HOME%\bin;SystemRoot%\system32;%SystemRoot%;%SystemRoot%
  • Optional: Your network and machines running GigaSpaces are configured to have multicast enabled. See the Multicast Configuration section for details on how to enable multicast.
  • You have reviewed the Supported Platforms section.
  • Set the NIC_ADDR environment variable to have the machine IP.

Installation

Installing on Windows

  1. Unzip the ZIP file (using your favorite unzip tool, for example, WinZip) to the location of your choice. Unzipping the file creates a <GigaSpaces Root> directory with several sub-directories. An example for the name of the ZIP file will be gigaspaces-xap-premium-9.1.0-ga-b7500.
  2. After unzipping the ZIP file, you should have the following files and folders under the <GigaSpaces Root> folder:

What's Next?

Installing on Linux

  1. Move into the directory where you want to install GigaSpaces XAP, e.g. opt, and issue the following unzip command, supplying the path to the name of the GigaSpaces zip file – gigaspaces-edition-versionNumber-version/milestone-build.zip. For example:
    unzip gigaspaces-xap-premium-9.1.0-ga-b7500.zip
  1. Make sure all sh file(s) in the /bin and the /examples directory are in executable mode, meaning you can run them from your machine. To check this, use the ls -all command for the relevant directory, and make sure that x is included in the file permissions.
  2. Make sure all the machines running GigaSpaces can ping each other and their hosts file include the machine IP.

What's Next?

Mixing Versions

Mixing GigaSpaces versions/builds

Mixing clients and Space servers from different GigaSpaces Major Releases:Clients running on 8.0 can run against 9.1 servers. 8.0 servers cannot be part of the same cluster with 9.1 servers.

Mixing Different GigaSpaces JARs in Same Deployment Environment

GigaSpaces components (space, cluster of spaces, Processing Unit, GSM, GSC, LUS, Mahalo, GUI, CLI) can run only with the same GigaSpaces JARs (i.e., the same version and same build number).

Important Tips

Use JDK and not JRE

It is recommended to use a JDK (Java Development Kit), and not a JRE (Java Runtime Environment), which can be used for runtime only and not for development. However, if you do decide to use a JRE, make sure the JAVA_HOME environment variable points to the correct JRE directory.

You should also remove specific JDK command-line arguments, like -server, which do not exist in JRE.

Performance Tips

Before you begin working with GigaSpaces, it is recommended to review the Performance Tuning and Considerations sections and apply some of the required changes. For example, you must update the max file descriptors limit before you begin.

GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence