Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VMware GSX Server on Gentoo HOWTO
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Sun Feb 13, 2005 2:52 pm    Post subject: Reply with quote

But the https web interface on port 8333.
Back to top
View user's profile Send private message
saffy
n00b
n00b


Joined: 31 Jan 2004
Posts: 14
Location: London, UK

PostPosted: Sat Mar 19, 2005 4:04 pm    Post subject: Reply with quote

The VMWare Management Interface that comes with GSX 3.0 is horribly buggy and keeps shutting itself down. I recommend you use 3.1 as it appears to be fixed.

Also, if you are running on a recent kernel e.g. 2.6.11, you would benefit from the latest vmware-any-any patch

http://ftp.cvut.cz/vmware/vmware-any-any-update89.tar.gz

I have VMWare GSX server running on a 12GB ram, 2x 2.8GHz Xeons Gentoo Server 8)
_________________
===============================>
saffy
Back to top
View user's profile Send private message
Bobthegiant
n00b
n00b


Joined: 07 Mar 2005
Posts: 8

PostPosted: Tue May 17, 2005 7:07 pm    Post subject: Reply with quote

Hi,

I tried the steps in this fine howto but I'm running into some problems.

At Step 4 you say to unpack and run the install sripts for VMware-gsx-3.x.tgz and VMware-mui-3.x.tgz. I do this and after I run the "vmware-install.pl" command I get this message informing me to run "vmware-config.pl", see below.

The installation of VMware GSX Server 3.1.0 build-9089 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/gsx/bin/vmware-uninstall.pl".

Before running VMware GSX Server for the first time, you need to configure it by
invoking the following command: "vmware-config.pl". Do you want this
program to invoke the command for you now? [yes] n

Enjoy,

--the VMware team


You don't mention having to this in the howto, is it neccessry? Running "vmware-config.pl" gives me this error.

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware GSX Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.11-gentoo-r6-m2/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.


It starts compiling then gives up with this error.

Building modules, stage 2.
MODPOST
*** Warning: "skb_copy_datagram" [/tmp/vmware-config2/vmnet-only/vmnet.ko] undefined!
CC /tmp/vmware-config2/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config2/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.11-gentoo-r6'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config2/vmnet-only'
Unable to make a vmnet module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config2/vmnet.o': -1 Unknown symbol in module
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.



The URLs listed are not very helpful. One of them says the compilation fails because the header files I'm using to compile the modules are different than the headers used to compile the kernel. I can't see how this is possible, but maybe an "emerge world" modified something so I set about recompiling the kernel again. No luck I get the same error with the new kernel. Has anyone else run into this?

Any help or insight would be appreciated.
Thanks
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Tue May 17, 2005 7:31 pm    Post subject: Reply with quote

Do you have the latest version of vmware-any-any-update (http://ftp.cvut.cz/vmware/ ) installed?

Last edited by tuxian on Wed May 18, 2005 8:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
Bobthegiant
n00b
n00b


Joined: 07 Mar 2005
Posts: 8

PostPosted: Wed May 18, 2005 6:43 pm    Post subject: Reply with quote

Yup!! That did it, thanks. I was able to compile the modules without any problems.

The vmware processes are up and running. Now to configure gentoo start-stop scripts and create a virtual machine.

Thanks again.
Back to top
View user's profile Send private message
GurliGebis
Retired Dev
Retired Dev


Joined: 08 Aug 2002
Posts: 509

PostPosted: Sat May 21, 2005 2:45 pm    Post subject: Reply with quote

It's this possible without a X server?
If I use the console app from another computer, I have no need for the MUI package, right?
_________________
Queen Rocks.
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Sat May 21, 2005 4:26 pm    Post subject: Reply with quote

No you don't need the mui-package and also no xserver.
On my gsx-server there is no xserver running, i only use it remote with vmware-console.

But the mui-package also doesn't need a xserver, it's a nice web interface to control your VMs remotely.
Back to top
View user's profile Send private message
GurliGebis
Retired Dev
Retired Dev


Joined: 08 Aug 2002
Posts: 509

PostPosted: Sat May 21, 2005 5:41 pm    Post subject: Reply with quote

okay, it's a shame it requires modules, would really like to be able to disable module support in my kernel, like I have now.
_________________
Queen Rocks.
Back to top
View user's profile Send private message
Bobthegiant
n00b
n00b


Joined: 07 Mar 2005
Posts: 8

PostPosted: Wed Jun 08, 2005 7:46 pm    Post subject: Re: VMware GSX Server on Gentoo HOWTO Reply with quote

Quote:
VMware GSX Server 3.0 now supports both the Linux 2.4 and 2.6 kernel inside and out (as the host or a guest). However, I have had very bad performance with 2.6 so you may want to start with 2.4.


I followed this guide as well as adding the any-any patch and I'm having great success with a 2.6.11 kernel on the host OS with Windows XP, Windows 2003, Solaris 10, or a linux 2.4 guest OS.

However, any guest running a 2.6 kernel is hournedously slow. If I boot a knoppix 3.4 cd with the 2.4 kernel I get pretty good performance. When both the host and guest are idle, "top" (on either host or guest) reports between 95% and 97% idle. If I reboot the same knoppix cd but choose the 2.6 kernel, top reports 30% idle, 20% sy and 50% si on the guest, and shows 10% us, 45% sy, and 45% id on the host OS. This is with just the one guest running idle!

I also notice that it takes about 3 min to boot the older 2.4 kernel Gentoo livecd based on the 1.4 profile. Where as it takes me 37 min to boot the new livecd with the 2.6 kernel based on 2005.0 profile, and I had to use the gentoo-nofb kernel or the boot wouldn't even complete.

GSX 3.0 says it supports 2.6 kernels in both the host and guest. I'm running 3.1 so you'd think it would be more stable. Has anybody managed to get a 2.6 host and a 2.6 guest to work well together on GSX 3.1? Is there someting I need to add/remove from the kernel on either, i.e. turn off premptive multitasking, etc? My goal is to have a barebones 2.6 Gentoo instance on the host, with 2 customized Gentoo guest OSes, and one Solaris 10 guest OS.

Any insight into these performance issues would be appreciated.

Thanks
Back to top
View user's profile Send private message
GurliGebis
Retired Dev
Retired Dev


Joined: 08 Aug 2002
Posts: 509

PostPosted: Wed Jun 08, 2005 7:49 pm    Post subject: Reply with quote

Is there some way to merge the network drivers into the kernel source tree, so I can have them without supporting modules?
_________________
Queen Rocks.
Back to top
View user's profile Send private message
musicman_ace
n00b
n00b


Joined: 12 Feb 2005
Posts: 16
Location: Indiana

PostPosted: Tue Jun 28, 2005 7:34 pm    Post subject: Reply with quote

emerge xfree doesn't work. Should I be trying to emerge xorg-x11?
_________________
I'll think of something to put here
Back to top
View user's profile Send private message
Edweirdo
Guru
Guru


Joined: 28 Jan 2003
Posts: 353
Location: Boston, Mass, USA

PostPosted: Tue Jul 05, 2005 2:53 am    Post subject: Reply with quote

musicman_ace wrote:
emerge xfree doesn't work. Should I be trying to emerge xorg-x11?


Yes, you can use xorg-x11 instead of xfree.

Sorry, I haven't updated this thread in awhile. I am running 3.1 but it was an upgrade. 3.2 is out now and I haven't gotten it because my license expired and I'm having trouble getting my work to blah blah blah (you know the drill).
_________________
Life is too short and too important to { take seriously | use Windows }.
Back to top
View user's profile Send private message
GurliGebis
Retired Dev
Retired Dev


Joined: 08 Aug 2002
Posts: 509

PostPosted: Tue Jul 05, 2005 4:48 pm    Post subject: Reply with quote

well, isn't it possible to integrate the driver into the kernel, so module support in the kernel isn't required?
_________________
Queen Rocks.
Back to top
View user's profile Send private message
thrashed
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 292

PostPosted: Wed Jul 06, 2005 6:51 am    Post subject: Reply with quote

I have some questions on this howto!

I got the GSX server without errors installed. I installed only the GSX server on my gentoo server, no Client Interface or Webmanagement Console. I started the service without any problems. ps ax shows me that the service is up.

On another Gentoo machine i installed the Vmware Client. I get the Client started, i get the "gsx server"-service on the other gentoo server machince started, but i am not able to connect from the client to the server.

When i nmap the servers vmware 902 port, i see that it's closed?! Of course i can ping the server an all other services on the machine like web, mail and so on make no problems. Has anyone the same problems?

Sorry for my bad english, best wished
thrashed :)
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Wed Jul 06, 2005 9:01 am    Post subject: Reply with quote

