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

Storage Performance Degradiaton Issue On Local Storage

$
0
0

Hello,

 

Currently, I run a ESXi 6 physical host. It has the following specs:

 

2 x Intel Xeon V3-2630 CPU - 8 physical cores

128 GB RAM

2 Quad-Port NICs

4 On Board NICs running Tntel NICs

9 SAS Drives

3 SSDs

1 Adaptec 72405 RAID Controller

 

I've noticed when I transfer files between disks on Guests VMs while running on top of the ESXi Hypervisor, the storage speed is very, very slow.

 

When I disconnect ESXi and put a Windows Server 2012 R2 Datacenter as a hypervisor, the speeds return to normal.

 

To more specific, when transferring a large 100 GB file from disk 1 to disk 2 on a guest VM (or VM-to-VM or within the VM from one of its VMFS disk that is located on one physical disk to another VMFS disk located on  another physical disk), storage performance goes initially in the first second at 60 Mb/s for read/write speeds to sustained transferred speeds of only 10 Mb/s for the next hour.

 

The physical disk are local storage. Each one of my physical hard drives (Seagate Constellaiton 4 TB at 7200 RPMs) are then connected via a Norco RPC-4224 Chasis. It has 24 bays. It is then connected to my Adaptec 7 Series RAID Controller, which is also connected via the PCI slot.

 

I have alraedy tried to troubleshoot this issue. I've done these things alrady:

  1. I ran diagnostics.
  2. I've disconnected the ESXi boot disk, and booted in Microsoft Windows Server 2012 R2. On a Windows box, I can get read and write speeds at 140 -160 MB/s. But I don't know why I am getting only 10 Mb/sec on ESXi. And that's a huge difference!
  3. I also disconnected each of the physical drives and plugged my physical hard drives into the motherboard's onboard SATA/SAS ports.
  4. I've also went into the ESXi Advanced Settings to play around with the "Disk" settings. After all this troubleshooting, I am still getting the same problem.
  5. Already upgraded the storage drivers from Microsemi for the Adaptec 7 Series RAID card, and even updated the firmware/BIOs for the motherboard.

 

Any ideas how I can resolve this?


VMware Announces Fusion and Fusion Pro 8.5, Workstation Player and Pro 12.5

$
0
0

See: VMware Announces Fusion and Fusion Pro 8.5 With Sierra and Windows 10 Anniversary Support - Mac Rumors

 

I have seen no official announcement on VMware's website yet. According to the article, VMware Fusion 8.5 and Fusion Pro 8.5 are free upgrades for Fusion 8 users.

 

I hope it fixes my two pet bugs: "Unity windows constantly grab focus" and "Virtual Machine Library mini windows don't display current virtual machine screen".

 

Window focus issues in Unity mode

Windows apps steal focus after choosing app from Mission Control using Unity

 

Mini Windows in Virtual Machine Library Do Not Update?

Thinapp error

$
0
0

Whenever I try to open a portable program created with Thinapp I get an error message like :" ThinApp has encountered an unexpected error.Click Abort to close the application, Retry to debug,or Continue to ignore the error. Support info:PID=5408, Runtime2.cpp@841".

You can not go on and have to close the program.

What can I do to get it working again ?

OS : Win 7 64 bit Home premium

vRealize Log Insight function

$
0
0

dear all

Hi

 

i have question about vRealize Log Insight

i have read document about that but realy could not understand exactly how can this help me ?

can it collect log and analyze them ?

VMware EXsi 6.0 not able to recognize DELL MD3420 storage

$
0
0

Hi

i am running VMware EXSI 6.0 on HP DL380 G9 server and have installed HP HBA H241 12Gb SAS Card to connect to DELL MD3420 series Storage Array but i am unable to recognize any storage LUNS on my ESxi can anyone please help me with how could the issue be solved

also i have attached Images for your reference

индикация отсутствия подкаталогов

$
0
0

имеется система "2003 server enterprise x86 r2 sp2", в проводнике которой оченьчасто нужно иметь дело с сетевыми дисками

 

проблема в том, что:
1) если это обычный диск (ntfs), то проводник чëтко и мгновенно отображает наличие или отсутствие подкаталогов:
- нет подкаталогов - нет и никакой индикации
- есть нераскрытые подкаталоги - отображается плюс
- есть раскрытые подкаталоги - отображается минус

 

