[ubuntu-cloud] Questiong on setup of cluster and node

Stephen Liu satimis at yahoo.com
Sat Oct 30 17:12:42 BST 2010


Hi Ziv,

Thanks for your detail advice and time spent.

I have only one PC available for testing UEC.  If it needs at least 2 PCs I have 
to stop until I build a new PC for this test.

But I found cluster can run on VirtualBox without problem.  What I need is a 
node.

> when you put for example three nodes and every one has a 2Ghz dual 
> core cpu with 4GB RAM it means you have a virtually bigger server of 
> 6Ghz dual core with 12GB of RAM, now you can run 6 "smaller" virtual 
> servers of 1Ghz CPU and 2 GB RAM, given that it will be enough for 
> running what you need.

On this virtual machine (which is for testing) I have more than 15 Linux VMs 
installed, each assigned with 2 CPUs and 512MB RAM.  This is only a quadcore PC 
with 8G RAM onboard. I haven't run all of them at the same time.  But frequently 
I run 6~8 VMs.  I don't need 12~16 cores even without going to Cloud.  I also 
have at least 10 Windows VMs on this PC, each assigned with 2 CPUs and 1G RAM.  
When time allows I'll start all VMs to check what will happen.

B.R.
Stephen






________________________________
From: Ziv Leyes <zivley at gmail.com>
To: ubuntu-cloud <ubuntu-cloud at lists.ubuntu.com>
Sent: Sat, October 30, 2010 8:33:41 PM
Subject: Re: [ubuntu-cloud] Questiong on setup of cluster and node


Hi Stephen,
I'm also only a user, and I'm trying to help based on my own knowledge, so don't 
take my answers so official, I might be wrong here and there and I'll be happy 
if someone corrects me when I'm wrong.

UEC (ubuntu enterprise cloud) IS a VM platform, it runs KVM in the background, 
the minnimal recommendation of two bare metal machines is for running it at a 
basic environment, one machine will be the cloud controller, cluster controller 
and storage controller, the other machine will be a node that runs node 
controller, one node minimum is required, but you can add as much more nodes as 
you can.
Look at this installation 
guide: https://help.ubuntu.com/10.04/serverguide/C/uec.html

The cloud can be fully managed via command line, but if you find that difficult 
there are a few graphical options, one is free and included in the installation, 
it's called Eucalyptus, the other one is Landscape, but you need to pay for an 
account to Cannonical. There are a few others but I don't know them.

Once you have a cloud running on this minimum of two machines, you can create 
virtual hosts and run on them whatever you want.

If what you're looking for is a way to virtualize one OS in within another, then 
all you need is to install whatever OS you prefer and run KVM or VirtualBox 
inside and create VMs, but if what you need is a bunch of VMs and you want to 
manage them wisely and get the most out of the whole hardware put together, then 
you need to think about cloud computing.
The main goal of the cloud computing is a re-use of existing resources, given 
the fact that when you run a server it doesn't use the whole of it resources and 
most of the time the server might be idle, those resources could be used by 
other services, when you put for example three nodes and every one has a 2Ghz 
dual core cpu with 4GB RAM it means you have a virtually bigger server of 6Ghz 
dual core with 12GB of RAM, now you can run 6 "smaller" virtual servers of 1Ghz 
CPU and 2 GB RAM, given that it will be enough for running what you need.
But this is only a simple example, things in the IT world can be more complex...

I hope this helps you.
And as I said, if someone thinks I'm mistaking, please correct me.
Regards,
Ziv



On Sat, Oct 30, 2010 at 12:45 PM, Stephen Liu <satimis at yahoo.com> wrote:


