Thursday, January 20, 2011

Installing Ubuntu 10.04 Enterprise Cloud (on Dell PowerEdge R510 using iDRAC6)

This is done as a two step process - first, we need to configure the machine, then we can actually install Ubuntu.

1. The network setup here is that each cluster node has two network cards, a local and a public one, but all of the public traffic is, initially, routed through the cluster's head node. So, in order to access Dell's iDRAC6 on the worker nodes, it is necessary to first setup port forwarding through the head node for HTTPS and VNC:
(local): sudo ssh -L 443:[node IP]:443 -L 5900:[node IP]:5900 -l [head node user name]  -N [head node IP]


2. Open https://localhost:443 and enable Virtual Media -> Status -> Auto Attach under Console/Media -> Configuration. This will allow us to actually mount a CD-ROM as a virtual device to the node. 

3. Launch the node's virtual console from the Properties tab and reboot the system; load BIOS and disable internal interfaces, disable memory checking, and enable hardware virtualization

4. On the head node, download and mount bootable FreeDOS ISO as a virtual CD for the node so we can boot off of it:
(head node): sudo vmcli -r [node IP]  -u root -p -c [path to FreeDOS ISO on head node]

5. Boot FreeDOS, through the Virtual Console, select 'Install to hard drive', then run from CD (this will enable networking):
(node): UX_Diag, uediag.exe, -mba 1

Now, the machine is ready to have an OS of choice installed.
6. Mount Ubuntu Enterprise Cloud ISO as a virtual CD from the head node again so we can boot off of it and install:
(head node): sudo vmcli -r [node IP] -u root -p -c [path to Ubuntu ISO on hed node]

7. Reboot from virtual console, enter BIOS and choose CD as the first boot device; boot into Ubuntu configuration screen and install Ubuntu. Subsequent instructions on how to install Ubuntu Enterprise Cloud are available here.



No comments: