Summary: Sets the Service Grid system environment variables.
Syntax
Description The set comand sets the Service Grid system environment variables. Options
Option |
Description |
Value Format |
groups |
The Jini lookup groups value. The group filters the specific group of services that should be managed by the current shell context. |
- List of comma-delimited names: group1,group2,...
- all_groups assigns the current context to all available GridService elements in the network.
|
locators |
A list of Jini locators hosts. The locators provide an alternate discovery mechanism, if multicast is not working. The locator points to the location of Jini lookup hosts. Normally a lookup service is running as an embedded instance with the Grid Service Monitor (GSM). |
jini://<hostname1> To set several locators you have to execute: set locators jini://<hostname1> set locators jini://<hostname2> ... To empty the locators variable you have to exectute: set locators null |
system-props |
Should be one of the properties used by the system. Omit this parameter to view a list of the available properties. |
<system property name>=<property value> |
disco-timeout |
Jini discovery timeout [in ms]. Defines the time for waiting for service discovery announcements. Relevant for multicast discovery only. |
|
wait-on-deploy |
Timeout [in ms] for finding deployable servers. |
|
deploy-timeout |
Timeout [in ms] for blocking for deployment status. |
 |
Make sure your network and machines running GigaSpaces are configured to have multicast enabled. See the How to Configure Multicast section for details on how to enable multicast. |
Examples
Displaying Current System Variables
Setting New Location for Two Properties with Timeout
This example sets new locations for the properties com.gigaspaces.lib and com.gs.home, with a timeout of five and a half seconds for discovery.
|