2) но в сетевых дисках (hgfs) плюс отображается даже если подкаталогов нет, что безумно неудобно

 

долгие поиски ни к чему не привели. есть ли какие-то способы изменить поведение проводника?

 

к слову, в программе xyplorer (паршивой во многих аспектах, но тем не менее) такой проблемы нет из-за наличия этих пунктов в настройках:
Configuration > Tree and List > Tree > Check existence of subfolders in tree
Configuration > Tree and List > Tree > In network locations as well

Thin provisioned VM LUN report

$
0
0

Hi All,

 

I am looking to analyze the thin provisioned VM's  LUN report to find out whether the LUN is running out of space or not. How much space provisioned and how much left.

 

Basically to see if any risk involved if the thin the provisioned VM's needs disk in future. Can we pull from power cli script ?  Thanks in advance

 

Thanks

vmk2014

VDP 6.1.2 appliance can't connect to vCenter after initial configuration

$
0
0

I've deployed VDP 6.1.2 and the configuration went smoothly (test connection to vCenter with proper permissions worked successfully), but after the the appliance rebooted it hung at 70% complete for the VDP:Configure appliance task.  In the /usr/local/avamar/var/vdr/server_logs/vdr-server.log the VDP appliance can't connect to the vCenter server.  Any idea as to how to fix this?  Is there a config file I need to update?

 

2016-08-24 12:30:32,895 INFO  [Thread-7]-vi.ViJavaServiceInstanceProviderImpl: vcenter-ignore-cert ? true

2016-08-24 12:30:33,007 WARN  [Thread-7]-vi.VCenterServiceImpl: No VCenter found in MC root domain

2016-08-24 12:30:33,008 INFO  [Thread-7]-vi.ViJavaServiceInstanceProviderImpl: visdkUrl = https:/sdk

2016-08-24 12:30:33,008 ERROR [Thread-7]-vi.ViJavaServiceInstanceProviderImpl: Failed To Create ViJava ServiceInstance owing to Remote VCenter connection error

java.rmi.RemoteException: VI SDK invoke exception:java.lang.IllegalArgumentException: protocol = https host = null; nested exception is:

        java.lang.IllegalArgumentException: protocol = https host = null

        at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:139)

        at com.vmware.vim25.ws.VimStub.retrieveServiceContent(VimStub.java:2114)

        at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:117)

        at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:95)

        at com.emc.vdp2.common.vi.ViJavaServiceInstanceProviderImpl.createViJavaServiceInstance(ViJavaServiceInstanceProviderImpl.java:297)

        at com.emc.vdp2.common.vi.ViJavaServiceInstanceProviderImpl.createViJavaServiceInstance(ViJavaServiceInstanceProviderImpl.java:159)

        at com.emc.vdp2.common.vi.ViJavaServiceInstanceProviderImpl.createViJavaServiceInstance(ViJavaServiceInstanceProviderImpl.java:104)

        at com.emc.vdp2.common.vi.ViJavaServiceInstanceProviderImpl.createViJavaServiceInstance(ViJavaServiceInstanceProviderImpl.java:96)

        at com.emc.vdp2.common.vi.ViJavaServiceInstanceProviderImpl.getViJavaServiceInstance(ViJavaServiceInstanceProviderImpl.java:74)

        at com.emc.vdp2.common.vi.ViJavaServiceInstanceProviderImpl.waitForViJavaServiceInstance(ViJavaServiceInstanceProviderImpl.java:212)

        at com.emc.vdp2.server.VDRServletLifeCycleListener$1.run(VDRServletLifeCycleListener.java:71)

        at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.IllegalArgumentException: protocol = https host = null

        at sun.net.spi.DefaultProxySelector.select(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)

        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)

        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)

        at com.vmware.vim25.ws.WSClient.post(WSClient.java:216)

        at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:133)

        ... 11 more

2016-08-24 12:30:33,009 INFO  [Thread-7]-vi.ViJavaServiceInstanceProviderImpl: Retry ViJava ServiceInstance Acquisition In 5 Seconds...


PowerShell alpha for MacOS/Linux

packet tagging with VLAN ID in Esxi 6.

$
0
0

Hi!

I have a questuion about how does vlan tagging works in ESXI.

 

I have an ESXI v6, which is connected to Cisco router.

On EXSI, i created Virtual Machine port goup for vlan 911, linked it to Vmnic 0 (it is the only active NIC on server). I set vlan ID to 911 value.

