VMware Fusion Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

New VMware Virtual Machine Provisioning

VMware Fusion Virtual Machine Provisioning

VMware Virtual Machine Cloning

Clone a VMware Fusion Virtual Machine

Rename VM Bundle Files

Rename VM Bundle Files

Changing the Number of CPUs Allocated to a VM

Virtual Machine -> Settings -> System Settings row -> Processors & Memory -> Processors.

Rename a VM

External

Procedure

After startup, Virtual Machine -> Settings -> General -> Click the existing name of the VM to edit the text -> Rename and click outside the text box to save.

Shutdown.

Note that renaming the VM does not change the name of any bundle file on disk.

Add Block Storage to Guest

Shut down the guest.

Then Virtual Machine Library -> Guest in question -> Settings -> Hard Disk -> Add Device -> New Hard Disk -> Add -> Adjust disk size.

Optionally - Pre-allocate disk space and don't split into multiple files, we we want performance.

The new disk will be available as a block device under OS. On Linux, use lsblk to list it.

[root@vmware-docker ~]# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0   10G  0 disk
├─sda1   8:1    0  156M  0 part /boot/efi
├─sda2   8:2    0  512M  0 part /boot
└─sda3   8:3    0  9.4G  0 part /
sdb      8:16   0   50G  0 disk
sr0     11:0    1 55.2M  0 rom

Shrink a Sparse Disk

External

Procedure

TODO: "Clean Up Virtual Machine"

Snapshot Consolidation

https://kb.vmware.com/kb/1020000

Command-Line Virtual Machine Operations

Command-Line Virtual Machine Operations

Set Up Direct Access to Virtualization Host Storage

A pre-requisite for accessing shared host storage in the VM is to install VMWare Tools in the VM. This is the procedure to install VMWare Tools for Linux and this is the procedure to install VMware Tools for Windows.

Settings for the VMware VM -> Sharing -> Enable Shared Folders -> + -> Select the local folder to share.

The folder will be available after reboot as "Shared Folders (\\wmware-host)".