GraphDB-Enterprise Installation

compared with
Version 8 by Reneta Popova
on Sep 10, 2014 14:03.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (7)

View Page History
h2. Install master node

* Install the master node as though it is an a GraphDB-SE instance, but use the GraphDB-Enterprise jar file and a different configuration template. A suitable template called {{master.ttl}} can be found in the {{templates}} folder of the distribution ZIP file.
* Configure the Tomcat instance to expose its JMX interface, which can be done in a variety of ways. Firstly, a JMX port number must be chosen, this example uses port 8089. Then the *CATALINA_OPTS* environment variable can be set so that the Tomcat server exposes the JMX interface on this port number:
* Configure the Tomcat instance to expose its JMX interface, which can be done in a variety of ways. First, choose a JMX port number, this example uses port 8089. Then, set the *CATALINA_OPTS* environment variable, so that the Tomcat server exposes the JMX interface on this port number:
{code}set CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=8089
-Dcom.sun.management.jmxremote.authenticate=false
h3. Setting additional master nodes

If you want to setup several master nodes for the cluster, then before each master is brought online, its config file "cluster.properties" should be configured properly:
If you want to setup several master nodes for the cluster, then before bringing each master online, configure its config file "cluster.properties" properly:
* location
<master-repository>/cluster.properties
* After connecting, select the *MBeans* tab and open the *ReplicationCluster* bean (if this is not visible, try to force the instance in to memory as described above).
* Add worker nodes using the *addClusterNode* operation. Two or more parameters are required, the first is the URL of the HTTP endpoint, e.g. [http://localhost:8080/openrdf-sesame/repositories/worker1], and the second is the port number used for replication. At the moment, this is hard-coded to be the servlet container (Tomcat) port number plus 10, so usually this will be *8090*. Any other parameters can be ignored at this stage.
* To ensure that the worker node has been added correctly, check the attribute *NodeStatus*. This is an array and will need needs to be expanded by double-clicking on it. The newly added worker node will be is shown here with its full URL. If it has been added successfully, it will have the status *\[ON\]*. If however, it has the status *\[OFF\]* then the node has not been added properly. A common mistake is to enter the Sesame workbench URL (containing '...openrdf-workbench...') instead of the repository endpoint URL (containing '...openrdf-sesame...'). The proper URL to use can be seen found in the list of repositories shown in the workbench, by clicking on the the 'Repositories' link in the left-hand menu (assuming that the workbench is already using the correct Sesame server).

As soon as one or more workers have been attached., the cluster can now be used as a read-write repository, notifications and [statistics|GraphDB-SE Configuration] can be monitored through the JMX client.