VMware

VIZZ.INFO

VMware Virtualisation Information from the creators of VIZZ.INFO

21 Posts 1 2 Previous Next
0

the good news

vmware server / fusion / player / tools now DYNAMICALLY resizes x/ubuntu vm windows (just like the vmware tools video driver for windoz)

the bad news

my fonts are so small i cant read them !

screenshots


http://farm4.static.flickr.com/3541/3302677257_95a121ca57_o.png

http://farm4.static.flickr.com/3592/3303506922_c66de3ed2f_o.png

http://farm4.static.flickr.com/3303/3303506820_e12f085387_o.png

http://farm4.static.flickr.com/3525/3303506706_0916639b39_b.jpg

http://farm4.static.flickr.com/3541/3303506602_9040d0556b_b.jpg

0 Comments Permalink
0

VMware Server Minimal VM User Roles & Permissions


http://farm4.static.flickr.com/3313/3295210693_e2952914df.jpg

http://farm4.static.flickr.com/3394/3295210781_aeb80e0524.jpg

http://farm4.static.flickr.com/3446/3296036198_281e9f3d57.jpg

http://farm4.static.flickr.com/3560/3296036286_818a1a5b9d.jpg

0 Comments Permalink
0

VMware Server VIWA Screenshots

Posted by osde.info Feb 20, 2009

http://farm4.static.flickr.com/3344/3295422415_b83ee4e8f7_m.jpg

http://farm4.static.flickr.com/3344/3295422415_b83ee4e8f7_m.jpg

http://farm4.static.flickr.com/3335/3296244832_84425bdb19_m.jpg

http://farm4.static.flickr.com/3445/3295420035_974565c7bf_m.jpg

http://farm4.static.flickr.com/3429/3295419873_d6e7552180_m.jpg

http://farm4.static.flickr.com/3333/3295419969_aa9ce4cd70_m.jpg

http://farm4.static.flickr.com/3549/3295419209_3ce4a446d6_m.jpg

http://farm4.static.flickr.com/3503/3295419183_6e6d0fe532_m.jpg

http://farm4.static.flickr.com/3368/3296243756_b3b61f285e_m.jpg

http://farm4.static.flickr.com/3425/3295289227_ab145dd2ee_m.jpg

0 Comments Permalink
0

VMware Server Guest Options

Posted by osde.info Feb 20, 2009

VMware Server Guest Options


Choose compatibility level 6 if you want to run your xubuntu VM on fusion


http://farm4.static.flickr.com/3464/3296035564_24b3395ff8.jpg

Choose File Options split into 2G disks for maximum compatibility


http://farm4.static.flickr.com/3663/3293240361_72189b1dac.jpg

0 Comments Permalink
0

VMware Server VIWA, VMware Server Console errors solutions and fixes


http://farm4.static.flickr.com/3313/3295210693_e2952914df.jpg

illegal op

illegal operation in plugin
the plugin performed an illegal operation
you are strongly advised to restart firefox

http://farm4.static.flickr.com/3619/3296118532_97e506f6ca.jpg

solution : restart firefox

vmware remote console

error opening the remote virtual machine
login failed due to bad username or password
http://farm4.static.flickr.com/3300/3296118454_306c451b4a.jpg

solution : try again

task failed

power on virtual machine failed to complete
a general system error occured : unknown error
http://farm4.static.flickr.com/3453/3296118304_da4281d1b4_m.jpg

solution : wait 5 mins

not enough physical memory

msg.memSched.autoScaleDown : not enough physical memory is available to power on this virtual machine
do you want to temporarily reduce the memory size of the virtual machine
do _nothing
_reduce memory
http://farm4.static.flickr.com/3372/3296113792_9dec1d67ee.jpg
solution : logout of gnome on your host reduce vm memory restart vm

another task is in progress

the server response included one or more errors
if these problems persist, please contact your system administrator
taskinprogress : operation failed since another task is in progress
http://farm4.static.flickr.com/3402/3295289397_5357d0b07b.jpg
solution : wait 5 mins

error reconfigure