Also, i created Virtual machine and assigned its interface to VLAN911 Virtual Machine port goup.  But on the Cisco router, i can see this WM mac address in vlan 1 (untagged, instead of 911 tagged)


So, i have two questions:

1) If i set vlan ID on Virtual Machine port goup, does it mean, that ESXI will add tag to packet that leave VMNIC?

2) If not, how to force ESXI add this tag?


Thanks!

Using Get-View and LinkedView to show missing connections to datastores in datastore clusters

$
0
0

I'm trying to write a small PowerCLI function to show which hosts are missing datastore connections in a datastore clusters. This is the same information you see in the web client when going to the DatastoreCluster -> Monitor Tab -> Connectivity -> Clusters & click on one of the clusters. It then shows each host in the cluster, number of datastores mounted, and any details (such as missing connection to XYZ).

 

I was trying to do it with Get-View using the LinkedView and UpdateViewData calls, but I'm having a bit of trouble. I'm able to get the DatastoreCluster, and I can parse through each individual datastore. The problem I'm running into is I'm only able to find the associated host's moref, and not the LinkedView data that would give me the hostname instead. I know I can get it with a (Get-VMHost -ID $moref).Name, but I was thinking that would be less efficient/slower than doing it with the Get-View / LinkedView / UpdateViewData route. I'd like to be able to do something along the lines of:

$DSView.Host[0].Name

$DSView.LinkedView.Host[0].Name

 

###############

 

$DatastoreCluster="MyDatastoreClusterName";

$DSClusterView = Get-View -ViewType StoragePod -Filter @{"Name"="^$DatastoreCluster$"} -Property Name;

$DSClusterView.UpdateViewData("ChildEntity.Name");

$DSClusterName = $DSClusterView.Name;

 

# Select the first datastore in the datastorecluster

$DSView = $DSClusterView.LinkedView.ChildEntity[0];

$DSView.UpdateViewData("Host")

 

# Print the name of the datastore

$DSView.Name;

 

# Show all hosts that have this datastore mounted:

$DSView.Host

 

#####

 

PowerCLI C:\> $DSView.Host[0]

Key                  MountInfo                LinkedView

---                  ---------                ----------

HostSystem-host-4302 VMware.Vim.HostMountInfo

 

PowerCLI C:\> (Get-VMHost -id ($DSView.Host[0].Key)).Name

myesxhost.some.fqdn.com

how to export ESX host module using PowerCLI or other way for vSphere ESX 4.0 host

$
0
0

Dear all,

 

I have write a  powercli script which can gen ESX host module info,  but below are listed some errors when I run in my environment ( my environment is very large, it includes several VC and thousands of ESXi host which version have from ESX4.0 to ESX5.5.)   I check some other reply that the error was caused by ESX 4.0 host in my current environment(ESX 4.0 is not support for get-esxcli ).   somebody could to double check it? and have any good method to gen ESX 4.0 host module info via powercli or other ways?   I am looking forward to your kindly reply, thanks.

 

 

@@

 

$vCenterServerList="10.235.117.97","10.235.127.66"

foreach($vCenterServerin$vCenterServerList) {

Connect-VIServer-Server$vCenterServer-Userzhulei-Password"******"

$vmhosts=Get-VMHost

$result= @()

foreach( $vmhostin$vmhosts ){

$esxcli=get-esxcli-vmhost$vmhost

$result+=$EsxCli.software.vib.list() | where {$_.Name -match"megaraid-sas"} | select Name,Version,Vendor,CreationDate,@{n="VMhost";e={$vmhost.name}}
#$result += $EsxCli.software.vib.list() | where {$_.Name -match "igb"} | select Name,Version,Vendor,CreationDate,@{n="VMhost";e={$vmhost.name}}
}
}

$resultexport-csv-pathD:\megaraid_modules_all.csv-notype


Error

Name Port User
---- ---- ----
10.235.117.97 443   zhulei
Get-EsxCli : 2016/8/31 11:00:37    Get-EsxCli        Message: An error occurred while communicating with the remote host.;

InnerText:   

;
InnerText:    
所在位置 D:\PowerCLI\get_ESXiModule.ps1:17 字符: 23
+         $esxcli = get-esxcli <<<<  -vmhost $vmhost
    + CategoryInfo : NotSpecified: (:) [Get-EsxCli], HostCommunication
    + FullyQualifiedErrorId : Client20_DynamicTypeManagerServiceImpl_GetMoInstances_ViError,VMware.VimAutomation.ViCore.Cmdlets.Co
   mmands.GetEsxCli

