VMWARE TOOLS

 Re: explanation of modules: vmnet, vsock, vmci, vmmon...?

 nick.couchman
Champion
nick.couchman 27 déc. 2008 17:14 (en réponse à markokobal)

Not sure about all of them, but I can tell you the following:


- vmnet - VMware network interfaces on the host, for things like Birdged, Host-Only, and/or NAT networking.


- vmhgfs - VMware Host/Guest Filesystem - for filesystem sharing between the host and the guest.


- vmxnet - Accelerated network driver for Linux guest O/Ss.


- vmblock - Accelerated block device driver for Linux guest O/Ss.
Pilotes des périphériques VMware Tools
Les pilotes de périphériques facilitent les opérations effectuées à l'aide de la souris, permettent d'accéder à des fonctions VMware telles que le partage de dossiers et améliorent les fonctions audio, graphiques et réseau. Si vous effectuez une installation ou réinstallation personnalisée de VMware Tools, vous pouvez choisir les pilotes à installer.
Les pilotes installés lors de l'installation de VMware Tools dépendent également du système d'exploitation client et du produit VMware. Les pilotes de périphériques suivants peuvent être inclus avec VMware Tools :
Pilotes SVGA
Ce pilote virtuel active l'affichage 32 bits, la haute résolution d'affichage et accélère de manière significative les performances graphiques. Lorsque vous installez VMware Tools, un pilote SVGA virtuel remplace le pilote SVGA par défaut, ce qui permet d'utiliser uniquement la résolution 640 X 480 et 16 couleurs.
Sur les systèmes d'exploitation clients Windows Vista ou version ultérieure, le pilote VMware SVGA 3D (Microsoft - WDDM) est installé. Il fournit la même fonctionnalité de base que le pilote SVGA et il ajoute le support Windows Aero.
Pilote SCSI
Le pilote VMware Paravirtual SCSI est inclus avec VMware Tools pour une utilisation avec les périphériques paravirtuels SCSI. Les pilotes pour d'autres adaptateurs de stockage sont soit fournis avec le système d'exploitation, soit disponibles auprès de fournisseurs tiers.
Par exemple, Windows Server 2008 utilise par défaut LSI Logic SAS qui offre les meilleures performances pour ce système d'exploitation. Dans ce cas, le pilote LSI Logic SAS fourni par le système d'exploitation est utilisé.
Pilote SCSI paravirtuel
Ce pilote est pour les adaptateurs VMware Paravirtual SCSI, qui améliore les performances de certaines applications virtualisées.
Pilotes cartes réseau VMXNet
Les pilotes réseau vmxnet et vmxnet3 améliorent les performances réseau. Le pilote utilisé dépend de la manière dont vous définissez les paramètres des périphériques de la machine virtuelle. Consultez la base de connaissances VMware pour plus d'informations sur les systèmes d'exploitation clients qui prennent en charge ces pilotes.
Lorsque vous installez VMware Tools, un pilotes cartes réseau VMXNet remplace le pilote par défaut vlance.
Pilote de souris
Le pilote de souris virtuelle améliore les performances de la souris. Ce pilote est nécessaire si vous utilisez des outils tiers, tels que les Services Terminal Server Microsoft.
Pilote audio
Ce pilote audio est nécessaire pour tous les systèmes d'exploitation clients Windows 64 bits et les clients Windows Server 2003, Windows Server 2008 et Windows Vista 32 bits si vous utilisez la machine virtuelle avec VMware Server, Workstation ou Fusion.
Module de noyau pour le partage de dossiers
Le module du système de fichiers client-hôte, appelé hgfs.sys sur les systèmes d'exploitation clients Windows et vmhgfs sur Linux et Solaris, est nécessaire pour pouvoir utiliser la machine virtuelle avec Workstation ou Fusion et partager des dossiers entre les hôtes et les clients.
Module vmblock
Utilisé dans Workstation et Fusion, ce module est essentiel pour les opérations de copie trainer et déposer entre les hôtes et les clients.
vShield Endpoint
Si vous utilisez vSphere et vShield, vous pouvez désormais effectuer une installation de VMware Tools personnalisée pour installer le composant vShield Endpoint Thin Agent. vShield Endpoint utilise l'hyperviseur pour effectuer des analyses d'antivirus sans agent encombrant. Cette stratégie permet d'éviter les goulets d'étranglement des ressources et optimise l'utilisation de la mémoire. Pour plus d'informations, consulter le Guide de démarrage rapide vShield.
Pilote ThinPrint
Ce pilote active la fonction d'impression virtuelle sur les machines virtuelles Microsoft Windows. Avec l'impression virtuelle, les imprimantes ajoutées au système d'exploitation sur le client ou l'hôte apparaissent dans la liste des imprimantes disponibles dans le système d'exploitation client. Aucun autre pilote d'imprimante supplémentaire ne doit être installé dans la machine virtuelle.
Pilote de contrôle de la mémoire
Ce pilote est disponible et recommandé si vous utilisez VMware vSphere. L'exclusion de ce pilote affecte les fonctions de gestion de la mémoire de la machine virtuelle dans un déploiement vSphere.
Modules et pilotes qui supportent la réalisation des sauvegardes automatiques des machines virtuelles
Si le système d'exploitation client est Windows Vista, Windows Server 2003 ou un système d'exploitation Windows plus récent, un module VSS (Volume Shadow Copy Services) est installé. Pour les autres systèmes d'exploitation Windows plus anciens , le pilote de système de fichiers Sync est installé. Ces modules permettent un logiciel de sauvegarde externe tiers qui est intégré à vSphere pour créer des applications compatibles avec des snapshots. Lors du snapshot, certains processus sont suspendus et les disques de la machine virtuelle sont interrompus.
Pilotes VMCI et VMCI Sockets
Le pilote VMCI (Virtual Machine Communication Interface) permet d'établir des communications rapides et efficaces entre les machines virtuelles. Les développeurs peuvent écrire des applications client-serveur pour l'interface VMCI Sock (vsock) afin d'utiliser le périphérique virtuel VMCI.

vmware-hgfsmounter - program for mounting HGFS shares

SYNOPSIS
       mount.vmhgfs SHARE DIRECTORY [ -o OPTIONS ]
       vmware-hgfsmounter SHARE DIRECTORY [ -o OPTIONS ]

DESCRIPTION
       This  is  a  console-based mount helper application. It mounts the HGFS
       share, specified by name, to a local directory. Share names must be  in
       host:dir format.
XAMPLES
       This  command  is  intended to be run from within /bin/mount by passing
       the option '-t vmhgfs'. For example:

            mount -t vmhgfs .host:/ /mnt/hgfs/
            mount -t vmhgfs .host:/foo /mnt/foo
            mount -t vmhgfs .host:/foo/bar /var/lib/bar
NAME
       vmware-checkvm - Check if running in a VM or not

SYNOPSIS
       vmware-checkvm

DESCRIPTION
       This  is  a  simple  console  application  and  can be run as any user.
       vmware-checkvm check if is running in a VM (returns 0) or not  (returns
       1).

OPTIONS
       vmware-checkvm has no options
  AME
       vmware-hgfsclient - hgfs client access

SYNOPSIS
       vmware-hgfsclient

DESCRIPTION
       This  is  a  simple  console  application  and  can be run as any user.
       vmware-hgfsclient is a userspace HGFS client  implementation.  It  will
       probably one day become a full featured HGFS filesystem driver.

OPTIONS
       vmware-hgfsclient has no options.
NAME
       vmware-toolbox-cmd - GUI toolbox (commandline version)

SYNOPSIS
       vmware-toolbox-cmd

DESCRIPTION
       This  is a console version of vmware-toolbox, and depends on libvmtools
       and libguestlib.

OPTIONS
       vmware-toolbox-cmd has no options.
NAME
       vmware-xferlogs - dump vm-support output to vmx logfile

SYNOPSIS
       vmware-xferlogs OPTIONS FILE

