Summary: A registry of services (GSM, GSC, Space Instances, Processing Unit Instances) that can be lookup up using it.
OverviewThe Lookup Service (LUS) provides a leased based registry holding Service Grid level services advertised on it. Some of the services exposed on the LUS are GigaSpaces Agent, GigaSpaces Manager, GigaSpaces Container, Space Instances (actual instances of a Space that form a topology), and Processing Unit Instances (actual instances of a deployed Processing Unit). A Lookup Service creates a virtualized isolated environment by utilizing lookup groups (when using multicast) or lookup locators (when using unicast). When starting the LUS and other runtime components GigaSpaces Agent, GigaSpaces Manager and GigaSpaces Container, the lookup groups / lookup locators can be set in order to form an isolated environment. In a multicast enabled environment, the lookup groups can be set using either the LOOKUPGROUPS environment variable (when using scripts), or by setting -Dcom.gs.jini_lus.groups system property. In a unicast environment (where multicast is disabled), the lookup locators can be set using either LOOKUPLOCATORS environment variable (when using scripts), or by setting -Dcom.gs.jini_lus.locators system property. In a unicast environment, the LUS are started on specific machines (usually two LUS instances), and the lookup locators simply point to the two hosts the LUS instances are running on.
Starting the LUSThe preferable way to start a LUS is using the GigaSpaces Agent. A LUS can be started on its own using the [GSHOME]/bin/startJiniLUS.(bat/sh) script. Also note that by default, when using the [GSHOME]/bin/gsm.(bat/sh) script, a LUS is started embedded with the GSM. Configuring the LUSConfiguring the LUS (and possibly system level settings for other services, such as the communication layer) can be done using system properties.
Linux
#Wrapper Script export LUS_JAVA_OPTIONS=-Xmx1024m #call startJiniLUS.sh . ./startJiniLUS.sh Windows @rem Wrapper Script @set LUS_JAVA_OPTIONS=-Xmx1024m @rem call startJiniLUS.bat call startJiniLUS.bat
|
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |