After VMware 4.5.2 install, Host W2K has 2 "enabled" adapters, and 2 more IP's :
Select "Custom" + VMnet0 device.
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
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.
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
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.
Utilitats interessants
|
Top
|
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 :
- on host machine, we use MQ Client
- on guest machine, there shall be a MQ Server
- on SVRCONN channel, we use vnetsniffer.exe !
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
|
Top
|
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
|
Top
|
- Virtual Disk size
- Number of Virtual Disks
|
Defragmenting and Shrinking Virtual Disks
|
Top
|
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 :
-
Run a disk defragmentation utility inside the virtual machine.
-
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.
-
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
- 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).
- fdisk /dev/sda + n ("new") + "p" ("primary") + 3 (if sda1 and sda2 are already used) + n
- mkdir /software
- mount -t ext3 /dev/sda3 /software
- edit /etc/fstab to contain "/dev/sda3 /software defaults 1 1"
- reboot and use /software (see "df")
|
|
Cleaning a VM (P11, Scott Karabin)
-
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
-
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.
-
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
|
Top
|
| 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).
|
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
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
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
|
Top
|
Get SuSE 10 (VMWARE)
here
Get MQ for Linux (v 6.0 if possible)
Install MQ
- rpm -ihv IBMJava2-SDK-1.4.2-0.0.i386.rpm
- ./mqlicense.sh -accept
- rpm -ihv MQSeriesRuntime-6.0.0-0.i386.rpm
- rpm -ihv MQSeriesSDK-6.0.0-0.i386.rpm
- rpm -ihv MQSeriesServer-6.0.0-0.i386.rpm
- rpm -ihv MQSeriesClient-6.0.0-0.i386.rpm
- rpm -ihv MQSeriesJava-6.0.0-0.i386.rpm
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)
|
Top
|
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):
- run VMware-workstation-xxxx-xxxx.exe, where xxxx-xxxx is the version and build numbers
- select Modify/Change, select Enhanced Keyboard Utility, follow the prompts to finish the installation.
Use Enhanced Keyboard (on VM):
- select the (stopped) virtual machine and select VM > Settings
- on the Options tab, select General
- 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.
- Click OK to save your changes
VMware Server version and HW version
The virtualHW.version should be 4 to work with Server 1.x
URL
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 ?
- v 1.5 ?
- v 2.1 ?
- VMware-server-installer-1.0.9-156507.exe : VMware Server "console"
No accepta VM's de Hardware version = 7 ;
- VMware-server-2.0.2-203138.exe : VMware Server HomePage
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".
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 !
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 :
- change the drive to your CD-ROM drive (For example, D:\).
- 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
- to check the build of the ESX host, choose the ESX host in VMware Virtual Infrastructure Client.
Version and build number appear in the heading.
lab0s8.es.com VMware ESX, 4.0.0, 208167.
Tools version can also be accessed from the ESX command line
by running the grep toolbox /vmfs/volumes/mydatastore/myvm/vmware.log command.
- in a Microsoft Windows virtual machine, open VMware Tools and click About.
filNet : version 4.0.0, build-208167.
jRules : version 7.7.5, build-156745 => VI3 tools, 3.5 U4. Remove and reinstall.
- in a Linux virtual machine, run the vmware-toolbox command from the terminal and click About.
"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
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
Windows 7
ethernet0.virtualDev = "e1000"
Es pot emular amb WorkStation 7 ...
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 :
- physical machines
- VMware virtual machines
- uSoft VirtualPC's or Virtual Server virtual machines
- Symantec Backup Exec System recovery
- Norton Ghost 9 or later
This wizard will step you through the process of importing
- a physical machine - create a virtual machine from any computer on your network
- an ESX server or VMware VirtualCenter
- a standalone virtual machine, backup or disk image
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
- start Converter on HP-KAYAK
- select to import a remote physical machine : HP DV-9000 at 192.168.1.33
- size is 20 GB - "c" disk
- destination will be \\192.168.1.33\HP, external USB disk
- 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 :
- c:\Windows\Temp\vmware-temp\
- c:\Documents and Settings\<user>\Local Settings\Temp\vmware-temp\
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 :
- export 'DISPLAY=192.168.78.99:0.0'
- echo $DISPLAY
- /usr/bin/vmware-converter-client &
- 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
- Windows NT SP6 and later
- Windows 2000 SP4
- Windows XP Professional (32 bit and 64 bit)
- Windows Server 2003 (32 bit and 64 bit)
- Windows Vista (32 bit and 64 bit)
- Windows Server 2008 (32 bit and 64 bit)*
- Red Hat Enterprise Linux 2.1 (32 bit)
- Red Hat Enterprise Linux 3.0 (32 bit and 64 bit)
- Red Hat Enterprise Linux 4.0 (32 bit and 64 bit)
- Red Hat Enterprise Linux 5.0 (32 bit and 64 bit)
- Red Hat Linux Advanced Server 2.1 (32 bit)
- SUSE Linux Enterprise Server 8.0
- SUSE Linux Enterprise Server 9.0 (32 bit and 64 bit)
- SUSE Linux Enterprise Server 10.0 (32 bit and 64 bit)
- Ubuntu 5.x
- Ubuntu 6.x
- Ubuntu 7.x (32 bit and 64 bit)
- Ubuntu 8.x (32 bit and 64 bit)
- * vCenter Converter Standalone 4.0.1 supports only Windows Server 2008 and does not support Windows Server 2008 R2.
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é
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 :
|
|
VMware Server 2.0.1
Has Web Access only, no Server Console, no Remote Host access !?
- FQDN = bisc60gc
- server HTTP port = 8222
- server HTTPS port = 8333
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
- configuració : /etc/vmware/config file
- /usr/bin/vmware-cmd
- vmware-cmd -l : list all VMs
- vmware-cmd nom.vmx getstate
- vmware-cmd nom.vmx stop
- vmware-cmd nom.vmx start
- VM's are at /opt/vmwares/
URL
VMWare Server hosts
(Host System Requirements for VMware Server)
32-bit host computers can run the following operating systems:
- Red Hat Enterprise Linux 5.1
- SUSE Linux Enterprise Server 10
- Ubuntu Linux 8
URL
VMWare Server links
VMware Server Documentation
url.
VMware Server install under Ubuntu :
URL,
8.04.
VMware Server Tips & Tricks (excelent pdf).
Support
To collect diagnostic data at the ESX command prompt:
- Log on to the service console as root.
- 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
- Run the following command to change to the directory where you want the output to appear. For example:
[root@esxhost]# cd /tmp
- 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
Problemes
-
"this host supports intel vt-x but intel vt-x is disabled"
{T440, T550} : boot + F1 (go into BIOS) + "Security" tab + Virtualization : Virtualization Technology & VT-d Feature := enabled ;
-
"Binary translation is incompatible with long mode on this platform. Disabling long mode"
{T440, T550} : boot + F1 (go into BIOS) + "Security" tab + Virtualization : Intel Virtualization Technology := "enabled" ;
- 06062006 - vm(GNI) using "custom" net -
we put 100.000 messages in a (mq) queue,
but get only a 2,5% network utilization (Task Manager)
- 06062006 - vm(GNI) using "bridged" net -
DHCP Server unreachable
Solució : use "Custom" networking + "Bridged.
- 02062006 -
VMware Workstation unrecoverable error: (vmx)
ASSERT C:/ob/bora-13124/bora/lib/disklib/dataCache.c:1967 bugNr=33326
Solució : reinstall MQ.
- 02062006 - Failed to launch peer process
Al instalar MQ sobre SuSE 10, va tenir el error (1).
En engegar la VM de nou, surt aquest.
Solució : reboot Guindous.
- 07072006 - vm(GNI) using "custom + vmnet0 bridged" net -
DHCP Server unreachable
Solució : disable AGN Virtual Network Adapter.
- 16092006 - Age Of Empires no corre dins una VM.
Coundn't init the graphical system.
Verify the video card and its drivers are compatible with DirectDraw.
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.
- (1) Verify that the BIOS/firmware settings enable Intel VT-x and disable 'trusted execution.'
- (2) Power-cycle the host if either of these BIOS/firmware settings have been changed.
- (3) Power-cycle the host if you have not done so since installing VMware Workstation.
- (4) Update the host's BIOS/firmware to the latest version.
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.
- es pot fer una imatge de una màquina que estigui funcionant ?
- aumentar el tamany de un disc
- posar un segon disc -
HERE !
- com es posa el disc dur com "read only" ?
SnapShot !
Vull instalar quelcom (que no li calgui IPL),
probar-lo i deixar el S.O. com si no hagués passat res ...
Veure les propietats "avançades" del disc dur ...
- fake MAC (virtual) address
- CPU :
VMware WS has measured your CPU speed to be 529 MHz,
but Windows reports that it is 1694 MHz.
For a workaround, refer to the VMware knowledge base article at
http://www.vmware.com/info?id=97
To work around this problem,
specify the correct maximum CPU speed
in your global configuration file:
- Find the speed of your host's CPU.
For example, in Windows XP, right click My Computer, then choose Properties.
This path may be different, depending on the version of Windows you use.
- Look for config.ini in one of the following locations:
- C:\Documents and Settings\All Users\Application Data\VMware\VMware Workstation\config.ini
- C:\Documents and Settings\All Users\Application Data\VMware\VMware GSX Server\config.ini
- C:\Documents and Settings\All Users\Application Data\VMware\VMware Server\config.ini
Note: If the file does not exist,
create it as a plain text file in the appropriate location
as described above, then edit it as follows.
For more detail,
see "Creating and Editing config.ini on Windows Hosts"
at
www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1754
- Edit config.ini, adding the lines described below.
host.cpukHz = 1700000
host.noTSC = TRUE
ptsc.noTSC = TRUE
The example presented here assumes
that the host computer has a maximum speed of 1700MHz.
The first line is the most important one.
It should be your host computer's maximum speed in KHz,
that is, its speed in MHz times 1000,
or its speed in GHz times 1000000.
The second and third lines
enable a mechanism that tries to keep the guest clock accurate
even when the time stamp counter (TSC) is slow.
T42, 13/12/2006 :
c:\Documents and Settings\All Users\Datos de programa\VMware\VMware Workstation
- In addition,
check the VMware Tools control panel in the guest operating system.
On the Options tab,
ensure that Time synchronization between the virtual machine
and the host operating system is selected.
For additional information about timekeeping in virtual machines,
see the whitepaper at
www.vmware.com/pdf/vmware_timekeeping.pdf
- eXtendBank demo :
download (13 GB,
8 CDs).
- WID demo (Bernd Wynands, 7,6 GB)
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
- open VMware WorkStation
- File
- Open
- import (and save as ".vmx"
Oracle Virtual Box
Oracle product :
Download product &
VMs.
Nice overview [***]
You can start a VB VM in 3 modes :
- normal
- headless
- detachable
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.
- download "Oracle_VM_VirtualBox_Extension_Pack-6.1.6.vbox-extpack"
- run VB as root : "sudo virtualbox"
- File + Preferences + Extensions + "Add"
- Result Code: NS_ERROR_FAILURE (0x80004005) ; Component: ExtPackManagerWrap
- $ 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
- 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
- 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
- get Win10_1909_English_x64.iso [5.421.459.456] from
uSoft
- launch VirtualBox
- click "New" to open the Create VM wizard
- enter a name for the VM, op-sys type and version
- allocate RAM to VM {2 GB}
One shouldn’t allocate more than half the size of physical RAM to the virtual machine
- create a virtual hard drive {50 GB}
Type ?
- VDI = VirtualBox Disk Image
- VMDK = Virtual Machine Disk
- VHD = Virtual Hard Disk
- storage : dynamic or fixed ?
- select a location to save the virtual hard drive and its size
- select an ISO image file - it has to be bootable -
cheek it using "MobaLiveCD", "MagicISO" or "QEMU Simple Boot"
- with the VM powered off, go to Settings, Storage and Controller
- click on the "CD/DVD" icon and select the ISOO file we have
- power-on the VM
- it goes "Install Now", spanish keyboard,
no Product Key,
"W10 Pro x64", and "Custom" (mandatory) -
url
W10 run in a VCB under Ubuntu
- Auto capture keyboard
- Mouse pointer integration
- Video driver
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
- in VB, open Settings
- unount any CD/DVD that could be mounted
- click "Add new shared folder" icon
- "Folder Path" : choose a folder in the host
- enable "auto-mount" and "make permanent"
- in guest w10, go to "Devices" + "Insert guest additions CD image"
- if "Not Found" comes up, download it
- 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 ?"
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.
|