...
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.
...
- Configure the SPIN home directory
- Install Deploy the SPIN web application
- Configure Create node.xml Configure the and routingtable.xml
- Configure the keystore.xml
- 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:
...
- Deploy the .WAR file. Copy blank<version>/node-server-<version>.war to the $TOMCAT_HOME/webapps directory.
- 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.
...