Wendelin Exanalytics Libre

WENDELIN combines Scikit Learn machine learning and NEO distributed storage for out-of-core data analytics in python

Table of Contents

How to install ERP5 instances with SlapOS

Using ERP5 with SlapOS

Agenda

  • Request from web UI, configure
  • Request from console, connect
  • Request on own computer from web UI, connect
  • Request on own computer from console, connect

Web Request (1)

Register to vifib.net, then go to "My Services".

To request a ERP5 instance using vifib.net web interface, go to vifib.net, go to My Services, click on the "New service". Put the desired name of the service in "Service title", then select "ERP5" in the list of softwares. Make sure you have only one selected software. Send the form by clicking on "Order". On the next page, select the latest version of ERP5 available, and click on "order". Review and fill your informations, and click on the "Continue" button. You will be redirected to the home page. You will then have to wait for a few minutes for the instance to be deployed. You can know the state of the instantiation by going to "My Services" page. Your instance will appear after a few seconds, if you click on it, you can see the state of it.

Web Request (2)

Click on "New service".

Web Request (3)

Choose a name for your instance, and select "ERP5" service type.

font-size: 16px;">Warning: Before trying to request an instance on a specific computer, make sure the software you want to use is deployed on this machine. If not sure, go to : Install and Configure SlapOS Node

Web Request (4)

Choose the latest version of the software.

Web Request (5)

Fill ERP5 Instance configuration with:
<?xml version="1.0" encoding="utf-8"?>
<instance>
<parameter id="flavour">configurator</parameter>
<parameter id="frontend-software-url">
http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg
</parameter>
<parameter id="frontend-instance-guid">SOFTINST-9238</parameter>
</instance>
            

Web Request (6)

Instance has been requested, you can go back to home. Wait for a few seconds, then go back to "My Services".

Web Request (7)

You can see your instance : click on it.

Web Request (8)

You can see your instance being deployed. Reload to have up-to-date informations.

Web Request (9)

Your instance is ready. All the needed informations can be found in the "Connection" xml.

Connect with Browser

Open the url with your browser (recent Chrome/Chromium is preferred). Make sure the ipv6 part is correctly filled in the form ("[" characters can be altered), paste the password, then connect.

Wait for ERP5

URL/erp5

Wait until ERP5 be created, it should take few minutes to be ready.

Login

Login into your ERP5 created

Request from console

Used to request instance somewhere on the cloud.

# In your slapos client directory :
$ bin/slapconsole slapos.cfg
>>> erp5_instance = request(erp5_branch, "first_erp5")
>>> erp5_instance.getState()
Started
>>> erp5_instance.getConnectionParameter('url')
[URL appears here]
            

Slapconsole allows your to interact with the SlapOS Master using the SLAP API. It allows you to request instances from a terminal or a software.

Launch slapconsole, then ask the Master to deploy an instance of your software. First, it will raise an exception meaning that the instance is not ready yet. You will have to wait until the instance is ready. From time to time, run again the same command to fetch up-to-date informations. When it does not longer throw an exception, your instance is ready. You can then fetch the informations you need to connect to your instance

SLA from console

Used to request instance on a specific computer.

# In your slapos client directory :
$ bin/slapconsole slapos.cfg
>>> erp5_instance = request(erp5_branch, "first_erp5", \
filter_kw={ "computer_guid": "COMP-12345" })
>>> erp5_instance.getState()
Started
>>> erp5_instance.getConnectionParameter('url')
[URL appears here]
            

Replace the COMP-12345 by your Computer ID.

Launch slapconsole, then ask the Master to deploy an instance of your software. First, it will raise an exception meaning that the instance is not ready yet.

You will have to wait until the instance is ready. From time to time, run again the same command to fetch up-to-date informations.

When it does not longer throw an exception, your instance is ready. You can then fetch the informations you need to connect to your instance.

Next Steps

How to Contribute?

  • Extend ERP5 profile to be able to add list of BTs