Categories

ID #1134

How do I install Bright on Virtual Box?

How do I install Bright on Virtual Box?

 

Prerequisite:

In order to use PXE booting, the VirtualBox Extension Pack should be installed.

 

Create a Virtual Machine (VM) for the head node

 

  1. Click on the “New” icon.
  2. Choose the Name of the VM, Operating System and Version of the operating system to be installed.

 

 

  1. Configure the memory as suggested in the section on minimal hardware requirements in the Bright manuals (eg: section 2.1.1 in the Bright 6.x Administrator Manual, section 3.1.1 in the Bright 7.0 Installation Manual). For versions beyond 7.0, additional RAM may be needed for the install process -- for example, a total of at least 2.6GB for Bright 8.1 --  but after the installation is done it can be backed down to recommended value suggested in section 3.1.1 of the Bright Installation manual. In the following, we'll assume a Bright 6.0 installation.

Screenshot from 2015-07-23 10:05:00.png

 

  1. Create a new 80GB dynamically allocated VDI hard disk and mark it as Start-up Disk.

 

 

 

 

  1. Click “Create” to start creating the VM.

 

Add Interfaces to the Head Node

  1. Right click on the created virtual machine and click settings.
  2. Choose network.
  3. Set Adapter1 as Internal Network to be used as an internal interface to be attached to the internalnet

 

  1. Set Adapter2 to be Bridged. This will be used as an external interface and will be attached to externalnet.

 

 

 

Mount Bright DVD

  1. Right-click on the created virtual machine and click settings.
  2. Choose “Storage”. Then click on the “Add CD/DVD Device” icon.

 

  1. Click on “Choose Disk” and choose a Bright DVD ISO to be mounted. Click “Open”, and then click “OK”.

 

 

 

 

 

  1. Start the virtual machine and begin the bare-metal Bright installation method (section 3.3 in the Bright 7.0 Installation Manual).

 

Create a VM for the Compute Node

 

The VM for the compute node should be created in the same way that the VM for the head node was created except that the compute node will only have one network interface. This interface will be connected to the internal network. The connection can be set like this:

 

  1. Choose “Network”.
  2. Attach Adapter1 to the Internal Network. This will be used as an internal interface to be attached to internalnet.

 

 

  1. Chose “System”.
  2. Re-configure the boot order to start with Network (PXE).

 

  1. Chose “Storage”. Then select and remove the CD/DVD Device.

Screenshot from 2015-07-23 12:28:27.png

 

  1. Start the node.

 

The node should start using a PXE boot from the head node, and should reach a fully booted up state, presenting a login prompt, just as in the case of physical nodes.

 

Troubleshooting

Issue: Even though the VirtualBox Extension Pack is installed, the DHCP request performed during a PXE boot is failing because of malformed packets (as seen after using a tool like Wireshark to troubleshoot the connection between the head node and compute node).

Solution: Try changing the Adapter Type of each network Adapter on both the head node and compute node virtual machines to one of the Server options (i.e. T Server or MT Server).

Tags: -

Related entries:

You cannot comment on this entry