home / infca / vmware (navigation links) To release cursor, press Ctrl+Alt

VMWARE learning


Networking Zone Alarm Fitxers Utils Virtual disk Increment Defragment Shrink Where to Download I Have Got
New SuSE 10 Tips ESX 2 WS Tools Converter Problems Virtual Box w10 Pending Links

Amunt! Top Amunt!
What's in a Virtual Machine?

The virtual machine typically is stored on the host computer in a set of files, all of which are in a directory set aside for that particular virtual machine. In these examples, <vmname> is the name of your virtual machine. The key files are:

<vmname>.vmx - the configuration file, which stores settings chosen in the New Virtual Machine Wizard or virtual machine settings editor. If you created the virtual machine under an earlier version of VMware Workstation on a Linux host, this file may have a .cfg extension.

nvram - the file that stores the state of the virtual machine's BIOS.

<vmname>.vmdk

The virtual disk file, which stores the contents of the virtual machine's hard disk drive. A virtual disk is made up of one or more .vmdk files. If you have specified that the virtual disk should be split into 2GB chunks, the number of .vmdk files depends on the size of the virtual disk. As data is added to a virtual disk, the .vmdk files grow in size, to a maximum of 2GB each. (If you specify that all space should be allocated when you create the disk, these files start at the maximum size and do not grow.) Almost all of a .vmdk file's content is the virtual machine's data, with a small portion allotted to virtual machine overhead.
If the virtual machine is connected directly to a physical disk, rather than to a virtual disk, the .vmdk file stores information about the partitions the virtual machine is allowed to access.
Note: Earlier VMware products used the extension .dsk for virtual disk files.

<vmname>.log
or vmware.log -
The file that keeps a log of key VMware Workstation activity. This file can be useful in troubleshooting if you encounter problems. This file is stored in the directory that holds the configuration (.vmx or .cfg) file of the virtual machine.

<vmname>.vmdk.REDO_xxxxxx

A redo-log file, created automatically when a virtual machine has a snapshot. This file stores changes made to a virtual disk while the virtual machine is running. There may be more than one such file. The xxxxxx indicates a unique suffix added automatically by VMware Workstation to avoid duplicate file names.

<vmname>.vmss

The suspended state file, which stores the state of a suspended virtual machine. Note: Some earlier VMware products used the extension .std for suspended state files.

<vmname>.vmsn

The snapshot state file, which stores the running state of a virtual machine at the time you take a snapshot of it.

<vmname>.vmx.sav
or <vmname>.cfg.sav
The configuration snapshot file, which stores the configuration of a virtual machine at the time you take a snapshot of it. There may be other files as well, some of which are present only while a virtual machine is running.
VMWare Virtual Machine File Extensions Explanation

URL, petri;

Hos to convert a suspended machine

A "suspended" machine can not be converted "as is".


Amunt! Top Amunt!
VM's networking basics

Available modes are :

  Mind ZoneAlarm !  

After VMware 4.5.2 install, Host W2K has 2 "enabled" adapters, and 2 more IP's :

VMnet1 : 192.168.16.1 192.168.32.1 VMnet8 : 192.168.21.1 192.168.23.1
Select "Custom" + VMnet0 device.

Use Edit -> Virtual Network Settings to see more details !


Bridged

VM W2K_SAVE gets (bridged) IP = 169.254.195.213 => no networking (!?) But, after few minutes, Guest W2K gets IP = 9.136.0.248 !!!

T30 Host W2K Guest W2K SAVE ------------- --------------- IP = 9.136.0.226 IP = 9.136.0.248 ping 9.136.0.248 =================== > ok < ================================== ping 9.136.0.226 ok nbtstat -A 9.136.0.248 ============= > ok < ================================== nbtstat -A 9.136.0.226 *** NO ** nbtstat -a RAMON =================== > ok < ================================== nbtstat -a FRANCESC ok net use k: \\9.136.0.248\TEMP ====== > ok < ================================== net use k: \\9.136.0.226\TEMPT30 ok

ping 9.136.0.1 fails at guest ! Reason : ZoneLabs !!

Bridged (VMnet0) : if Host has 9.136.0.226, and VM has IP as 169.254.131.141, then "IPCONFIG /RENEW" at VM gives the error "DHCP server unreachable", and NO connectivity to network will be provided.

VMnet0 Bridged no funciona si esta Unchecked el protocolo VMware Bridged Protocol.

Bridged Networking enemies (they mess with TCP/IP stack and configuration) :


NAT

NAT (VMnet8) : if Host has an IP as 9.136.0.226 to the external network, the VM gets 192.168.1.131, with GW 192.168.1.2 and Host gets 192.168.1.1

How to reach a service implemented behind NAT

Use Advanced NAT configuration - see web server

Zone Alarm settings

Amunt! Top Amunt!

T30 Host W2K has to have ZoneAlarm "Firewall Zone" containing "Host/Site" with IP=9.136.0.151 as "Trusted", in order to be able to access the TEMP30 shared disk from VMware W2K.

Fitxers interessants

Amunt! Top Amunt!

Directory of C:\WINNT\system32 17/11/2003 15:52 1.595 vmnetdhcp.conf 17/11/2003 15:52 2.233 vmnetnat.conf

Utilitats interessants

Amunt! Top Amunt!
Directory of C:\Program Files\VMware\VMware Workstation\ 09/09/2002 19:23 36.864 vnetsniffer.exe 09/09/2002 19:23 36.864 vnetstats.exe

vmnetcfg - marcar la opción que encuentre automaticamente el adaptador de red.

vnetsniffer.exe

Al meu TP400 vs SLES11:

C:\Program Files\VMware\VMware Workstation> vnetsniffer.exe VMnet8 IP src 192.168.23.130 dst 192.168.23.1 ICMP ping request - len=64 type=8 00:0c:29:52:10:f8 08 00 2b 2b 41 11 00 37 62 c9 a4 50 8c 6f 0d 00 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 IP src 192.168.23.1 dst 192.168.23.130 ICMP ping reply IP src 192.168.23.130 dst 192.168.23.1 ICMP ping request - len=64 type=8 00:0c:29:52:10:f8 08 00 5d 2a 41 11 00 38 63 c9 a4 50 59 6f 0d 00 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 IP src 192.168.23.1 dst 192.168.23.130 ICMP ping reply

Parameters:

c:\>"C:\Program Files\VMware\VMware Server\vnetsniffer.exe" usage: C:\Program Files\VMware\VMware Server\vnetsniffer.exe [/e] (/p "pvnID" | VMnet?)

WS 12 + W7

c:\Program Files (x86)\VMware\VMware Workstation> vnetsniffer.exe usage: vnetsniffer.exe [/e] [/w file] (/p "pvnID" | VMnet?) vnetsniffer.exe /e VMnet0

A nice IP trace can be seen if vnetsniffer.exe vmnet0 is used on Host machine.

Envir :

Try it NOW !

When run with the /e switch, the source and destination MAC addresses are also displayed. The tool does not display source or destination ports.

