Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all 178776 articles
Browse latest View live

vixDiskLibSample 6.0 program dumps core at VixDiskLib_Open call (line 642)

$
0
0

Hello,

 

I'm trying to connect to ESX server (6.0) using vixDiskLibSample program provided with vixDiskLib (v6.0) running

on RHEL 6 update to date x64. Program runs fine until connection is created, but dumps core while executing

VixDiskLib_Open call at line 642.

 

./vix-disklib-sample -info -user root -password XXXX -host h3.lan -initex /dev/null -thumb "21:73:98:D4:89:A3:9D:16:B3:D7:02:80:3D:BA:36:2A:98:5B:DB:05" "[datastore1] rhel6/rhel6.vmdk"

Log: OBJLIB-LIB: Objlib initialized.

Log: VixDiskLib: Advanced transport module not loaded.

Log: VixDiskLib: Using transport modes from DiskLib: file:nbdssl:nbd.

Log: VMware VixDiskLib (6.0) Release build-2498720

Log: VixDiskLibVim: VixDiskLibVim_Init: Initialization is completed.

Log: VixDiskLib: VixDiskLib_Connect: Establish connection.

Log: VixDiskLib: Resolve host.

Log: VixDiskLib: VixDiskLib_OpenEx: Open a disk.

Log: VixDiskLibVim: VixDiskLibVim_GetNfcTicket: Get NFC ticket for [datastore1] rhel6/rhel6.vmdk.

 

Program received signal SIGSEGV, Segmentation fault.

0x00007ffff590626d in ?? () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLibVim.so

(gdb) backtrace

#0  0x00007ffff590626d in ?? () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLibVim.so

#1  0x00007ffff58ffe7d in ?? () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLibVim.so

#2  0x00007ffff5903409 in VixDiskLibVim_GetNfcTicket () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLibVim.so

#3  0x00007ffff77d87c3 in ?? () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLib.so.6

#4  0x00007ffff77d8f3c in ?? () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLib.so.6

#5  0x00007ffff77d9082 in VixDiskLib_Open () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLib.so.6

#6  0x0000000000405b72 in VixDisk::VixDisk (this=0x7fffffffdf30, connection=0x89b200, path=0x7fffffffe637 "[datastore1] rhel6/rhel6.vmdk", flags=4) at vixDiskLibSample.cpp:642

#7  0x000000000040391b in DoInfo () at vixDiskLibSample.cpp:1154

#8  0x0000000000402791 in main (argc=13, argv=0x7fffffffe128) at vixDiskLibSample.cpp:825

 

 

 

I saw a similar issue with vixDiskLib 5.2 in the forum, but here, It works fine with a previous 5.5 version.

 

./vix-disklib-sample -info -user root -password XXXX -host h3.lan -initex /dev/null -thumb "21:73:98:D4:89:A3:9D:16:B3:D7:02:80:3D:BA:36:2A:98:5B:DB:05" "[datastore1] rhel6/rhel6.vmdk"

Log: OBJLIB-LIB: Objlib initialized.

Log: VixDiskLib: Advanced transport module not loaded.

Log: VixDiskLib: Using transport modes from DiskLib: file:nbdssl:nbd.

Log: VMware VixDiskLib (5.5) Release build-1601882

Log: VixDiskLibVim: VixDiskLibVim_Init: Initialization is completed.

Log: VixDiskLib: VixDiskLib_Connect: Establish connection.

Log: VixDiskLib: VixDiskLib_OpenEx: Open a disk.

Log: VixDiskLibVim: VixDiskLibVim_GetNfcTicket: Get NFC ticket for [datastore1] rhel6/rhel6.vmdk.

Log: VixDiskLibVim: VixDiskLibVim_FreeNfcTicket: Free NFC ticket.

Log: NBD_ClientOpen: attempting to create connection to ha-nfc://[datastore1] rhel6/rhel6.vmdk@192.168.0.102:902