不能对值为空的表达式调用方法。
所在位置 D:\PowerCLI\get_ESXiModule.ps1:19 字符: 39
+         $result += $EsxCli.software.vib.list <<<< () | where {$_.Name -match "megaraid-sas"} | select Name,Version,Vendor,Creatio
nDate,@{n="VMhost";e={$vmhost.name}}
    + CategoryInfo : InvalidOperation: (list:String) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull


PowerCLI and Jenkins shell

$
0
0

Hi all,


So I've been doing some experimentation with Jenkins and Power CLI to produce some HTML reports on the fly in concert with our QA/Web page monitoring.  Jenkins was a freely available platform to allow us to run a job to report on the environment.  There's other platforms and totally get that, but this is a cheap/free setup that we can run on demand for a quick health check of an environment for us.    I have been setting up a bunch of powershell scripts to check status and produce the HTML reports.  However, I attempted to add VM info into the report using PowerCLI, and then discovered that PowerCLI is not capable of loading within the Jenkins session.   I was curious to know why this maybe happening.  Heres the output from the shell within Jenkins:

 

 

 

Get-PowerCLIVersion : The term 'Get-PowerCLIVersion' is not recognized as the name of a cmdlet, function, script file, or operable program.

Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Scripts\Initialize-powerclienvironment.ps1:78 char:12 + $version = Get-PowerCLIVersion +        

~~~~~~~~~~~~~~~~~~~ + CategoryInfo          : ObjectNotFound: (Get-PowerCLIVersion:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

Get-PowerCLIVersion : The term 'Get-PowerCLIVersion' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

At C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Scripts\Initialize-powerclienvironment.ps1:129 char:12 + $version = Get-PowerCLIVersion +          

~~~~~~~~~~~~~~~~~~~ + CategoryInfo          : ObjectNotFound: (Get-PowerCLIVersion:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

Welcome to VMware vSphere PowerCLI!

Log in to a vCenter Server or ESX host:             

Connect-VIServer To find out what commands are available, type:      Get-VICommand

To show searchable help for all PowerCLI commands:  Get-PowerCLIHelp

Once you've connected, display all virtual machines: Get-VM

If you need more help, visit the PowerCLI community: Get-PowerCLICommunity

Copyright (C) VMware, Inc. All rights reserved.

 

connect-viserver : The term 'connect-viserver' is not recognized as the name

of a cmdlet, function, script file, or operable program. Check the spelling of

the name, or if a path was included, verify that the path is correct and try

again.

 

It seems to error out as the "Initialize-POWERCLIEnvironment.ps1", however I'm uncertain why this is occurring.    Does anyone have any ideas why this maybe the case?  I'm able to initialize outside of the Jenkins environment/shell and I have a service account running Jenkins, as I initially thought it maybe a problem with the system context being used.    However that doesn't seem to be the case.  Any ideas why it would have a probem with the initial PowerCLIVersion cmdlet?

Powercli script to pull dead paths on esxi hosts in cluster

$
0
0

Hi Luc,

          please help and give the script to pull the dead paths and export to .csv file on esxi hosts in cluster.

Note: we are using the power path on hosts, Esxi version is 5.0

Get full folder path for Templates

$
0
0

Hello

 

I am trying to solve a issue that we have in our environment.

We have massive template sprawl and  I am trying to get the full path to every template that we have.  There is a very nice function that does this for VM's but nothing is out there for templates and modifying it  to accept get-view doesn't work.

 

I was wondering if any one else has run into this and has a nice way to get the information out with powercli.

 

Thanks


SRM 6.1.1 + Powercli not working after upgrade from 5.1

$
0
0

Hi All,

 

we recently upgraded our virtual infrastructure to vmware 6.0 and SRM 6.1.1.

Now we are facing an issue with a powercli/powershell script that we call from a step in a recovery plan.

 

It only executes parts of the script.

- netapp sra command are working.

- vmware commands are not working

- set ip address commands are working.

 

but when i execute it directly on the srm server the whole script runs perfectly.

What am i missing?

 

SRM 6.1.1.13171

Powercli 5.5.0.5836

VMware VIX 1.12.1.33347

Data ONTAP Powershell Toolkit 3.0.0.90

NetApp SRA 2.1P

 

powershell Execution policy set to RemoteSigned

 

command in recovery step executed on SRM server:

c:\windows\system32\cmd.exe /C d:\scripts\host\redirect.cmd d:\scripts\host\create_dbserver_clone_4_test.ps1 > d:\Logs\host.log

 

redirect.cmd:

@echo off

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -psc "C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\vim.psc1" "& '%1'"

 

create_dbserver_clone_4_test.ps1:

see attachment (passwords,hostnames, users and ip addresses are not the real ones of course)


Kind Regards


Ruurd Bakker

vRA 6.2.4 create a IaaS user? Trying to deploy with a service account but can't reassign the asset.

$
0
0

I am using vRA 6.2.4 and we are trying to use a service account to execute the deployment so that the items in question do not appear in the catalog when the user logs in.  We are using another front end to manage the requests.  This works fine for users which have previously been the owner of an IaaS asset.  It seems like an IaaS user must not be created until that point.  I need a way of creating this so that I can reassign the system once it has been deployed.  Is there a way of creating the user via the api?  I'm using the reconfigure action on the catalog resource to accomplish this but it requires a userID which like I said does not exist.  I've got a bit of chicken and the egg going on right now.  If there is a better way to accomplish what I am trying to do I am open to modifying the procedure.  If I have to I can switch to deploying it on behalf of the user which I know works but I can't hide the items in the catalog (at least I don't think I can).

 

 

Here are some releveant snippets.  item is the catalogResource

 

var operations = item.getOperations();

 

for each (var op in operations) {

  System.log(op.name + "::" + op.id);

  if (op.name.toUpperCase() === "RECONFIGURE") {

  var reconfigOp = op;

  break;

  }

}

 

var inputs = new Properties();

 

inputs.put("provider-operationId", "Infrastructure.Machine.Action.Reconfigure");

inputs.put("provider-Cafe.Shim.VirtualMachine.Owner", newOwnerId);

 

actionResult = System.getModule("com.vmware.library.vcaccafe.request").requestResourceAction(reconfigOp,inputs)



In the above code newOwnerId is set by the code in this action:


var modelName = 'ManagementModelEntities.svc';

var entitySetName = 'Users';

var headers = null;

var userID = "";

 

//Create properties for prefix entity

var properties = {UserName:userName};

//Read a list of entities

var entities = vCACEntityManager.readModelEntitiesByCustomFilter(host.id, modelName, entitySetName, properties, headers);

if (entities.length > 0)

  userID = entities[0].getProperties().get("UserID")

else

  System.debug("Could not find user with username : " + userName);

 

System.debug("userID : " + userID);

return userID;

i lost vmware password

$
0
0

im using sap software but i lost passwd vmware windows 2003 ecc6.0 vmms can u hellpe me plz

workstation player 12 installation fail on windows 10

$
0
0

I'm trying to install player 12 on Windows 10 (VMware-player-12.1.1-3770994.exe). It silently fails when run from desktop icon (as admin or not) and command prompt (also admin or not). Also disabling antivirus prior to install doesn't seem to make any difference.

It comes up with the splash screen, then a little dialog which is displayed and closed too fast to read then nothing...

There don't seem to be any error messages on the windows log.

Player 12 installs and runs flawlessly on Ubuntu.

Any suggestions for either getting it to install or figuring out why it isn't?

Cheers

Cannot use USB (with FTDI chip) of host in Guest. Driver error

$
0
0

Hello,

We try to use a USB device, which is connected to the host on a VMware Workstation 11 guest but we fail. The host USB device is listed in the VM under VM => Removable Devices but when we want to connect it (Disconnect from Host) we get the following error

 

The connection for the USB Device "blabla" was unsuccessful. Driver error

(sse screenshot)

 

We allready tried all the suggestions given in the article

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=774

"Problems using some USB devices in a virtual machine (774) "


But the the error continues to show up. We know, that the USB device contains a FTDI chip an I vaguely remember that it once worked with VMware workstation 8. Meanwhile we upgraded to VMware Workstation 11. I also tried to change the "Hardware Compatiblity" to  "Workstation 8.0" but to no avail.

 

Does anybody out there have an idea what we can do?

Many thanks in advance and best regards

Michael



Viewing all 178257 articles
Browse latest View live


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