CSS Corp Open Source Services

Archive for May 2010

Samba – A short guide for sharing files and printers

with 2 comments

Introduction

Samba is a service in Unix like operating systems which can be used to share folders across a Windows Network. Samba is a standard service among almost all the Linux distributions.Samba can perform the following operations.

  1. Act as file server among Windows and Linux machines
  2. Act as a printer sharing service
  3. Act as a domain controller for a Windows network
  4. Act as a client under a Windows domain Read the rest of this entry »
Advertisements

Printer sharing using CUPS

leave a comment »

Introduction to CUPS

CUPS is the standards-based, open source printing system for UNIX Based operating systems. CUPS stands for Common Unix Print System. It serves as the default print server for almost all the linux distributions. It consists of the following components Read the rest of this entry »

Written by Johnson D

May 11, 2010 at 5:37 pm

Eucalyptus Beginner’s Guide – UEC Edition

with 16 comments

Table of Contents

  1. Introduction to UEC and its components
  2. Installation & Configuration
  3. Web Interface
  4. Image Management
  5. Instance Management
  6. Storage Management
  7. Network Management
  8. Security
  9. Troubleshooting
  10. Euca Commands
  11. Hacks

This is a live book and will be updated on an ongoing basis based on your feedback and comments.

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 7 – Network Management

with 3 comments

Chapter 6
Storage Management
Chapter 8
Security

Eucalyptus Networking

System

In System mode, CC generates and assigns a random MAC address to the VM instance while requesting NC to bring up the instance. NC attaches the VM instance’s virtual NIC to the physical NIC on the node through a bridge. This mode requires that the Nodes are connected to the enterprise network directly. Instances obtain an IP address using DHCP, just as physical machines on the network do.

This mode is very easy to setup as it does not have any additional prerequisites in terms of networking, except for a running DHCP server on enterprise network, and is a good way to get started with Eucalyptus, particularly if you want to set it up on your laptop/desktop to get a basic understanding.

This mode of networking is similar to “Bridged Networking” that hypervisors like VMware, VirtualBox etc. offer or like “tap” networking offered by KVM/Qemu.

Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 2 – Installation & Configuration

with 42 comments

Chapter 1
Introduction to UEC and its components
Chapter 3
Web Interface

The following sections describe how to install and configure a basic UEC setup spanning 3 servers. 2 Servers(Server1 and Server2) will run Lucid 64-bit server version and the third server will run Lucid Desktop 64-bit version(Client1). We have decided on installing the Desktop version on Client1 so that we can use Firefox or other browsers to access the web interface of UEC and also to use RDP/VNC clients during the image creation process.

UEC SETUP

What we have used as a sample setup is a typical minimal Eucalyptus setup. Client1 above need not be a dedicated machine. If you need to setup Eucalyptus on a single server, you can refer to UEC: CC and NC on a single machine . However, such a setup will not support Managed and Managed-NOVLAN modes of networking. Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 4 – Image Management

with 22 comments

Chapter 3
Web Interface
Chapter 5
Instance Management

Eucalyptus Machine Image(EMI)

A Eucalpyptus Machine Image(EMI) is a combination of a virtual disk image(s), kernel and ramdisk images as well as an xml file containing meta data about the image. These images reside on WS3 and used as templates for creating instances on UEC. Each Linux EMI is a combination of the following:

  • An XML file with a name like “karmic.img.manifest.xml” with information about one or more hard disk images, a kernel image and a ram disk image (id – emi-65440E7E)
  • An XML file with a name like “vmlinuz-2.6.28-11-server.manifest.xml” with information about the corresponding kernel image(id – eki-39FC1244)
  • An XML file with a name like “initrd.img-2.6.28-11-server.manifest.xml” with information about the corresponding ramdisk image(id – eri-71ED1322)

Each of these images has its own ID that can be used while running the instances. More on this in the chapter on “Managing Instances” Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 8 – Security

leave a comment »

Chapter 7
Network Management
Chapter 9
Troubleshooting

Eucalyptus provides ingress filtering for the instances based on the concept of security groups. A Security Group is a named set of rules that Eucalyptus applies to the incoming packets for the instances in Managed and Managed-NOVLAN modes. You can specify a security group while launching an instance. Each security group can have multiple rules associated with it. Each rule specifies the source IP/network, protocol type, destination ports etc. Any packet matching these parameters specified in a rule is allowed in. Rest of the packets are blocked. Read the rest of this entry »