DESCRIPTION
       vmware-xferlogs  is  a simple console application and can be run as any
       user. It is based on rpctool to dump the vm-support output to  the  vmx
       log  file  base64  encoded.  It  can  dump  any  file  supplied  on the
       commandline to the vmx log. It also does the decoding part  of  it.  It
       can  read the vmware.log file decode and write the encoded files in the
       directory it was invoked.

       Example of a transfer found in the vmx log file:

            Aug   24   18:48:09:   vcpu-0|   Guest:    >Logfile    Begins    :
       /root/install.log:  ver  -  1       Aug  24  18:48:09:  vcpu-0|  Guest:
       >SW5zdGFsbGluZyA0NDEgcGFja2FnZXMKCkluc3RhbGxpbmcgZ2xpYmMtY29tbW9uLTIuMi41LTM0
            Aug          24          18:48:09:          vcpu-0|         Guest:
       >LgpJbnN0YWxsaW5nIGh3ZGF0YS0wLjE0LTEuCkluc3RhbGxpbmcgaW5kZXhodG1sLTcuMy0zLgpJ
            Aug          24          18:48:09:          vcpu-0|         Guest:
       >bnN0YWxsaW5nIG1haWxjYXAtMi4xLjktMi4KSW5zdGFsbGluZyBtYW4tcGFnZXMtMS40OC0yLgpJ
            ....        ....        Aug  24  18:48:10:  vcpu-0|  Guest:  >Mi4K
            Aug 24 18:48:10: vcpu-0| Guest: >Logfile Ends
NAME
       libvmtools - vmware shared library

DESCRIPTION
       This is a shared library used by several Open VM Tools components, such
       as vmware-toolbox-cmd and vmtoolsd (and its plugins)
  NAME
       vmware-user-suid-wrapper - wrapper programm for vmware-user
NAME
       vmblock - vmware kernel module

SYNOPSIS
       modprobe vmblock

DESCRIPTION
       This is a kernel filesystem module. Ideally, it should be loaded before
       any of the Tools userlevel components  are  allowed  to  start,  though
       vmblock itself has no dependencies. When loaded, vmblock will establish
       itself in /proc/fs/vmblock  and  create  two  nodes  therein,  dev  and
       mountPoint.   Before   mounting   a  vmblock  filesystem,  ensure  that
       /tmp/VMwareDnD exists as a directory with permissions  1777,  otherwise
       host to guest drag n' drop operations won't work.

       To mount, issue:

            mount -t vmblock none /proc/fs/vmblock/mountPoint

       Once mounted, vmware-user(1) can begin to make use of vmblock to assist
       with DnD operations. Note that while vmware-user(1) is  running,  it'll
       keep  an  open  file  descriptor  on /proc/fs/vmblock/dev, and thus all
       vmware-user(1) instances must be killed to unmount and unload vmblock.
SYNOPSIS
       vmware-user-suid-wrapper

DESCRIPTION
       Operations  on the vmblock filesystem are considered privileged, and as
       such may only be issued on a file descriptor acquired by root. This  is
       accomplished  by vmware-user-suid-wrapper, a small setuid wrapper whose
       only purpose is to acquire a filesystem file descriptor, drop superuser
       privileges,  and  then execute vmware-user.  In particular, prepare the
       system for vmware-user means that it unmounts the vmblock file  system,
       unloads  the  vmblock  module, then reloads the module, mounts the file
       system, and opens a file descriptor that vmware-user can use to add and
       remove blocks.

OPTIONS
       vmware-user-suid-wrapper has no options.
NAME
       libguestlib - vmware shared library

DESCRIPTION
       This  is  a  shared  object  intended for use in other applications. It
       provides access to some configuration and performance data available in
       the host.
How do I mount shared folders in Ubuntu using VMware tools?
Experts. I've successfully installed VMware tools for Ubuntu. Everything seems to work fine, but shared folders were not mounted automatically.
How do I get them to work?

If I run vmware-hgfsclient in terminal, I get the list of shared folders, but ls -l /mnt/hgfs is empty. Actually there's no hgfs dir in /mnt. I know I should probably use the vmware-hgfsclient tool, but I realy don't know how.

P.S. I wouldn't ask if I could understand the vmware-hgfsclient help I've read.
I have set up on Windows 7 host with Ubuntu 11.04 Desktop with VMware Tools installed on.

Virtual Machine settings

Folder sharing = Always Enabled
Make sure you have at least one Folder shared between the host and guest
On the Ubuntu Guest

check /mnt/hgfs that you can access your shared folder.

If you don't see your shared folders (automounted) inside /mnt/hgfs , run VMware configuration tools:

sudo vmware-config-tools.pl
update your fstab using the details below:

gksu gedit /etc/fstab

(I am using ubuntu desktop so use other text editor to enter the next line at the end of the file)

.host:/{shared-folder} /{path-to-mount-on} vmhgfs defaults,ttl=5,uid=1000,gid=1000   0 0
Restart your vm (You may need to restart few times or get error message saying unable to mount just skip the error and restart)
shareimprove this answer
edited Nov 14 '13 at 14:00

cwallenpoole
1034
answered May 8 '11 at 23:03

Azizur Rahman
86689
2
with {shared-fodler} you mean the NAME or something else ? For instance, if I'll run vmware-hgfsclient i'll get hst_dwnloads and hst_ebooks. So I should use on of them? so for hst_ebooks it should look like: .host:/hst_dwnloads<white-space>/mnt/hgfs/ vmhgfs defaults,ttl=5,uid=1000,gid=1000 0 0 or not ? – V-Light May 11 '11 at 9:10
 
@V-Light if you cd /mnt/hgfs/ then ls -a you'll see that share folders are auto mounted there. When you do sudo mount -t vmhgfs .host:/hst_ebooks ~/hst_ebooks this will mount hst_ebooks into your home directory. What you might be wanting to do is making is easy for you to use shared folders for that try above. – Azizur Rahman May 11 '11 at 20:32
3
that's the problem. There's NOTHING in /mnt/hgfs/ The dir ist empty. – V-Light May 11 '11 at 21:46
 
@V-Light take a look at How to Share folders with your Ubuntu Virtual Machine (guest) – Azizur Rahman May 12 '11 at 9:17
2
Re-running sudo vmware-config-tools.pl was e
http://xpt.sourceforge.net/techdocs/nix/virtual/vmware/vm08-SharingBetweenHostAndGuest/
https://www.vmware.com/support/developer/guest-sdk/guest_sdk_35.pdf
https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.guestsdk.pg.doc_50%2Fguest_sdk_40_prog_guide_Chapter.4.3.html
https://github.com/xlucas/go-vmguestlib
http://www.rheavendors.com/en/home/administrator/Desktop/vmware-tools-distrib/lib/GuestSDK/vmGuestLibJava/doc/com/vmware/vmguestlib/package-summary.html
https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vmtools.install.doc%2FGUID-A42FA14C-7D67-44A7-823B-854AA9F5FD3E.html
https://www.vmware.com/support/ws55/doc/ws_newguest_tools_linux.html
https://vaddicted.wordpress.com/2016/03/22/in-guest-vmware-tools-cli-commands/
http://www.linuxcertif.com/man/1/vmware-toolbox-cmd/
VMCI for Linux
In an effort to improve the out-of-the-box experience with Linux
kernels for VMware users, VMware is working on readying the Virtual
Machine Communication Interface (vmw_vmci) and VMCI Sockets
(vmw_vsock) kernel modules for inclusion in the Linux kernel. The
purpose of this post is to acquire feedback on the vmw_vmci kernel
module. The vmw_vsock kernel module will be presented in a later post.

VMCI allows virtual machines to communicate with host kernel modules
and the VMware hypervisors. User level applications both in a virtual
machine and on the host can use vmw_vmci through VMCI Sockets, a socket
address family designed to be compatible with UDP and TCP at the
interface level. Today, VMCI and VMCI Sockets are used by the VMware
shared folders (HGFS) and various VMware Tools components inside the
guest for zero-config, network-less access to VMware host services. In
addition to this, VMware's users are using VMCI Sockets for various
applications, where network access of the virtual machine is
restricted or non-existent. Examples of this are VMs communicating
with device proxies for proprietary hardware running as host
applications and automated testing of applications running within
virtual machines.

In a virtual machine, VMCI is exposed as a regular PCI device. The
primary communication mechanisms supported are a point-to-point
bidirectional transport based on a pair of memory-mapped queues, and
asynchronous notifications in the form of datagrams and
doorbells. These features are available to kernel level components
such as HGFS and VMCI Sockets through the VMCI kernel API. In addition
to this, the VMCI kernel API provides support for receiving events
related to the state of the VMCI communication channels, and the
virtual machine itself.

