Summary: Verifying a local installation, a remote installation, and cluster configuration.
Overview The GigaSpaces Server and utilities are configured to work on a default embedded space named mySpace (using the default schema), which is created during installation. The space URL which is set as part of the gsInstance.bat also uses the default configuration overwrite properties file from:
Make sure your network and machines running GigaSpaces are configured to have multicast enabled. See the Multicast Configuration section for details on how to enable multicast. For details on viewing the exact configuration in which the system is currently running, refer to the Container Maintenance section. Verifying Local Installation
- Run the GigaSpaces Server by opening the <GigaSpaces Root>\bin directory and running the gsInstance.bat/sh command.
- It is recommended to verify the parameters in the <GigaSpaces Root>\bin\setenv.bat/sh file. Note that the VERBOSE variable is set to false in this file.
- Run gsInstance.bat/sh locally. Make sure it loads without errors/exceptions.
- Ping the space:
- Run the space ping utility from the <GigaSpaces Root>\bin\gs.bat/sh prompt, using the following syntax (use your host ip/hostname instead of hostname):
Here we verify the capability to ping to a local space, using RMI registry and specifying implicitly hostname:port. The following result should appear on the console:
If this stage fails, check if ping using Jini Multicast works:
- Run the space ping utility from the <GigaSpaces Root>\bin\gs.bat/sh prompt, using the following syntax:
Here we verify the capability to ping to a local space, using Multicast Jini Lookup Service. The following result should appear on the console:
If this stage fails, check if ping is using Jini Unicast works:
- Run the space ping utility from the <GigaSpaces Root>\bin\gs.bat/sh prompt, using the following syntax (use your host ip/hostname instead of hostname):
Here we verify the capability to ping to a local space, using Unicast Jini Lookup Service. The following result should appear on the console:
If the ping utility displays the following error:
make sure you have not disabled the JNDI or the Jini Lookup Service as part of your installation process. You can do this by checking the jndi and the jini sections in your <GigaSpaces Root>\config\schemas\default-container-schema.xml file.
- Check if multicast is enabled in the host, using the defined address. In most cases it is 224.0.0.1:
The ping referred to in this step is a regular ping, not the space ping CLI utility.
- Test multicast using the in-house multicast CLI utility – see admin multicastTest*** for details on how to run the test.
Verifying Remote Installation Repeat steps 1 - 4, but from a remote host. Verifying Cluster Configuration
- To verify one of the cluster configurations, run the startAll.bat/sh command from the <GigaSpaces Root>\examples\Advanced\Data_Grid\replicated\bin directory.
- Run the space list CLI utility using the following syntax (use your host ip/hostname instead of hostname):
Here we verify the capability to launch and list typical cluster configuration of two nodes.
- The following result should appear on the console:
- You should be able to see the two replication nodes in the list: rep_cache_container1 and rep_cache_container2.
What's Next? Get Started with GigaSpaces 6.6 Tutorials ***Link required |