Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: Prior to deployment, you can increase the memory used by the fuseki server by editing the Dockerfile at caliper/fuseki/Dockerfile and updating line 107, JAVA_OPTIONS="-Xmx2048m -Xms2048m", setting the required number of megabytes that the system can use. In the previous example, 2048 is the default megabyte value.

Backup

Backups can be done by running the backup_volumes.sh script in the caliper cloned folder. You can edit the backup script accordingly as the script is highly documented. You only have to update the following specific parts:

  1. Google Cloud Storage (GCS) bucket that you have access to and want to use. (Line 13). In the case of the test instance this value is fao-datalab-backups.
  2. The full system directory where the caliper instance is installed, in the case of the datalab caliper internal test instance, this is /opt/caliper/v2. (Line 10)
  3. GCS storage directory. (Line 41). In this case …/caliper/internal/test

Restore

Restores can be done by running the restore_volumes.sh script in the caliper cloned folder. You can edit the restore script accordingly as the script is highly documented. You only have to update the following specific parts:

  1. Ensure that the docker services are not currently running.
  2. The caliper root folder. In the case of the test instance, it’s /opt/caliper (Line 8)
  3. The Google Cloud Storage (GCS) bucket. In the case of the test instance this value is fao-datalab-backups (Line 9)
  4. Backup timestamp (Line 14). This is the timestamp of the backup you want to use from the GCS bucket.
  5. The GCS storage directory (Lines 23 and 51). In this case it’s …/caliper/internal/test

 

Notes:

 

Also included in the git repository is the caliper.conf file under the nginx folder. This configuration can be used in conjunction with nginx to reverse proxy external connections via a GCP load balancer. In this case, it is recommended to get in touch with someone from CSI to assist with the exposure of the service to external use along with a domain url, e.g. https://datalab.review.fao.org/....

...