Koozali.org formerly Contribs.org

VMWare Server on SME Server 7

VMWare Server on SME Server 7
« Reply #15 on: March 08, 2006, 03:33:27 AM »
Quote
I am not sure if you would need to activate the service for public access via port 902 on the server. That may be necessary for outside of lan connections using the remote console. The SME experts may be able to provide an assist with that.


Yes it is necessary, or at least it was necessary on the server I set up.  To allow access outside the lan:

config set vmware service access public status enabled TCPPort 902
signal-event remoteaccess-update
signal-event reboot


Not sure if the reboot is necessary.
......

Offline psoren

  • *
  • 369
VMWare Server on SME Server 7
« Reply #16 on: March 17, 2006, 02:48:12 PM »
Hi,

I have installed VMware with the script from an earlier post on a SME7pre4.
It all went well, including setting up VMware itself.

I'm using Virtual manager console in Windows and i can connect and create a machine, but as soon as i try to start the machine it says:

"Operation failed to change the VM to the expected power state"

Is there any settings that i missed or other stuff that need to be installed or is it a VMware problem?

Per

Offline psoren

  • *
  • 369
VMWare Server on SME Server 7
« Reply #17 on: March 19, 2006, 01:05:30 AM »
Quote from: "psoren"
Hi,

I have installed VMware with the script from an earlier post on a SME7pre4.
It all went well, including setting up VMware itself.

I'm using Virtual manager console in Windows and i can connect and create a machine, but as soon as i try to start the machine it says:

"Operation failed to change the VM to the expected power state"

Is there any settings that i missed or other stuff that need to be installed or is it a VMware problem?

Per


OK, i found the problem.
It just wont run on a VIA cpu..... :-x

Per

mychael

VMWare Server on SME Server 7
« Reply #18 on: June 19, 2006, 01:01:36 AM »
HI !

For information, i installed successfully on SME v7 RC3 using that script :

### begin
#!/bin/sh

rpm -i glibc-kernheaders-2.4-9.1.98.EL.i386.rpm
rpm -i glibc-headers-2.3.4-2.19.i386.rpm
rpm -i glibc-devel-2.3.4-2.19.i386.rpm
rpm -i cpp-3.4.5-2.i386.rpm
rpm -i gcc-3.4.5-2.i386.rpm

rpm -i xinetd-2.3.13-4.4E.1.i386.rpm

rpm -i --nodeps xorg-x11-libs-6.8.2-1.EL.13.25.i386.rpm
rpm -i VMware-server-1.0.0-24927.i386.rpm

vmware-config.pl

rpm -i smeserver-vmware-authd-0.1-1.noarch.rpm

/sbin/e-smith/db configuration setprop vmware status enabled
/sbin/e-smith/signal-event console-save
/sbin/e-smith/signal-event post-upgrade

ln -s /etc/rc.d/init.d/xinetd /etc/rc7.d/S56xinetd
#ln -s /etc/rc.d/init.d/vmware /etc/rc7.d/S95vmware

#rpm -e glibc-kernheaders-2.4-9.1.98.EL
#rpm -e glibc-headers-2.3.4-2.13
#rpm -e glibc-devel-2.3.4-2.13
#rpm -e cpp-3.4.4-2.i386
#rpm -e gcc-3.4.4-2.i386

reboot
### end

First, get the RPM there :
http://mirror.centos.org/centos/4.3/os/i386/CentOS/RPMS/

Download the VMWare Server Beta (?!) there :
http://www.vmware.com/download/server/

Download the VMWare Server Client in the same page.

Launch the script
Install VMWare Server Client on your desktop (win or *nix)
Launch the client with admin as user...

And here it is...

Enjoy !!!
Michaƫl

Updated script for SME RC3 based on CentOS 4.3...
« Reply #19 on: June 23, 2006, 04:01:27 PM »
Hi

Here is an updated Version using the latest RPV Versions for SME / VMWare / CentOS where appropriate.

Check to see if the used mirror works for you, otherwise adapt as needed...

Cheers

### begin
#!/bin/sh

wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/cpp-3.4.5-2.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/gcc-3.4.5-2.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/glibc-devel-2.3.4-2.19.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/glibc-headers-2.3.4-2.19.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/glibc-kernheaders-2.4-9.1.98.EL.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/xorg-x11-libs-6.8.2-1.EL.13.25.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/xinetd-2.3.13-4.4E.1.i386.rpm
wget http://mirror.contribs.org/smeserver/contribs/dthomas/smeserver/6.x/Contrib/GSX%20Server/smeserver-vmware-authd-0.1-1.noarch.rpm

rpm -Uvh glibc-kernheaders-2.4-9.1.98.EL.i386.rpm
rpm -Uvh glibc-headers-2.3.4-2.13.i386.rpm
rpm -Uvh glibc-devel-2.3.4-2.13.i386.rpm
rpm -Uvh cpp-3.4.4-2.i386.rpm
rpm -Uvh gcc-3.4.4-2.i386.rpm

rpm -Uvh xinetd-2.3.13-4.4E.1.i386.rpm

rpm -Uvh --nodeps xorg-x11-libs-6.8.2-1.EL.13.20.i386.rpm
rpm -Uvh VMware-server-e.x.p-20925.i386.rpm

vmware-config.pl

rpm -Uvh smeserver-vmware-authd-0.1-1.noarch.rpm

/sbin/e-smith/db configuration setprop vmware status enabled
/sbin/e-smith/signal-event console-save
/sbin/e-smith/signal-event post-upgrade

ln -s /etc/rc.d/init.d/xinetd /etc/rc7.d/S56xinetd

/sbin/e-smith/signal-event reboot
### end

VMWare Server on SME Server 7
« Reply #20 on: June 23, 2006, 04:09:13 PM »
Hi

Sorry, small typo in Version of VMWare...

Sh.. happens ;-)



### begin
#!/bin/sh

wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/cpp-3.4.5-2.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/gcc-3.4.5-2.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/glibc-devel-2.3.4-2.19.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/glibc-headers-2.3.4-2.19.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/glibc-kernheaders-2.4-9.1.98.EL.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/xorg-x11-libs-6.8.2-1.EL.13.25.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/xinetd-2.3.13-4.4E.1.i386.rpm
wget http://mirror.contribs.org/smeserver/contribs/dthomas/smeserver/6.x/Contrib/GSX%20Server/smeserver-vmware-authd-0.1-1.noarch.rpm

rpm -Uvh glibc-kernheaders-2.4-9.1.98.EL.i386.rpm
rpm -Uvh glibc-headers-2.3.4-2.13.i386.rpm
rpm -Uvh glibc-devel-2.3.4-2.13.i386.rpm
rpm -Uvh cpp-3.4.4-2.i386.rpm
rpm -Uvh gcc-3.4.4-2.i386.rpm

rpm -Uvh xinetd-2.3.13-4.4E.1.i386.rpm

rpm -Uvh --nodeps xorg-x11-libs-6.8.2-1.EL.13.20.i386.rpm
rpm -Uvh VMware-server-1.0.0-24927.i386.rpm

vmware-config.pl

rpm -Uvh smeserver-vmware-authd-0.1-1.noarch.rpm

/sbin/e-smith/db configuration setprop vmware status enabled
/sbin/e-smith/signal-event console-save
/sbin/e-smith/signal-event post-upgrade

ln -s /etc/rc.d/init.d/xinetd /etc/rc7.d/S56xinetd
#ln -s /etc/rc.d/init.d/vmware /etc/rc7.d/S95vmware

#rpm -e glibc-kernheaders-2.4-9.1.98.EL
#rpm -e glibc-headers-2.3.4-2.13
#rpm -e glibc-devel-2.3.4-2.13
#rpm -e cpp-3.4.4-2.i386
#rpm -e gcc-3.4.4-2.i386

reboot
### end