Log: Opening file [datastore1] rhel6/rhel6.vmdk (ha-nfc://[datastore1] rhel6/rhel6.vmdk@192.168.0.102:902)

Log: DISKLIB-LINK  : Opened 'ha-nfc://[datastore1] rhel6/rhel6.vmdk@192.168.0.102:902' (0x1e): custom, 20971520 sectors / 10 GB.

Log: DISKLIB-LIB   : Opened "ha-nfc://[datastore1] rhel6/rhel6.vmdk@192.168.0.102:902" (flags 0x1e, type custom).

Log: VixDiskLib: VixDiskLib_GetTransportMode: Retrieve transport mode.

Disk "[datastore1] rhel6/rhel6.vmdk" is open using transport mode "nbd".

Log: VixDiskLib: VixDiskLib_GetInfo: Retrieve disk info.

capacity          = 20971520 sectors

number of links   = 1

adapter type      = LsiLogic SCSI

BIOS geometry     = 0/0/0

physical geometry = 1305/255/63

Log: VixDiskLib: VixDiskLib_FreeInfo: Clean up VixDiskLib.

Transport modes supported by vixDiskLib: file:nbdssl:nbd

Log: VixDiskLib: VixDiskLib_Close: Close disk.

Log: VixDiskLib: VixDiskLib_Disconnect: Disconnect.

Log: VixDiskLib: VixDiskLib_Exit: Unmatched Init calls so far: 1.

Log: VixDiskLibVim: VixDiskLibVim_Exit: Clean up.

 

I looked the strace output and I didn't see a problem to find libraries such as libssl. Any idea to solve this issue?

 

Thanks


Intermitent network disconnect in VM using E1000E NIC

$
0
0

Hi,

 

We just installed three new Windows Server 2012 and one new Windows 8 VMs on ESXi 5.1. On those VMs, we get a lot of errors in the System Event log about network disconnects. According to the logs, the network disconnects for about one second as we get another event saying that a network connection was established at 1 Gbps just after. Just on the day of January 28, this problem occured 85 times on a single server VM.

 

Those VMs are using the recommended E1000E NIC with vmx-09 hardware version. The Tools are installed and are current. All VMs are connected to the same vSwitch which has a dedicated physical port to the gigabit network switch (no NIC teaming and no VLAN tagging). The VMs are running from the same datastore that uses local disks setup in RAID 10 with a hardware RAID controller (LSI 2108 chipset).

 

Of course, when the alledged disconnect occurs, Windows shuts down momentarily network bound services (such as NetBIOS Helper service) and brings it back right away when the reconnection occurs. This annoying problem also causes interruptions in file transfers on network shares, so it is not just a harmless error that can be ignored.

 

Here is an example of the disconnect event:

 

Log Name:      System
Source:        e1iexpress
Date:          2013-01-29 10:53:13
Event ID:      27
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      --- censored by me! ---
Description:
Intel(R) 82574L Gigabit Network Connection
Network link is disconnected.

 

Here is the reconnection 1 second later:

 

Log Name:      System
Source:        e1iexpress
Date:          2013-01-29 10:53:14
Event ID:      32
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      --- censored by me! ---
Description:
Intel(R) 82574L Gigabit Network Connection
Network link has been established at 1Gbps full duplex.

 

 

Here are some interesting facts about this problem:

  • We checked the physical link to the host and everything is fine. We don't have any disconnection reported by the host or the switch.
  • The problem occurs in all VM which have E1000E NIC, but not at the same time.
  • Changing the VM NIC type to E1000 solves the problem: no more network disconnection reported by the VM and file transfers are not interrupted anymore.
  • The disconnects are not evenly spaced in time. It may occur many times in the same minute and then nothing for more than an hour.

 

Has anyone had this kind of problem before? Any clue about what may be the cause?

 

We can still use the workaround we found and change the NICs to E1000 but it is not the one recommended for Windows 8 and Windows Server 2012.

 

Thanks for your help!

Moving VMs between VCS 5.5 and VCSA 6

$
0
0

I have a particular 5.5  8-node cluster being managed by VCS 5.5 that I cannot migrate  to VCSA 6 with the appliance (long story). So I wish to basically just create a new vCenter with VCSA 6 and move the ESXi hosts to it. However I have some sticking points on why I dont think this will work and looking for suggestions.

 

1. This cluster is using a Distributed Switch. I can easily convert everything back to Standard Switches and move the the VMs network back to a Standard Switch through powershell. I am confident I can do that.

 

2. After I accomplished #1 I am unsure how to get the hosts/vms to the new vCenter. I cannot remove the host from Inventory because it it is not in maint mode. And of course I could put hosts in Maint mode and remove them from VCS and put into VCSA since the VDS is now gone. But eventually I will be left with few hosts with all the running VMs and Im trying to avoid taking any VMs down. I have not tried this, but can I Disconnect the host from VCS and then add to VCSA and keep the VMs running on the host?

 

Or of course if anyone else has any other ideas that I could accomplish this while keep all VMs running. Linked mode is not an option.

VCENTER 5 - Virtual center and manager service doesn't start

$
0
0

Hello,

 

i have a vcenter server 5.5 with 3 host on 5.5 U1

 

Today, the 2 services virtual center and manager does'nt started.

 

i look my free space disk and i've debug_log grow without end... i stop the service vcenter syslog, i delete this file and i restart the service.

 

So, when i've restart virtual center and manager service, "f......, you dream man"

 

i have this issue :

 

The description of the event ID 1000 in the VMware VirtualCenter Server source is not found. The component that triggered this event is not installed on the local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event is from another computer, the display information must be registered with the event.

The following information was included with the event:

Failed to intialize VMware VirtualCenter. Shutting down ...

The message resource is present but the message is not in the string table or messages


i've a french system, i used google translate


Thanks for your help


Have a good day

Connect-VIServer -AllLinked with Enhanced Linked Mode

$
0
0

I'm struggling to find an "AllLinked" solution for "Connect-VIServer" with Enhanced Linked Mode.  Our VC6 infra has 4x geographic VCs in an Enhanced Linked Mode configuration and we may add more VCs as time passes.  I'm trying to write a script that will connect to all ELM VCs by specifying one VC and the "-AllLinked" parameter, however it only connects to that one VC and specifies "is not part of a linked mode configuration".

 

Any solutions on how to connect to all VCs in Enhanced Linked Mode, short of naming each one?

sync take ages to complete, found issue, found temp solution

$
0
0

host os: Windows 10

VMware workstation 12

Guest os Linux 4.x 64

Guest memory size: 12G

 

when windows wakes up from sleep, it take quite about 10 minutes of high disk io before disk io LED is quiet.

i found a solution to this before: execute sync.exe (from cygwin) before sleep, it take about 10 minutes to sync and then sleep, at least it won't do it during wake up when i want to use the computer

 

recently i find the real cause, it was the memory map file, the *.vmem file

prefvmx.minVmMemPct = "100"

MemTrimRate = "0"

mainMem.useNamedFile = "FALSE"

sched.mem.pshare.enable = "FALSE"

prefvmx.useRecommendedLockedMemSize = "TRUE"

i use these setting to disable the map file and the problem is gone

 

however this solution is not permanent, as soon as i use suspend feature of vmware, a new *.vmem file is generated.


so the question is, can *.vmem not be sync to disk when it is in memory?

FCOE Issues with HP Blade C7000

$
0
0

So I have been dealing with this FCoE issue since we implemented our blades system. We have a C7000 Chassis with 16 Blades and 4 Virtual Connects. We have 2 Brocade switches. VC 1 goes to Brocade 1, VC 2 goes to Brocade 2, VC 3 goes to Brocade 3, and VC 4 goes to Brocade 2. Each blade has 4 HBAs (FCoe) adapters which in each goes to one of the VC's. In the zoning it is configured as Single Initiater to the SAN (we have 4 SANs). The issue we have is I can only have 2 of the HBA adapters active in the Brocade zones other wise we have issues. If only 2 of the 4 are active everything works fine across all SANs, if either 3 or 4 are enabled we have issues. The issues we have are if 3 or 4 adapters are enabled, the 3rd HBA will not see all the LUNs, it will see partial LUNS, and the 4th ones won't see any. I am not able to present new LUNs to them because they will not detect them either, unless I reboot then the LUN i presented will show up. I have a ticket with HP and VMWare and they can not figure it out either. I am on the latest HP firmware, and we have even tried downgrading firmware to see if that helps. Anybody have ideas or am I just out of luck?

FT - Secondary VM Won't Automatically Power On

$
0
0

Hello,

 

I have a 3 host HA cluster that I'm testing FT on.  When I turn on FT for a particular VM, it enables correctly.  The problem that I'm experiencing is when I actually install a manmade fault.  For instance, if I hard power the host that the primary VM resides, it does not automatically power on the secondary VM on another host.  Any clue on what could be causing this and how I can rectify it?  We are running ESXI 6U2.

 

Also, am I understanding this correctly....FT is a feature of HA....so in order to turn on FT, I must have an HA cluster with HA enabled.

 

Thanks for your help in advance!!


Cannot download Vsphere Hypervisor 6 (free) - download link does not work

$
0
0

This has been happening since at least Saturday, and others have reported this as well (in the regular Hypervisor forums).

 

https://my.vmware.com/group/vmware/evalcenter?p=free-esxi6

 

Neither the "manually download" nor the "Download Manager" links do anything.

 

I've tried 6 different computers (Windows XP and Windows 7 Home and Windows 7 Enterprise), 4 different web browsers (IE10, IE11, Firefox, chrome), and 3 different ISP (Verizon FIOS, Road Runner, and whoever supplies our Corporate LAN--AT&T or something).

 

I'm not sure VMware is even aware that there's an issue.

will disable VNUMA with enable hot add for cpu

$
0
0

dear all

Hi

 

on esxi 6.0 or 5.5 if i enable hot add and plug for cpu  VNUMA will be diasble and not work ?

 

BR

Problem with installation -- gcc not found

$
0
0

I'm trying to install VMware Player in OpenSUSE Tumbleweed, updated to the latest version, which provides kernel 4.6.

 

After running vmplayer, I get a window showing an error: "A compatible version of gcc was not found."

 

After clicking OK in that window, I get a new window with another warning: "GNU C Compiler (gcc) version 6.1.1 was not found.".

 

However, if I do gcc --version, I get the following, that shows I've got the latest gcc.

 

gcc (SUSE Linux) 6.1.1 20160615 [gcc-6-branch revision 237474]

Copyright (C) 2016 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

Even if I search for the gcc directory (given by whereis gcc) the problem doesn't go away.

 

How can I install VMware Player, then?

Get-HardDisk : Cannot process argument transformation on parameter 'Datastore'. Strings as pipeline input are not supported.

$
0
0

any idea why I am getting this error?

 

$VMs = get-content vms.txt

 

foreach ($VM in $VMs)

{

$VMDK = $VM | get-harddisk }

 

 

sk

Get-HardDisk : Cannot process argument transformation on parameter 'Datastore'. Strings as pipeline input are not supported.

At line:1 char:7

+ $VM | Get-HardDisk

+       ~~~~~~~~~~~~

    + CategoryInfo          : InvalidData: (xjzxbwg1105x:PSObject) [Get-HardDisk], ParameterBindingArgumentTransformationException

    + FullyQualifiedErrorId : ParameterArgumentTransformationError,VMware.VimAutomation.ViCore.Cmdlets.Commands.VirtualDevice.GetHardDisk

Is it safe/necessary to use VMOptimizer from coriolis-systems.com

HTML Console SDK 2.1 fails to initialize

$
0
0

I’m trying to connect to the VMs console using HTML Console SDK 2.1

It fails to initialize and the browser console log says “vnc authentication not implemented”

 

What configuration changes are needed in ESXi host get it working?

 

Interestingly it works on some ESXi hosts  and the browser console log says "security types/authentication scheme is 1". On the ESXi hosts where it fails, browser console log says "security types/authentication scheme is 2"

 

ESXi version where its NOT working: VMware ESXi, 6.0.0, 3073146

ESXi version where its working: VMware ESXi, 6.0.0, 2494585

 

 

--- browser console output where it’s not working on some ESXi hosts----

  1. wmks.min.js:1 2016-11-03T05:24:53.466Z [Info ] Not a touch device, and hence skip touch handler
  2. wmks.min.js:1 2016-11-03T05:24:54.089Z [Info ] WebSocket HAS binary support
  3. wmks.min.js:1 2016-11-03T05:24:54.090Z [Info ] WebSocket created protocol: binary
  4. wmks.min.js:1 2016-11-03T05:24:54.101Z [Info ] Server security types: 2
  5. wmks.min.js:1 2016-11-03T05:24:54.101Z [Info ] Using authentication scheme: 2
  6. wmks.min.js:1 2016-11-03T05:24:54.101Z [Info ] vnc authentication not implemented

 

 

--- browser console output where its working ----

  1. wmks.min.js:1 2016-11-03T05:26:59.000Z [Warn ] relativepad : RELATIVEPAD
  2. wmks.min.js:1 2016-11-03T05:26:59.014Z [Info ] Not a touch device, and hence skip touch handler
  3. wmks.min.js:1 2016-11-03T05:26:59.593Z [Info ] WebSocket HAS binary support
  4. wmks.min.js:1 2016-11-03T05:26:59.595Z [Info ] WebSocket created protocol: binary
  5. wmks.min.js:1 2016-11-03T05:26:59.604Z [Info ] Server security types: 1
  6. wmks.min.js:1 2016-11-03T05:26:59.604Z [Info ] Using authentication scheme: 1

-----------

Keyboards keys swapped

$
0
0

Hi,

 

I am using VMWare Fusion Pro 8.5.1 on Mac OS Sierra (10.12.1) and I have one virtual machine Windows 7. The update to Fusion 8 was done after the Sierra update (I had Fusion 6 before but not compatible with Sierra.)

 

My keyboard layout on Win 7 is the Belgian French one. The keyboard key right below "esc" is supposed to be 2 and the one right next to the left shift is supposed to be <

However, both keys have swapped.

 

I also have created my own windows keyboard layout where the 2 key is replaced by @ in order to mimic the apple keyboard. But even with this custom keyboard, the @ symbol has swapped with the < symbol.

 

Anyone has the same problem? and a solution?

 

thank you,

 

Thomas


New-VM clone command worked in v5.5, failing in v6 with error below:

$
0
0

command:

 

PowerCLI F:\scripts\PowerCLI\vBlock-XIO> New-VM -Name vCenter.fqdn.org-cloned

-VM vCenter.fqdn.org-cloned -VMhost host.fqdn.org -datastore DS_Main_Shared_01 -DiskStorageFormat Thin -Notes "weekly clone-copy-backup of vCenter"

 

error message:

 

New-VM : 14/11/2016 11:23:43    New-VM        One or more objects are specified by name. There is no server list explicitly specified, so an attempt was made

to determine a single server by the  managed objects passed to the cmdlet as arguments. However the arguments come from more than one server which makes it im

possible to unambiguously  select single server.

At line:1 char:7

+ New-VM <<<<  -Name vCenter.fqdn.org-cloned -VM vCenter.fqdn.org -VMhost host.fqdn.apmn.org -datastore DS_Main_Shared_01 -DiskStorageFormat Thin -Notes "weekly clone-copy-backup of vCenter"

    + CategoryInfo          : InvalidResult: (System.Collecti...1.VIConnection   ]:List`1) [New-VM], ViServerConnectionException    + FullyQualifiedErrorId : Core_ObnSelector_GetClientListFromCmdletParameters_AmbiguousServer,VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM

 

 

New-VM : 14/11/2016 11:23:44    New-VM        One or more objects are specified

by name. There is no server list explicitly specified, so an attempt was made

to determine a single server by the  managed objects passed to the cmdlet as ar

guments. However the arguments come from more than one server which makes it im

possible to unambiguously  select single server.

At line:1 char:7

+ New-VM <<<<  -Name   -VM vCenter.fqdn.org -VMhost host.fqdn.org -datastore DS_Main_Shared_01 -DiskStorageFormat Thin -Notes "weekly clone-copy-backup of vCenter"

    + CategoryInfo          : InvalidResult: (System.Collecti...1.VIConnection

   ]:List`1) [New-VM], ViServerConnectionException

    + FullyQualifiedErrorId : Core_ObnSelector_GetClientListFromCmdletParamete

   rs_AmbiguousServer,VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM

 

 

