Join us on IRC server: irc.freenode.net , channel: #openfiler

You are not logged in.

#1 2008-11-06 15:47:04

viald
Member
user avatar

[Tuto] How to install VMware on Openfiler

This tutorial explain how to install Vmware Server 1.07 and 2.0 on Openfiler 2.3 32&64 bit(rpath linux 1 distribution)
I spend a lot of time to resolve all the issues. I want to thank mkj_wk from the conary irc for his precious help.
You'll see that installation on Openfiler 64bit is easy, and doesn't modify the system base of Openfiler so I recommand to use the 64bit release.
Let's go !

This tutorial suppose that you use a fresh Openfiler 2.3 install.

Install VMware 1.0.7 on Openfiler 32bit:
1/ Remove vmware component
Run this command from CLI
> conary erase kernel:vmware
This command gives you two other commands. Please run them to remove the default vmware component.
Try again step 1 to be sure that all component are removed.

2/ System and Kernel Update
> conary update conary
> conary updateall
> conary update gcc
> conary update xorg-x11:lib=conary.rpath.com@rpl:1

I'm not succeed in running VMware with the kernel 2.6.24.x you have to upgrade to 2.6.26.x
> conary update kernel
> reboot

3/ Recompile the kernel
The kernel in 32bit version is compiled with CONFIG_UNUSED_SYMBOLS disabled.
You have to enable CONFIG_UNUSED_SYMBOLS in config file section of the kernel and recompile it.
Please refer to the Wiki Rpath to see how to compile the Kernel.

4/ Install VMware 1.0.7
Download VMware 1.0.7 32bit from official site.
Decompress and run the vmware-install.pl
Use default answer with all the questions until the script ask you to run the vmware config, say no.
Download the patch vmware-any-any-update117d.tar.gz from http://groups.google.com/group/vmkernelnewbies/files
Decompress and start runme.pl
From CLI run:
> vmware-config.pl
Again, use the default answer with all the questions.
Done


Install VMware 1.0.7 on Openfiler 64bit:
1/ Remove vmware component
Run this command from CLI
> conary erase kernel:vmware
This command gives you two other commmands. Please run them to remove the defaut vmware component.
Try again step 1 to be sure that all component are removed.

2/ System and Kernel Update
> conary update conary
> conary updateall
> conary update gcc
> conary update xorg-x11:lib=conary.rpath.com@rpl:1
> reboot

3/ Install VMware 1.0.7
Download VMware 1.0.7 64bit from official site.
Decompress and run the vmware-install.pl
Use default answer with all the questions.
Done


Install VMware 2.0 on Openfiler 64bit:
1/ Remove vmware component
Run this command from CLI
> conary erase kernel:vmware
This command gives you two other commands. Please run them to remove the default vmware component.
Try again step 1 to be sure that all component are removed.

2/ System and Kernel Update
> conary update conary
> conary updateall
> conary update gcc
> reboot

3/ Install VMware 2.0
Download VMware 2.0 64bit from official site.
Decompress and run the vmware-install.pl
Use default answer with all the questions.
Done

Last edited by viald (2008-11-06 15:47:23)

Offline

 

#2 2008-11-11 17:11:48

lukasware
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

Viald, this is CRAZY how well and easy it works...thanks for the tip and the instructions...I think you forgot to mention "conary update kernel" to go from the update 2.2.24 to 2.2.26...I have had no end of problems with 2.6.24 and am happy to be on 2.2.26 as my system hung on "initializing hardware" under 2.2.24.  I'll be overjoyed when OF releases on 2.2.27 for the native SSD support...thanks again Viald!

Offline

 

#3 2008-11-12 13:40:02

viald
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

lukasware wrote:

Viald, this is CRAZY how well and easy it works...thanks for the tip and the instructions...I think you forgot to mention "conary update kernel" to go from the update 2.2.24 to 2.2.26...I have had no end of problems with 2.6.24 and am happy to be on 2.2.26 as my system hung on "initializing hardware" under 2.2.24.  I'll be overjoyed when OF releases on 2.2.27 for the native SSD support...thanks again Viald!

You're welcome !

"conary update kernel"  is only necessary with OF 32bit release. But, yes you can do it too with 64bit one.

Offline

 

#4 2008-11-20 21:25:46

HillBillyZA
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

Thanks for these instructions though I've been struggling to get it working for 32 bit.

Following the instructions got it installed 100% (took quite a while to work out how to re-compile kernel) but none of my VMs wanted to run. The error I got was 'Not enough physical memory is available to power on this virtual machine...'