VMWare Server on SME Server 7
« Reply #21 on: June 30, 2006, 12:59:12 AM »
Hi, there are more typo's in versions...
Also, the script does not work if no previous version of the supposed rpm is installed like a clean 7.0rc3. Use rpm -ihv instead for these.

I do follow this thread with great attention though!
...

duncan

VMWare Server on SME Server 7
« Reply #22 on: July 01, 2006, 05:17:18 AM »
mknod -m 0600 /etc/udev/devices/vmmon c 10 165

yum --enablerepo=base --enablerepo=updates install cpp gcc xorg-x11-libs xinetd

ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S56xinetd
/sbin/e-smith/db configuration set xinetd service status enabled

rpm -ivh http://mirror.contribs.org/smeserver/contribs/dthomas/smeserver/6.x/Contrib/GSX%20Server/smeserver-vmware-authd-0.1-1.noarch.rpm

/sbin/e-smith/db configuration setprop vmware status enabled
/sbin/e-smith/signal-event console-save
/sbin/e-smith/signal-event post-upgrade

Offline william_syd

  • ****
  • 1,608
  • Nothing to see here.
    • http://www.magicwilly.info
VMware How-to
« Reply #23 on: July 08, 2006, 02:37:21 PM »
I wish to create a small how-to for installing VMware Server.

It looks like I'll be using a combination of info from Andy and Duncan.

Code: [Select]



wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/cpp-3.4.5-2.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/gcc-3.4.5-2.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/glibc-devel-2.3.4-2.19.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/glibc-headers-2.3.4-2.19.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/glibc-kernheaders-2.4-9.1.98.EL.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/xorg-x11-libs-6.8.2-1.EL.13.25.i386.rpm
wget http://mirror.nsc.liu.se/CentOS/4.3/os/i386/CentOS/RPMS/xinetd-2.3.13-4.4E.1.i386.rpm
wget http://mirror.contribs.org/smeserver/contribs/dthomas/smeserver/6.x/Contrib/GSX%20Server/smeserver-vmware-authd-0.1-1.noarch.rpm

rpm -Uvh glibc-kernheaders-2.4-9.1.98.EL.i386.rpm
rpm -Uvh glibc-headers-2.3.4-2.13.i386.rpm
rpm -Uvh glibc-devel-2.3.4-2.13.i386.rpm
rpm -Uvh cpp-3.4.4-2.i386.rpm
rpm -Uvh gcc-3.4.4-2.i386.rpm

rpm -Uvh xinetd-2.3.13-4.4E.1.i386.rpm

rpm -Uvh --nodeps xorg-x11-libs-6.8.2-1.EL.13.20.i386.rpm
rpm -Uvh VMware-server-1.0.0-27828.i386.rpm

vmware-config.pl

rpm -Uvh smeserver-vmware-authd-0.1-1.noarch.rpm

/sbin/e-smith/db configuration setprop vmware status enabled
/sbin/e-smith/db configuration set xinetd service status enabled

/sbin/e-smith/signal-event console-save
/sbin/e-smith/signal-event post-upgrade

ln -s /etc/rc.d/init.d/xinetd /etc/rc7.d/S56xinetd
#ln -s /etc/rc.d/init.d/vmware /etc/rc7.d/S95vmware


rpm -e glibc-kernheaders-2.4-9.1.98.EL
rpm -e glibc-headers-2.3.4-2.13
rpm -e glibc-devel-2.3.4-2.13
rpm -e cpp-3.4.4-2.i386
rpm -e gcc-3.4.4-2.i386


/sbin/e-smith/signal-event reboot







Have I got the above steps correct and in the correct order?

Why is "ln -s /etc/rc.d/init.d/vmware /etc/rc7.d/S95vmware" commented out?

I want any unnecessary stuff removed after VMware is up and running.
Regards,
William

IF I give advise.. It's only if it was me....

duncan

Re: VMware How-to
« Reply #24 on: July 09, 2006, 04:32:31 AM »
Quote from: "william_syd"
I wish to create a small how-to for installing VMware Server.

It looks like I'll be using a combination of info from Andy and Duncan.


If you are going to do it then use yum rather than downloading the development files individually.

