...
Note: The enumerated IP shown (10.51.35.146) is the iDRAC address for a RC deployed in a specific validation lab.
<IS IT NECESSARY TO HAVE A 'CLEAN' SERVER? OR IS THIS NEXT STEP REALLY NECESSARY - DOESN:T UNNECESSARY AS THE INSTALL SCRIPT FORMAT WIPES THE SERVER BY DEFAULT AFTER THE DHCP/HTTP PXE BOOT?>
Next, use nmap
to check for a "clean slate" Bare Metal Server. The results will show the host as being down (due to no OS).
...
Code Block | ||
---|---|---|
| ||
root@build-server# Completed bare metal install of regional server [aknode29] at Mon Jul 2 20:09:35 UTC 2018 SUCCESS: Try connecting with 'ssh root@192root@19210.16851.234.42230' as user root Elapsed time was 9 minutes and 22 seconds |
...
Code Block | ||
---|---|---|
| ||
root@build-server# vim /opt/akraino/region/akrainorc |
Note: The enumerated IP shown (10.51.34.230) is the 'host' address for a RC deployed in a specific validation lab.
Once this has been set and the file saved export the value using
...
Parameter Naming
RC's iDRAC BMC address: aka OOB_SRV_IP
RC's 'host' address : aka TARGET_SERVER_IP
RC's host name: aka NEW_RC_SRV_NAME
Example RC Configuration Input File
...
Code Block | ||
---|---|---|
| ||
# 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.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 # This VLAN will be trunked from TOR to RC and the RC's DHCP Requests and HTTP PXE boot will occur on this tagged VLAN SRV_VLAN=408 # basic network information for dhcp config and final server network settings SRV_MTU=9000 SRV_IP=10.51.34.230 #This# This is the RC's IP address on the 'host' network and is also called the 'TARGET_SRV_IP' in this guide 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 |
...