Difference between revisions of "Vmware"

From SME Server
Jump to navigationJump to search
m (Some mods after further testing)
Line 2: Line 2:
  
 
== Vmware-server for SME Server ==
 
== Vmware-server for SME Server ==
{{Incomplete}}
 
  
 
=== Maintainer ===
 
=== Maintainer ===
Line 14: Line 13:
  
 
http://forums.contribs.org/index.php?topic=30838.msg162804#msg162804
 
http://forums.contribs.org/index.php?topic=30838.msg162804#msg162804
 
The requirement for GCC is an optional maybe. Depending on your kernel at the time you may find the the included modules load and run perfectly (it will give you a message to this effect).
 
 
Also, be aware that a yum update that includes a new kernel may cause a failure of VMware-server. In this case, you will have to re-run vmware-config.pl and rebuild the modules.
 
 
It may be easier to just use vmware player or workstation on your client PC.
 
 
 
==== Installing VMware ====
 
==== Installing VMware ====
The following commands are not yet fully tested, please correct (edit).. /Per
 
  
 
Go to VMware web site and get a free serial number for VMware Server, linux version.
 
Go to VMware web site and get a free serial number for VMware Server, linux version.
Line 31: Line 22:
  
 
  wget http://www.snetram.nl/wp-content/uploads/temp/smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm
 
  wget http://www.snetram.nl/wp-content/uploads/temp/smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm
Enabling repos help resolve dependencys. GCC seems to be used in compiling custom APIs, probably not necessary for standard use.
+
The requirement for GCC is currently an optional. Depending on your kernel at the time you may find the the included modules load and run perfectly (it will give you a message to this effect).
 +
Enabling repos help resolve dependencys.
 
  yum -y --enablerepo=base --enablerepo=updates install gcc
 
  yum -y --enablerepo=base --enablerepo=updates install gcc
  
Line 37: Line 29:
 
  smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm \
 
  smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm \
 
  VMware-server-1.0.4-56528.i386.rpm
 
  VMware-server-1.0.4-56528.i386.rpm
 
+
The above will also install xinetd for dependency.
 
  vmware-config.pl
 
  vmware-config.pl
  
Line 43: Line 35:
  
 
==== Installing MUI ====
 
==== Installing MUI ====
VMware Server Web-based management interface
+
VMware Server Web-based management interface. It's optional, you can also use VMware Console from a client computer.
 
  wget http://download3.vmware.com/software/vmserver/VMware-mui-1.0.3-44356.tar.gz
 
  wget http://download3.vmware.com/software/vmserver/VMware-mui-1.0.3-44356.tar.gz
  
Line 73: Line 65:
 
Log in as root and you will find VMware Management interface.
 
Log in as root and you will find VMware Management interface.
 
==== Console ====
 
==== Console ====
Download and install the VMware console from the VMware web site, or the MUI webpage, on a client machine or use the existing console if you already have VMware server or workstation installed.
+
Download and install the VMware console from the VMware web site, or the MUI webpage, on a client machine or use the existing console if you already have VMware (Server) installed.
  
 
Run Console on your client and connect to your_server and start to play...
 
Run Console on your client and connect to your_server and start to play...
Line 81: Line 73:
  
 
=== Check installed versions ===
 
=== Check installed versions ===
  yum info installed gcc smeserver-vmware-server VMware-server
+
  yum info installed smeserver-vmware-server VMware-server
  
 
=== Additional information ===
 
=== Additional information ===
Line 90: Line 82:
 
If some setting went wrong during installation, just rerun  
 
If some setting went wrong during installation, just rerun  
 
  vmware-config.pl
 
  vmware-config.pl
 +
 +
Be aware that a yum update that includes a new kernel may cause a failure of VMware-server. In this case, you will have to re-run vmware-config.pl and rebuild the modules.
  
 
NB. VMware-server benefits from a lot of ram.
 
NB. VMware-server benefits from a lot of ram.

Revision as of 11:15, 10 December 2007


Vmware-server for SME Server

Maintainer

Sme Developers

Description

VMware Server installs on any existing server hardware and partitions a physical server into multiple virtual machines by abstracting processor, memory, storage and networking resources, giving you greater hardware utilization and flexibility. Streamline software development and testing and simplify server provisioning as you utilize the ability to "build once, deploy many times."

Installation

http://forums.contribs.org/index.php?topic=37605.0

http://forums.contribs.org/index.php?topic=30838.msg162804#msg162804

Installing VMware

Go to VMware web site and get a free serial number for VMware Server, linux version.

Get shell access (with Putty or similar ssh-client) and log in as root.

wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.4-56528.i386.rpm
wget http://www.snetram.nl/wp-content/uploads/temp/smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm

The requirement for GCC is currently an optional. Depending on your kernel at the time you may find the the included modules load and run perfectly (it will give you a message to this effect). Enabling repos help resolve dependencys.

yum -y --enablerepo=base --enablerepo=updates install gcc
yum -y --enablerepo=base --enablerepo=updates localinstall \
smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm \
VMware-server-1.0.4-56528.i386.rpm

The above will also install xinetd for dependency.

vmware-config.pl
signal-event post-upgrade; signal-event reboot

Installing MUI

VMware Server Web-based management interface. It's optional, you can also use VMware Console from a client computer.

wget http://download3.vmware.com/software/vmserver/VMware-mui-1.0.3-44356.tar.gz
tar -xzvf VMware-mui-1.0.3-44356.tar.gz
cd vmware-mui-distrib/
./vmware-install.pl

Remote access

The VMware Server will only be accessible from the local network. If you want to be able to access the VMware Server from internet, run these commands:

To allow MUI access from anywhere:

config set httpd.vmware service TCPPorts 8222,8333 access public status enabled
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S91httpd.vmware
/etc/rc7.d/S91httpd.vmware restart
signal-event remoteaccess-update

To allow console access from anywhere:

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

Substitute "disabled" instead of "enabled" in the above commands to disable this access.

Usage

MUI

Open a web browser and go to https://your_server:8333/vmware/en/

Log in as root and you will find VMware Management interface.

Console

Download and install the VMware console from the VMware web site, or the MUI webpage, on a client machine or use the existing console if you already have VMware (Server) installed.

Run Console on your client and connect to your_server and start to play...

Uninstallation

yum remove VMware-server gcc

Check installed versions

yum info installed smeserver-vmware-server VMware-server

Additional information

More information about vmware can be found on the vmware website http://www.vmware.com/products/server/

VMware download site: http://register.vmware.com/content/download.html

If some setting went wrong during installation, just rerun

vmware-config.pl

Be aware that a yum update that includes a new kernel may cause a failure of VMware-server. In this case, you will have to re-run vmware-config.pl and rebuild the modules.

NB. VMware-server benefits from a lot of ram.

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-vmware-server component or use this link .

Known problems

Virtual machines created in a Windows host probably need further customization to work fully under SMEserver (Linux) host.