Skip to content

A generalized installer for Eucalyptus that provisions from bare metal to cloud!

Notifications You must be signed in to change notification settings

obino/silvereye

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Silvereye is an automated installer for Eucalyptus 3.1.

Running the script silvereye.sh will generate a CentOS-based ISO. Booting from this ISO will allow you to install either a frontend (cloud controller + cluster controller + storage controller + walrus) or a node controller. We recommend installing node controllers first so that the frontend can then attach to them.

NOTE #1: Eucalyptus runs its own DHCP server. It can play nicely with yours if you tell your current DHCP server to ignore all mac addresses that start with D0:0D. (And don't worry; Eucalyptus will only respond to mac addresses that start with D0:0D.)

NOTE #2: Silvereye is not supported. At all. If you use it, there are ABSOLUTELY NO GUARANTEES that it won't burn down your house, steal your pickup truck, or throw your mother into a wood-chipper.

More documentation on Eucalyptus configuration can be found at:

http://www.eucalyptus.com/eucalyptus-cloud/documentation


INSTALLATION FROM SILVEREYE ISO:

(Note: these are draft instructions. We recommend following them to the letter, and even then, you may set your entire datacenter on fire. If that happens, it's totally not our fault.)

STEP ONE: Sort out your network! Rule number one for running a private cloud: Know Thy Network.

Here's what you need:

  • A DHCP server.
  • A range of safe static public IP addresses for your physical machines (frontend and each NC).
  • (Or maybe DHCP for these too, let's find out!)
  • A range of public IP addresses for your Euca instances provided by your DHCP server.
  • If these addresses are all NATted, that's a-ok!

Note that you can get all of these with a traditional at-home wireless router setup. I myself use a Linksys 4-port router plugged into my cable modem.

STEP TWO: Sort out your hardware! Here's what you need:

  • Two beefy laptops that support virtualization, and have 100GB of disk and 8Gig of ram. That's it!

STEP THREE: Your silvereye ISO. Go get it from here and burn it to DVD:

http://downloads.eucalyptus.com/software/contrib/silvereye/

STEP FOUR: Boot your first machine, which will be a node controller, with your Silvereye DVD. When you get to the pretty Eucalyptus boot prompt, you will see several options, the first of which should be "Install CentOS 6 with Eucalyptus Node Controller." Pick that one and hit enter. You will then be taken through a standard CentOS install. You should be able to safely choose all default options.
After CentOS successfully installs, reboot.

STEP FIVE: when the machine reboots, log in as root and the Eucalyptus node controller configuration script will begin. Configure your network settings for this machine. We recommend setting up static IP addresses, but I myself went with DHCP because I'm crazy like that! Also, if you have a laptop, don't set up wlan0. When asked to configure NTP, say yes. When asked for networking mode, go with the default [MANAGED-NOVLAN]. In fact, you should be able to select defaults all the way through. When you're done, you should have a functioning Node Controller!

Repeat steps 4 and 5 as often as needed, once for each NC. Be sure to note the IP addresses of your NCs; you will need them later when you set up your frontend.

STEP SIX: Boot your frontend with the Silvereye DVD. Go through the same install process for Centos 6, as you did for the NC in Step Four.

STEP SEVEN: When the machine reboots, log in as root and the Eucalyptys frontend configration script will begin. Configure network settings; again, despite the fact that we recommend static IP, I went with DHCP. You should be able to accept all default settings.

Type "yes" when prompted to build an EMI. (If you need to put in the installer disc again, put it in.)
Type "small" when asked about root filesystem size for the default image (recommend small for the first time out.) Install graphical front end if you like. Reboot.

STEP EIGHT: Test your install! From your front-end machine, bring up terminal.
To set up your credentials, run "source /root/credentials/admin/eucarc". You should then be able to type "euca-describe-images" and see images in your cloud!

About

A generalized installer for Eucalyptus that provisions from bare metal to cloud!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%