Versions Compared

Key

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

...

During the previous Build Server installation a generic template called serverrc.template was created on the Build Server in /opt/akraino/redfish/. This template should be used to create the deployment specific input file for the new RC. The example below is for a RC called aknode29file called aknode29rc to create a RC on a server called aknode29.   

Code Block
languagebash
root@build-server# mkdir -p /opt/akraino/server-config

root@build-server# #cp /opt/akraino/redfish/serverrc.template /opt/akraino/server-config/<NEW_RC_SRV_NAME>rc

root@build-server# cp /opt/akraino/redfish/serverrc.template /opt/akraino/server-config/aknode29rc

root@build-server# #vi /opt/akraino/server-config/<NEW_RC_SRV_NAME>rc

root@build-server# vi /opt/akraino/server-config/aknode29rc

...

Example RC Configuration Input File

This section includes a sample input file that was used in a Validation Lab to build a Regional Controller.

This file is the /opt/akraino/redfish/server-config/aknode29rc

Code Block
languageyml
# host name for server
SRV_NAME=aknode29

# server oem - Dell or HPE (case sensitive)
SRV_OEM=Dell

# out of band interface information for server (idrac/ilo/etc)
SRV_OOB_IP=10.51.35.146
SRV_OOB_USR=root
SRV_OOB_PWD=calvin

# mac address of server to be used during the build - not required for Dell 10G servers
# SRV_MAC=3c:fd:fe:b8:10:60

# the boot device is the device name on which the OS will be loaded
SRV_BOOT_DEVICE=sda

# Ubuntu kernel and version to use for os install
# valid options are hwe-16.04.6-amd64 or 16.04.6-amd64
SRV_BLD_SCRIPT=hwe-16.04.6-amd64

# template xml file to set bios and raid configuration settings
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.3-1-1
SRV_HTTP_BOOT_DEV=NIC.Slot.7-1-1

# template to run to configure OS after first boot
# current options are: firstboot.sh.template, firstboot-genesis.sh.tempate or firstboot-airship-iab.sh.template
SRV_FIRSTBOOT_TEMPLATE=firstboot.sh.template

# VLAN to use during build and for final network configuration
SRV_VLAN=408

# basic network information for dhcp config and final server network settings
SRV_MTU=9000
SRV_IP=10.51.34.230
SRV_SUBNET=10.51.34.224
SRV_NETMASK=255.255.255.224
SRV_GATEWAY=10.51.34.225
SRV_DNS=10.64.73.100
SRV_DOMAIN=vran.k2.ericsson.se
SRV_DNSSEARCH=vran.k2.ericsson.se
SRV_NTP=seki20-ntp1.k2.ericsson.se

# network bond information - NOTE: SRV_SLAVE1 will be used for OS install
SRV_BOND=bond0
SRV_SLAVE1=enp134s0f0
SRV_SLAVE2=enp134s0f1

# password to set for root after OS is installed
SRV_PWD=akraino,d