This guide instructs how to build and install an Akraino Edge Stack (AES) Regional Controller node.
...
Table of Contents | ||
---|---|---|
|
Overview
...
The 'Build Server' remotely installs the OS and SW packages on a 'Bare Metal' server to create the 'Regional Controller' v(i.e. the Bare Metal servers becomes the Regional Controller'). Once the RC is build it is used to subsequently deploy either Rover or Unicycle pods. Regional Controller Node installation includes the following components:
...
Info |
---|
This installation guide refers to the following by way of example:
Steps herein presume the use of a root account. All steps are performed from the Build Server. A clean, out-of-the-box Ubuntu environment is strongly recommended before proceeding. |
...
Repositories are located under /opt/akraino. On the Build Server:
Code Block |
---|
mkdir /opt/akraino |
Clone the Redfish Bootstrapping Script repository for use as part of Akraino tools. On the Build Server:
Code Block | ||
---|---|---|
| ||
## Download the latest redfish artifacts from LF Nexus mkdir -p /opt/akraino/redfish NEXUS_URL=https://nexus.akraino.org curl -L "$NEXUS_URL/service/local/artifact/maven/redirect?r=snapshots&g=org.akraino.redfish&a=redfish&v=0.0.2-SNAPSHOT&e=tgz" | tar -xozv -C /opt/akraino/redfish |
Clone the Akraino Regional Controller repository. On the Build Server::
Code Block | ||
---|---|---|
| ||
## Download the latest Regional_controller artifacts from LF Nexus ## mkdir -p /opt/akraino/region NEXUS_URL=https://nexus.akraino.org curl -L "$NEXUS_URL/service/local/artifact/maven/redirect?r=snapshots&g=org.akraino.regional_controller&a=regional_controller&v=0.0.2-SNAPSHOT&e=tgz" | tar -xozv -C /opt/akraino/region |
...
Copy the Bare Metal Server configuration template into /opt/akraino/server-config/AKRAINO_NODE_RC
, where AKRAINO_NODE_RC
is the Bare Metal Server name followed by rc. On the Build Server:
Code Block | ||
---|---|---|
| ||
mkdir -p /opt/akraino/server-config cp /opt/akraino/redfish/serverrc.template /opt/akraino/server-config/aknode44rc vi /opt/akraino/server-config/aknode44rc |
A sample configuration file followsfor the Regional Controller follows. Ensure the following:
SRV_NAME
is the Bare Metal Server nameSRV_OOB_IP
is the Bare Metal Server iDRAC or iLO IPSRV_IP
is the Bare Metal Server IP- Passwords are chosen for
SRV_OOB_PWD
andSRV_PWD
- All remaining
SRV_
prefixed options are adjusted as appropriate for the Bare Metal server and network
...
Operating System
Begin the Regional Controller OS installation from the Build Server. You must be root on the Build Server to fully install:
...
On the Build Server, begin the regional server Regional Controller's software installation:
Code Block | ||
---|---|---|
| ||
/opt/akraino/region/install_akraino_portal.sh |
...
Warning | ||
---|---|---|
| ||
The Regional Controller installation is not idempotent at this time. If errors are encountered during this phase, it is recommended that the errors be triaged and resolved, followed by an Operating System re-installation. This will ensure a "clean slate" Bare Metal Server before trying again. |
A successful installation will end as follows. Note that any time estimates (e.g., "This step could take up to 15 minutes") and elapsed times are likely inaccurate.
...