URL

Guest :

C:\> ipconfig /renew Windows IP Configuration An error occurred while renewing interface Local Area Connection : unable to contact your DHCP server. Request has timed out.

Host :

C:\Archivos de programa\VMware\VMware Workstation> vnetsniffer.exe vmnet0 IP src 0.0.0.0 dst 255.255.255.255 UDP IP src 0.0.0.0 dst 255.255.255.255 UDP IP src 0.0.0.0 dst 255.255.255.255 UDP IP src 0.0.0.0 dst 255.255.255.255 UDP

Virtual Disks operations

Amunt! Top Amunt!
Creating a Virtual Disk
To create a new virtual disk, use a command like the following:
vmware-vdiskmanager -c -t 0 -s 40GB -a ide myDisk.vmdk
This creates a 40GB IDE virtual disk named myDisk.vmdk. The virtual disk is contained in a single .vmdk file. The disk space is not preallocated.
Converting a Virtual Disk
To convert a virtual disk from preallocated to growable, use a command like the following:
vmware-vdiskmanager -r sourceDisk.vmdk -t 0 targetDisk.vmdk
This converts the disk from its original preallocated type to a growable virtual disk consisting of a single virtual disk file. The virtual disk space is no longer preallocated, and the virtual disk manager reclaims some disk space in the virtual disk so it is only as large as the data contained within it.
Expand the Size of an Existing Virtual Disk
To expand the size of a virtual disk, use a command like the following:
vmware-vdiskmanager -x 40GB myDisk.vmdk
This increases the maximum capacity of the virtual disk to 40GB.
Renaming a Virtual Disk
To rename a virtual disk, first remove it from any virtual machine that contains the disk
(choose VM > Settings > <virtualdisk>, then click Remove).
Then use the following:
vmware-vdiskmanager -n myDisk.vmdk myNewDisk.vmdk
To rename the disk and locate it in a different directory, use:
vmware-vdiskmanager -n myDisk.vmdk ..\\\myNewDisk.vmdk
Note: The paths used in these examples assume a Windows host. To locate the disk in a different directory but keep the same name, use:
vmware-vdiskmanager -n myDisk.vmdk ..\<new>\<path>\myDisk.vmdk
After you rename or relocate the virtual disk, add it back to any virtual machines that use it. Choose VM > Settings, click Add, then follow the wizard to add this existing virtual disk.
Defragmenting a Virtual Disk
To defragment a virtual disk, use a command like the following:
vmware-vdiskmanager -d myDisk.vmdk
Remember, you cannot defragment a virtual disk if you allocated all the disk space when you created the virtual disk. You cannot defragment a physical disk.
Preparing a Virtual Disk for Shrinking
Before you can shrink a virtual disk, you must prepare each volume on the disk (C: or D:, for example) for shrinking. To prepare a volume, it must be located on a Windows host. First you must mount the volume. To mount the volume, use the VMware DiskMount Utility, available as a free download from the VMware Web site. For information about downloading and using VMware DiskMount, see Shrinking Virtual Disks with VMware Virtual Disk Manager.
VMware DiskMount mounts individual volumes of a virtual disk. For the best results when you shrink a virtual disk, you should mount all the volumes and shrink them.
After you mount a virtual disk volume, use the virtual disk manager to prepare the disk for shrinking. To prepare the volume mounted as the M: drive for shrinking, use the following command:
vmware-vdiskmanager -p M:
Once the preparations are complete, unmount the volume. Repeat this process for each volume of the virtual disk. After you prepare all the volumes for shrinking, you can shrink the virtual disk.
Shrinking a Virtual Disk
To shrink a virtual disk, it must be located on a Windows host. Before you can shrink the virtual disk, make sure you prepare all the volumes of the virtual disk for shrinking. Then use a command like the following:
vmware-vdiskmanager -k myDisk.vmdk
Remember, you cannot shrink a virtual disk if you allocated all the disk space when you created the virtual disk. You cannot shrink a physical (raw) disk.
If the virtual disk has a snapshot, you cannot shrink the virtual disk. You must remove the snapshot before you shrink the virtual disk.

URL

Incrementing Virtual Disks

Amunt! Top Amunt!
  • Virtual Disk size
  • Number of Virtual Disks

Defragmenting and Shrinking Virtual Disks

Amunt! Top Amunt!

If you have a virtual disk that grows as data is added, you can defragment and shrink it as described in this section. If you allocated all the space for your virtual disk at the time you created it, you cannot defragment and shrink it.
To defragment the virtual disks attached to a virtual machine, power off the virtual machine, then go to the virtual machine settings editor (VM > Settings).
Select the virtual disk you want to defragment, then click Defragment.
Defragmenting disks may take considerable time.
Note: The defragmentation process requires free working space on the host computer's disk. If your virtual disk is contained in a single file, for example, you need free space equal to the size of the virtual disk file. Other virtual disk configurations require less free space.
When a virtual machine is powered on, you can shrink its virtual disks from the VMware Tools control panel. You cannot shrink virtual disks if a snapshot exists. To remove the snapshot if one exists, choose Snapshot & Remove Snapshot.
To launch the control panel in a Windows guest, double-click the VMware Tools icon in the system tray or choose Start & Settings & Control Panel, then double-click VMware Tools. To launch the control panel in a Linux or FreeBSD guest, become root (su), then run vmware-toolbox.
Click the Shrink tab. Select the virtual disks you want to shrink, then click Prepare to Shrink. The shrink tool reclaims unused space in the virtual disk. If there is empty space in the disk, this process reduces the amount of space the virtual disk occupies on the host drive.
Shrinking disks may take considerable time.
In some configurations, it is not possible to shrink virtual disks. If your virtual machine uses such a configuration, the Shrink tab displays information explaining why you cannot shrink your virtual disks.

For best disk performance, you can take the following three actions, in the order listed :

  1. Run a disk defragmentation utility inside the virtual machine.
  2. Use the VMware Workstation defragmentation tool.
    • Power Off the Virtual Machine
    • Go to VM & Settings,
    • click the listing for the virtual disk you want to defragment,
    • click Defragment.
  3. Run a disk defragmentation utility on the host computer.

URL

VM filesystem operations (Linux)
  • How to add a new Virtual Disk to a Linux VM ?
  • How to extend a Virtual Disk of a Linux VM ?
  • How to create a new filesystem on Linux VM ?
  • How to extend the existing filesystem on Linux VM ?
Create a new filesystem and mount it
  1. make sure we have free disc space or create it by increasing the disk size of the VM (power it off and use "Edit Settings" to increase it).
  2. fdisk /dev/sda + n ("new") + "p" ("primary") + 3 (if sda1 and sda2 are already used) + n
  3. mkdir /software
  4. mount -t ext3 /dev/sda3 /software
  5. edit /etc/fstab to contain "/dev/sda3 /software defaults 1 1"
  6. reboot and use /software (see "df")
