GigaSpaces CLI Reference

  Search Here
Searching XAP 6.0 Documentation

                                               

Summary: Syntax, usage and options for all GigaSpaces CLI commands.

Overview

The command-line utilities provide life-cycle management both for the container and the spaces it manages. You can start and shutdown containers, and create, ping, clean, stop, start, and destroy spaces. You may discover the spaces running over the network and perform some network diagnosis tasks.

The general format of most of the utilities is:

Utility <container name> <space name> | [ -l <lookup host> | -r <RMIregistry host> ] <utility specific options>

The default container name is the name of the host running the container. You can use also "." as the container name – this will count as:

<Space name>_container

The space name is the same name given when the space was created. All the utilities provide two basic methods of locating a space in the environment:

  • Using the Jini Lookup Service – This option enables both a Unicast and Multicast lookup. Multicast is the default option. Use Unicast if you specify the lookup host with the -l option.
  • Using the RMI Registry – Every container has an embedded RMI Registry. The default port for it is 10098. This mode allows the space to be located independently of the Jini services. It also enables more control of the space by providing direct access to the container, thus avoiding the possibility of conflict, if and when spaces with the same name and containers run across the network.

Commands Run from <GigaSpaces Root>\bin Directory

The following commands are run directly from the <GigaSpaces Root>\bin directory.

Benchmark

The benchmark utility is run from the <GigaSpaces Root>\examples\Advanced\Benchmark\bin directory.

Commands Run Using <GigaSpaces Root>\bin\gs.bat/sh

To run the following commands, run the <GigaSpaces Root>\bin\gs.bat/sh command.

gs > admin

The following commands are run as part of the <GigaSpaces Root>\bin\gs.bat/sh > admin command:

gs > space

The following commands are run as part of the <GigaSpaces Root>\bin\gs.bat/sh > space command:

Other gs Commands

The following commands are run directly from <GigaSpaces Root>\bin\gs.bat/sh command:


GigaSpaces 6.0 Documentation Contents (Current Page in Bold)

    Java

    C++

    .NET

    Middleware Capabilities

    Configuration and Management

Add GigaSpaces wiki search to your browser search engines!
(works on Firefox 2 and Internet Explorer 7)

Labels

 
cli