Koozali.org: home of the SME Server

VMware2 on host sme, how to make vmware autostart ?

Offline femc

  • ***
  • 54
  • +0/-0
Re: VMware2 on host sme, how to make vmware autostart ?
« Reply #15 on: November 23, 2008, 01:42:53 PM »
Hi mdo,

I followed the install process from http://forums.contribs.org/index.php/topic,41575.0.html ( sorry it's in german ) :

- manual download VMware-server-2.0.0-122956.i386.rpm
- yum localinstall VMware-server-2.0.0-122956.i386.rpm
- vmware-config.pl
- https://smeipadresse:8333

everything works perfect - except that whenever the machine boots I have to run - vmware-config.pl, in order that i can get the remote management console.

I am using smebeta8 ( the sme73 did not suit my intel mobo ), the sme74 did.

shall i install :

1) http://download3.vmware.com/software/vmserver/VMware-mui-1.0.6-91891.tar.gz ? but as i understand it this becomes redundant under v2.0

2) smeserver-vmware-server from the sme73(74) contribs repo ? is there a reason for this ? shall i try ?

mdo - please give me some background how you did the installation for the vmware2 + the commands to make it run on boot.

I am currently playing around with vmware2 at home + once it is working will bring it to a production server in my company.


femc


Offline mdo

  • *
  • 355
  • +0/-0
Re: VMware2 on host sme, how to make vmware autostart ?
« Reply #16 on: November 23, 2008, 06:57:19 PM »
I followed the install process from http://forums.contribs.org/index.php/topic,41575.0.html
everything works perfect
That sounds much better than yesterday
Quote
- except that whenever the machine boots I have to run - vmware-config.pl, in order that i can get the remote management console.

I am using smebeta8 ( the sme73 did not suit my intel mobo ), the sme74 did.
I do not know about VMware server2 on SME8beta. We are using it on SME7.3/7.4 only.

Quote
shall i install :

1) http://download3.vmware.com/software/vmserver/VMware-mui-1.0.6-91891.tar.gz ? but as i understand it this becomes redundant under v2.0

No, not required for VMware2.

Quote
2) smeserver-vmware-server from the sme73(74) contribs repo ? is there a reason for this ? shall i try ?

That's what I would install. You have done some things manually (ln -s) that this contrib will do so there might be a conflict but I would just try to install, then signal-event(s) upgrade&reboot.

If it works you might want let the original forum message creator know about this. He cannot 'update' this topic in a forum which is the reason why something like this (a "HowTo") should NOT be written in the forums but instead it should have gone into the Wiki.
...

Offline femc

  • ***
  • 54
  • +0/-0
Re: VMware2 on host sme, how to make vmware autostart ?
« Reply #17 on: November 25, 2008, 01:44:42 PM »
mdo,

i followed your advice - and installed the sme7.4 ( final ) new with a format of the raid1 ( and loss of 4 virtual machines - i know i could have saved them )

the reboot with autostart of the vmware2 is working now, without any complicated additional commands - surprisingly. here is what i did - and it works

======
intallation c90-pc
- install sme7.4 + update ( dedicated firewall )
-- int nic (intel) 192.168.1.90
-- ext nic 192.158.0.90
-- gateway + dns resolution 192.168.0.14 ( this is my firewall to the outside world )
- from w2k int network box (192.168.1.19) : 192.168.1.91/server-manager set ssh access right to local, workgroup to femc
- follow the vmware conribs ( go in to the c90-pc with putty )
-- copy over to the amdin bay VMware-server-2.0.0-122956.i386.rpm
-- change to this directory
-- yum install gcc
-- yum install VMware-server*.rpm smeserver-vmware-server --enablerepo=smecontrib
-- vmware-config.pl
--- bridge1 ==> vmnet0 to eht0
--- bridge2 ==> vmnet2 to eth1
--- hostonly1 = 172.16.176.0 / 255.255.255.0
--- hostonly2 = 192.168.217.0 / 255.255.255.0
--- license No = ***********************
-- signal-event post-upgrade; signal-event reboot
====

hope everything ok now

thks to mdo and the forum - again


