Difference between revisions of "VMware"

From Blue-IT.org Wiki

(VMware-Player and VIX API on Ubuntu)
(VMware-Player and VIX API on Ubuntu)
 
(8 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
In Ubuntu 17.10 you will encounter problems running older versions of vmware-player. Due to a [https://askubuntu.com/questions/966585/ubuntu-17-10-upgrade-broke-vmware-workstation-12-5 update bug] vmware-player won't compile.
 
In Ubuntu 17.10 you will encounter problems running older versions of vmware-player. Due to a [https://askubuntu.com/questions/966585/ubuntu-17-10-upgrade-broke-vmware-workstation-12-5 update bug] vmware-player won't compile.
  
But I got can confirm, that '''[https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_0%7CPLAYER-1411%7Cproduct_downloads version 14.1.1]''' is working fine.  
+
But I got can confirm, that '''[https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_0%7CPLAYER-1411%7Cproduct_downloads VMware-player version 14.1.1]''' is working fine.  
  
If you like to use the cli interfaxe VIX with vmware-player (always use '''-T player''' !):
+
If you like to use '''vmrun''' of the cli interfaxe VIX with vmware-player always use it with the parameter '''-T player''':
 
  vmrun -T player ...
 
  vmrun -T player ...
  
you will most likely get the error:
+
If you don't and if you don't perform additional tasks you will most likely get the error:
  
 
  vmrun -T player list
 
  vmrun -T player list
Line 14: Line 14:
 
  > Error: The specified version was not found
 
  > Error: The specified version was not found
  
To get it running with vmware-player perform the following tasḱs:
+
To get it running do the following:
  
 
*  [https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_0%7CPLAYER-1411%7Cproduct_downloads Download the  VIX API] and install it  
 
*  [https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_0%7CPLAYER-1411%7Cproduct_downloads Download the  VIX API] and install it  
Line 27: Line 27:
 
  > # Workstation 12.0.0
 
  > # Workstation 12.0.0
 
  > #ws          19  vmdb  12.1.1 Workstation-12.0.0
 
  > #ws          19  vmdb  12.1.1 Workstation-12.0.0
  > #player   19  vmdb  12.1.1 Workstation-12.0.0
+
  > #player     19  vmdb  12.1.1 Workstation-12.0.0
  > ws         19  vmdb  14.1.1 Workstation-12.0.0
+
  > ws           19  vmdb  14.1.1 Workstation-12.0.0 # if you installed Player 14.4.1
  > player   19  vmdb  14.1.1 Workstation-12.0.0
+
  > player       19  vmdb  14.1.1 Workstation-12.0.0 # if you installed Player 14.4.1
  
 
Voilá:  
 
Voilá:  
Line 37: Line 37:
  
 
P.S.: remember: using ''vmrun'' with ''vmware-player'' always needs the parameter '''-T player'' to work!!!
 
P.S.: remember: using ''vmrun'' with ''vmware-player'' always needs the parameter '''-T player'' to work!!!
 +
 +
== Troubleshooting ==
 +
=== Kernel modules not installed ===
 +
sudo vmware-modconfig --console --install-all
 +
  
 
[[Category:Virtualisation]]
 
[[Category:Virtualisation]]
 
[[Category:VMware]]
 
[[Category:VMware]]
 
[[Category:Ubuntu]]
 
[[Category:Ubuntu]]

Latest revision as of 21:18, 5 April 2018

VMware-Player and VIX API on Ubuntu

Ubuntu 17.10

In Ubuntu 17.10 you will encounter problems running older versions of vmware-player. Due to a update bug vmware-player won't compile.

But I got can confirm, that VMware-player version 14.1.1 is working fine.

If you like to use vmrun of the cli interfaxe VIX with vmware-player always use it with the parameter -T player:

vmrun -T player ...

If you don't and if you don't perform additional tasks you will most likely get the error:

vmrun -T player list
> Unable to connect to host.
> Error: The specified version was not found

To get it running do the following:

chmod 755 VMware-VIX*.bundle && sudo ./VMware-VIX*.bundle
  • go into super user mode, change to the VIX-directory and alter the file vixwrapper-config.txt according to your installed components (vmware-player version).
sudo su
cd /usr/lib/vmware-vix
vim vixwrapper-config.txt

> # Workstation 12.0.0
> #ws          19  vmdb  12.1.1 Workstation-12.0.0
> #player      19  vmdb  12.1.1 Workstation-12.0.0
> ws           19  vmdb  14.1.1 Workstation-12.0.0 # if you installed Player 14.4.1
> player       19  vmdb  14.1.1 Workstation-12.0.0 # if you installed Player 14.4.1

Voilá:

vmrun -T player list
> Total running VMs: 1
> /virtualmachines/Vmware/myMachine

P.S.: remember: using vmrun with vmware-player always needs the parameter '-T player to work!!!

Troubleshooting

Kernel modules not installed

sudo vmware-modconfig --console --install-all