Is xinitd started?

In the file /etc/xinetd.conf the line "only_from" must be commented or you add your machine!
What happens if you run nmap on your gsx machine? Is port 902 open?

Code:
defaults
{
#        only_from      = localhost
        instances      = 60
        log_type       = SYSLOG authpriv info
        log_on_success = HOST PID
        log_on_failure = HOST
        cps            = 25 30
}

includedir /etc/xinetd.d
Back to top
View user's profile Send private message
thrashed
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 292

PostPosted: Wed Jul 06, 2005 10:22 am    Post subject: Reply with quote

tuxian wrote:
Is xinitd started?

In the file /etc/xinetd.conf the line "only_from" must be commented or you add your machine!
What happens if you run nmap on your gsx machine? Is port 902 open?



my xinetd.conf looks NOW like yours. i commented it in the config file. service is started.

when i run nmap it looks like this:
Code:
# nmap -p 902 localhost

Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-07-06 12:19 CEST
Interesting ports on localhost (127.0.0.1):
PORT    STATE  SERVICE
902/tcp closed iss-realsecure-sensor


i have no idea, what i dismissed :cry:
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Wed Jul 06, 2005 10:37 am    Post subject: Reply with quote

Do you have this file /etc/xinetd.d/vmware-authd ?

Code:
# default: on
# description: The VMware remote access authentification daemon
service vmware-authd
{
    disable         = no
    port            = 902
    socket_type     = stream
    protocol        = tcp
    wait            = no
    user            = root
    server          = /usr/sbin/vmware-authd
}


Are the vmware-daemons started?
Did you allow while running the configure-script for the gsx server it should accept connections via port 902?

I also had this problem, after a HD crash I was forced to perform a fresh stage1 install and then it worked immediately.
Back to top
View user's profile Send private message
thrashed
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 292

PostPosted: Thu Jul 07, 2005 7:31 am    Post subject: Reply with quote

i got some problems with the xinetd and xorg files :/
re-emerged and configured those and now the service starts and shows up when i test it with netstat.

with the help of you all, i got this problem solved.
now i can connect via vmware-console-client to the vmware-gsx-server.

i think the basic configuration is done and works.
i have no floppy in my gsx server machine and now i have troubles with bootable cd's. Not only one bootable cd is booting any operating system (from an ip-cop over an bsd to an w2k3 server - nothing would boot). I am at work now, but when i have enough time i'll figure out whats my problem concerning on my bootable media problem. Is it possible that there are problems, because of the fact that i use a 3ware Raid Controller for my two IDE disks? But i can't believe that this goes hand in hand with the bootable media problem ...

thank you all so much.
best wishes and sorry again for my bad english :)
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Thu Jul 07, 2005 9:33 am    Post subject: Reply with quote

Do you have "Legacy emulation" for your CD-ROM devices enabled?

If not enable it!
Back to top
View user's profile Send private message
thrashed
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 292

PostPosted: Thu Jul 07, 2005 9:43 am    Post subject: Reply with quote

tuxian wrote:
Do you have "Legacy emulation" for your CD-ROM devices enabled?

If not enable it!