Outside the virtual machine, the host side support of the VMCI kernel
module makes the same VMCI kernel API available to VMCI endpoints on
the host. In addition to this, the host side manages each VMCI device
in a virtual machine through a context object. This context object
serves to identify the virtual machine for communication, and to track
the resource consumption of the given VMCI device. Both operations
related to communication between the virtual machine and the host
kernel, and those related to the management of the VMCI device state
in the host kernel, are invoked by the user level component of the
hypervisor through a set of ioctls on the VMCI device node.  To
provide seamless support for nested virtualization, where a virtual
machine may use both a VMCI PCI device to talk to its hypervisor, and
the VMCI host side support to run nested virtual machines, the VMCI
host and virtual machine support are combined in a single kernel
module.

For additional information about the use of VMCI and in particular
VMCI Sockets, please refer to the VMCI Socket Programming Guide
available at https://www.vmware.com/support/developer/vmci-sdk/.
https://lwn.net/Articles/501673/
http://searchvmware.techtarget.com/definition/VMware-VMCI-VMware-Virtual-Machine-Communication-Interface
https://pubs.vmware.com/workstation-9/index.jsp#com.vmware.ws.using.doc/GUID-AB5C80FE-9B8A-4899-8186-3DB8201B1758.html
https://askubuntu.com/questions/762755/no-vmhgfs-file-system-installed-to-use-use-shared-folder
https://serverfault.com/questions/27500/what-is-vmhgfs
https://pubs.vmware.com/vsphere-4-esx-vcenter/index.jsp?topic=/com.vmware.vsphere.resourcemanagement.doc_40/managing_memory_resources/c_memory_balloon_driver.html
http://pubs.vmware.com/vi3/resmgmt/wwhelp/wwhimpl/common/html/wwhelp.htm?context=resmgmt&file=vc_advanced_mgmt.11.24.html
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002586
https://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=2001003
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003586
https://www.vmware.com/support/developer/converter-sdk/conv51_apireference/memory_counters.html
https://yuridejager.wordpress.com/2012/02/27/enable-the-vmware-balloon-driver-vmmemctl-to-prevent-swapping-in-an-imported-linux-vm/
http://mritunjaitchnocrat.blogspot.com/p/how-memory-ballooning-in-vmware-works.html
http://www.vmwarearena.com/verify-memory-balloon-drive-status-of/
https://documentation.commvault.com/commvault/v11/article?p=products/vs_vmware/c_vmw_backup_application_aware.htm
http://www.virten.net/2012/05/filesystem-consistent-linux-backups-with-vmware/
http://searchdatabackup.techtarget.com/tip/Top-five-mistakes-made-when-backing-up-VMs-and-how-to-prevent-them
http://searchservervirtualization.techtarget.com/tip/Managing-backups-in-virtual-environments-Key-architectural-considerations
http://www.virten.net/2012/05/storage-vmotion-and-dvswitch-ha-problem-explained/
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1001805
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1010398
https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.vm_admin.doc%2FGUID-7A595885-3EA5-4F18-A6E7-5952BFC341CC.html
https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.vm_admin.doc%2FGUID-C5A081C0-CFF9-4D54-87A8-54FE7BA8D853.html/wwhelp
https://blogs.vmware.com/vsphere/2014/02/vscsi-controller-choose-performance.html
https://4sysops.com/archives/windows-server-2016-vm-with-a-vmware-paravirtual-scsi-controller/
https://blogs.vmware.com/vsphere/2015/07/custom-certificate-on-the-outside-vmware-ca-vmca-on-the-inside-replacing-vcenter-6-0s-ssl-certificate.html
http://www.vmwarebits.com/content/how-to-change-storage-adapter-to-paravirtual-pvscsi-for-windows-guest
http://dalvikplanet.blogspot.com/2016/03/how-to-build-open-vm-tools-on-ubuntu.html

Commentaires

Posts les plus consultés de ce blog

Vmware Tools interrest

Astuces Linux