Seems to be a problem in the vmware-any-any patch for vmmon. Anyway, after a bit of digging, I came across a post where someone provided a patch for VMWare 1.07 for Ubuntu. I tried it, and it works perfectly. The patch can be found here: http://stackoverflow.com/questions/1112 … -to-submit

You should not install the vmware-any-any patch; but you will need to extract the vmmon.tar and vmnet.tar files (both located in /usr/lib/vmware/modules/source) to apply the changes. Don't forget to tar the changes back again before running vmware-config.pl

Offline

 

#5 2009-02-26 18:27:45

gpeterson
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

Has anyone successfully installed VMWare Server 2.0 on Openfiler 32bit? Thanks.

Offline

 

#6 2009-03-01 13:47:01

viald
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

gpeterson wrote:

Has anyone successfully installed VMWare Server 2.0 on Openfiler 32bit? Thanks.

Not at all, because 64bit release is perfect. Why are you using the 32bit release ?

Offline

 

#7 2009-03-02 01:25:30

mmb
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

Viald, this is so simple, almost plug and play.  Running Openfiler 2.3 and vmware2 (64bit) and a couple VMs


Thanks!

Offline

 

#8 2009-03-02 09:35:11

viald
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

mmb wrote:

Viald, this is so simple, almost plug and play.  Running Openfiler 2.3 and vmware2 (64bit) and a couple VMs


Thanks!

You're welcome wink

Offline

 

#9 2009-03-05 00:25:59

wolfgang
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

I am rerally interested to install vmware server on openfiler 86bit, but my knowledge of linux is low :-)
Well I need a little more help on this. My question, the process described has to be done after a complete install of openfiler baremetal on a x86 box? This means there is also some part from vmware allready installed in the standard openfiler install, because it has to be removed? Could you please help me out and describe the beginning of the procedure more in detail ?

Thanks a lot, Wolfgang

Offline

 

#10 2009-03-06 11:31:50

viald
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

wolfgang wrote:

I am rerally interested to install vmware server on openfiler 86bit, but my knowledge of linux is low :-)
Well I need a little more help on this. My question, the process described has to be done after a complete install of openfiler baremetal on a x86 box? This means there is also some part from vmware allready installed in the standard openfiler install, because it has to be removed? Could you please help me out and describe the beginning of the procedure more in detail ?

Thanks a lot, Wolfgang

If you need informations regarding Openfiler installation, please consult the WiKi.

Offline

 

#11 2009-03-18 08:04:31

filloweb
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

Hi all.

I'm triing to install VMWare server 2 on openfiler up2date. I've follow this TUTO but I don't understand how to recompile the kernel. Could you help me ?!?!

Thanks a lot.
filloweb

Offline

 

#12 2009-04-30 14:59:50

lukasware
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

can't do this after conary update kernel to 2.6.29
1) install OF
2) unpin the current kernel
3) conary update conary, gcc, updateall, kernel
4) conary erase kernel:vmware
5) install vmware server 2.01
fail because all the symbols are already defined so can't build vmware

after looking at the vmware forums, looks like no one has vmware server running on 2.6.29, although patches are available for vmware workstation.  But those patches have not yet fixed host only networking, but bridged is OK.

Last edited by lukasware (2009-04-30 15:10:28)

Offline

 

#13 2009-04-30 15:08:48

viald
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

lukasware wrote:

can't do this after conary update kernel to 2.6.29
1) install OF
2) unpin the current kernel
3) conary update conary, gcc, updateall, kernel
4) conary erase kernel:vmware
5) install vmware server 2.01
fail because all the symbols are already defined so can't build vmware

Step 1 Which version of Openfiler 32 or 64bits ?
Step 3 Where did you see you have to update the kernel ?

Offline

 

#14 2009-04-30 15:13:20

lukasware
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

OF 64 bit
yes I know that i don't have to update the kernel (see my happy post above on 2.6.26) but I'm a newer is better person...each 2.6 kernel upgrade has been dramatically better for my hardware.  like i said, it's completely broken (but fixable) by patching the vmware server.    Patches are available here: http://www.spryweb.co.uk/vmware-serv...-2.6.29.tar.gz  and better patches here: http://communities.vmware.com/thread/18 … p;tstart=0

Last edited by lukasware (2009-04-30 15:32:12)

Offline

 

#15 2009-04-30 16:01:00

lukasware
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

and the second patch does not work for me....still tracking this down...

Offline

 

#16 2009-04-30 16:49:12

viald
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

lukasware wrote:

and the second patch does not work for me....still tracking this down...

I'm running Vmware 2.01 with kernel 2.6.26.8-1.0.11 (the default given by update all, but not by a kernel update)
The goal of this topic is to run Vmware without touch the default and recommended Openfiler configuration.

