Skip to content

Graph Data Base

mona edited this page Nov 5, 2016 · 7 revisions

Graph Data Base: The object is stored as a node and the relationships between the other nodes.

  • single acale up machine: Use the single node processing.
  • neo4j based on java.

Introduction to IBM System G

  • visuralizer
  • command line interface
  • all vertices and edges have properties

Installation on Ubuntu 16.04

The setup guide is based on the page systemG tool

  • Download and unzip
wget https://iwm.dhe.ibm.com/sdfdl/v2/regs2/hof/Xa.2/Xb.VNeRoIHA8PiHhYqTFtu2SUif8AYI5h70maTK9WdUy_g/Xc.systemg-tools-1.4.0_linux-64bit.tar.gz/Xd./Xf.LPr.D1vk/Xg.8864271/Xi.swg-isgtd/XY.regsrvs/XZ.3mowmuFmQufZ1tkdxMhN6EUFMpk/systemg-tools-1.4.0_linux-64bit.tar.gz
tar -xvzf systemg-tools-1.4.0_linux-64bit.tar.gz
rm systemg-tools-1.4.0_linux-64bit.tar.gz
  • Install dependencies via terminal
cd systemg-tools-1.4.0/
./bin/download_dependencies.sh
  • Configure the server to support a single user or multiple users (Default: Single User)
    Configure for single-user mode (ggs) ~ uses Port: 8083
sudo ./bin/configuiserver.sh ggs

where ggs stands for "gShell and Gremlin server". Configure for multi-user mode (supermgr) ~ uses Port: 8755

A web server monitoring a node or a port where you can passing command.

sudo ./bin/configuiserver.sh supermgr

The port numbers can be changed by modifying ./bin/configuiserver.sh.

  • Start the UI Server – this communicates with your browser when using the Visualizer interface
./bin/startuiserver.sh&
  • Initialize and start the Graph Database (Native Store)
    Single-user Configuration:
./bin/runggsserver.sh

ggs server is the database server and the each transitions you did will be written in the log. Then type CTRL + Z followed by:

bg (ENTER)
disown (ENTER)
  • Open the URL for visualizer http://localhost:9080/systemg/visualizer/ if you run it on the local host.

There is a problem when you see can not connect to the server, something wrong happened in ggs. Restart it as permission is correct.

Clone this wiki locally