Most Powerful Open Source ERP

How to Use SlapOS to Test KumoFS Scalability

A web page to explain how to use SlapOS to test Kumofs scalability .
  • Last Update:2020-01-30
  • Version:001
  • Language:en

1- Prerequisites

You should have a ViFiB account.

You should have your ViFiB account certificate and key on your computer.

You should have access to a slapconsole on your computer.

2- Requesting a new service

For this example, we will not use the ViFiB interface, but we will use slapconsole instead.

Launch a slapoconsole, and type the following commands:

from slapos import slap

ss = slap.slap()
ss.initializeConnection("https://slap.vifib.com", "/path/to/your/key", "/path/to/your/certificate")
ss.registerOpenOrder().request("http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/nosqltestbed:/software/nosqltestbed/software.cfg", \
                               "NameOfYourInstance", \
                               partition_parameter_kw={'nbd_ip':'2a01:e35:2e27:460:e2cb:4eff:fed9:48dc', 'nbd_port':'1024'}, \
                               filter_kw={'computer_guid':'COMP-23'})

3- Getting results

Results for the scalability test can be found in two locations:

  • In ERP5 test result module (coming soon).
  • By downloading a file.

To get the test results as files, go to you vifib.net, log in and then go to: My Services -> NameOfYourInstance -> NameOfYourInstance.

There you will find an URL to a web page in the XML parameters, go to that page, and click on the report you want.

The easiest way to get the report you are lookgin for is to click on "all", to get all the files.

The report are called "reportN.csv", where N is the number of Kumo node running during a test step.

You can then create a graph in LibreOffice using those reports.