Here is a sample process of how to install and configure a 2DC (2 data-centers, each with 2 masters and 2 workers) and nagios for monitoring.
When the instances start, they pull the latest GraphDB docker image, along with LDBC 50 and start it (takes a few minutes).
Each instance can act either as a master or as a worker. For this scenario, configure them by first editing the following configuration file: test.config.
Save the file either in the current folder or in the user home folder as "test.config". Just change the IP addresses for each box to one of the public IPs of the newly created instances:
Be sure that the Amazon "Security groups" and instances firewalls have proper open ports.
This process takes awhile, so you can now start deploying the nagios instance.
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 just need SSH (22) and HTTP (80) ports open for this one.
After the instance is up, you need to SSH to it and run the following commands there:
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://188.8.131.52:8080/openrdf-workbench/repositories/master.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://184.108.40.206/nagios3/ or http://220.127.116.11/pnp4nagios for graphs (you'll have to put the external IP of the nagios machine here). The credentials are nagiosadmin/nagio.
This is run from the same project new-cluster-test:
Skip to end of metadata Go to start of metadata