After you successfully imported and configured the ZFS Appliance Simulater, now its time to do the same with the linux client.

1.5. Install Oracle linux virtual machine

1.5.1. Import the vm image into virtualbox

After you downloaded the image in step 1.1., you received a file called OracleLinux64.ova.
The import works essentially the same as the import of the ZFS Applaince in step 1.4.1, so you can just run through the same steps again.

On the main window of virtualbox, select file and then import appliance. Select open appliance and browse to the ova – file on your hard drive. In the settings – window, keep in mind, that you need at least 1GB of RAM for that virtual machine.
Hit import and wait a couple of minutes. Finally, you should now have two virtual machines imported (mine are both running in the screenshot, but your linux machine schould be shutdown at this stage).
ZFSAttack_01_34_oracleBoot1

1.5.2. Add a bigger disk to the linux machine

If you are going to attend lab4 (hybrid columnar compression), you will later have to install an oracle database into your virtual machine. For that, you will need a bigger virtual disk.
In the following steps, you will create such a disk. If you are not interested in hcc and don’t want to participate lab4, you can skip this part and go to 1.5.3.

In the VirtualBox main window, select your Linux machine and click on Settings. navigate to Storage
ZFSAttack_01_71_addDisk1
Click on the green “+” symbol next to Controller: SATA
ZFSAttack_01_72_addDisk2
Create a new disk.
ZFSAttack_01_73_addDisk3
Select VDI
ZFSAttack_01_74_addDisk4

Select dynamically allocated. So the disk will initially just occupy a small amount of space and grow later, if needed.
ZFSAttack_01_75_addDisk5
Give your disk a name of your chosing and set its size to 20GB.
Click create and that’s it for now. In lab4, we will mount this disk inside the machine and add a filesystem.

1.5.3. Configute networking

As with the zfs appliance, we also have to configure networking on this machine to work properly.
Highlight the virtual sysadmin days machine and hit Settings.
ZFSAttack_01_35_oracleBoot2
In the new window select network and the tab Adapter 1.
Here, set attached to to host only and select your virtual network in the name box (should be set automatically).
Click okay to return to VirtalBox.

Boot the new machine by highlighting it and press start. During the boot process, you might get this popup.
ZFSAttack_01_36_oracleBoot3
All this is saying is, unlike the other virtual machine, this one does not capture your mouse cursor, when you click inside the window, which is quite nice.

After a while you will be greeted by the login screen.
ZFSAttack_01_37_oracleBoot4
Click on other and login using the username root and the password oracle.

1.6. Configuring Oracle Linux virtual machine

1.6.1. Configure networking

After login, navigate to System -> Preferences -> Network Connections
ZFSAttack_01_38_oracleBoot5
A popup window will appear.
ZFSAttack_01_39_oracleBoot6
Select the entry called auto eth1 and hit edit.
Navigate to the tab called IPv4 Settings. Set method to Manual and enter the following values.
ZFSAttack_01_40_oracleBoot7

adress: 192.168.56.200
Subnet Mask: 24
Default Gateway: 192.168.56.1

Click apply and close the popup window.

1.6.2 Configure keyboard layout

If you attend this lab in germany, there is one last thing to do for your own conveniance. We have to change the keyboard layout.
In your virtual machine, go to System -> Preferences -> Keyboard
ZFSAttack_01_50_keyboard1
Navigate to the Layout tab.
ZFSAttack_01_51_keyboard2
Click add.
In the new window select Country germany
ZFSAttack_01_52_keyboard3
click add.
ZFSAttack_01_53_keyboard4
Mark the German entry as default and close the window.

And that’s the end of the first lab.
You are now set up to start Lab02 from this workshop.

<-- back to the beginning | go to next lab –>

Leave a Reply

Your email address will not be published. Required fields are marked *