I suppose that the release kernel you need will be available one day. And if you want Openfiler support you can't update the kernel like this. (I suppose that adding vmware is already too much ;-)

Thank you.

Offline

 

#17 2009-04-30 17:46:17

lukasware
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

of course, and I'll run 2.6.26 so I can get on with real work.  Torvald's people put lots of changes in 2.6.29 to support VMware...and of couse that broke VMware server, workstation and tools....but some of these fixes were necessary so I suspect patches or vmware support will be coming out soon.

Offline

 

#18 2009-05-08 11:59:09

padonker
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

I appreciate all the efforts and work which has been put in this howto, but why would you want this to begin with?

-Patrick-

Offline

 

#19 2009-05-08 14:21:39

viald
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

padonker wrote:

I appreciate all the efforts and work which has been put in this howto, but why would you want this to begin with?

-Patrick-

What do you mean ?

Offline

 

#20 2009-05-08 15:27:10

padonker
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

Why would you want to install vmware on an OF box?

Offline

 

#21 2009-05-08 15:41:00

viald
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

For example when you use OF for personal uses, you don't use the NAS all the time, but you can't shutdown it each time you have use it.
So it's interesting to run others operating system on the same hardware without touching the openfiler system. First your guest OS run on secure disk (raid5), Second you have only one serveur for multiple system.

As an example, I'm using MusicIP for mixing my music, My music files are stored on OF, and MusicIP is running on XP which has an OF network share connected to.

Offline

 

#22 2009-05-08 15:43:12

padonker
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

Ah ok then.
I was more thinking about an enterprise set up. For home usage  it is very useful smile

Last edited by padonker (2009-05-08 15:43:35)

Offline

 

#23 2009-06-08 11:11:00

fcollingwood
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

viald wrote:

3/ Recompile the kernel
The kernel in 32bit version is compiled with CONFIG_UNUSED_SYMBOLS disabled.
You have to enable CONFIG_UNUSED_SYMBOLS in config file section of the kernel and recompile it.
Please refer to the Wiki Rpath to see how to compile the Kernel.

I could not find this. Please could you provide a link or instructions?

Offline

 

#24 2009-06-09 11:22:35

fcollingwood
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

GRRRR! This is doing my head in!

Iam running OF on a 32 bit machine, so can not use the 64 bit guide above. Also hate VMWare server 2 & above. So sticking with VMWare server 1.0.9 on OF 32 bit.

Anyway, following the above steps, i merrily get to the end of step 2 (Reboot), and I get some errors on boot. No problem, boot with Knoppix, and change grub.conf and fstab to use the paths to the disks instead of labels.

reboot again, and I get kernel panics:

mount: error 6 mounting ext3
ERROR opening /dev/console!!!!:2
error dup2'ing fd of 0 to 0
error dup2'ing fd of 0 to 1
error dup2'ing fd of 0 to 2
switchroot: mount failed: 22
Kernel panic: Attempted to kill init!

Does anyone have any ideas?

I'd also like to understand how I go about recompiling the kernel as per step 3

added after I've gone back to using labels

OK, so I'm using labels in grub.conf and fstab again.

if I boot using the kernel installed when I installed 2.3 (2.6.24.7-0.2.6.smp.gcc3.4.x86.i686) there are no problems.

However, booting using either of the other kernels I've managed to install (2.6.26.6-1.smp.gcc4.1.x86.i686 and 2.6.29.4-0.6.smp.gcc3.4.x86.i686), I hit the same problem:

mkrootdev: label root not found
mounting root filesystem
mount: error 2 mounting ext3
switching to new root
ERROR opening /dev/console!!!!:2


This despite the fact that hda7 is indeed labeled "root", and is the root partition - after all, everything works using 2.6.24!

I've checked the initrd files, the only additional entry in the 2.6.26 file is:

< echo "Loading dock.ko module"
< insmod /lib/dock.ko

otherwise they are identical.

My MB is a Tyan Tiger MPX (2466).

I'm using the on-board IDE controller and also have a 3Ware 9500S-8 installed

Last edited by fcollingwood (2009-06-09 13:22:07)

Offline

 

#25 2009-06-09 13:21:08

viald
Member
user avatar

Re: [Tuto] How to install VMware on Openfiler

If you use the lasted iso file to install OF available from download, you don"t have to run "conary update kernel" which causes the panic at next reboot. It's because, the lasted release has already  the 2.26 release kernel.
And you don't have to reboot too !

Last edited by viald (2009-06-09 13:22:19)

Offline

 

Board footer