Cleaning a VM (P11, Scott Karabin)
  1. Using the Computer Management facilities of the OS in the VM, defragment the Virtual Machine's hard drive.
    This defragments the files on the virtual drive like any other machine

  2. Using VMwate Tools, shrink the Virtual Machine.

    • First, VMware prepares to shrink hard disk and completes the setup.

    • Then, it will ask if it should go ahead and shrink the selected partition.

    • Shrink collapses the space that was held by files that were deleted.

    • The larger the VM hard drive, the longer shrinking takes.

  3. Finally defragment the drive on the real machine.
    Can be done from VMware console or Computer Management.

Clean VMs run faster due to better file organization and smaller hard drive space to search through.

User's manual

Can be found under "Help" label !

VM's I have got

Amunt! Top Amunt!

Hw Host VMv Nom Guest Ki MB hd Net (*) Use
T42 W2K 5.0.0 Suse 10 SuSE toor   NAT KDE 3.5, kOffice 1.4.2
T42 W2K 5.0.0 GNI W2K kui2 c: 1/4 G
e: 7/10 G
Custom_B Eclipse 3.0, MQ v6 (Srv&Cli), DB2 v8.2, MB v6, MB Toolkit v6.
uSoft Project Delphi 7 [mqi.pas] nmap, MQmonntp.exe
Oracle 9i Client & Toad 7.6
T42 W2K 5.0.0 DAMM W2K wcm2k5 1.278 NAT WAS (VersionInfo.bat) : 5.1.1.3
Portal (WPversioninfo.bat) : 5.1.0.1
T42 W2K 5.0.0 CASYC W2K se2 1.278 NAT WAS 6.0.0 + fixes to 6.0.2 + fixes to 6.0.2.7
T42 W2K 5.0.0 MB W2K kui c:200
e:2800
Custom_B MB v 5.0.6; MQ 5.3 + FP 11 (Srv&Cli); JRE; DB2 v 8.1 + FP6; MDAC;
Agent Controller ; Adapter for Domino.
NetBeans, Visual Studio C++ 6.0
MSDN Library April 2000 {e:\msdn\msdn_2.iso}
T42 W2K 5.0.0 WAS W2K se2   NAT WAS + HTTP Server.
T42 W2K 5.0.0 WF W2K se2   NAT WF + WSAD 5.0.
T30 W2K 4.5.2 SAVE W2K nil   Bridged KBD logger, TCP/IP tools, LN6, P2P Msgr.
Borland C++ v 5.5. Java SDK 1.5, MQ Client 5.3, eMule.
QM1 & QM2 to test "trigger remote application".
  Cable Disconnected [02092005] at Host.  
T30 W2K 4.5.2 SuSE 8.2 Linux s40     test T30 WiFi   Gone [Oct 2005].  
P4 XP 4.5.2 W2000 W2K kui   Bridged LNk, dicc gen, PostCast (SMTP server).
MQ 5.3, Cli&Srv - trigger test, delphi client/server. GEDAS.DPR
P4 XP 4.5.2 XP XP kui   Bridged KbdLog, iMediaConvert. MQ Server & Client 5.3
HP XP           ? MQ Client 5.3, Delphi 7.
T42 W2K 5.0.0 W2K W2K kui   Bridged  
T42 W2K 5.0.0 Odin WXP kui c: 1,4 GB NAT DB2, MQ, MB, Tk, C++, Delphi.
 
11/02/2005 move T30 from 3.2.0 to 4.5.2 !
1/9/2005 save T30 VM Machines to j:\VM (disc extern de 20 GB)
2/9/2005 save P4 VM Machines to g:\VM_save
1/11/2005 removed SuSE - space requirements.
15/12/2005 on T42, all (but last) Virtual Machines are on the 80 GB disk.
28/07/2006 on T42 the 80 GB disk dies.
24/08/2006 new 80 GB disk on T42.

Situar perfectament en aquesta tabla les seguents eines :

  • WorkLoad Generator versus MQ Cluster (21.901 WLG.C)
    vm(MB) + E:\Sebas\WLG\
  • Channel Exit (29.487 EXES.C)
    vm(MB) + E:\Sebas\Exit_Espia\
  • Trigger Code
    vm(T42) + c:\Sebas\mq\eines\TrigCode\sag_trig.c
  • Duplication Exit (41.821 gnx2.c)
    vm(MB) + E:\Sebas\Exit_GN\
    vm(GNI) + E:\Sebas\Exit_Gas_Natural\
  • Message Broker + Route & Transform an XML input message.
    vm(GNI) + E:\sebas\toolkit_trace\posa.bat
  • Delphi MQAI for Gedas.
    vm(GNI) + E:\Sebas\Delphi\MQ_AI\
After Crash (3/8/2006)

Que posaré a la nova màquina / nou disc : [T42\xpminen]

vmWare v 5.0 (millor que 5.5), NAT, 1024 x 768
XP "Corporate" plus SP2 (KB835935) {Ki(adm):= 'kui' ;}
P4:c:\vmWare\vm_XP_pro_EN - 1,4 GB (2,9 GB with SP2)
RFJMD-G8FGK-W8BM4-23D8Q-YBMC6
uSoft Project
WinRAR v 3.60
FireFox v 1.0.7 - set Cache at c:\tmp\ffox
Adobe Acrobat Reader v 7.0.8 (es)
DB2 Enterprise Server Edition, version 8.2 [315 MB] plus FixPack 12. db2admin
Eclipse v 3.0
MQ Client & Server v 6.0 [235 MB] plus FixPack 6.0.1.1. {dspmqver}
Maig 2008 : MQ v 6.0.2.3
32 bit SDK for Java 2, v 1.4.2 (as the System JVM) [from MQ FP] {java -version}
MB version 6.0 [337 MB] plus FixPack 06. {mqsiservice -v}
Toolkit version 6.0.2 [C:\Program Files\IBM\MessageBrokersToolkit\6.0]
Rational Agent Controller.
Compilador C [cl] : Visual Studio C++ v 6.0 - DUMPBIN.exe - VCVARS32.bat at /bin
Compilador Borland [bcc32]  
Compilador Delphi v 7 - Requires Daemon (v 4.0.3 HE) to mount the (source) ISO.
Cerberus FTP Server
SysInternals - ProcessExplorer
Putty Telnet client
WinSCP client
ObjRexx 2.1.3 Developer edition + rexx ma77rxt.rexx from .\Rexx\MQI\MA77\MA77
UltraEdit v 12
RFHUTIL (IH03) per llegir missatges des un fitxer i posar-los en una cua / llegir missatges de una cua i posar-los a un fitxer.
Exit Traza - parámetro (fichero de salida) [T42] c:\sebas\CPP\MQEXIT\Exit_Traza\EXES.DLL [T42\xpminen] c:\Sebas\MQ\Eines\Exit_Traza\EXES.DLL
Exit Duplicadora - parámetro (cola donde escribir) [T42] c:\sebas\CPP\MQEXIT\Gas_Natural\GNX2.DLL
[T42\xpminen] c:\Sebas\MQ\Eines\Exit_Duplicadora\GNX2.DLL
Trigger code
Will be replaced by Delphi "trig" code that will generate an answerback (no display, only file trace)
[T42\xpminen] c:\sebas\MQ\Eines\TrigCode\sag_trig.c
Work Load Generator - traffic balancing demo [T42\xpminen] c:\sebas\mq\eines\WorkLoader\WLG.c
MB msg Entry - routing and transformation demo  
Gedas MQAI code [T42\xpminen] c:\Sebas\Delphi\Gedas\timer.pas
NTMQMON - MQ monitor (Support Pack NN)  
GTS at vm(xp) with Client at T42.  
AoE - no es pot instalar ! Error : here  
Hitis_Or_OTA  

