Difference between revisions of "Vmware"
m (categorisation) |
(smeserver-vmware-server has been moved to smedev repo) |
||
Line 22: | Line 22: | ||
Issue the following command to install VMware together with the contrib: | Issue the following command to install VMware together with the contrib: | ||
− | yum install /path/to/VMware-server.rpm smeserver-vmware-server --enablerepo= | + | yum install /path/to/VMware-server.rpm smeserver-vmware-server --enablerepo=sme* |
The above should also install xinetd for dependency. | The above should also install xinetd for dependency. |
Revision as of 06:59, 2 May 2011
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
VMware Server 1.x and 2.x
Installation
Get shell access (with Putty, Gnome-terminal or similar ssh-client) and log in as root.
Download the VMWare-server 1.x RPM from the VMWare website to your machine (VMWare Server 1 Website)
VMware Server 2.x can't be downloaded directly from VMware servers, so get it to your server in some other way. (VMWare Server 2 Website)
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.9-156507.i386.rpm
Issue the following command to install VMware together with the contrib:
yum install /path/to/VMware-server.rpm smeserver-vmware-server --enablerepo=sme*
The above should also install xinetd for dependency.
Updating
Updating is similar to installation. You will need to download the latest rpm for example:
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.9-156507.i386.rpm
Issue the following command:
yum localupdate path/to/VMWare-server.rpm
You will also likely have to rerun the Configuration steps (below)
Configuration
Go to VMware web site and get a free serial number for VMware Server, linux version here.
To finish the installation run the following command:
vmware-config.pl
Clean up after the installation:
signal-event post-upgrade; signal-event reboot
Management UI for VMWare Server 1.x
Installation
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.9-156507.tar.gz tar -xzvf VMware-mui-1.0.9-156507.tar.gz
cd vmware-mui-distrib/
Configuration
Configuration of the management user interface is done with a script that can be run like this:
./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:
Console
To allow console access from your local network:
config set vmware service access private status enabled TCPPort 902
To allow console access from all over the internet:
config set vmware service access public status enabled TCPPort 902
Update the remote access settings and reload changes:
signal-event remoteaccess-update
Substitute "disabled" instead of "enabled" in the above commands to disable access.
Management UI
To allow Management UI access from your local network:
config set httpd.vmware service TCPPorts 8222,8333 access private status enabled
To allow Management UI access from all over the internet:
config set httpd.vmware service TCPPorts 8222,8333 access public status enabled
After defining the service we need to make the service start at boot time
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S91httpd.vmware
Now we can manually start the service
/etc/rc7.d/S91httpd.vmware restart signal-event remoteaccess-update
Substitute "disabled" instead of "enabled" in the above commands to disable access.
Usage
Management Console for VMware Server 1.x
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...
Management UI for 1.x
Open a web browser and go to https://your_server:8333/vmware/en/
Log in as root and you will find VMware Management interface.
Management UI for 2.x
Open a web browser and go to http://ip.of.your.server:8308/ui/# or https://ip.of.your.server:8333/ui/#
Log in as the user you specified during configuration, and you will find VMware Management interface.
Uninstallation
vmware-uninstall-mui.pl yum remove VMware-server gcc smeserver-vmware-server
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/
If some setting went wrong during installation, just rerun
vmware-config.pl
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
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.
Virtual machines created in a Windows host probably need further customization to work fully under SMEserver (Linux) host.
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.