2.2.2. Install on bare metal using CDROM¶
This chapter explains how to try Turbo IPsec on a physical machine, and install it, using a CDROM drive either physical or virtual.
If your server has a physical CD/DVD drive, you first need to burn the iso
file on a blank CD or DVD. If it provides a virtual CDROM feature, simply use
the iso
file as input.
When you’re done, you can either:
Test Turbo IPsec without changing anything on your machine
Install Turbo IPsec on a local disk
Test Turbo IPsec¶
You will need physical access to the machine, and a keyboard and screen attached to it to complete these steps. Alternately, you may access the machine using its first serial port.
Once your CDROM setup is ready, it has to be inserted in the machine on which you want to test Turbo IPsec.
Warning
Please make sure that there is no other Turbo IPsec live CDROM or live USB inserted in this machine. Otherwise the system might fail to boot properly.
Then, you should go in the BIOS setup, select the CDROM drive as first boot device, save the configuration, and reboot.
After some time, you should get an output similar to the following on screen.
GNU GRUB version 2.02~beta2-36ubuntu3.11
+----------------------------------------------------------------------------+
|*Turbo IPsec - X.Y.Z |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
+----------------------------------------------------------------------------+
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the commands
before booting or 'c' for a command-line.
The highlighted entry will be executed automatically in 9s.
After 10 seconds, or if you type on the Enter key, the boot will start. You should get the following output.
(...)
[ OK ] Started 6WIND Turbo Appliances.
(...)
localhost login:
Note
Please contact 6WIND support if you do not get the login, or if you get a different status than OK for 6WIND Turbo Appliances in the logs.
You are ready to test the software. Your data will not persist after a reboot.
The next step is to perform your first configuration.
Install Turbo IPsec¶
Once you have tried Turbo IPsec, you can install it on your machine.
It can be done from the
CLI, using the system-image
command.
But first, you need to know on which device Turbo IPsec should be installed. To do so, log in as admin, password admin, and at the prompt, do:
vrouter> show state system linux disk-usage
disk-usage sda
total 1000190509056
..
sda
is the device we are looking for. We will install Turbo IPsec on sda
in our
example. The data on sda
will be lost in the process.
Warning
Please carefully check the device associated to the disk you want to use, or you could wipe the wrong drive in the next step.
Note
Please make sure to select this disk as boot device after installation.
Then launch the installation on sda
.
vrouter> cmd system-image install-on-disk sda
This command will install Turbo IPsec on /dev/sda
. The relevant configuration files
will be copied from the CDROM drive to the local drive. At the end of the
installation, you can reboot and unload the CDROM.
You will then get the familiar GRUB screen that you got when you were testing the software, and after some time, the login screen.
GNU GRUB version 2.02~beta2-36ubuntu3.11
+----------------------------------------------------------------------------+
|*Turbo IPsec - X.Y.Z |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
+----------------------------------------------------------------------------+
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the commands
before booting or 'c' for a command-line.
The highlighted entry will be executed automatically in 9s.
(...)
[ OK ] Started 6WIND Turbo Appliances.
(...)
localhost login:
The next step is to perform your first configuration.