Dec 2006 : copy to W2k3 @ \\9.137.164.13\data6 !

MB 6.1 (11/3/2008)
  • VM_Rosa : MQ 6.0.2, MB 6.1.0.1, Toolkit.
  • Node SOAP (Web Services) & SAP.

All my VMs (4/08)

VM name Contents D: Lola 500 GB
Adapter Stew   -nil- j:\sebas\VM6_curs_Adapters  
Curs MQ66ES MB 6.0 15,2 GB j:VM_curs, 15,2 GB  
Jesperia W2K3 WS, ICS 4.3 10,2 GB g: 16,1 GB  
Linux SuSE 10   -nil- j:\sebas\VM3_KDE_Suse  
Red Hat (Ent) 4   -nil- j:\sebas\VM5_RedHat_v4  
Sample W2000   -nil- j:\sebas\VM4_W2000  
Santi   -nil- g: 36,4 GB  
Save W2K   -nil- j:\sebas\VM4_W2000\saveW2K  
W2K   -nil- j:\sebasVM4_W2000\W2K  
WAS Rosa WAS, DB2, MB -nil- f:\r_diaz_win2k, 31,3 GB  
WAS Stew   2,9 GB g:VM_WAS, 3xZips  
WSTC 2008 MB 6.1 -nil- ?  
XP PRO EN MB5, imi 21,4 GB j:VM1_XP, 21,4 GB  

Misc messages

The CMOS of this virtual machine is incompatible with the current version of VMware Workstation. A new CMOS with default values will be used instead.

T30 : You are using a non Microsoft USB controller driver, which can not be visualized. You can replace the USB driver with a Microsoft driver. Please read the USB section of the manual for more information.
Virtual USB controller has been disconnected.

T42 & VMware workstation 7.0.1 : this product can only be installed on a machine with CPU support for CMOV, PAE, TSC and FXSAVE instructions

T60 :

  • 1. Edit the C:\Documents and Settings\All Users\Application Data\VMware\VMware Workstation\config.ini file:
    Add the following line at the end of this file: * host.TSC.noForceSync = TRUE
    Edit the following line to match your cpu speed (my T60 was 2.16Ghz): * host.cpukHz = 2160000
  • 2. Update the T60 BIOS to the latest version ( I used 79ET62WW (1.07) )
  • 3. Leave the guest OS settings configured with the number of virtual processors set to 1. According to VMWare, this does not increase performance with hyperthreaded uniprocessors and will cause issues when attempting to start the guest OS on another host with just one processor without hyperthreading.
Steven Koehler

Insufficient quota

Message : Insufficient quota to complete the requested service.
Operation on file .\W2KPRO.vmdk failed

  • Jan 2005 : entorn : Host is WXP(P4), Guest is WXP.

    Solució : ajustar la RAM

  • Oct 2005 : entorn = Host is W2K (T30), Guest is W2K(wf).

Amunt! Top Amunt!
How to Manage VMFS Datastores in VMware

El que necessites es muntar el datastorte que ja tens i per això, si has canviat de host, s'ha de crear una nova "signature"

URL


Amunt! Top Amunt!
Where to download

Amunt! Top Amunt!
Red Hat

Stop VMWARE Server:

# /etc/init.d/vmware stop

Stop VMWARE Webbased interface:

# /etc/init.d/httpd.vmware stop

Reconfigure Vmware server with old values/options:

# vmware-config.pl

Just accept accept the End User License Agreement and press CTRL+C. Now configure server with old values:

# vmware-config.pl -d

URL

Access the VMware Infrastructure web access console: https://{host-os-ip}:8333/ui


Amunt! Top Amunt!
SUSE SLES 10 + VMware Server 2 @ Linux5
c:\> scp VMware-server-2.0.2-203138.i386.tar.gz sag@99.137.164.140:/home/sag/vmware_server_source/. sag@linux5:~/vmware_server_source/untar> tar -xvzpf ../VMware-server-2.0.2-203138.i386.tar.gz {root}linux5:/home/sag/vmware_server_source/untar/vmware-server-distrib # ./vmware-install.pl Creating a new VMware Server installer database using the tar4 format. Installing VMware Server. The installation of VMware Server 2.0.2 build-203138 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall.pl". Before running VMware Server for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this program to invoke the command for you now? [yes] The bld-2.6.16.21-0.8-i586bigsmp-SLES10 - vmmon module loads perfectly into the running kernel. The bld-2.6.16.21-0.8-i586bigsmp-SLES10 - vmci module loads perfectly into the running kernel. The bld-2.6.16.21-0.8-i586bigsmp-SLES10 - vsock module loads perfectly into the running kernel. The bld-2.6.16.21-0.8-i586bigsmp-SLES10 - vmnet module loads perfectly into the running kernel. Please specify a port for remote connections to use [902] Please specify a port for standard http connections to use [8222] Please specify a port for secure http (https) connections to use [8333] illegal runlevel specified for vmware: r In which directory do you want to keep your virtual machine files? [/var/lib/vmware/Virtual Machines] Please enter your 20-character serial number. Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: A8H88-FHA8X-UAMEL-49NHR Creating a new VMware VIX API installer database using the tar4 format. Installing VMware VIX API. The installation of VMware VIX API 1.6.2 build-203138 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall-vix.pl". Enjoy,--the VMware team Starting VMware services: Virtual machine monitor done Virtual machine communication interface done VM communication interface socket family: done Virtual ethernet done Bridged networking on /dev/vmnet0 done Host-only networking on /dev/vmnet8 (background) done DHCP server on /dev/vmnet8 done NAT service on /dev/vmnet8 done VMware Server Authentication Daemon (background) done Shared Memory Available done Starting VMware management services: VMware Server Host Agent (background) done VMware Virtual Infrastructure Web Access Starting VMware autostart virtual machines: Virtual machines done The configuration of VMware Server 2.0.2 build-203138 for Linux for this running kernel completed successfully.

Comanda interessant :

chkconfig vmware vmware on

Accés per administrar = browser +

http://9.137.164.140:8222 https://9.137.164.140:8333/ui/#

SuSE 10 + MQ at Linux

