Test install of GraphDB on EC2

compared with
Current by Reneta Popova
on Sep 16, 2014 10:56.

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

Changes (10)

View Page History
$ ant amazon-configure
{code}
This process takes awhile, so we you can now start deploying the nagios instance.

h2. Launch nagios instance

We'll You need one more EC2 instance. This time choose 64-bit Amazon Linux AMI (tested again with t3.medium, though t1.micro may be enough). You'll need just need SSH (22) and HTTP (80) ports open for this one.

After the instance is up, you'll need to SSH to it and run the following commands there:

{code}
$ sudo docker pull ontotext/owlim-nagios
{code}
We're now ready to configure and run nagios. For this we need to make sure that the cluster is configured and running (that is, the previous step has finished). We'll need also one of the masters' URLs. E.g. the master in box1 above: [http://54.72.215.230:8080/openrdf-workbench/repositories/master]
Now you are ready to configure and run nagios. First make sure that the cluster is configured and running. You also need one of the masters' URLs. E.g. the master in box1 above: [http://54.72.215.230:8080/openrdf-workbench/repositories/master].


{code}
$ sudo docker run -d -p 80:80 ontotext/owlim-nagios conf-and-run http://54.72.215.230:8080/openrdf-workbench/repositories/master
{code}That's it\! The start script will read the cluster's configuration, generate one for nagios and run it. To view the results point your browser to [http://54.76.155.44/nagios3/] or [http://54.76.155.44/pnp4nagios] for graphs (you'll have to put the external IP of the nagios machine here). The credentials are nagiosadmin/nagio.


h2. Run sample LDBC-based load test
This is run from the same project new-cluster-test:
- check the settings in your test.config, the following parameters at the end are related to the load test:
{code}
ldbc_aggregation_agents 16


* Note: ldbc_run_time:
** LDBC benchmark required java 7 7;
** The ldbc-run ant target depends on *Unix.