Summary: Restarts the specified space.

Syntax

gs> space restart [variable [value]]

Description

Restarts the specified space.

The space restart command is relevant only for spaces that are already in a started state. That action just reloads space configuration.
You can restart spaces in a specific container (see the options below) – specifying a container URL prints a numbered list of all the spaces in that container, and you can choose a space to restart by its number, or all spaces (restart all spaces).

Specifying a URL of a clustered space prints a list of all spaces in the cluster, and you can choose a space to restart by its number, or all (restarts all spaces).

Using -c (or -cluster) with a URL of a clustered space restarts all cluster members.

Options

Option Description Value Format
url The URL of the space you want to restart, or of the container – restarts the spaces under that container. Container URL: jini://localhost/my_container
rmi://localhost:10098/my_container

Space URL: jini://localhost/my_container/mySpace
rmi://localhost:10098/my_container
cluster \ c Restarts all spaces in the cluster.  
help \ h Prints help – the command's usage and options.  
user User name for login to secured space – optional parameter  
password Password for login to secured space – optional parameter  

Example

The following prints numbered list of spaces, and you can choose a space to reastart or all (restarts all spaces):

space restart

The following restarts all cluster members belonging to the same cluster as clusterTest.

space restart jini://localhost/clusterTest -c
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence