Koozali.org formerly Contribs.org

VMWare Server on SME Server 7

VMWare Server on SME Server 7
« Reply #90 on: April 12, 2007, 03:01:08 PM »
cool. i have some news for you guys.

it looks like the vmware console (port 902 etc) will not work for vmware 1.02 on a vanilla sme 7.1.3 [edit for stuntshell]

it does work well on sme 7.1 [no stuntshell edit this time], and continues to work after upgrading to 7.1.3 [edit for stuntshell] but there are some issues:

Quote
Apr 12 22:45:31 ntvdc vmware: Starting VMware services:
Apr 12 22:45:31 ntvdc vmware:    Virtual machine monitor
Apr 12 22:45:31 ntvdc vmware: 
Apr 12 22:45:31 ntvdc vmware:
Apr 12 22:45:31 ntvdc vmware:
Apr 12 22:45:31 ntvdc vmware: Module vmnet is not loaded.  Please verify that it is loaded before
Apr 12 22:45:31 ntvdc vmware: running this script.
Apr 12 22:45:31 ntvdc vmware:
Apr 12 22:45:31 ntvdc rc.e-smith: Starting vmware:  failed
Apr 12 22:45:31 ntvdc httpd.vmware:    Starting httpd.vmware:
Apr 12 22:45:33 ntvdc httpd.vmware: 
Apr 12 22:45:33 ntvdc httpd.vmware:
Apr 12 22:45:33 ntvdc rc.e-smith: Starting httpd.vmware:  succeeded


after enabling nat and host-only networking in vmware-config.pl then everything seems back to normal and working fine.

perhaps this is the issue with installing vmware 1.02 on sme 7.1.3  [edit for stuntshell]

regards,
brenton

Offline Franco

  • *
  • 1,171
    • http://contribs.org
VMWare Server on SME Server 7
« Reply #91 on: April 12, 2007, 03:51:21 PM »
7.3 ?

vulpes

VMWare Server on SME Server 7
« Reply #92 on: April 12, 2007, 04:35:52 PM »
Hi Benton,

It looks like you install SME server 7.1, than Install VMware server and than update the SME server to v7.1.3

Am I Correct?

Beter would be:

1. Install SME server 7.1
2. Update to v7.1.3
3. Install VMware server 1.0.2

VMWare Server on SME Server 7
« Reply #93 on: April 13, 2007, 02:06:10 AM »
vulpes
Quote
It looks like you install SME server 7.1, than Install VMware server 1.02 and than update the SME server to v7.1.3

Am I Correct?

you are correct. installing after upgrading to 7.1.3 causes the port 902 error somehow?

regards,
brenton

vulpes

VMWare Server on SME Server 7
« Reply #94 on: April 13, 2007, 08:21:12 AM »
Hi Brenton,

The update to v7.1.3 updates also the kernel. Therefore updating after you've installed VMware server is not advisable.

Just avoid problems by first updating and than installing VMware server.

Port 902 is actually a non-issue. There are some other distros were the script says that port 902 is in use. SuSE is one of them. Weather that port is actually in use or not doesn't change anything. The script will present you with a suitable port. You just need to remember which port it is when you use the console. Thats all.

VMWare Server on SME Server 7
« Reply #95 on: April 13, 2007, 06:38:49 PM »
vulpes. i think the point was that the console just doesn't work when installing vmware 1.02 after upgrading to sme 7.1.3. port 902-3-4-5 etc 6-7-8-9 etc. whatever. running vmware-config.pl should rebuild vmware after any kernel updates. if you get vmware 1.02 working on a vanilla 7.1.3 just tell us what to do. don't hesitate. work it out mr.

regards,
brentonv

vulpes

VMWare Server on SME Server 7
« Reply #96 on: April 13, 2007, 07:39:37 PM »
Hi Brenton,

Sorry to hear that that you cannot get it to work. I don't know if you've installed from scratch, but sometimes it's just better to do so, and it usually saves you a lot of time

What I can tell you is the way I installed it and that the end result is working perfectly.

 1. Install SME
 2. Update to version 7.1.3
 3. Follow the guidelines as per:
http://www.sonoracomm.com/index.php?option=com_content&task=view&id=116&Itemid=32
Also look at:
http://www.sonoracomm.com/index.php?option=com_content&task=view&id=54

The only difference with my install is that:
 
 1. I do enable NAT.
 2. I create a symlink for the mui.

Give this a try and let us know.

