Thursday, 3 April 2014

Getting Started With Eucalyptus - 1 [Faststart]

I am writing this blog post due to frequent mails from beginners who want to give try to Eucalyptus but remains stuck due to lack of proper guidance.  

Components of Eucalyptus

      [Courtesy: Eucalyptus Inc]

Targeting at academic installation & smaller/personal level deployments, you need systems:
  • One [Personal level] 
  • Two [College level].
The minimum requirements are as follows:
  • For Two Machines

Hardware Requirements:
  • Physical Machines: 
    • Intel or AMD processor with a minimum of two, 2GHz cores.
    • Architecture must be 64 bits
    • 250GB for Front end installation
    • 50-100GB per NC host running Linux VMs, and at least 250GB per NC host for running Windows VMs.
    • Other machines should have 30 GB minimum required.
    • NC requires 4GB & Front end requires 2GB RAM minimum (my own experience) to make your cloud test & run. But having more is good for the performance boost.
Network Requirements:
  • All NCs must have access to a minimum of 1GB Ethernet network connectivity.
  • All Eucalyptus components must have at least one Network Interface Card (NIC) for a base-line deployment.
  • As we are using Faststart, we need two sets of IP addresses. The first range is private, to be used only within the Eucalyptus system itself. The second range is public, to be routable to and from end-users and VM instances. Both sets must be unique to Eucalyptus, not in use by other components or applications within your network.
      And don't touch IP tables & firewall configurations as they are preconfigured.

  • For One Machine
    • At least one machine with 100GB disk space
    • A range of IP addresses to assign to Eucalyptus instances
    • Basic experience with:
      • Burning an ISO file to a DVD
      • Configuring a range of unused IP addresses on your network  (After range of Frontend and NC,for ex, and, After this give 20 IPs to Eucalyptus)
      • Provisioning a private subnet (IP most likely
Once you are satisfied that your systems requirements are met, you are ready to plan your Eucalyptus installation.

Now, the installation of Eucalyptus Faststart DVD.

Faststart comes with CentOS + Eucalyptus packages prebuilt in it. Eucalyptus supports 64 bits architecture 

On windows -> Right click My Computer -> Properties-> Operating System

On Linux - >  In Terminal,

[root@abc]# lscpu 
Architecture:            x86_64
CPU op-mode(s):     32-bit, 64-bit
Byte Order:             Little Endian
CPU(s):                  2
On-line CPU(s) list:  0,1
Thread(s) per core:  1
Core(s) per socket:  2
Socket(s):               1
NUMA node(s):        1
Vendor ID:               GenuineIntel
CPU family:             6
Model:                    34
Stepping:                5
CPU MHz:              3000.000
BogoMIPS:             5587.00
Virtualization:          VT-x
L1d cache:             32K
L1i cache:              32K
L2 cache:               256K
L3 cache:               3072K
NUMA node0 CPU(s):     0,1

which will display information about the processor. It must be VT-enable(Virtualization Technology) Enabled. If not, you have to set it from BIOS settings. Consult your manufacturer's site for it.

If you want to install Faststart in VMWare, enable the VT support from BIOS. 
Your host (i.e. Windows/Linux) must be 64 bits so that VMWare Workstation will not complain in future for running the system. You could run 64 bits virtual machines only on 64 bits host.

The procedure is as follows:

1. Install the NC first.

2. Keep the first machine running i.e. NC, now install the Front end.

For more reference watch these videos,

For Single Machine installation,
Cloud in a box Installation

For two machines,

How to check your cloud is ready ?

After all installation are done, on Frontend machine, there are shortcuts created

  • Eucalyptus user console
  • Eucalyptus Admin Console
  • Eucalyptus Documentation
Click on first two links ; both will show the certificate warning error, Click on "I understand the risk".

Now, On URL https://<ip_addr>:8443

Enter these details:

Account: Eucalyptus
Username: admin
Password: admin

After this, you have to fill form which is for password change.

Now, go to user console which is on https://<ip_addr>:8888

All details are same except the password.

Now you have setup your own cloud.

Congrats !

Disclaimer: This is are my own views, not belongs to any third party entities or other ones.

No comments:

Post a Comment