Amunt! Top Amunt!
Get SuSE 10 (VMWARE) here
Get MQ for Linux (v 6.0 if possible)
Install MQ

linux:/home/guest/mq # dspmqver Name: WebSphere MQ Version: 6.0.0.0 CMVC level: p000-L050519 BuildType: IKAP - (Production)
Java is at linux:/opt/IBMJava2-142/jre/bin.
guest@linux:/opt/IBMJava2-142/jre/bin > ./java -version java version "1.4.2"

Latest version here :

linux:/usr/java/jre1.5.0_07/bin > ./java -version java version "1.5.2_07"
Install MQjExplorer
guest@linux:~/jexplorer> ./mqj.sh The java class is not found: com/kolban/mqjexplorer/MQJExplorer
Update (linux) ENVironment :
guest@linux:~> cat .bashrc JAVA_HOME=/usr/java/jre1.5.0_07 export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH CLASSPATH=/usr/java/jre1.5.0_07/bin:./ export CLASSPATH

And now :

guest@linux:~> java -version java version "1.5.0_07"

But

guest@linux:~/jexplorer> ./mqj.sh Exception in thread "main" java.lang.NoClassdefFoudError: com/kolban/mqjexplorer/MQJExplorer
MQjExplorer.class es troba dins export.jar

Per saber la seqüencia de crides, posem java -verbose ...


Tips (4.5.2)

Amunt! Top Amunt!
Unable to open network mapping library. Please verify host is set up correctly. Virtual device ethernet0 will start disconnected.
Solution : edit "*.vmx" file to remove these lines :
ethernet0.features = "1" ethernet0.networkName = "Bridged" ethernet0.allowGuestConnectionControl = "FALSE" ethernet0.wakeOnPcktRcv = "FALSE"
Problemes amb el Hardware
Solucio : "Convert Hardware" link.
Error opening the remote virtual machine NNN. An unexplained error occurred.
Solution : define DNS (as 127.0.0.1) in host machine TCP settings.
Create a Virtual Machine with a 20 GB hard disk !
Startup menu : F2 = Setup (BIOS access) | F12 = Network boot | Esc = Boot Menu.
Boot from CD selection is done at BIOS (boot sequence) via SHIFT plus "+" (located to the Left of BackSpace)
Or, on the first black screen, select ESC to go to "Boot menu", and then "Boot from CD".
Press F11 to enter quick switch mode
Press CTRL+ALT+ENTER to enter full screen mode.
Ctrl-Alt-Enter sends input to the virtual machine and places it in full-screen mode.
Ctrl-Alt releases input from the virtual machine and returns it to window mode.
Ctrl-Alt takes the virtual machine out of full screen mode; if the virtual machine is not in full screen mode, this hot-key combination releases the mouse and keyboard from the virtual machine.
To run a virtual machine in a separate window, choose File > New Window
Press CTRL+ALT+INSERT to send "Ctrl+Alt+Supr" to VM : display Task Manager, Logoff, Shut Down, etc
To duplicate a virtual machine, copy all the files in the virtual machine directory to the new location. For details, see the User's Manual.
The Microsoft Windows XP product activation feature creates a key based on the virtual hardware in the virtual machine where it is created. Changes in the virtual machine configuration may require you to reactivate the guest operating system. To minimize those changes, be sure to set the final memory size for the virtual machine and install VMWARE Tools before you activate Windows XP.
To run a (new) vi"rtual machine use Open + nom.VMX
Tools : P4 goes up to 1280 x 1024 ( True Color, 32 bits )
Tools : T42 goes up to 1024 x 768 ( Highest, 32 bits )
For most complete defragmentation : first, run a defragmentation utility in the virtual machine; second, use the VMware Workstation defragmentation tool; third, run a defragmentation utility on the host.
If you install the same guest operating system frequently, make an ISO image of the installation CD and connect the virtual CD drive to the ISO image file.
I els "fixes" ???
Suspend a virtual machine if you want to stop temporarily and resume at the same point.
Take a snapshot if you want to return the virtual machine to the same point repeatedly.
Per copiar una VM de 10 GB o més a un disc extern USB, s'ha de partir en trossos de 4 GB a l'hora que ho comprimim amb el RAR.
Install Enhanced Keyboard (on base machine):
  1. run VMware-workstation-xxxx-xxxx.exe, where xxxx-xxxx is the version and build numbers
  2. select Modify/Change, select Enhanced Keyboard Utility, follow the prompts to finish the installation.

Use Enhanced Keyboard (on VM):

  1. select the (stopped) virtual machine and select VM > Settings
  2. on the Options tab, select General
  3. select an option from the Enhanced virtual keyboard drop-down menu :
    • Off - the virtual machine does not use the enhanced virtual keyboard feature. This is the default value.
    • Use if available (recommended) - the virtual machine uses the enhanced virtual keyboard feature, but only if the enhanced virtual keyboard driver is installed on the host system.
    • Required - the virtual machine must use the enhanced the virtual keyboard feature. If you select this option and the enhanced keyboard driver is not installed on the host system, Workstation returns an error message.
  4. Click OK to save your changes

Amunt! Top Amunt!
VMware Server version and HW version

The virtualHW.version should be 4 to work with Server 1.x

URL


Amunt! Top Amunt!
VMware Servers without Network

If we start VNware Server without TCP/IP connection (and even using "localhost" instead of local machine hostname), we shall get the message :

Error opening the remote virtual machine localhost:8333\64: An unexplained error occured.

A partial solution is to fill up the "Preferred DNS server := 127.0.0.1" in TCP/IP Properties for "vmnet1 = Host Only" ;

How can we solve this ?

I believe that your problem is not VMWare-related, but XP-related. When XP detects that the network cable is unplugged, it decides that it no longer needs a TCP/IP stack and you can no longer use TCP/IP functionality - even to local servers! There's a registry hack to turn off network-disconnect detection, but what I do is to install the Microsoft Loopback Network Adapter.
How to turn off Media Sensing: url.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters Value Name: DisableDHCPMediaSense Data Type: DWORD Value Data Range: 0, 1 (False, True)

For instructions on how to install the Microsoft Loopback Adapter instead (my preferred solution): url.
Control Panel -> Add hw -> "Yes, I have already connected" -> "Add a new hw device" -> "Install the hw manually select from a list" -> Network Adapters -> Manufacturer := Microsoft + Network Adapter := Microsoft Loopback Adapter".

Amunt! Top Amunt!
ESX 2 WS

Això converteix el disk de versió "ESX 3.0.x" a versió "VMWARE Workstation".

vmkfstools -i /path/to/src/src.vmdk -d 2gbsparse /path/to/dest/dest.vmdk

Aquí es troba la explicació : url

Check for missing files failed: the specified feature isn't suported by this version.

VMware Server Web Access => TOMCAT !


Amunt! Top Amunt!
VMware Tools install - SLES 11 & RHEL v6

Compte : by default opensuse installs the open-vm-tools and vmware-kmp-pae. To install the vmware tools you should first remove those packages.

