Tutorial 1 - Creating nodes

Procedure

  1. Create a directory and name it one.
    mkdir one
  2. Navigate to the new directory and start SPARKL from there.
    (cd one && sse start)
  3. Check if the node is running. If yes, it responds with a pong message.
    (cd one && sse ping)
  4. Create another directory and name it two.
  5. Use the same command as in Step 2 to auto-configure and start two as a SPARKL node.
  6. Check the directories in which a SPARKL node is running.
    sse list
    /.../two
    /.../one
    The sse list command lists all the folders in which a node is running.
    Tip: It does not matter from which directory you run the sse list command.
  7. Stop node two by running sse stop from the node's directory.
    (cd two && sse stop)
    If stopped:
    • The node does not respond to sse ping
    • The node's directory is not listed when executing the sse list command

Results

By now you should:
  • Be familiar with the basic commands starting and stopping SPARKL nodes
  • Have two configured SPARKL nodes named one and two, with only one of them running

What to do next

Log into the SPARKLĀ® Developer Console to check your nodes. By default, each node takes the name of the directory it was first started from. The directory name is usually appended by the host name of your machine and the suffix .local.

See Tutorial 2 - Naming nodes on how to give nodes a name different from their default one.