Manual installation of Images
The Open Network Install Environment (ONIE is an open-source project within the Open Computer Project that provides an installation environment for bare-metal networking switches. ONIE is used to install different NOSes (network operating systems) on a target device.
The RtBrick ONL installer images are compatible with ONIE and thus can be used by ONIE to install an RtBrick ONL (Open Network Linux) on a target bare-metal switch.
Prerequisites
-
Open Network Install Environment (ONIE) should be installed on the switch by the vendor of the switch. If it’s unavailable with the switch, contact the switch vendor.
-
The switch management interface has been provisioned with an IP address either manually configured or through DHCP.
-
You need to set up necessary infrastructure to download RtBrick ONL installer images in your environment. Refer to the RtBrick Tools Installation Guide.
-
You need to set up a HTTP server that will make available the downloaded images for ONIE to use. For more information information, see the following URL:
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 will not be available so skip to ONIE prompt section. |
ONL prompt section:
Option 1: Manually select ONIE boot mode
-
Connect to console port
-
Reboot switch
root@bl1-pod1:~# reboot
-
Select "ONIE" from first selection menu
-
Select "ONIE: Install OS" from next selection menu
-
Install RBFS ONL image
Option 2: Preselect ONIE boot mode
-
Connect to 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 need to update the URL of the ONL installer image location according to your own 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