Most Powerful Open Source ERP

HowTo Add an Allocation Supply on the SlapOS Panel

How to add an Allocation Supply on the SlapOS Panel to supply a software release to a Compute Node
  • Last Update:2024-10-25
  • Version:001
  • Language:en

Agenda

  1. Prerequisites
  2. Create an Allocation Supply
  3. Verification

In order to request an instance of a given software release in SlapOS, an Allocation Supply must first be configured and validated, which will automatically supply the specified software releases to the specified Compute Nodes for installation.

This tutorial will teach you how to create an Allocation Supply on the SlapOS Panel, that supplies one or more software releases to one or more Compute Nodes.

The example used in this document is that of a Fluentd software release supplied to an Olimex card registered as a SlapOS Compute Node.

Prerequisites

  • Have the desired Software Products correctly configured
  • Have a ready SlapOS Compute Node in your project

In the desired SlapOS Panel project, you will need to have Software Products with the desired software releases and software types configured, as well as a registered SlapOS Compute Node on which you wish to supply the software.

Access your Projects on the SlapOS Panel

On the home page of the SlapOS Panel, navigate to your Projects through the corresponding button on the left side of the page.

Choose your Project

On the Projects page, click on the desired Project in the list to navigate to its main page.

Add a new Allocation Supply

Once on the Project's page, click on Add Allocation Supply in the Actions menu on the left of the page.

Configure the Allocation Supply

We must now configure the newly created Allocation Supply:

  • First, choose and input a title for the Allocation Supply. It is suggested to choose a name that is indicative of the targeted software releases and Compute Nodes.
  • By default, a new Allocation Supply will supply to all of the Compute Nodes in the project. On the right of the screen, change the Compute Nodes list until only the ones you wish to supply to remain.
  • Save your changes with the corresponding button at the top of the page.
  • Finally, click on the Allocation Supply Line that corresponds to the software release you wish to supply.

Configure an Allocation Supply Line

On the page of the Allocation Supply Line, there is a matrix representing the software release, with the software releases as rows and software types as columns.
Check all the boxes corresponding to each software release of the desired software type you wish to supply.

When you are finished, save the changes and return to the Allocation Supply's page through the ↑ Allocation Supply Line: ... button at the top of the page.

Finish the configuration and Validate and Supply

Repeat the above steps for every Allocation Supply Line you wish to be supplied.

When everything is ready, click on Validate and Supply in the Actions menu on the left of the page.

Check the validation status

If everything goes well, a green confirmation notification should notify you of the validation, and the state of the Allocation Supply should now display Validated.

The software should now be supplied automatically to the selected Compute Nodes for installation.

Check the Compute Nodes for installation of the software

To verify that the software is being installed, go back to the Project's page, and search for one of the Compute Nodes in the list that you have supplied software to.
Click on it to access its main page.

In the Supplied Software list at the bottom of the page, you should now see all of the software releases you have selected for supplying, along with a grey status box displaying Installation or Building.

You can immediately start requesting an instance of the software on the Compute Node, but you will need to wait until the status box becomes green and displays Available in order for the instance to be correctly and fully deployed.