My first try was with a disabled "legacy emulation" setting. Afterwards i tried it with the enabled setting. When i disable legacy emulation nothing happens and when i enable the legacy emulation and reset my virtual host the cdrom is running and the cd-rom icon is blinking in the vmware-console on the right bottom. But nothing happens, i can't see anything ...
My cdrom setting is /dev/hda
At the vmware forum i read that i should give "ln -sf /dev/hda /dev/cdrom/" a try.
hmmm
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Thu Jul 07, 2005 9:58 am    Post subject: Reply with quote

Do you have generelly access to the CD-ROM device in your virtual machine?

I think creating an symlink won't help.

Lets try this:

Create a ISO-Image of you bootable CD-ROM:

dd if=/dev/hda of=name.iso

In vmware instead of a CD-ROM device you choose the iso-image!

On my gsx-server booting of a bootable only works with "Legacy emulation" enabled!
If your CD-ROM device in vmware is configured as SCSI device try it as IDE device!

EDIT: Do you see the BIOS on your VM when you turn it on?
Back to top
View user's profile Send private message
thrashed
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 292

PostPosted: Fri Jul 08, 2005 5:52 am    Post subject: Reply with quote

tuxian wrote:
EDIT: Do you see the BIOS on your VM when you turn it on?


No. that's my problem. I can't see anything belonging to a computer startup. I only see the vmware-client gui. I can create/delete and make some options to the the vmware virtual hosts. but when i start i can't see anything, i only see the options of this virtual host!
I also can't boot with an iso-image. I tried it with an ipcop image - But nothing happens. but cdrom icon on the bottom right blinks green as hell. It behaves like it found the image or cdrom, but nothing to see :roll:

I didn't install the mui package, should i do that? But i don't think this will solve my problem ... :/

best wishes
thrashed
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Fri Jul 08, 2005 6:44 am    Post subject: Reply with quote

Yes installing the mui package won't help.

It's a permission problem. I had it some time ago.
Check the permissions of the files in the VM directory (e.g. /vmware).
On my VM directory (/vmware) the sticky bit is set:

drwxrwxrwt 5 markus users 264 2. Jul 01:34 vmware

I don't know if it is really necessary but you may try it:

e.g.:
Code:
chmod +s /vmware



Do you try it as ordinary user or as user root?
On my machine normally I'm logged in as ordinary user but it works for both cases.

The permissions of the files in the directory:
Quote:

markus@markus: pts/3: 5 files 1,0Kb -> ls -l /vmware/
insgesamt 1041908
-r--r--r-- 1 root root 1474560 23. Mai 02:52 boot.img
-rw-r--r-- 1 markus users 334358528 26. Mai 23:26 klax-kde-3.4.1.iso
-rw-r--r-- 1 markus users 14610432 7. Apr 01:39 ReactOS.iso
drwxr-xr-x 2 markus users 296 7. Jul 21:44 SUSE Linux 9.3
drwxr-xr-x 2 markus users 232 27. Jun 23:33 Ubuntu
drwxr-xr-x 2 markus users 608 7. Jul 21:24 winXPPro
-rwxrwxrwx 1 markus users 715425792 23. Mai 02:47 zeta_neo_deluxe.iso


If you are logged in as user you may try:

chown -R user:group /vmware
chmod -R 755 /vmware
Back to top
View user's profile Send private message
thrashed
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 292

PostPosted: Fri Jul 08, 2005 6:49 pm    Post subject: Reply with quote

Yeah - I found the problem, but i don't know how to solve it!

i have exactly the same problem like this guy:
https://forums.gentoo.org/viewtopic-t-341604-highlight-vmwareconsole.html

i boot win xp 2 times a month, so i totally forgot that i have a dualboot system :) I installed the windows version of the vmware-console logged in at the GSX server boot up a bootable CD and everything worked fine so that i could see a bootscreen from a virtual machine. So I can say that the gsx server is up and running :)
I want to get the vmware-console working on my gentoo machine. as i mentioned, i have the same problems like the guy (see the link above).

I hope anyone can help me on this problem :(
Back to top
View user's profile Send private message
thrashed
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 292

PostPosted: Mon Jul 11, 2005 10:34 am    Post subject: Reply with quote

nobody any idea? :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum