Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SPIN is installed in two distinct places on the host operating system:

  •         SPIN web application (webapp) is installed within the web servlet container, Tomcat.
  •         SPIN home directory is a place on the file system that contains folders for storing configuration files, log files and plugins.

...

  1. Configure the SPIN home directory
  2. Install Deploy the SPIN web application
  3. Configure Create node.xml Configure the and routingtable.xml
  4. Configure the keystore.xml
  5. Restart the web servlet container

...

On Microsoft Windows systems, the default directory is ~/spin. The directory must be writeable by the process ownerprocess owner must have write permission for the directory.

You can override the default location by setting:

...

  1. Deploy the .WAR file. Copy blank<version>/node-server-<version>.war to the $TOMCAT_HOME/webapps directory.
  2. Start the servlet container (Tomcat). This will create a keystore (with a generated keypair) and keystore.xml in the $SPIN_HOME/conf directory.

The two Note: Two other configuration files, node.xml and routingtable.xml will not be created, but the node will start without them.

Step 3: Create node.xml and routingtable.xml

  • Nodenode.xml also contains various values for thresholds and timeouts.
  • Roundtableroundtable.xml contains information about the Node's place in the network topology.

...