3.1 Faststart Guide: 2012-07-11 Eucalyptus Systems
3.1 Faststart Guide: 2012-07-11 Eucalyptus Systems
1 FastStart Guide
Eucalyptus | Contents | 2
Contents
Welcome............................................................................................................................................3 Install CentOS..................................................................................................................................4 Install the Node Controller.............................................................................................................5 Install the Frontend Components...................................................................................................6 Try Out Your Eucalyptus FastStart Installation...........................................................................8
Install and Connect to the Default FastStart Image...............................................................................................8
Eucalyptus | Welcome | 3
Welcome
Welcome to the FastStart Guide. This guide provides instructions for installing Eucalyptus on two machines, though you have the option to add more machines. Overview Eucalyptus consists of the following components: Cloud Controller (CLC): this component provides EC2 functionality Walrus: this component provides S3 functionality Cluster Controller (CC): this component provides management service for a cluster in your cloud Storage Controller (SC): this component provides EBS functionality Node Controller (NC): this component controls virtual machine instances
In FastStart, the CLC, Walrus, CC, and SC are installed on one machine. This machine is called the Frontend. The NC is installed on another machine, called the Node. In FastStart you can have one Frontend and one or more Nodes. Hardware Requirements Before installing FastStart, make sure you have at least two machines. Each machine must have a minimum of 100GB of disk space and 4GB of memory. Test that each machine allows SSH login and that root access is available (sudo is okay). Network Requirements You must have access to a DHCP server. You must have range of available public IP addresses. These will be assigned to VM instances. You must have large range of available private IP addresses. These will be used by a virtual subnet. They can't overlap or contain any part of a physical network IP address space.
Software Requirements You must have access to the following: CentOS 6.2 minimal install CD: You can get the image on one of the mirrors at http://isoredirect.centos.org/centos/6.2/isos/x86_64/. The file is labeled CentOS-6.2-x86_64-minimal.iso. Important: Only use this specified image for FastStart. Eucalyptus FastStart media: You can get Faststart at http://www.eucalyptus.com/download/faststart
Install CentOS
1. Make sure the CentOS CD is in the CD drive and boot the computer from the CD drive. 2. At the boot prompt, press ENTER for the graphical installer. You can skip the media verification. 3. Accept the defaults, except for the network interface configuration. At the page where you set your hostname, click the Configure Network button. The Network Connections window displays. 4. In the Network Connections window, select the network interface and click Edit. The Editing System window for the connection displays. 5. In the Editing System window, click Connect automatically. 6. Click the IPv4 Settings tab and do the following: a) In the Address area, click Add and fill in the machine's IP address, netmask, and gateway. b) In the DNS servers field, enter a URL for a DNS server (for example, 8.8.8.8). 7. Click Apply and finish with the installation. 8. Repeat on each machine you will use for FastStart. You are now ready to install the FastStart Node.
Tip: Normally, you would download a credentials file and use it to configure the client tools. As part of the FastStart process, credentials are downloaded and pre-installed on an image for you. To get these credentials,copy /root/credentials.zip from the Frontend server.
pending
eki-D313397A instance-store
Note that the initial state of the instance is 'pending' while the instance is being created. 5. After a few moments, check to see if your instance is available for use yet by using the euca-describe-instances command: euca-describe-instances i-68A24092
When the instance is ready, this command will return output similar to the following: RESERVATION r-CCE33FC0 449455269925 default INSTANCE i-68A24092 emi-72613A2E 192.168.9.91 10.93.7.76 running euca-demo 0 m1.small 2012-05-17T10:36:46.232Z PARTI00 eki-D313397A eri-F9A83F12 monitoring-disabled 192.168.9.91 10.93.7.76 instance-store Note that the instance is now listed as 'running', and there's now an IP address - in this example, 192.168.9.91. You can use this IP address to connect to the instance. 6. Connect to the running instance using SSH, specifying the private key file and the IP address of the instance. For example: ssh -i euca-demo.private 192.168.9.91
This command returns output similar to the following: Warning: Permanently added '192.168.9.91' (RSA) to the list of known hosts. Last login: Thu May 17 03:39:58 2012 from eucahost-9-91.eucalyptus -bash-3.2#
Congratulations! You've now successfully launched and connected to the default FastStart image. Please see the Eucalyptus User Guide for more tutorials.
Get Involved The following resources can help you to learn more, connect with other Eucalyptus users, or get actively involved with Eucalyptus development. The Eucalyptus IRC channel is #eucalyptus on Freenode. This channel is used for real-time communication among users and developers. Information on how to use the network is available from Freenode. The Eucalyptus community mailing list is [email protected]. This list is used for user discussions, problem reports, and other communications. Information on how to subscribe is available at http://lists.eucalyptus.com/cgi-bin/mailman/listinfo/community