New-VM : 14/11/2016 11:23:45    New-VM        StorageResource parameter: Could

not find any of the objects specified by name.

At line:1 char:7

 

blah blah

 

Notes "weekly clone-copy-backup of vCenter"

    + CategoryInfo          : ObjectNotFound: (VMware.VimAutom...ource Datasto

   re:RuntimePropertyInfo) [New-VM], ObnRecordProcessingFailedException

    + FullyQualifiedErrorId : Core_ObnSelector_SetNewParameterValue_ObjectNotF

   oundCritical,VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM

 

I disconnected all VIServer sessions, then did a fresh reconnect before running this command.

 

Can you please help?  points thankfully provided for any help.

 

cheers

KC

Reset vmware password on Orchestrator Appliance

$
0
0

I recently joined a company and am attempting to clean up their virtual environment. They have an Orchestrator appliance in the environment, but no one seems to have documented configuration on it. I have, after much searching, located the root password. I do not, however, have the vmware password. I know that on a Windows box, I can change the password.properties file back to the default. However, I am unsure how to do this on an appliance. I am getting in through SSH; is there a way to update a single line in a file through the terminal session?

P2V fault - FAILED: fault.ManagedDiskOpenFault.summary

$
0
0

Hi,

 

I tried to use converter 5.5 to convert a Win 2008 R2 physical server, I used local admin to connect the physical, but the job failed at 1%, the error is FAILED: fault.ManagedDiskOpenFault.summary. I upload the log file to analyze.

Change DNS IP for VMs

$
0
0

Hi,

 

I would like to change my DNS IP to VMs of a particular folder.

 

Please help.

 

Get-VM $vms | Get-NetworkAdapter | Set-NetworkAdapter -NetworkName br1211 -Confirm:$false, Set-VMGuestNetworkInterface  -VMGuestNetworkInterface -DNS 172.25.255.5,172.25.255.6

 

The above scripts gives me a error.

 

 

-Madhu

Mouse cursor problems in horizon

$
0
0

Hi all,

 

we have installed horizon 7 at two sites with linked clones. Windows 7 32bit is installed.  At one site several users have a Problem with the mouse Cursor. sometimes the mouse cursor stays the loading circle, or the mouse with loading circle or any other mouse Cursor. Only a reboot of the VM helps. The users connect with a Zero Client from dell wyse Modell p20 using PCoIP. Firmware is 5.3.0, horizon is on Version 7.0.2

At the other site everything works fine. where should I start with searching for the error?

Viewing all 178776 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>