>
>From: Ziv Leyes <zivley at gmail.com>
>
>To: ubuntu-cloud <ubuntu-cloud at lists.ubuntu.com>
>Sent: Tue, October 26, 2010 5:30:49 PM
>
>Subject: Re: [ubuntu-cloud] Questiong on setup of cluster and node
>
>
>Hii Ziv,
>
>- snip -
>
>
>> The ubuntu cloud is meant to be a platform that runs VMs, 
>> so what you're trying to do is to run a VM platform from within a VM host!
>
>Could you  please explain in more detail.  Whether Ubuntu Cloud is already a 
>platform with a virtualizer, say KVM or VirtualBox, running on it.  It allows VM 
>to be installed and running on it.  If my assumption is correct.  Ubuntu Cloud 
>is command line operation without X.  I can't run Virtual Machine Manager (GUI) 
>on it.  Then the installation of VM (node) must be on command line?  If I'm 
>wrong please advise.  TIA
>
>
>> As a no so related allegory, is like installing WindowsXP, then run VirtualBox, 
>>
>> create a new machine, install Win7 and install VirtualBox inside it, and 
>> then expect that this VirtualBox will satisfy your needs...
>
>Whether to find a new PC installing Win7 as host and then installing VirtualBox 
>on it.  In such configuration I can install both cluster and nodes on VirtualBox 
>as VMs?  I'm now running Ubuntu as host with VirtualBox installed on it.  This 
>change is only on the host.  Sorry I can't see the difference.  Pls advise.  
>Thanks
>
>B.R.
>Stephen L
>
>
>
>On Tue, Oct 26, 2010 at 10:00 AM, Stephen Liu <satimis at yahoo.com> wrote:
>
>Hi Ahmed,
>>
>>Thanks for your advice.
>>
>>> Two get a "supported" installation, you'd need 2 PCs minimum.
>>> PC-1 To act as cloud controller, cluster controller and
>>> storage (walrus, SC)
>>> PC-2 To act as "node". You can later on add as many nodes
>>> as you want
>>
>>> I would be quite hesitant to install any of those as "VMs".
>>
>>I succeeded installing cluster as VM of PC-1.  It is running and can be
>>connected on browser remotely via Internet.  But I failed to get the node
>>running as VM of PC-1, in the same PC.
>>
>>I'll try installing a node as VM of PC-2 later.  If failure making the cloud 
to
>>work I would stop testing cloud computing until solution discovered.
>>
>>
>>> There are hacks to install everything on one node, but
>>> they're just hacks
>>
>>Running virtualization?
>>
>>
>>Cloud computing is NOT a new technology, only the main frame and terminals on
>>the service provider's server.  This is a technology of yesterday tracing back
>>to Utility Computing, Grid Engine, etc, several years back. I tested the later
>>at least 4~5 years ago. At that time they were run by universities sharing 
>data.
>>
>>
>>I found following thread:-
>>The Enterprise Cloud: How to Build a Server Demo
>>http://www.youtube.com/watch?v=T6lvKnbws78&feature=mfu_in_order&playnext=1&videos=sIemMxnTfDk
>>
>>
>>
>>Created by Terremark showing how to create a server on Web.
>>
>>Previously I did it in another way creating several servers (nodes), Linux and
>>Windows, on VirtualBox/KVM. Users have full access to the servers over 
Internet
>>with the IP address and password provided, on command line and GUI (RDP).
>>
>>
>>I think the concept is more or less the same.  I have following doubt :-
>>
>>Can the user have full knowhow and experience on monitoring and configuring 
the
>>server? If YES he/she would build the server themselves, not to down/buy a
>>server.
>>
>>I will be happy to see what new technology will be added to cloud computing in
>>the not too distant future.
>>
>>
>>B.R.
>>Stephen L
>>
>>
>>
>>
>>----- Original Message ----
>>From: Ahmed Kamal <ahmed.kamal at canonical.com>
>>To: ubuntu-cloud <ubuntu-cloud at lists.ubuntu.com>
>>Sent: Mon, October 25, 2010 5:51:03 PM
>>Subject: Re: [ubuntu-cloud] Questiong on setup of cluster and node
>>
>>On 10/23/2010 01:00 PM, Stephen Liu wrote:
>>> Hi folks,
>>>
>>> I'm a little bid confused on the setup of Enterprise Cloud.  Cluster and 
node
>>> can't coexist on the same PC which is my finding.
>>>
>>> 1)
>>> PC-1 for cluster
>>> Cluster can be installed on VM which is my finding.
>>>
>>>
>>> PC-2 for node
>>> I suppose node can also be installed on VM, but NOT on the same PC with
>>>cluster.
>>>
>>> What about if I need adding more nodes whether I need adding more PCs?  Or
>>>nodes
>>> can coexist on the same PC running as VMs?  If it needs adding more PCs then
>>> better go away from Cloud.
>>>
>>Hey Stephen,
>>
>>Two get a "supported" installation, you'd need 2 PCs minimum.
>>PC-1 To act as cloud controller, cluster controller and storage (walrus, SC)
>>PC-2 To act as "node". You can later on add as many nodes as you want
>>
>>I would be quite hesitant to install any of those as "VMs". There are
>>hacks to install everything on one node, but they're just hacks
>>
>>--
>>Ubuntu-cloud mailing list
>>Ubuntu-cloud at lists.ubuntu.com
>>Modify settings or unsubscribe at:
>>https://lists.ubuntu.com/mailman/listinfo/ubuntu-cloud
>>
>>
>>
>>
>>--
>>Ubuntu-cloud mailing list
>>Ubuntu-cloud at lists.ubuntu.com
>>Modify settings or unsubscribe at: 
>>https://lists.ubuntu.com/mailman/listinfo/ubuntu-cloud
>>
>
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-cloud/attachments/20101030/532641d7/attachment.htm 


More information about the Ubuntu-cloud mailing list