reconfigure this virtual machine
http://farm4.static.flickr.com/3610/3296113532_bffda132cc.jpg
solution : wait 5 mins

vmware remote console plug-in is not installed

vmware remote console plug-in is not installed or could not be found
http://farm4.static.flickr.com/3494/3296035894_90984c2b4f.jpg
solution : install vmware remote console plug-in

managedobjectnotfound

the server response included one or more errors
if these problems persist, please contact your system administrator
managedobjectnotfound : operation failed
http://farm4.static.flickr.com/3410/3293240549_29c5a31f6f.jpg
solution : check user group role & permissions

0 Comments Permalink
0

How to install VMWare Server 2.0.0 on X/Ubuntu 8.04 LTS and run X/Ubuntu 8.04 LTS guests in under two hours

Hardware

  • Pentium III or 4 with 512M+ ram (4G recommended) for host
  • Pentium III or 4 with 256M+ ram for VIWA browser access
  • CD / ISO for building VM

Login as user
  • Enable root account
  • logout

Login as root
  • create /vmfs directory
  • create /vmfs/iso directory
  • copy (xubuntu) isos into /vmfs/iso directory
  • download and untar vmwsvr.tgz
  • run vmware-config.pl
  • navigate to localhost:8222
  • login to VIWA as root
  • create VMs-only role (with minimal permissions)
  • add user to this role
  • logout

Minimal Permissions
  • datastore
  • network
  • host
  • virtual machine
  • resource

http://farm4.static.flickr.com/3313/3295210693_e2952914df.jpg

Login as user

  • navigate to localhost:8222
  • login to VIWA as user
  • create vm
  • point to your xubuntu 8.04 iso image
  • download and install vmware console firefox plugin
  • restart firefox
  • login to VIWA as user
  • start vm

0 Comments Permalink
0

VIZZ.INFO

Posted by osde.info Feb 20, 2009

VIZZ.INFO started out providing Virtualisation Information (with a free libre open source focus) at http://vizz.info/ but we have now decided to spread our wings to the VMware blog community ! Lets see how it goes !

0 Comments Permalink
0

http://vizz.info/2006/08/vmware-vi3-esx3-has-arrived/

vmsnap and vmrestore that were used on ESX 2.x to backup (snap) and restore virtual machines & vmdk’s have been replaced in ESX 3.x with the vcbMounter and vcbRestore commands

0 Comments Permalink
0

VI / ESX 3 VM file naming tips

Posted by osde.info Feb 20, 2009

VMware VI / ESX VM & VMDK file naming tips

1) avoid spaces and brackets ( ) and other nasty characters in .vmx and .vmdk names
2) use a common suffix for each VM's name, vm.vmx, /vmfs/vm subdirectory AND vm.vmdk disks !

ie
orac
/vmfs/volume/storage/orac/
orac.vmx
oraca.vmdk
oracb.vmdk

3) give real names to VMDKS instead of accepting default _N suffix

ie
DISKC.VMDK
DISKD.VMDK
DISKE.VMDK

or
diskos.vmdk
disksw.vmdk
diskdb.vmdk

0 Comments Permalink
2

PHASE 1

  • Setup NFS
  • Setup SSH RSA login
  • Setup mailx
  • Setup host,username,password in /etc/vmware/backuptools.conf

PHASE 2

Create vcbBack.sh (on masteresx)

#
VMIMBK=/vmimages/vmbk
mount slaveesx:$VMIMBK $VMIMBK
rm -rf $VMIMBK/$1
vcbMounter -a name:$1 -r $VMIMBK/$1
umount $VMIMBK

Create vcbRes.sh (on slaveesx)

#
VMIMBK=/vmimages/vmbk
CATALOG=$VMIMBK/$1/catalog
echo $CATALOG
sed 's/masteresx\.com/slaveesx\.com/' $CATALOG > $CATALOG.rest
vcbRestore -s $VMIMBK/$1 -a $CATALOG.rest -b overwrite

Create vcbCron.sh (on masteresx)

#

/root/vcbBack.sh $1
ssh slaveesx -c "/root/vcbRest.sh $1"

Create cronjob

#
0 * * * * /root/vcbCron.sh myvm1 | smtp=upstream /usr/local/bin/mailx -s "<subject>" <name@domain>


Sit back and enjoy being a SysAdmin

2 Comments Permalink
0

To get the most out of your guest VMs and backup and restore them using VMware Consolidated Backup in the most reliable way you should install VMware Tools.

As well as providing better mouse & video drivers it provides an API to the host providing IP, clock information and installs VM startup, VM shutdown, VM freeze & VM thaw scripts /usr/sbin/pre-freeze-script and /usr/bin/post-thaw-script.

http://vizz.info/2007/11/quiesce-your-live-vmware-vms-before-you-snapshot-them/

These scripts are required to quicese the guest services so a reliable quiescent redo / snapshot can be made by VCB.

http://www.vmware.com/pdf/vi3_vm_backup.pdf

0 Comments Permalink
0

VMWare Player commands that let you force certain virtual network adapters to use certain subnet, dhcp and nat settings:

vmnetcfg.exe is a gui while vmnetlib.exe is for the command line

cd \temp

copy "\vnetlib.exe" .

start /wait vnetlib -- set vnet vmnet1 addr 192.168.201.0
start /wait vnetlib -- stop dhcp

start /wait vnetlib -- update dhcp vmnet1
start /wait vnetlib -- start dhcp
start /wait vnetlib -- update adapter vmnet1
start /wait vnetlib -- stop nat
start /wait vnetlib -- set vnet vmnet8 addr 192.168.208.0

start /wait vnetlib -- stop dhcp

start /wait vnetlib -- update dhcp vmnet8
start /wait vnetlib -- start dhcp
start /wait vnetlib -- update nat vmnet8
start /wait vnetlib -- start nat
start /wait vnetlib -- update adapter vmnet8

0 Comments Permalink
0

VMware Player manual Virtual Network VMnet1 & VMnet8 subnet configuration to prevent/resolve any conflicts with you LANs subnet !

RUN
===
C:\Program Files\VMware\VMware Player\vmnetcfg.exe

DHCP TAB
========
VMnet1 | STOP | APPLY
VMnet8 | STOP | APPLY

Host Virtual Network Mapping TAB
================================
VMnet1 > Subnet 192.168.201.0 > Apply
VMnet1 > DHCP 192.168.201.0
VMnet8 > Subnet 192.168.208.0 > Apply
VMnet8 > DHCP 192.168.208.0

DHCP TAB
========
VMnet1 | START | APPLY
VMnet8 | START | APPLY

DOS
===
C:> IPCONFIG

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.208.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.201.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

0 Comments Permalink
1


VMware Consolidated Backup -- Disk export utility, Version 1.0.3 (52542)
(C) 2005,2006, VMware, Inc. All rights reserved.

Usage:

vcbExport -M (0 -F (0 -d <dest_file> -s <diskspec> <verbosity>

<dest_file> := <local_filename>
<diskspec> := <authdspec>|<blklstspec>|<local_filename>
<verbosity> := -L (0-6)
<blklstspec> := blklst://<path>@<host>:<port>?<username>/<password>
<authdspec> := authd://<path>@<host>:<port>?<username>/<password>

Export Disk Flags:
-M: If set, the disk is exported into a single (monolithic) file.
When turned off (default), the disk is split into multiple 2GB files.

-F: If set, the disk is exported as "flat" disk, with no optimizations.
When turned off (default), the exported disk files will be more compact as unused space in the disk image is not included in the exported file.

VMware Consolidated Backup -- Snapshot Utility, Version 1.0.3 (52542)
(C) 2005,2006, VMware, Inc. All rights reserved.

Usage:

vcbSnapshot -h <url> -u <username> -p <password> <verbosity> <command>

<url> := <hostname>
<command> := <create>|<find>|<list>|<delete>
<verbosity> := -L (0-6)
<create> := -c <VmId> <SnapshotName> <Description>
<find> := -f <VmId> <SnapshotName>
<list> := -l <VmId> <SsId>
<delete> := -d <VmId> <SsId>
<VmId> := "moref:"<Sdk-MoRef>
<SsId> := "ssid:"<Sdk-MoRef>


VMware Consolidated Backup -- Virtual Machine Mount Utility V1.0.3 (52542)
(C) 2005-2007, VMware, Inc. All rights reserved.

Usage:

vcbSnapAll -h <url> -u <username> -p <password> <operation> <verbosity>

<url> := <hostname>
<operation> := <mount_op>
<verbosity> := -L (0-6)
<mount_op> := -a <VM> <mountPoint> <export-flags><datastores>
<VM> := <any><powerstate><...>(See VM Backup Guide for complete list of search criteria.)
<mountPoint> := -r <local_dir>
<datastores> := -C <datastore_catalog_file>
<export-flags> := -M (0|1) -F (0|1)

Export Flags:
-M: If set, the disk is exported into a single (monolithic) file.
When turned off (default), the disk is split into multiple 2GB files.

-F: If set, the disk is exported as "flat" disk, with no optimizations.
When turned off (default), the exported disk files will be more compact as unused space in the disk image is not included in the exported file.

NOTE: options -h -u -p must be present in command string.

Example:
+) Do a full VM style backup of powered up VMs on ESX host "wisdom.bar.com" as user "vc" with password "foobar". Export will go to local dir ackups" as a single file:

vcbSnapAll -h wisdom.bar.com -u vc -p foobar -a powerstate:on -r \backups\foo-fullVM -M 1

Full VM backups export an entire virtual machine into a set of files within a directory. Backing up this file set allows for the entire virtual machine to be restored later on.


VMware Consolidated Backup -- Virtual Machine restore utility, V1.0.3 (52542)
(C) 2005,2006, VMware, Inc. All rights reserved.

Usage:

vcbResAll -h <url> -u <username> -p <password> -C <datastorecatalog>
-s <sourcedir> -a <catalog> -V(0 -M(0 -F(0
-m <mode> -b <behavior> -o <powerop> <verbosity>

<url> := <hostname>
<datastorecatalog> := <filename>
<sourcedir> := <dirname>
<catalog> := <filename>
<mode> := cos|nas
<behavior> := overwrite|prompt|keep|abort
<powerop> := on|allon|alloff
<verbosity> := -L (0-6)

Import Disk Flags:
-V: If set to 1, the disk is imported into a VMFS-style disk. This will only work if the target location for the disk is on a VMFS file system. This flag defaults to (1) in COS mode and to 0 otherwise.
This flag is mutually exclusive with -M

-M: If set (default), the disk is imported into a single (monolithic) file.
When unset, the disk is split into multiple 2GB files.

-F: If set (default), the disk is imported as "flat" disk, with no space optimizations, but better I/O performance.
vcbResAll adds the "-d" option to this to specify an optional delay between virtual machine restores.


1 Comments Permalink
1

Sample vcbUtil ResourcePools

Posted by osde.info Nov 26, 2007

vcbUtil -h localhost -c resourcepools

ResourcePool: "/ha-folder-root/ha-datacenter/host/vmware1.mydomain/Resources"
ResourcePool: "/ha-folder-root/ha-datacenter/host/vmware1.mydomain/Resources/cms"
ResourcePool: "/ha-folder-root/ha-datacenter/host/vmware1.mydomain/Resources/helpdesk"
ResourcePool: "/ha-folder-root/ha-datacenter/host/vmware1.mydomain/Resources/antivir"
ResourcePool: "/ha-folder-root/ha-datacenter/host/vmware1.mydomain/Resources/r2d2"
ResourcePool: "/ha-folder-root/ha-datacenter/host/vmware1.mydomain/Resources/r2d2/gnulinux"
ResourcePool: "/ha-folder-root/ha-datacenter/host/vmware1.mydomain/Resources/r2d2/w2k3"

1 Comments Permalink
1 2 Previous Next
Click to view osde.info's profile Member since: Jan 25, 2005

VMware Virtualisation Information from the creators of VIZZ.INFO

View osde.info's profile

Communities