Installing ONL Manually
You can install open network Linux (ONL) manually on a bare-metal switch. Open Network Install Environment (ONIE) should be installed on the switch. The Open Network Install Environment (ONIE) is an open-source utility that provides an installation environment for bare-metal switches. ONIE is used to install different network operating systems (NOS) on a device.
The RtBrick ONL installer images are compatible with ONIE and can be used by ONIE to install an RtBrick ONL (Open Network Linux) on a bare-metal switch.
Prerequisites
-
Ensure that ONIE has been installed on the switch by the vendor of the switch. If ONIE is not unavailable with the switch, contact the switch vendor.
-
Ensure that the switch management interface has been provisioned with an IP address either through manual configuration or through DHCP.
-
Ensure that you have set up the necessary infrastructure to download RtBrick ONL installer images on your environment. For information, see section RtBrick Tools Installation.
-
Ensure that you have set up an HTTP server that will make available the downloaded images for ONIE to use. For more information, see
https://opencomputeproject.github.io/onie/user-guide/index.html#installing-over-the-network
Installation Procedure
To install the ONL image, perform the following steps:
On a fresh box, ONL prompt is not available, so skip to ONIE prompt section. |
ONL prompt section:
Option 1: Manually select ONIE boot mode
-
Connect to the console port
-
Reboot switch
root@bl1-pod1:~# reboot
-
Select "ONIE" from the first selection menu.
-
Select "ONIE: Install OS" from next selection menu.
-
Install RBFS ONL image
Option 2: Preselect ONIE boot mode
-
Connect to the console port
-
Select ONIE boot mode
root@onl>ufi03.q2c.u15.r4.nbg.rtbrick.net:~ # onl-onie-boot-mode --help usage: onl-onie-boot-mode [-h] [--onie-only] {install,rescue,uninstall,update,embed,diag,none} positional arguments: {install,rescue,uninstall,update,embed,diag,none} optional arguments: -h, --help show this help message and exit --onie-only Do not set ONIE boot menu option. root@onl>ufi03.q2c.u15.r4.nbg.rtbrick.net:~ # root@onl>ufi03.q2c.u15.r4.nbg.rtbrick.net:~ # onl-onie-boot-mode install The system will boot into ONIE install mode at the next restart. root@onl>ufi03.q2c.u15.r4.nbg.rtbrick.net:~ #
-
Reboot switch
root@onl>ufi03.q2c.u15.r4.nbg.rtbrick.net:~ # reboot
ONIE prompt section:
You must update the URL of the ONL installer image location as per your specific HTTP server configuration.
ONIE:/ # onie-discovery-stop NOTICE: The 'onie-discovery-stop' command is deprecated and will be removed in 2019.02. NOTICE: Use 'onie-stop' instead. discover: installer mode detected. Stopping: discover... done. ONIE:/ # onie-nos-install http://server.example.net/_/images/latest/rtbrick-onl-ins taller/rtbrick-onl-installer-spine-q2c-21.9.1.d discover: installer mode detected. Stopping: discover... done. Info: Attempting http://server.example.net/_/images/latest/rtbrick-onl-installer/rtbrick-onl-installer-spine-q2c-21.9.1.d ... Connecting to server.example.net (198.51.100.125) installer 100% |*******************************| 1176M 0:00:00 ETA ONIE: Executing installer: http://server.example.net/_/images/latest/rtbrick-onl-installer/rtbrick-onl-installer-spine-q2c-21.9.1.d