S11TP400:/root/eines # tar -xvzf ./VMwareTools-8.1.4-227600.tar.gz S11TP400:/root/eines/vmware-tools-distrib # ./vmware-install.pl {from command line, accept all defaults} Un-install : /usr/bin/vmware-uninstall-tools.pl Configure : /usr/bin/vmware-config-tools.pl Service start/stop : service vmware-tools {start|stop|status|restart|force-reload}
VMware Tools install problems

If you have problems installing VMware tools, first uninstall them by hand :

  1. change the drive to your CD-ROM drive (For example, D:\).
  2. type setup /c and press Enter to force removal of all registry entries and delete the old version of VMware Tools.

Now, install again

VMware Tools Install control file
rm /etc/vmware-tools/not_configured
VMware Tools & HW upgrade
1st VMware Tools, 2nd Virtual Hardware.

How to know tools version on guest VM and on host ESX : url

"VMware tools" + "Virtual Hardware" upgrade : url, Upgrade Center, pdf.

VMware Tools direct install

packages

VMware Tools Ubuntu install

On the server, go "VM -> Guest -> Install VMware Tools"

On the VM, do next steps. Supose "uname -r" says "3.13.0-24-generic"

$ sudo mkdir /mnt/cdrom $ sudo mount /dev/cdrom /mnt/cdrom $ ls /mnt/cdrom manifest.txt VMwareTools-4.0.0-208167.i386.rpm VMwareTools-4.0.0-208167.tar.gz $ sudo apt-get install linux-headers-`uname -r` /home/eadmin/tuls/$ tar xzvf ./VMwareTools-4.0.0-208167.tar.gz eadmin@eadmin-VirtualBox:~/tuls$ cd vmware-tools-distrib/ eadmin@eadmin-VirtualBox:~/tuls/vmware-tools-distrib$ sudo ./vmware-install.pl -d # remove vmci $ sudo rm /lib/modules/3.13.0-24-generic/kernel/drivers/misc/vmw_vmci/vmw_vmci.ko $ sudo rm /lib/modules/3.13.0-61-generic/kernel/drivers/misc/vmw_vmci/vmw_vmci.ko $ sudo rm /lib/modules/3.13.0-65-generic/kernel/drivers/misc/vmw_vmci/vmw_vmci.ko $ sudo rm /lib/modules/3.13.0-66-generic/kernel/drivers/misc/vmw_vmci/vmw_vmci.ko # Unable to create symlink "/usr/lib64/libvmcf.so" pointing to file "/usr/lib/vmware-tools/lib64/libvmcf.so/libvmcf.so". $ sudo mkdir -p /usr/lib64 eadmin@eadmin-VirtualBox:~/tuls/vmware-tools-distrib/bin$ sudo ./vmware-config-tools.pl # The path "/usr/src/linux/include" is not an existing directory. eadmin@eadmin-VirtualBox:/usr/src$ sudo mkdir linux $ sudo ln -s /usr/src/linux-headers-3.13.0-24-generic/include /usr/src/linux/include eadmin@eadmin-VirtualBox:~/tuls/vmware-tools-distrib/bin$ sudo ./vmware-config-tools.pl # The path "/usr/src/linux/include" is a kernel header file directory, but it does not contain the file "linux/version.h" as expected. $ sudo apt-get install linux-headers-`uname -r` # do NOT install $ sudo apt-get -y install linux-headers-server build-essential $ sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h eadmin@eadmin-VirtualBox:~/tuls/vmware-tools-distrib/bin$ sudo ./vmware-config-tools.pl # The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 3.13.0-24-generic). $ sudo ln -s /lib/modules/3.13.0-24-generic/build/include/generated/utsrelease.h /lib/modules/3.13.0-24-generic/build/include/linux/utsrelease.h $ sudo ln -s /lib/modules/3.13.0-24-generic/build/include/generated/autoconf.h /lib/modules/3.13.0-24-generic/build/include/linux/autoconf.h eadmin@eadmin-VirtualBox:~/tuls/vmware-tools-distrib/bin$ sudo ./vmware-config-tools.pl # Unable to build module(s) - vmmemctl, vmhgfs, vmxnet, vmblock, vmci, vmxnet3, pvscsi $ sudo reboot

url, url,

VMware Tools & Ubuntu under WorkStation

With many Linux guest operating systems, problems were observed when the BusLogic virtual SCSI adapter was used with VMware virtual machines. VMware recommends that you use the LSI Logic virtual SCSI adapter with this guest operating system.

Use open-vm-tools package


Amunt! Top Amunt!
Windows Server 2008

On current VMware-versions you can use any of these 3 network adapter drivers :

ethernet0.virtualDev = "vlance" ethernet0.virtualDev = "vmxnet" c:\windows\system32\drivers\VMXNET.SYS ethernet0.virtualDev = "e1000"

e1000 performs best but your OS may not come with the drivers ; vmxnet needs drivers that come with the VMware-tools ; vlance should work on all older OS without additional drivers ;

url.

Per a que emuli una tarja “Intel PRO/1000”:

sag@lab007 /vmfs/volumes/Storage1/ACM_CCDM > cat ACM_CCDM.vmx | grep ethernet0 ethernet0.present = "true" ethernet0.wakeOnPcktRcv = "false" ethernet0.networkName = "bcnlab007 NIC 2" ethernet0.addressType = "generated" ethernet0.virtualdev = "e1000" ethernet0.generatedAddress = "00:0c:29:19:c3:8d" ethernet0.pciSlotNumber = "33" ethernet0.generatedAddressOffset = "0"

Per a que emuli una tarja “VMX”:

[sag@lab003 DataCap]$ cat /vmfs/volumes/ds3000_lab003/DataCap/DataCap.vmx | grep ethernet0 ethernet0.present = "true" ethernet0.wakeOnPcktRcv = "false" ethernet0.networkName = "VM Network" ethernet0.addressType = "generated" ethernet0.virtualdev = "vmxnet" ethernet0.generatedAddress = "00:0c:29:f0:83:6c" ethernet0.pciSlotNumber = "33" ethernet0.generatedAddressOffset = "0" ethernet0.startConnected = "TRUE"

Establir IP i GW:

PS C:\Users\Administrator> netsh interface ipv4 show interfaces Idx Met MTU State Name --- ---------- ---------- ------------ --------------------------- 1 50 4294967295 connected Loopback Pseudo-Interface 1 14 10 1500 connected Local Area Connection PS C:\Users\Administrator> netsh interface ipv4 set address name=14 source=static address=99.137.166.60 mask=255.255.255.0 gateway=99.137.166.1 netsh interface ipv4 set dns "LAN-Verbindung 3" static 192.168.78.7 primary

Amunt! Top Amunt!
Windows 7

ethernet0.virtualDev = "e1000"

Es pot emular amb WorkStation 7 ...


Amunt! Top Amunt!
Converter

To convert a remote machine, the VM Converter Agent needs to be installed on it.

Guide (pdf) homepage.