Code: [Select]
yum --enablerepo=base --enablerepo=updates install cpp gcc xorg-x11-libs xinetd

You need to make the following device so v-machines start automatically on reboots

Code: [Select]
mknod -m 0600 /etc/udev/devices/vmmon c 10 165


Linking xinetd like this does it the SME way and sets it up so it can be controlled correctly as a service.

Code: [Select]
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S56xinetd
/sbin/e-smith/db configuration set xinetd service status enabled


Quote from: "william_syd"

Why is "ln -s /etc/rc.d/init.d/vmware /etc/rc7.d/S95vmware" commented out?


Because the smeserver-vmware-authd does that for you.
 
Quote from: "william_syd"

I want any unnecessary stuff removed after VMware is up and running.


Leave them in for the time being. Vmware is going thru a beta cycle that periodically forces you to update the server.

Offline william_syd

  • ****
  • 1,608
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #25 on: July 09, 2006, 12:28:30 PM »
Thanks. I'll have have some more questions soon.

In the mean time...

Just testing out my draft how-to.

How does SME deal with this?

Code: [Select]
Probing for an unused private subnet (this can take some time)...

The subnet 192.168.54.0/255.255.255.0 appears to be unused.

This system appears to have a DHCP server configured for normal use.  Beware
that you should teach it how not to interfere with VMware Server's DHCP server.
There are two ways to do this:

1) Modify the file /etc/dhcpd.conf to add something like:

subnet 192.168.54.0 netmask 255.255.255.0 {
# Note: No range is given, vmnet-dhcpd will deal with this subnet.
}

2) Start your DHCP server with an explicit list of network interfaces to deal
with (leaving out vmnet8). e.g.:

dhcpd eth0

Consult the dhcpd(8) and dhcpd.conf(5) manual pages for details.

Hit enter to continue.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • ****
  • 1,608
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #26 on: July 09, 2006, 01:29:30 PM »
Using the how-to here http://no.longer.valid/phpwiki/index.php/How-To%20install%20VMware%20free%20server%20on%20SME%207.0
using cut & paste into putty everything appears to have gone well.

I'm currently installing Win2k as a guest.

I did have to update my licence number. To do that I had to login as root.

If any corrections or improvements to the how-to is required let me know or just do it. ;)

Oh, is the yum command for removing unnecessary files correct or will it remove to much? I didn't try it myself.
Regards,
William

IF I give advise.. It's only if it was me....

duncan

VMWare Server on SME Server 7
« Reply #27 on: July 09, 2006, 11:52:26 PM »
Looks good.

Im not sure you really need the development tools if using a rpm. The last time I installed vmware (from source) it found all the modules required without needing to compile anything. Perhaps someone could try and let us know.

I prefer to compile from source (mainly because with the rpm your logs fill up with junk) so the compilers are a requirement.

duncan

VMWare Server on SME Server 7
« Reply #28 on: July 09, 2006, 11:56:36 PM »
Oh - and lose the first line

Quote
Make a temp-directory for the installation files with  mkdir /temp


There is already a tmp directory at the top level.

Offline william_syd

  • ****
  • 1,608
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #29 on: July 10, 2006, 05:10:28 AM »
Tried again without the compiler stuff

Code: [Select]
yum --enablerepo=base --enablerepo=updates install xorg-x11-libs xinetd

All went well...

Code: [Select]
The module bld-2.6.9-5.EL-i686smp-RHEL4 loads perfectly in the running kernel.

With a small hic-cup..

Code: [Select]
Building the VMware VmPerl Scripting API.

Setup is unable to find the "gcc" program on your machine.  Please make sure it
is installed.  Do you want to specify the location of this program by hand?
[yes] no

Using compiler "". Use environment variable CC to override.

Unable to install the VMware VmPerl Scripting API.A C compiler is required to install the API.


And finally....

Code: [Select]
The configuration of VMware Server 1.0.0 build-27828 for Linux for this running
kernel completed successfully.
Regards,
William

IF I give advise.. It's only if it was me....