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

HELP!! Can't remove datastore - "in use"

$
0
0

I've tried every suggestion out there, and still can't remove one datastore in my vCenter.

 

(I've not been able to reboot the hosts, or even put them in maintnenace - that's not an option at the moment).

 

2 -

 

I've done the following:

- migrated all VM's.

- checked all vmx files for references to the datastore

   - found 2 VM's not in inventory or powered on, which referenced the datastore - changed those

- deleted the .dvsData folder from the datastore

- Not used for HA (the 2 hosts are not in a cluster)

- made sure I/O Control is disabled on all hosts

    - even followed this: VMware Front Experience: How to disable Storage I/O Control for an unavailable datastore

- no snapshots exist on any of the vm's that *were* on this datastore

   - also checked for orphaned *-00000x.vmdk on migrated vm's - none exist

- unmounted the datastore

    - this works from one host, but not the other.

    - unmounting from host1 gives the red "X" on "no virtual machines exist (all others are green)

    - unmounting from host2 unmounts the datastore on host2 but it still shows as mounted on host1

- deleting the datastore (whether mounted or not) fails with the "resource in use" error


problems with strero mix in windows xp guest host

$
0
0

hi i just installed as guest host  windows xp  in vmware 8.0 but i cant seem to get stereo mix to work  can u help me please i cant even see audio high difinition it wont let me install it  it be nice if u can tell me how to do it marco

Is there a way to check if datastore is use by the ESXi system?

$
0
0

I am looking for somehow counter, reference or variable for example if let's say isBusy=1 datastore is in use and cannot be deleted if isBusy=0 then it can be safely deleted (this is for automation purpose).

 

I am looking for these because off  error : "Error: The reason is Call "HostDatastoreSystem.RemoveDatastore" for object "ha-datastoresystem" on ESXi "10.10.1.186" failed.
Cannot remove datastore 'Datastore Name: datastore1 VMFS uuid: 5616aa3a-5fa106ea-b830-6805ca3819fe' because file system is busy."

VMWare Network Adapter No Network Access

$
0
0

Hey Everyone,

 

I have a problem with Workstation 12.5.1 on Windows 10 where the VMWare Network Adapters are installed and active, but have no network access. I know this is likely a difficult question to answer, but any ideas as to where to start? I really need this to work because I need bridge networking to work.

 

Thanks

 

--John

Instant Clone - vCenter Server list empty

$
0
0

Hi,

 

After upgrading from View6 to View7, when I try to create a new Instant Clone pool, the list of vCenter server is empty (it is not the case for the other types of pool like "View Composer linked clones").

I've selected "Automated desktop pool" and Floating in the previous screens and the "Instant Clones domain account" fields are filled with an AD credentials with the right permissions.

Any idea?

 

vCenter list empty.PNG

 

Thanks for your help!

Workstation Player 12.5 and guest display stretch

$
0
0

I've tried to scour any information but have not found anything conrete, so here goes.

 

Is it possible to stretch the guest os display with Workstation Player 12.5 (currently using 12.5.0 build-4352439)? With full Workstation 12.5 I can select View -> Autosize -> Stretch guest.

 

This is a major issue as we have ~40 FullHD devices with small display, and running Windows XP full screen is forcing native 1920x1080 resolution for XP. Changing dpi settings in XP is not a perfect solution, as it breaks few applications.

 

Does VMWare state that with Player stretching is not supported? And if not, is there any knowledge of getting it to work or possible patch coming later?

 

-Juhana Nyman

UEM Logon Tasks - Blocked by a Lock Screen?

$
0
0

We utilize Imprivata as our SSO here. Part of the initial login process includes locking the desktop after logging in. It seems that any/all of our UEM logon tasks we're utilizing do not run due to this lock screen. As we stuck with that? We know there's an alternative by just creating startup scripts, but, we'd prefer the logon task functionality.

 

Would love to hear there's a setting we can do to get around that lock screen. Thanks.

FCoE software adapter is always grey

$
0
0

Hello everyone,

 

I don't know what I can be doing wrong, but I'm not able to enable the FCoE software adapter.

 

I tried in two of my environments, I listed the configurations below:

1 - HP BL460c - Gen 9

Emulex FlexFabric 20Gb 650FLB

 

2 - IBM x3690 X5

Emulex OCE11102-NX 1-Gb

 

I followed the instructions on configuration guide, read a lot of forums and the FCoE software adapter not enable, always showed a grey option.

 

I'm using distributed switches, I created a dedicated virtual interface for FCoE purpose, nothing.

I removed one 10Gb card from distributed switch and created a new standard switch, option did not enable.

 

There is any other option that I need to enable?

Do I need to enable any config direct on network card?

 

I also updated the firmware and driver to last version available.

 

Thanks


BLOG POST: vRA Blueprint Deployment Fails with Error “Couldn’t find Host networks Expected [1], Got [0]”

$
0
0

HI All,

 

In this post we will take a look into what can be the cause of not being able to deploy an On-Demand Load balancer from a VMware vRealize Automation Blueprint. In more particular when the NSX Edge deployment fails with error similar to “Couldn’t find Host networks Expected [1], Got [0]”

 

vRA Blueprint Deployment Fails with Error “Couldn’t find Host networks Expected [1], Got [0]” with NSX Components (On-Demand Load Balancer) (SKKB1034)

http://kaloferov.com/blog/vra-blueprint-deployment-fails-with-error-couldnt-find-host-networks-skkb1034/

 

Best Regards / Поздрави

Spas Kaloferov| Technical Solutions Architect

www.kaloferov.com/blog

 

Failed to initialize library for mounting and unmounting virtual disks workstation 9

$
0
0

I am using VMware Workstation 9.0.4 build-1945795 and having an issue with "Map Virtual Disks". I have tried to map a virtual disk on windows server 2008 r2, windows server 2008, windows 7, windows xp,windows 2000, windows 98 and DOS 6.22. I have went to File - Map Virtual Disks and get "Failed to initialize library for mounting and unmounting virtual disks" everytime I try to map no matter what OS for virtual machine. Some have snapshot while others do not this is a mix of 64 bit and 32 bit virtual machines. My system is Windows 7 Enterprise 64 bit. What am I missing here because if there is a feature available on the menu you would seem to expect it to actually work on something.

Adding the RDMs across SCSI controllers for MSCS VMs via PowerCLI

$
0
0

Hi all,

I’m trying to use below script for our SRDF remote replication.I have got the all useful information to export the csv report.

We have scsi controller 0 with OS disk on VMDK, we want to add scsi controller 1 or controller 2,3,4 with physical bus sharing with multiple RDMs on scsi 1:0, 1:1, 1:2 or scsi 2:0, 2:1, 2:3 and like this.
The VMs are member of a MS-SQL (MSCS) or oracle (RAC).


On the target site,

first step (remove-rdm.ps1 script) to remove the unavailable RDM from VMs,

second step (add-rdm.ps1 script) to import the report.csv and use the data to attach the RDM for the first VM,

third step to export the sharedisk.csv include first VM Diskfile like "[datastoreDC] test01/test_3.vmdk",

fourth step (add-exsting-rdm.ps1 script) to read the sharedisk.csv and use the diskpath to add the shared rdm file for the rest of VMs.

 

I’m having difficulty importing the CSV and assigning the suitable SCSI(x:y) to the RDM go back to its VM.

I can see the errors about null argument and methods.

Could you help me please? Thanks in advance.

 


report.csv

"VM","Canonical","UnitNr","HDLabel","SCSIID","HDMode","VMHost"

"test01","naa.60000970000495700176533030463635","1","Hard disk 2","SCSI(1:1)","physicalMode","192.168.85.130"

"test01","naa.60000970000495700176533030463636","2","Hard disk 3","SCSI(1:2)","physicalMode","192.168.85.130"

"test02","naa.60000970000495700176533030463635","1","Hard disk 2","SCSI(1:1)","physicalMode","192.168.85.131"

"test02","naa.60000970000495700176533030463636","2","Hard disk 3","SCSI(1:2)","physicalMode","192.168.85.131"

"test03","naa.60000970000495700176533030463637","1","Hard disk 2","SCSI(2:1)","physicalMode","192.168.85.132"

"test03","naa.60000970000495700176533030463638","2","Hard disk 3","SCSI(2:2)","physicalMode","192.168.85.132"


add-rdm.ps1