VMware-converter-en-5.5.0-1362012 {201412}

If you have an enterprise license, you can add it now to enable full functionality. Otherwise, you can continue in Starter Mode.

URL

Import Machine :

This wizard will step you through the process of importing

into any type of VMware virtual machine.
Linux

Anem a convertir lab025 i network :

network:~/vmware/converter # ls -l total 120522 -rwx------ 1 root root 123290094 Jun 30 12:14 VMware-converter-4.0.1-161434.tar.gz
SATA vs IDE

If the source server was running SATA hard drives and you leave the default settings in VMWare converter for "Disk Controller" as "Preserve Source"

Fix : changed this setting to LSI Logic SCSI Controller since this is the perferred controller within VMWare.

HP DV-9000
  1. start Converter on HP-KAYAK
  2. select to import a remote physical machine : HP DV-9000 at 192.168.1.33
  3. size is 20 GB - "c" disk
  4. destination will be \\192.168.1.33\HP, external USB disk
  5. start (11:20) -> 13 GB.
Conclusió

If you want to convert a remote machine, it has to have a VMware Convert Agent (CA) running on it anyway. So, the best option is to convert the "local" machine.

How to know if CA is running on a Linux ?

Converter Logs

In case of (any) error(s), always read carefully the logs, located at :

Cannot configure the source image

A number of the sites pointed out that the VMware converter does have problems with resizing linux partitions.
They resolved the issue by resizing the virtual machine by using vdiskmanager. I tried their suggestion and expanded the virtual machine to 40GB by using the following command:

c:\>".\vmware-vdiskmanager.exe" -x 40gb "Red Hat Enterprise Linux 3.vmdk"

URL

W7 : unable to obtain hardware information for the selected machine

Solution : run converter as Administrator

The session is not authenticated

There are 2 instances of Converter running - restart the machine or kill vmware-converter.exe

Cloned SUSE 11 virtual machine does not have network connectivity after reboot

Modern Linux distributions use udev naming devices. The udev on SUSE 11 uses MAC addresses to identify ethernet cards. After cloning, the MAC address changes and udev creates a new ethernet device named eth1 instead of eth0.
When udev renames eth0 to eth1, you see messages similar to:

eth0 renamed to eth1 by udevd [pid] udev: renamed network interface eth0 to eth1

To ensure network connectivity for the SUSE 11 virtual machine clone after the reboot, you must modify the entries in the /etc/udev/rules.d/70-persistent-net.rules file. This file has two entries related to network cards:

# PCI device 0x8086:0x10f5 (e1000e) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:ac:ee:0d:d5", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" # PCI device 0x8086:0x10f5 (e1000e) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:ac:e0:fd:23", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

The first entry with eth0 is the original virtual machine MAC address. The second entry is the new NIC with the new MAC address. You must change the MAC address in the first entry from eth0 to eth1 and remove the second entry. After a reboot, the cloned virtual machine has network connectivity.

kb.vmware.com

Converter User's guide