Offline mdo

  • *
  • 355
  • +0/-0
Re: VMware2 on host sme, how to make vmware autostart ?
« Reply #18 on: November 25, 2008, 06:32:38 PM »
Thanks for reporting back. Good to know that it is working.
...

Offline Per

  • *
  • 63
  • +0/-0
    • Bends - better on the internet than in reality
Re: VMware2 on host sme, how to make vmware autostart ? [Solved]
« Reply #19 on: January 17, 2009, 04:30:34 PM »
Hi!
I was in the same position today with an SMEserver 7.4 that didn't start vmware after reboot.

The solution was to, like you did, reinstall SME (formatting the drives), update, and install VMware server 2 together with the contrib, just as the wiki HowTo states.
GCC still seems to be an optional as it worked for me without it.

The problem orginated from installing vmware server 2 without the contrib smeserver-vmware-server.
Just uninstalling vmware didn't fix it, I had to reinstall the whole server before I succeded with vmware.
But what should I have done otherwise this slightly boring saturday? :-)
I think I'll throw in some additional comments in the wiki HowTo about this.
/Per
NO! I refuse to put some clever latin sentence here!

Offline leon85

  • *
  • 8
  • +0/-0
    • OpenCSI.it
Re: VMware2 on host sme, how to make vmware autostart ?
« Reply #20 on: April 10, 2009, 09:49:16 AM »
[SOLVED]
Ciao
I have a server with SME 7.4 and I had installed vmware-server 1.0.8
Now I want to upgrade to vmware-server 2.0.1
I have read the guide in the contrib page:
http://wiki.contribs.org/Vmware

I uninstall the old version:
Code: [Select]
vmware-uninstall-mui.pl
yum remove VMware-server gcc smeserver-vmware-server

so now I have installed the 2.0.1 version, but not autostart!
Code: [Select]
yum install /path/to/VMware-server.rpm smeserver-vmware-server gcc --enablerepo=smecontribs
vmware-config.pl
signal-event post-upgrade; signal-event reboot
and have an error in the start log:
Code: [Select]
/etc/rc7.d/S91httpd.vmware: Couldn't find/execute init script for service httpd.vmware
I remove the vmware-server 2.0.1 and the configuration file:
Code: [Select]
yum remove VMware-server gcc smeserver-vmware-server
rm -Rf /etc/vmware/
rm -Rf /var/log/vmware/
rm -Rf /usr/lib/vmware/     ******attention to this folder is the default position of virtual machines****
rm -Rf /etc/rc7.d/S91httpd.vmware      *****This service does not exist*****

Now i have install again the server 2.0.1
Not autostart!!!

Them i checked the service:
Code: [Select]
db configuration show vmware
the service name is "S91vmware" and not "S91httpd.vmware"!!!!!!!!!!!

link to service:
Code: [Select]
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S91vmware
and now it works!!!!!!!!!!!!!!!!!!



Now when I connect to the page:
Code: [Select]
http://servername:8222redirect to:
Code: [Select]
https://servername:8333/ui/#but request a certificate...

I need to find the solution...

Bye Bye
Leonardo Cioni
www.opencsi.it

Offline femc

  • ***
  • 54
  • +0/-0
Re: VMware2 on host sme, how to make vmware autostart ?
« Reply #21 on: April 11, 2009, 04:31:56 PM »
As I mentioned earlier - I did not unistall vmware + install new, I reformated the hdd with a new installation of sme7.4, yum updared, and then installed vmware new.

A new installation does not take long .....

hdmueller

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: VMware2 on host sme, how to make vmware autostart ?
« Reply #22 on: April 12, 2009, 07:13:45 AM »
A new installation does not take long .....

hdmueller

That's well and good for some ... but if there is a solution then it would be better then a re-load.

It's not practical just to reload a server operating system every time an addon doesn't work properly.

In saying that though there is a warning at the bottom of the http://wiki.contribs.org/Vmware page.

Quote
Installing VMware Server 2 without the contrib smeserver-vmware-server will likely result in failure to start VMware after a reboot.
If that is your case you probably have to reinstall the whole server before attempting to install VMware again.

Regards,

Tib