Versions Compared

Key

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

...

Sample input file template with all required parameters are provided in the ‘Build or Deploy an Edge Node' section.

VLAN

Key Name(s)

Notes

Example

BUILDSRV_INTERFACE

Restricts DHCP to only bind to this interface (not required)
BUILD_INTERFACE=vlan41

BUILD_WEBIP BUILD_WEBPORT

IP and port to use when creating the web server
BUILD_WEBIP=192.168.2.44
BUILD_WEBPORT=8090

SRV_NAME

Server hostname
SRV_NAME=aknode42

NAME

Server hostname
SRV_NAME=aknode42

SRV_OOB_IP SRV_OOB_USR SRV_OOB_SRV_OOB_IP SRV_OOB_USR SRV_OOB_PWD

Out-of-band interface information for the server (iDRAC, ilo, etc.)
SRV_OOB_IP=192.168.41.42
SRV_OOB_USR=root
SRV_OOB_PWD=XXXXXXXX

SRV_MAC

MAC address of the server used during the build
SRV_MAC=3c:fd:fe:b8:02:90

SRV_OEM

Server OEM: Dell or HPE (case sensitive)
SRV_OEM=Dell

SRV_IPXE_INF SRV_BLD_INF SRV_BOOT_DEVICE

Network interface used during the build when ipxe.efi and the OS are booted
SRV_IPXE_INF=net4
SRV_BLD_INF=enp94s0f0
SRV_BOOT_DEVICE=sdg

SRV_BLD_SCRIPT

ipxe script based on the OS version and target kernel. Valid values are script-hwe-16.04.4-amd64.ipxe or script-16.04.4-amd64.ipxe

SRV_BLD_SCRIPT=script-hwe-16.04.4-amd64.ipxe

SRV_BIOS_TEMPLATE SRV_BOOT_TEMPLATE SRV_HTTP_BOOT_DEV

XML template used to set BIOS and RAID configuration.
SRV_BIOS_TEMPLATE=dell_r740_g14_uefi_base.xml.template
SRV_BOOT_TEMPLATE=dell_r740_g14_uefi_httpboot.xml.template
SRV_HTTP_BOOT_DEV=NIC.Slot.7-1-1
SRV_FIRSTBOOT_TEMPLATE

Template for script to run on first boot to setup the server. Current options are:
firstboot.sh.template
firstboot-genesis.sh.template
firstboot-airship-iab.sh.template

SRV_FIRSTBOOT_TEMPLATE=firstboot-airship-iab.sh.template

SRV_VLAN

VLAN to use during the build and final network configuration
SRV
VLAN to use during the build and final network configuration
SRV_VLAN=41

SRV_MTU SRV_IP SRV_SUBNET SRV_NETMASK SRV_GATEWAY SRV_DNS SRV_DOMAIN SRV_DNSSEARCH SRV_NTP

Basic network information for DHCP configuration and final server network settings
SRV_MTU=9000
SRV_IP=192.168.2.42
SRV_SUBNET=192.168.2.0
SRV_NETMASK=255.255.255.0
SRV_GATEWAY=192.168.2.200
SRV_DNS=192.168.2.85
SRV_DOMAIN=lab.akraino.org
SRV_DNSSEARCH=lab.akraino.org
SRV_NTP=ntp.ubuntu.org

SRV_PWD

Root password for the server being built
SRV_PWD=XXXXXXXX

SRV_BOND SRV_SLAVE1 SRV_SLAVE2

Network bond information
SRV_BOND=bond0
SRV_SLAVE1=enp94s0f0
SRV_SLAVE2=enp94s0f1

...

Akraino Portal Operations

Portal Pre-configuration

  • In the Tomcat (Portal) container, navigate to /usr/local/tomcat/webapps/AECPortalMgmt/App.Config.js
Code Block
languagebash
.constant('hostUrl','127.0.0.1:8080')
.constant('camundaUrl',’127.0.0.1:8073')
Info
Change the IP address 127.0.0.1 to the IP of the VM, where portal and Camunda containers are stood up.

 

  • In the Tomcat (Portal) container, navigate to /usr/local/tomcat/webapps/AECPortalMgmt/WEB-INF/classes/app.properties
Code Block
languagebash
apacheds.ldap.url = ldap://127.0.0.1:10389/dc=akraino,dc=com
Info
Change the IP address 127.0.0.1 to the IP of the VM, where the LDAP container is stood up.
Code Block
languagebash
postgres.db.url = jdbc:postgresql://127.0.0.1:6432/postgres
Info
Change the IP address 127.0.0.1 to the IP of the VM, where the DB container is stood up.

...

Login

Visit the portal URL http://REGIONAL_NODE_IP:8080/AECPortalMgmt/ where REGIONAL_NODE_IP is the Portal IP.

...