Description | DBpedia 3.8 - Virtuoso 6.4 Cluster Edition |
Virtuoso Server Type | Cluster Edition |
Snapshot ID (Linux/Unix) | snap-02baf371 |
Size | 75 GB |
Creation Date | 2012-08-28 |
Last Updated | 2012-08-28 |
License | Creative Commons: Attribution Share Alike |
Submitted By | OpenLink Software |
Source | http://www.openlinksw.com |
ssh
into the Virtuoso EC2 AMI instance and create a directory for the Virtuoso DBpedia 3.8 snapshot volume attached previously to be mounted under.
$ ssh -i MyKeyPair.pem root@<ec2-ami-public-dns-cname> [root@ip-10-218-91-224 ~]# cd /opt/virtuoso [root@ip-10-218-91-224 virtuoso]# ls bin hosting lib virtuoso-environment.csh vsp database install vad virtuoso-environment.sh [root@ip-10-218-91-224 virtuoso]# . ./virtuoso-environment.sh [root@ip-10-218-91-224 virtuoso]# mkdir dbpedia
[root@ip-10-218-91-224 virtuoso]# mount /dev/sdf /opt/virtuoso/dbpedia
[root@ip-10-218-91-224 virtuoso]# ls -l /opt/virtuoso/dbpedia/ total 40 lrwxrwxrwx 1 root root 17 May 5 16:56 bin -> /opt/virtuoso/bin -rwxr-xr-x 1 root root 293 May 6 08:04 crestore.sh -rwxr-xr-x 1 root root 97 May 6 08:23 cstart.sh lrwxrwxrwx 1 root root 21 May 5 13:29 install -> /opt/virtuoso/install drwx------ 2 500 500 16384 Apr 8 2009 lost+found drwxr-xr-x 3 root root 4096 May 6 17:11 cluster_01 drwxr-xr-x 3 root root 4096 May 6 16:40 cluster_02 drwxr-xr-x 3 root root 4096 May 6 16:40 cluster_03 drwxr-xr-x 3 root root 4096 May 6 16:41 cluster_04 [root@ip-10-218-91-224 virtuoso]
[root@ip-10-218-91-224 ~]# cd /opt/virtuoso [root@ip-10-218-91-224 virtuoso]# . ./virtuoso-environment.sh [root@ip-10-218-91-224 virtuoso]# virtuoso-stop.sh
VIRTUOSO_HOME
environment variable to this location.
[root@ip-10-218-91-224 virtuoso]# cd /opt/virtuoso/dbpedia [root@ip-10-218-91-224 dbpedia# export VIRTUOSO_HOME=`pwd`
NumberOfBuffers
" parameter therein reduced from 1000000
to 500000
before attempting to start the Virtuoso server instance; otherwise, it will fail to start due to lack of memory.
Note as this is a 4 node cluster the "NumberOfBuffers
" should be split across the "virtuoso.ini" for each node ie 250000
for 16GB RAM and 125000
for 7.5GB RAM.
For more details please refer to the Virtuoso RDF Performance Tuning Guide in the online documentation.
[root@ip-10-218-91-224 virtuoso]# rm cluster_0*/database.trx
virtuoso-start.sh
script to start the Virtuoso server containing the attached data set.
[root@ip-10-218-91-224 dbpedia]# virtuoso-start.sh Starting Virtuoso instance in [cluster_01] Starting Virtuoso instance in [cluster_02] Starting Virtuoso instance in [cluster_03] Starting Virtuoso instance in [cluster_04] [root@ip-10-218-91-224 dbpedia]#
http://ec2-ami-public-dns-cname/conductor/
).
http://ec2-ami-public-dns-cname/resource/Bob_Marley
http://ec2-ami-public-dns-cname/fct
http://ec2-ami-public-dns-cname/sparql