VMware

Firefox unable to display web interface

If firefox fails to display the web interface correctly and the logs show ssl exception errors, you may need to enable sslv2 in firefox about:config:-

security.enable.ssl2 from false into true 

Chrome does not seem to have this problem.

BIOS access

To make it easier to access the BIOS setup screen edit the virtual machines configuration (.vmx ) and append one of the following options:

  • bios.forceSetupOnce = “TRUE” -This forces entry to the BIOS setup at startup.
  • bios.bootDelay = “xxxx” -This adds a delay to the initial POST screen, showing it for longer and giving you more time to access the BIOS setup, where xxxx is the number of milliseconds to show the POST screen. (There are 1000 milliseconds in a second.)

Console commands

vmrun is a command line application for controlling various VM operations. Type the following commands:-

List running VM's

[vmware@vm1 ]# vmrun -T server -h 'https://vm1:8333/sdk' -u vmware -p password list
Total running VMs: 2
[standard] Trixbox/Trixbox.vmx
[standard] larch/larch.vmx
[vmware@vm1 ]#

List all VM's

[vmware@vm1 ]# vmrun -T server -h 'https://vm1:8333/sdk' -u vmware -p password listRegisteredVM
Total registered VMs: 3
[standard] Trixbox/Trixbox.vmx
[standard] quince/quince.vmx
[standard] larch/larch.vmx
[vmware@vm1 ]#

Start a VM

[vmware@vm1 ]# vmrun -T server -h 'https://vm1:8333/sdk' -u vmware -p password start "[standard] quince/quince.vmx"
[vmware@vm1 ]#

Check it is running:-

[vmware@vm1 ]# vmrun -T server -h 'https://vm1:8333/sdk' -u vmware -p password list
Total running VMs: 3
[standard] Trixbox/Trixbox.vmx
[standard] quince/quince.vmx
[standard] larch/larch.vmx
[vmware@vm1 ]#

Remote Console access

Resize a vmdk disk

Target os is w2k3 server, need to add extra 2GB to root filesystem.

cd to directory containing disk file.

[root@optiplex w2k3-1]# pwd
/data/vmware/VirtualMachines/w2k3-1
[root@optiplex w2k3-1]# 
[root@optiplex w2k3-1]# vmware-vdiskmanager -x 8GB  w2k3-1.vmdk
  Grow: 100% done.
Disk expansion completed successfully.

WARNING: If the virtual disk is partitioned, you must use a third-party
         utility in the virtual machine to expand the size of the
         partitions. For more information, see:
         http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647
[root@optiplex w2k3-1]#
 
vm/vmware.txt · Last modified: 07/01/2021 18:03 by andrew