Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to build a cluster with vmware with 2 linux nodes but I'm a bit of a begginer.
I have this questions:
Wich vmware to use (server, workstations)?
Do I need a server OS? Wich linux OS to use?
A step-by-step how to create the cluster?
How do I test it? How do I run a program in paralel?
VMWare is one of the possibilities you have when you want to set up a virtualization cluster. You have other possibilities like KVM, VirtualBox, Xen and so on.
If you're just a starter and want to get going real fast, first read about virtualization so that you at least understand some of the terminology (Wikipedia Virtualization for example).
I just need to try paralel computin, and I thought a simple cluster could help.
Just need 2 linux nodes in a cluster and execute a software in both of them at the same time.
Not with the setup(s) mentioned above as far as I know. You can use the virtual machines you create over the two nodes but if you want to do what you call parallel computing that's way further than just setting up a virtual environment. I'm not sure if this is what you mean but have a look at this link: Hadoop distributed computing
Is this what you mean? If not, then please explain a bit more in detail what you mean by parallel computing?
I just read through the site you mentioned and understand a bit better what you want. Disregard my previous post mentioning Hadoop, you don't need that.
It seems to me that the site explains what needs to be done pretty completely. Can you indicate what you don't understand? What hardware have you available for your project? Let's take it from there, start with what you have, install what you need, and off to testing
I have a dual core @ 1.7 GHZ, 2 giga RAM and Vista on my pc.
Because I cant find another PC, I wanted to use vmware.
Now, my problems are:
1. what vmware to use (esx, workstation) ?
2. Can I use any linux OS (ubuntu, fedora, etc) or do I need a specific linux os?
3. I dont understand the OSCAR part. Is it the next step of the tutorial, or is it an alternative of the tutorial?
Then I will try the project and let you know my problems.
First of all, do you want to keep your Windows and make your computer dual boot? Or do you want to install a product like VMWare in Windows and run your necessary Linux machines in that virtual environment?
If yes, then download your Linux distro of choice and install it. Most current Linux distros handle installing a dualboot system pretty well if Windows was installed first.
If no, download your Linux distro of choice, install it wiping Windows clean and condemning it to cyberspace (BEST CHOICE ).
Above is the first step/decision you need to take. Then comes the next one.
Basically you can use any Linux distro, perform a full install with GUI (Graphical User Interface) if you don't feel comfortable with the command line, install a product like VMWare Server or VirtualBox and then install your two nodes with Linux in newly created virtual machines.
That's the simplest way if you're new. If you want to jump in and get to know Linux you can use a product like Xen, running at the command line will teach you a lot. If you want to get a feeling of Xen, they have a great LiveDVD that you can start from without touching your harddisk, just to see if you like it.
As indicated on the website, the first option is for:
Quote:
As noted earlier, this is a bare-bones cluster, and much of it is based on doing manual work by making sure machines can communicate with each other (ssh is configured, MPICH is manually copied, etc.).
Of course there are ways to automate lots of it after installation but that will be a bit confusing if your new to Linux.
The second option (OSCAR) is an alternative option, where open source packages are installed to facilitate the maintenance of your cluster.
Quote:
Clearly, it will be hard to maintain the cluster above. It is not convenient to copy files to every node, set up SSH and MPI on every node that gets added, make appropriate changes when a node is removed, and so on.
Fortunately, excellent open source resources can help you set up and manage robust production clusters. OSCAR and Rocks are two examples. Most of the things we did to create our cluster are handled by these programs in an automated manner.
You can pick either, the second one will be easier to maintain because software will take care of almost everything if correctly configured. The first one will take up more of your time maintaining but in my opinion will teach you a lot in a short time.
So, now it's up to you to make some decisions on what you want to do. Looking forward to your questions.
Do you want to use a graphical interface or do you prefer command line?
In other words, will this computer be dedicated for your project or is it going to be used also for your daily computer needs, hence needing a GUI. And what distro would you use?
By computer I mean your pc. You can use Ubuntu if you like. Here's a link to an easy to follow step by step guide to install VMWare on Ubuntu: Install VMWare Server 2.0.2 on Ubuntu 10.04.
There's even a link on how to install Ubuntu if you're not sure about some options.
I've used both VMWare (and still do at work) and VirtualBox and I liked VMWare more. But the choice is up to you. Since you're new to Linux and want to get started with your project as fast as possible, I suggest you go with VMWare and follow the guide indicated in the link above.
Of course if you have any doubt following that guide, post your questions here.
You can do that too, but I advice against it because Vista will be the host system and is not very good at it. The performance will be a lot better if you install Ubuntu along with Vista making your pc dual-boot. Linux takes up a lot less resources then Vista. Since you're planning on installing two virtual machines with Ubuntu and then the environment you indicated, I'm afraid you'll have bad experiences if you do it all using Vista as a host system.
You can try it by using the wubi installer that will install Ubuntu 'inside' your Windows Vista installation if you want to but I'm sure the performance will be very poor once you start installing VMWare in the Ubuntu system and next two virtual machines to setup your environment. If you do it like that you'll have 3 machines running on top of Vista with only 2Gb RAM.
My advice is to make it dual boot if you want to keep Vista but again, the choice is up to you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.