To install :

  • Extract the archive in the current directory :
    tar zxvf VMware-converter-4.x.x-.tar.gz
  • Navigate to the extracted directory and run the installation executable file :
    cd vmware-converter-distrib sudo ./vmware-install.pl -d
  • Press Enter to view the End User License Agreement. To accept the license agreement, scroll down the document, type yes and press Enter again.
  • Reiniciar el servidor : /etc/init.d/vmware-converter start

    To use it : Once the installation has completed, check the System Tools menu in your X11 windows environment.
    Or :

    1. export 'DISPLAY=192.168.78.99:0.0'
    2. echo $DISPLAY
    3. /usr/bin/vmware-converter-client &
    4. on machine 192.168.78.99, a VMware Converter Standalone screen comes up

    To un-install, run

    sudo /usr/bin/vmware-uninstall-converter.pl

    All pubs, 4.01 Guide (pdf).

    Converter publications. 4.0.1 release notes

    VMware-converter-4.0.1-161434.tar.gz, 117 MB,v 4.0.1

    Converter Standalone 4.0.1 supports the following guest operating systems

    CAUTION: During cloning of powered-on Linux machines, Converter Standalone 4.0.1 preserves the following source file systems on the target: ext2, ext3, reiserfs, and vfat. All other source file systems are converted into ext3 file systems on the target virtual machine.

    Troubleshooting

    LILO boot loader is not supported for Linux sources ! You can convert powered-on machines that run Linux only if GRUB is installed as the boot loader on the source.

    Excelent + see "Cold Clone CD" !

    Excelent troubleshooting checklist

    Disable Daemon Tools !

    Linux "helper boot" problems : extend timeout url.

    Best practices

    url

    Cold Converter

    Cold Clone CD v3.03 @ tiné


  • Amunt! Top Amunt!
    VMware Server 1.0.9

    Has :

    • VmCOM scripting API
    • VmPerl scripting API - molt interessant !
    • Programming API

    VMware Documentation or VMware Server Documentation.

    Pot fer servir "localhost" (que crec que la versió 2 no te).

    Vol fer servir el port 904 de la màquina remota :

    server v1.0.9
    VMware Server 2.0.1

    Has Web Access only, no Server Console, no Remote Host access !?

    VMware Server 2 for Windows A008M-P0N49-14475-4J4JW VMware Server 2 for Linux A0NA5-P25FW-0D5E0-42MUR

    Vol fer servir el port 8333 de la maquina remota, via browser.

    VMWare Server from command line

    URL

    VMWare Server hosts

    (Host System Requirements for VMware Server) 32-bit host computers can run the following operating systems:

    URL

    VMWare Server links

    VMware Server Documentation url.

    VMware Server install under Ubuntu : URL, 8.04.

    VMware Server Tips & Tricks (excelent pdf).


    Amunt! Top Amunt!
    Support

    To collect diagnostic data at the ESX command prompt:

    1. Log on to the service console as root.
    2. Confirm the version of VMware ESX Server you are running. On ESX Server 2.x and 3.x hosts, determine the base build number with the following command:

      [root@esxhost]# vmware -v or $ ssh user@remote.rhel-server.com /usr/bin/vmware -v

      On ESX 4.x hosts, determine the system level with the following command:

      [root@esxhost]# vmware -l
       
    3. Run the following command to change to the directory where you want the output to appear. For example:

      [root@esxhost]# cd /tmp
    4. Run the following command to execute the script:

      [root@esxhost]# /usr/bin/vm-support

      When the script finishes, it generates a file with named <fqdn>-esxsupport-YYYY-MM-DD@HH-MM-SS.tgz

      URL


    Amunt! Top Amunt!
    Problemes
    Long mode

    Binary translation is incompatible with long mode on this platform. Long mode will be disabled in this virtual environment and applications requiring long mode will not function properly as a result. See http://vmware.com/info?id=152 for more details

    VT-x

    Some laptops have Intel Virtualization Technology disabled in BIOS, as T430, T550, etc

    This virtual machine is configured for 64-bit guest operating systems. However, 64-bit operation is not possible.
    This host supports Intel VT-x, but Intel VT-x is disabled. Intel VT-x might be disabled if it has been disabled in the BIOS/firmware settings or the host has not been power-cycled since changing this setting.

    For more detailed information, see http://vmware.com/info?id=152.
    This kernel requires an x86-64 CPU, but only detected an i686 CPU

    Go into BIOS and enable Intel Virtualization Technology, or AMD V

    Hardware and firmware requirements for 64-bit guest operating systems (1003945) Tool to test your CPU for 64-bit compatibility

    No keyboard at W7 logon

    Windows cannot start this hardware device because its configuration information (in the registry) is incomplete or damaged. (Code 19)

    HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318} Double-click the UpperFilters:REG_MULTI_SZ: Leave kbdclass value *** remove Lkbdflt2, VMKBD and SynTP ***

    The problem in my situation was that there was also a keyboard driver installed from VMware. The VMware Keyboard Driver had an additional entry “vmkbd” in the UpperFilters key, but as I discovered the driver file that was needed (C:\Windows\system32\drivers\vmkbd.sys) was missing which in effect caused all the problems.


    Pendent

    Amunt! Top Amunt!

    Overhead

    VMware boasts an overhead as small as 3%-6% for computationally intensive applications.

    url


    OVF

    OVF is an open standard for packaging and distributing virtual appliances or more generally software to be run in virtual machines.

    .ovf to .vmx conversion
    1. open VMware WorkStation
    2. File
    3. Open
    4. import (and save as ".vmx"

    Oracle Virtual Box

    Oracle product : Download product & VMs.

    Nice overview [***]

    You can start a VB VM in 3 modes :

    Networking

    Increase disk size url : use "File" + "Virtial Media Manager"

    To return ownership of keyboard and mouse to your host operating system, VirtualBox reserves a special key on your keyboard for itself: the "host key". By default, this is the right Control key on your keyboard.

    VB under my MARS Ubuntu

    VirtualBox is a free x86 virtualization solution allowing a wide range of x86 operating systems such as Windows, DOS, BSD or Linux to run on a Linux system. This package provides the Qt based graphical user interface for VirtualBox.

    $ df -h antes /dev/sda1 229G 66G 152G 31% / despues /dev/sda1 229G 81G

    La instalacio del producte no ocupa cap GB, nomes el disk

    La versio que tinc es :

    nicolau@nicolau-desktop:~/sebas/local_tinet_files$ vboxmanage --version 5.2.34_Ubuntur133883

    Instalo "extension pack" : url
    Oracle Cloud Infrastructure integration, USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.

    1. download "Oracle_VM_VirtualBox_Extension_Pack-6.1.6.vbox-extpack"
    2. run VB as root : "sudo virtualbox"
    3. File + Preferences + Extensions + "Add"
    4. Result Code: NS_ERROR_FAILURE (0x80004005) ; Component: ExtPackManagerWrap
    5. $ sudo VBoxManage extpack install ~/Downloads/Oracle_VM_VirtualBox_Extension_Pack-6.1.6.vbox-extpack

      Progress state: NS_ERROR_FAILURE VBoxManage: error: Failed to install "/home/nicolau/Downloads/Oracle_VM_VirtualBox_Extension_Pack-6.1.6.vbox-extpack" VBoxManage: error: Failed to load the main module ('/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxPuelMain.so'): VERR_FILE_NOT_FOUND - /usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxPuelMain.so: undefined symbol: _ZNK20RTCRestStringMapBase9baseCloneEv VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManagerWrap, interface IExtPackManager VBoxManage: error: Context: "RTEXITCODE handleExtPack(HandlerArg*)" at line 1211 of file VBoxManageMisc.cpp

    Solucio : upgrade VB, as VB is v5.2 and EP is 6.1.6 : url

    1. import the Oracle VirtualBox repository GPG signing keys :
      "wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -" -> OK
      "wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -" -> OK
    2. create Oracle VirtualBox repositories :
      "echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list"
      nicolau@nicolau-desktop:~/Downloads$ cat /etc/apt/sources.list.d/virtualbox.list
      deb http://download.virtualbox.org/virtualbox/debian bionic contrib
      "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" -> "Command 'deb' not found"

    Una altra via es agafar el Extensio Pack 5.2.34 - url -> Oracle_VM_VirtualBox_Extension_Pack-5.2.34.vbox-extpack

    VB extensions

    En Albert em diu que em calen les extensions "Guest additons" as "Shared folders" - miro Documentation, pdf

    Diu :
    Guest Additions are designed to be installed insidea virtual machine after the guest operating system has been installed. They consist of device drivers and system applications that optimize the guest operating system for better performance and usability.

    W10 install
    1. get Win10_1909_English_x64.iso [5.421.459.456] from uSoft
    2. launch VirtualBox
    3. click "New" to open the Create VM wizard
    4. enter a name for the VM, op-sys type and version
    5. allocate RAM to VM {2 GB}
      One shouldn’t allocate more than half the size of physical RAM to the virtual machine
    6. create a virtual hard drive {50 GB}
      Type ?
      • VDI = VirtualBox Disk Image
      • VMDK = Virtual Machine Disk
      • VHD = Virtual Hard Disk
    7. storage : dynamic or fixed ?
    8. select a location to save the virtual hard drive and its size
    9. select an ISO image file - it has to be bootable - cheek it using "MobaLiveCD", "MagicISO" or "QEMU Simple Boot"
    10. with the VM powered off, go to Settings, Storage and Controller
    11. click on the "CD/DVD" icon and select the ISOO file we have
    12. power-on the VM
    13. it goes "Install Now", spanish keyboard, no Product Key, "W10 Pro x64", and "Custom" (mandatory) - url
    W10 run in a VCB under Ubuntu
    Share a disk from Ubunto host to Guindous guest

    We want to share a folder from/to the host (Ubuntu) and the guest (W10) operating systems

    1. in VB, open Settings
    2. unount any CD/DVD that could be mounted
    3. click "Add new shared folder" icon
    4. "Folder Path" : choose a folder in the host
    5. enable "auto-mount" and "make permanent"
    6. in guest w10, go to "Devices" + "Insert guest additions CD image"
    7. if "Not Found" comes up, download it
    8. when "Virtual Box Guest Additions" is installed, the shared folder shall be visible in "Computer"

    url

    VB under T440/W7 and W7 client for Bluestacks

    To use "local account" instead of "Microsoft Account", we have to disable network card when starting installation !
    At the end, it asks you to connect, and if you say "no", it asks "who is going to use this PC ?"


    Amunt! Top Amunt!
    vmWare errors
    ESP, 2014

    Netsh.exe
    Error al iniciar la aplicacion porque no se encontró framedyn.dll. La reinstalacion de la aplicacion puede generar problemas.


    Links

    Amunt! Top Amunt!

    Ep ! Valid HTML 4.01!   Valid CSS! Top Escriu-me !
    Updated 20151201 (a)
    Uf !