Import-Csv -Path report.csv -UseCulture | %{
$esxName = $_.VMHost
$vmNames = $_.VM
$lunNAA = $_.Canonical

$lunTab = @{}

Get-VMHost -Name $esxName | Get-ScsiLun -LunType disk |
  where{$lunNAA -contains $_.CanonicalName} | %{  $lunTab.Add($_.CanonicalName,$_.ConsoleDeviceName)
}
$hd = @()
$first = $true
foreach($vm in (Get-VM -Name $vmNames)){  if($first){    foreach($lun in $lunNAA){      if($first){        $hd += New-HardDisk -VM $vm -DiskType RawPhysical -DeviceName $lunTab[$lun]      }    }    $ctrl = New-ScsiController -HardDisk $hd -BusSharingMode Physical -Type VirtualLsiLogicSAS    $first = $false  }  else{     $spec = New-Object VMware.Vim.VirtualMachineConfigSpec     $spec.DeviceChange += New-Object VMware.Vim.VirtualDeviceConfigSpec     $spec.deviceChange[0].device += $ctrl.ExtensionData     $spec.deviceChange[0].device.Key = -101     $spec.deviceChange[0].operation = 'add'     $i = -102     $hd.GetEnumerator() | %{       $dev = New-Object VMware.Vim.VirtualDeviceConfigSpec       $dev.device += $_.ExtensionData       $dev.device.Key = $i       $dev.device.ControllerKey = -101       $dev.operation = "add"       $spec.DeviceChange += $dev       $i--     }     $vm.ExtensionData.ReconfigVM($spec)  }
}
}


sharedisk.csv

"VM","filepath","HDLabel","SCSIID","ControllerID","HDMode","VMHost"

"test02","[datastoreDC] test01/test_3.vmdk","0","Hard disk 3","SCSI(1:0)","1","physicalMode","192.168.85.130"

"test03","[datastoreDC] test01/test_3.vmdk","0","Hard disk 3","SCSI(2:0)","2","physicalMode","192.168.85.131"

"test12","[datastoreEC] test11/test_4.vmdk","0","Hard disk 3","SCSI(1:0)","1","physicalMode","192.168.85.130"

"test12","[datastoreEC] test11/test_5.vmdk","0","Hard disk 3","SCSI(2:0)","2","physicalMode","192.168.85.131"

"test13","[datastoreEC] test11/test_4.vmdk","0","Hard disk 3","SCSI(1:1)","1","physicalMode","192.168.85.130"

"test13","[datastoreEC] test11/test_5.vmdk","0","Hard disk 3","SCSI(2:1)","2","physicalMode","192.168.85.131"

 

add-exsting-rdm.ps1


Import-Csv "sharedisk.csv" -UseCulture | %{
$vms = $_.VM
$HD = $_.
$Diskpath = $_.filepath
$hd=$_.HDLabel
#SC=$_.ControllerID
$vm = Get-VM -Name $VMs
$ctrl1 = New-ScsiController -HardDisk $hd -BusSharingMode Physical -Type VirtualLsiLogicSAS
New-HardDisk -VM $vm -DiskPath $Diskpath -Controller $sc

$spec = New-Object VMware.Vim.VirtualMachineConfigSpec
$spec.DeviceChange += New-Object VMware.Vim.VirtualDeviceConfigSpec
$spec.deviceChange[0].device += $ctrl1.ExtensionData
$spec.deviceChange[0].device.Key = -101
$spec.deviceChange[0].operation = "add"

$spec.DeviceChange += New-Object VMware.Vim.VirtualDeviceConfigSpec
$spec.deviceChange[1].device += $hd1.ExtensionData
$spec.deviceChange[1].device.Key = -102
$spec.deviceChange[1].device.ControllerKey = -101
$spec.deviceChange[1].operation = "add"

$vm.ExtensionData.ReconfigVM($spec)

}

VMware View Upgrade

Unable to Restore Resource Pool Setting for Hosts - vSan

$
0
0

Hi all,

 

 

I have an ESXi version 6.0.0 build 4510822 that shows me the following error in red, in the middle of the console:

 

 

"Unable to restore Resource Pool Settings for hosts/vim/vmvisor/vsanperfsvc it is possible hardware or memory constraints have changed. please verify settings in the vsphere client"

 

 

I don't understand this error given that my company doesn't have the license for DRS, that means that we do not have any resource pool created.

The ESXi is running on a Dell PowerEdge R730xd. Also, we have the last version of vsan, with the most recent firmware and drivers updates.

 

 

Has anyone seen this error before?

Any advices?

 

 

Thanks

Mapping VSAN Datastore to another physical server

$
0
0

Hi All,

 

Is there any possible way to Map the datastore created by VSAN to another physical server as like normal LUN?

 

Is that possible to map the VSAN datastore as like RAW device to a virtual machine in same cluster?

 

kind help is much appreciated.

VMtools Report

$
0
0

Hey all,

 

I got a script that shows if a vm doesn't have tools installed or is not the most current. The only problem I have is it will report a VM even if it is shutdown showing the tools are not installed.  Here is the script:

 

Get-View -ViewType VirtualMachine -Property Config.Template,Name,Guest.ToolsStatus -Filter @{

  "Config.Template"="False";"Guest.ToolsStatus"="^(?!toolsOk$).*$" ;"Name"="^((?!_replica).)*$"} |

Select-Object Name,@{Name="ToolsStatus";E={$_.Guest.ToolsStatus}}

 

Thanks for any help on this,

Andy


Bluetooth Low Energy

$
0
0

Hello,

I am running Windows 10 in VMWare Workstation Pro and I want to be able to detect Bluetooth devices. I followed the steps to configure the VM and I can detect most of the devices, but not those that are Bluetooth Low Energy.

How can I detect Bluetooth Low Energy (BLE) devices from VMWare?


Thank you

Vmware Horizon client for remote access

$
0
0

I would like to customise it so that he msi contains the server path ect so that staff can download the msi file and with all this already filled in and can just log in.

техподдержка Essentials Kit

$
0
0

Нужно:

 

Subscription only for 6 Essentials Kit for 1 year

VS6-ESSL-SUB-C

 

Есть:

 

vCenter Server 6 Essentials

1 INSTANCE(s)

vSphere 6 Essentials

6 CPU(s)

 


Будет ли возможна хоть какая-то техподдержка при покупки этой подписки?

Strange error deploying using OScustomizationspec

$
0
0

I"m getting the following error while trying to deploy using OScustomizationSpec.   Can someone help me out?

 

New-VM : 11/11/2016 9:08:52 AM    New-VM        The operation for the entity "TestTemplate" failed with the following message: "A specified parameter was not correct.

spec.options.changeSID"    At H:\Powershell scripts\vmcreate.ps1:16 char:1

+ New-VM -Name nbstemp001 -Template $template -VMHost $vmHost -OSCustomizationSpec ...

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

    + CategoryInfo          : NotSpecified: (:) [New-VM], InvalidArgument

    + FullyQualifiedErrorId : Client20_TaskServiceImpl_CheckServerSideTaskUpdates_OperationFailed,VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM

 

 

Script for the error above:

$template = "testtemplate"

$vmhost = "esxiserver"

$sid = $true

 

 

Connect-VIServer 192.168.1.1

 

 

 

 

# 1. Create a simple customizations spec

$custSpec = New-OSCustomizationSpec -Type nonPersistent -OSType Windows -OrgName SomeBusiness -FullName Dude -Domain domain.ad  –DomainUsername user –DomainPassword password

Set-OSCustomizationSpec -OSCustomizationSpec $custSpec -ChangeSID $sid

 

# 2. Modify the default network customization settings

$custSpec | Get-OSCustomizationNicMapping | Set-OSCustomizationNicMapping -IpMode UseStaticIP -IpAddress 192.168.1.2 -SubnetMask 255.255.255.0 -Dns 192.168.1.4 -DefaultGateway 192.168.1.3

 

# 3. Deploy a VM from a template using the newly created customization:

New-VM -Name nbstemp001 -Template $template -VMHost $vmHost -OSCustomizationSpec $custSpec

Cannot upload VM from Fusion 8.5 to ESXi 5.5

$
0
0

Hoping somebody with a bit more experience with this tech can help me out here.

 

My environment -

iMac with Fusion 8.5 pro - running a handful of VMs with no apparent problems

Dell PowerEdge with ESX 5.5 - also running a handful of VMs with no apparent problems

 

I'm trying to offload one of the VMs from the Mac to the server - it's a simple Windows XP machine (required for one legacy application and isolated with no internet access). I connect to the ESX host OK from Fusion and see my list of VMs running on that host. I select the Fusion VM then I try to "Upload to server". It prompts me to select the ESX host, then a datastore, then immediately fails with an error "Failed to open disk: Windows XP Professional.vmdk".

 

The Fusion VM is set for hardware version 10, which lists ESX 5.5 as compatible. There is plenty of space on the datastore (the VM has a 130Gb disk, there is 470Gb of free space on the store). I've tried more than one datastore too just to see what happens but get the same result. I don't have a spare ESX server to try uploading this machine to.

 

I've read and re-read the steps listed for this process in the online help and I'm following them correctly.

 

I've tried completely closing Fusion, rebooting the Mac then trying the upload before doing anything else in Fusion - still fails the same way.

 

Google turns up some posts in this forum and elsewhere that describe similar problems but the solutions suggested don't appear to apply (e.g. checking for CDROM devices attached to ISO files, mine are attached to the host machine drive, making sure I'm not trying to upload a VM while it's powered up, etc).

 

Some workarounds were mentioned involving Workstation 11 on Windows... which I don't have. I do have VSphere client running on Windows though if that's useful.

 

Any suggestions?

Viewing all 178776 articles
Browse latest View live


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