Offline william_syd

  • ****
  • 1,608
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #97 on: April 14, 2007, 01:58:15 AM »
Quote from: "brentonv"
vulpes. i think the point was that the console just doesn't work when installing vmware 1.02 after upgrading to sme 7.1.3. port 902-3-4-5 etc 6-7-8-9 etc. whatever. running vmware-config.pl should rebuild vmware after any kernel updates. if you get vmware 1.02 working on a vanilla 7.1.3 just tell us what to do. don't hesitate. work it out mr.

regards,
brentonv


I'm in the process of trying this out.

Code: [Select]
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.2-39867.i386.rpm
Code: [Select]
wget http://mirror.contribs.org/smeserver/releases/7/smedev/i386/RPMS/smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm
Code: [Select]
yum localinstall smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm VMware-server-1.0.2-39867.i386.rpm
Code: [Select]
vmware-config.pl
Code: [Select]
signal-event post-upgrade; signal-event reboot

I believe the above will only allow the console to connect via the local lan.

For internet access (WAN) try...

Code: [Select]
config setprop vmware-authd access public
Code: [Select]
signal-event remoteaccess-update
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 #98 on: April 14, 2007, 03:47:05 AM »
The above appears ok.

Now for MUI.

Code: [Select]
wget http://download3.vmware.com/software/vmserver/VMware-mui-1.0.2-39867.tar.gz
Code: [Select]
tar -xzvf VMware-mui-1.0.2-39867.tar.gz
Code: [Select]
cd vmware-mui-distrib/
Code: [Select]
./vmware-install.pl
Code: [Select]
config set httpd.vmware service TCPPorts 8222,8333 access public status enabled
Code: [Select]
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S91httpd.vmware
Code: [Select]
signal-event remoteaccess-update
Code: [Select]
/etc/rc7.d/S91httpd.vmware restart

I then went to http://server:8222 and logged into the MUI and downloaded the console.

Installed the console and connected to port 902.

Server History
7.0 CD install
yum update to 7.1.3
Install kernel 2.6.9-48.ELsmp (test box does not rely on any kmods)
Initial install of VMserver 1.0.2
Initial install of VMserver-MUI 1.0.2

Files installed by YUM
VMware-server.i386 1.0.2-39867
fontconfig.i386 2.2.3-7.centos4
xinetd.i386 2:2.3.13-4.4E.1
xorg-x11-libs.i386 6.8.2-1.EL.13.37.7
xorg-x11-Mesa-libGL.i386 6.8.2-1.EL.13.37.7
smeserver-vmware-server.noarch 0.0.1-4.el4.sme


Now to test if VM's restart after a reboot.

EDIT: add restarting the service
EDIT: add list of files installed
Regards,
William

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

vulpes

VMWare Server on SME Server 7
« Reply #99 on: April 14, 2007, 11:47:31 AM »
Hi william_syd,

Do you have any ideas why the web console doesn't start up when I use:
Code: [Select]
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S91httpd.vmware
But works fine when I use:
Code: [Select]
ln -s /etc/rc.d/init.d/httpd.vmware /etc/rc7.d/S91httpd.vmware
This baffles me now for a couple of days.

Offline william_syd

  • ****
  • 1,608
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #100 on: April 14, 2007, 12:56:11 PM »
What does
Code: [Select]
config show httpd.vmware
give you ?
Quote
[root@hp ~]# config show httpd.vmware
httpd.vmware=service
    TCPPorts=8222,8333
    access=public
    status=enabled
Regards,
William

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

vulpes

VMWare Server on SME Server 7
« Reply #101 on: April 14, 2007, 01:11:30 PM »
Hi William,

It shows:
Quote
httpd.vmware=service
Status=enabled
TCPPorts=8222,8333
access=public

In a different order but I guess that wouldn't make a difference

Offline william_syd

  • ****
  • 1,608
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #102 on: April 14, 2007, 01:19:49 PM »
Hmm.. Status has to be all lowercase.

Then do the remoteaccess-update again.

Oh.. and I'm told if you use the TCPPort/s property then you don't need any port-forwarding in server-manager if your in server-gateway mode.
Regards,
William

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

vulpes

VMWare Server on SME Server 7
« Reply #103 on: April 14, 2007, 01:49:21 PM »
Hi William,

Unbelievable............the small "s" did the trick!

Well that makes your latest setup fully functional.

Thanx man,

Marc

fyi: I'm using the system in serveronly mode.

Offline william_syd

  • ****
  • 1,608
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #104 on: April 14, 2007, 02:03:15 PM »
Glad it worked out.

I see you have access set to public. You probably have another box controlling access from the big bad internet but I believe there is a hostallow and hostdeny property that can be used to limit access. I'm not 100% sure... maybe tomorrow I will look into it.

Just a little FYI.
Regards,
William

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