Quantcast
Channel: VMware Communities: Message List
Viewing all 157656 articles
Browse latest View live

I get an error: "DSMOS: SMC returned incorrect key", pic inside. Won't boot.


Re: How to configure vmhost network for vMotion

Apple Mac OS X not showing up in list of 'Guest Operating Systems'?

$
0
0

As per title, when I go to make a new virtual machine, Apple Max OS X is not available anymore. This has only started happening since I updated VMWare Workstation Player 12, but I reverted to an older version and the problem is still there. What is going on? All help would be greatly appreciated!

Re: How to configure vmhost network for vMotion

Re: I get an error: "DSMOS: SMC returned incorrect key", pic inside. Won't boot.

$
0
0

Found the SOLUTION: Had to reinstall the Unlocker file

Re: Crashing Workstation Pro 12.5.0-4352439

$
0
0

Hi Balubeto,

 

There's a defect in Workstation Player/Pro 12.5 and Fusion 8.5 which causes this failure when rebooting a Windows 10 virtual machine using EFI firmware with a virtual XHCI (USB 3) controller.  We have a fix ready for the next patch release, but in the meantime, you may be able to work around the problem by downgrading the virtual machine from "USB 3.0" to "USB 2.0": With the virtual machine powered off, go into VM> Settings, then, on the Hardware tab, choose USB Controller.  In the USB Compatibility dropdown list, select USB 2.0 and then select the Save button.

 

Sorry for the trouble!

 

Cheers,

--

Darius

Re: Civilization VI does not run on vmware fusion 8.5

$
0
0

The system requirements for Civilization VI running on Windows note that a DirectX 11 video card is required. The emulated video adapter provided by Fusion 8.5 to Windows virtual machines supports DirectX 10.0, not DirectX 11. The minimum requirements are not met, so I'm not surprised that it's complaining about the card.

 

And no, there's nothing you can do from within Fusion to make it work. Until VMware changes it's virtual graphics adapter to support DX11, Windows games that require DX11 can't run.

 

You may have to run Civilization VI natively on your Mac (when it's ready), or run Windows directly on your Mac via Boot Camp. You'd have to see, though, if the adapter in your MacBook Air has Windows DX11 drivers that the game requires.

Re: ESXi 6.0 U2 - "Failed to deploy VM: postNFCData failed." - when importing a OVA template via ESXi Host Client 1.5.0.

$
0
0

I tried this .vib and it did not seem to work for me.   Used current Firefox on OSX Sierra.


Problem when loading Win10x64 Home Edition created with VMWare vCenter Converter on WMWare 12 Pro.

$
0
0

Dear all,

hope you are all fine.

 

           I use Win10x64 Home Edition.

For creating the VM guest, I am using VMWare vCenter Converter Standalone client version 6.1.1

I use vm12 Pro.

 

Actually, I am trying to create a VM machine using VMWare vCenter Converter Standalone client version 6.1.1. My laptop has initially Win10x64 installed when I bought it, when creating the VM guest machine I had no issue but when I upload it with WMWare 12 Pro I have a blue screen saying :

 

                                Your PC ran into a problem and needs to restart. We’ll restart for you.

                                …

                                …

                                Stop Code: KMODE EXCEPTION NOT HANDLED

 

It restarts but still blue screen.

See the attached files for more explanation.

 

If anyone can help,

thank you.

 

KM

Problem when loading Win10x64 Home Edition created with VMWare vCenter Converter on WMWare 12 Pro.

$
0
0

Dear all,

hope you are all fine.

Actually, I am trying to create a VM machine using VMWare vCenter Converter Standalone client version 6.1.1. My laptop has initially Win10x64 installed when I bought it, when creating the VM guest machine I had no issue but when I upload it with WMWare 12 Pro I have a blue screen saying :

 

                                Your PC ran into a problem and needs to restart. We’ll restart for you.

                                …

                                …

                                Stop Code: KMODE EXCEPTION NOT HANDLED

 

It restarts but still blue screen.

See the attached files for more explanation.

 

If anyone can help,

thank you.

KM

Re: Need all VM locations and Migrations for Oct 4 2016

$
0
0

Can you give the error messages you are receiving when you run the scripts?

Re: PowerCLI Report :Getting inventory VMs from ESX cluster hosts

$
0
0

The $global:defaultviservers variable is empty as long as no successful Connect-VIServer is executed.

 

When I have a property that can be an array (like IP addresses), I join the values together with a '|' separator.

Something like this

 

      Select-Object-Property @{N="vCenter";E={$vCenterServer.Name}},

        @{N="VMHost";E={$VMHostTable["$($_.Runtime.Host.Value)"]}},

        @{N="VM";E={$_.Name}},

        @{N='VM IP Adrressess';E={$_.guest.IPAddress -join'|'}},

        @{N="Guest OS";E={$_.Guest.GuestFullName}},

        @{N="Notes";E={$_.Config.Annotation}},

        @{N="Datastores";E={

            $DatastoreNames=foreach ($Datastorein ($_.Datastore))

              {$DatastoreTable["$($Datastore.Value)"]}         

            [string]::Join(',',($DatastoreNames))

          }

        },

        @{N="VMware Tools version";E={$_.Config.Tools.ToolsVersion}}

Re: How do I get the UUID of a cluster

$
0
0

Not exactly sure what you mean by the cluster UUID?

 

An ESXi node has a UUID, that one you can get as follows

 

foreach($clusterinGet-Cluster){

    Get-VMHost-Location$cluster|

    Select @{N='Cluster';E={$cluster.Name}},

        Name,

        @{N='UUID';E={$_.ExtensionData.Hardware.SystemInfo.Uuid}}

}

 

Or do you mean the UID?

 

Get-Cluster|SelectName,Uid

Re: Esxi host config settings

$
0
0

Try something like this.

Note that due to the inner loop of the iSCSI HBA there will be a lot of redundant information in the resulting CSV

 

$report=forEach ($vhostin (Get-Cluster"cluster"|Get-VMHost|Sort-Object-PropertyName)){

    $esxcli=Get-Esxcli-VMHost$vmhost

    $services=Get-VMHostService-VMHost$vhost

    $advanced=Get-AdvancedSetting-Entity$vhost

    $fw=$esxcli.network.firewall.ruleset.list()

    $snmp=$esxcli.system.snmp.get()

 

    foreach($iscsiin (Get-VMHostHba-VMHost$vhost-TypeIScsi)){

        $vmhost|SelectName,

            @{N=“NTPServer“;E={$_|Get-VMHostNtpServer}},

            @{N=“NTPServiceRunning“;E={($services|Where-Object {$_.key-eq“ntpd“}).Running}},

            @{N='TSM';E={$services|Where {$_.key –eq"TSM"} |Select-ExpandPropertyRunning}},

            @{N='TSM';E={$services|Where {$_.key –eq"TSM-SSH"} |Select-ExpandPropertyRunning}},

            @{N='TSM';E={$services|Where {$_.key –eq"DCUI"} |Select-ExpandPropertyRunning}},

            @{N='Syslog.loggers.syslog.size';E={$advanced|where{$_.Name -eq'Syslog.loggers.syslog.size'} |select-ExpandPropertyValue}},

            @{N='Syslog.loggers.syslog.rotate';E={$advanced|where{$_.Name -eq'Syslog.loggers.syslog.rotate'} |select-ExpandPropertyValue}},

            @{N='Syslog.global.logHost';E={$advanced|where{$_.Name -eq'Syslog.global.logHost'} |select-ExpandPropertyValue}},

            @{N='UserVars.ESXiShellTimeout';E={$advanced|where{$_.Name -eq'UserVars.ESXiShellTimeout'} |select-ExpandPropertyValue}},

            @{N='Syslog.global.logDirUnique';E={$advanced|where{$_.Name -eq'Syslog.global.logDirUnique'} |select-ExpandPropertyValue}},

            @{N='FW iSCSI';E={$fw|where {$_.Name -eq"iSCSI"} |select-ExpandPropertyEnabled}},

            @{N='FW CIMHttpServer';E={$fw|where {$_.Name -eq"CIMHttpServer"} |select-ExpandPropertyEnabled}},

            @{N='FW SNMP';E={$fw|where {$_.Name -eq"snmp"} |select-ExpandPropertyEnabled}},

            @{N='FW ftpClient';E={$fw|where {$_.Name -eq"ftpClient"} |select-ExpandPropertyEnabled}},

            @{N='FW nfsClient';E={$fw|where {$_.Name -eq"nfsClient"} |select-ExpandPropertyEnabled}},

            @{N='SNMP Enable';E={$snmp|select-ExpandPropertyEnable}},

            @{N='SNMP Port';E={$snmp|select-ExpandPropertyPort}},

            @{N="LockDown";E={$_.Extensiondata.Config.adminDisabled}},

            @{N="Net.DVFilterBindIpAddress";E={$_|Get-AdvancedSettingNet.DVFilterBindIpAddress|Select-ExpandPropertyValues}},

            @{N='iSCSI Device';E={$iscsi.Device}},

            @{N='iSCSI ChapType';E={$iscsi.ChapType}},

            @{N='iSCSI ChapName';E={$iscsi.AuthenticationProperties.ChapName}}

    }

}

 

$report|export-csvC:\Tempfile\hostconfig.csv-notypeinformation

Upgrade for BUGS/FIXES for ESXI 5.5

$
0
0

Dear All,

 

I need to know how to install UPDATES for BUGS/FIXES for ESXI 5.5. I will appreciate is someone help me telling the Procedure


VRO same workflow concurrent execution is getting failed

$
0
0

I have one VRO workflow and it will contact the remote DB server and execute series of actions , Only 2 VRO requests can be processed at a time by the DB server & upstream application due to some restriction (imagine like that ).  Suppose 10 or more requests are getting and it's trigger the concurrent execution .  Anybody have any idea to make remaining in a queue and push only two requests at a time , after that we need to release another two

Re: PowerCLI Report :Getting inventory VMs from ESX cluster hosts

$
0
0

many thanks for your answer. Using the following PowerCLI script I was able to see all VMs on the ESX Cluster hosts. Actually I was asking question for below script. So How can I export output of this script to CSV format?  Also how can I adapted DefaultVIServers variable this script ?

Secondly  , I want to to find out if the Tools were updated correctly is to check the build number of the Tool. is there is another variable that would do the trick in powercli ? So  it would be something like  9.4.10.38250 (Build-2092844).



 

 

 

 

foreach($vmin (Get-View-ViewTypeVirtualMachine-PropertyName,runtime.powerState,Guest.net,Config.Hardware.numCPU,Config.Hardware.MemoryMB,Runtime.Host,Guest.GuestFullName,
Config.GuestFullName,Parent,ResourcePool,Config.Hardware.Device,Config.version,Config.Tools.ToolsVersion,guest.toolsversionstatus,
Config.Files.VMPathName)){
   
$t=Get-View$vm.ResourcePool-PropertyName,Parent
   
while($t.getType().Name-eq"ResourcePool"){
     
$t=Get-View$t.Parent-PropertyName,Parent
    }
       
if($t.GetType().Name-eq"ClusterComputeResource"){
       
$cluster=$t.Name
        }
       
else{
           
$cluster="Stand Alone Host"
        }
   
while($t.getType().Name-ne"Datacenter"){
       
$t=Get-View$t.Parent-PropertyName,Parent
    }
   
$datacenter=$t.Name
 
   
$vm.Config.Hardware.Device|where {$_.GetType().Name-eq"VirtualDisk"} |
   
Select@{N="VM";E={$vm.Name}},
   
@{N='powerState';E={$vm.runtime.powerState}},
   
@{N='IP';E={[string]::Join(',',($vm.Guest.Net|%{$_.IpAddress|where{$_.Split('.').Count-eq4} |%{$_}}))}},
   
@{N='NumCPU';E={$vm.config.Hardware.NumCpu}},
   
@{N='Memory GB';E={$vm.Config.Hardware.MemoryMB|%{[math]::Round($_/1kb,2)}}},
   
@{N='VMHost';E={$script:esx=Get-View-Id$vm.Runtime.Host;$script:esx.name}},
   
@{N='GuestOS';E={$vm.Guest.GuestFullName}},
   
@{N='ConfiguredOS';E={$vm.Config.GuestFullName}},
   
#@{N="Folder";E={$path}},
    @{N="Cluster";E={$cluster}},
   
@{N="Datacenter";E={$datacenter}},
   
@{N="Scsi";E={$_.UnitNumber}},
   
@{N="Hard Disk";E={$_.DeviceInfo.Label}},
   
@{N="Disk datastore";E={$_.Backing.Filename.Split(']')[0].TrimStart('[')}},
   
@{N="Disk capacity GB";E={$_.CapacityInKB|%{[math]::Round($_/1MB,2)}}},
   
@{N="Disk type";E={
           
if($_.Backing.GetType().Name-match"flat"){
               
"Flat"
            }
           
else{
               
$_.Backing.CompatibilityMode
            }}}
,
 
@{N='DeviceName';E={
   
if($_.Backing.GetType().Name-match'raw'){
     
$_.Backing.DeviceName
    }
   
else{
     
$script:lunnaa= (Get-View-Id$_.Backing.Datastore).Info.Vmfs.Extent[0].DiskName
     
$script:lun=$script:esx.Config.StorageDevice.ScsiLun|where{$_.CanonicalName-eq$script:lunnaa}
     
$script:lun.Descriptor|where{$_.Id-match'vml.'} |Select-ExpandPropertyId
    }}}
,
 
@{N='LUN NAA';E={
   
if($_.Backing.GetType().Name-match'raw'){
     
$lunUuid=$_.Backing.LunUuid
     
$script:lun=$script:esx.Config.StorageDevice.ScsiLun|where{$_.Uuid-eq$lunUuid}
     
$script:lun.CanonicalName
    }
   
else{
     
$script:lunnaa
    }}}
,
 
@{N='LUN ID';E={
     
$dev=$script:esx.Config.StorageDevice.PlugStoreTopology.Device|where {$_.Lun-eq$script:lun.Key}
     
$script:esx.Config.StorageDevice.PlugStoreTopology.Path|where {$_.Device-eq$dev.Key} |
     
Select-First1-ExpandPropertyLunNumber
    }}
,
 
@{N='VMConfigFile';E={$VM.config.files.VMpathname}},
 
@{N='VMDKPath';E={$_.Backing.FileName}},
 
@{N="HW Version";E={$vm.Config.version}},
 
@{N="VMware Tools version";E={$vm.Config.Tools.ToolsVersion}}   
 
@{N="Tools Status";E={$vm.guest.toolsversionstatus}},
 
@{N="NIC Name";E={($vm.config.hardware.device|where {($_.DeviceInfo.Label-like"Network*")}).DeviceInfo.Label}},
 
@{N="Mac";E={($vm.Config.Hardware.Device|where{$_.DeviceInfo.Label-like"Network*"}).MacAddress}},
 
@{N="Portgroup";E={
   
$nic=$vm.Config.Hardware.Device|where{$_.DeviceInfo.Label-like"Network*"}
    [
string]::Join(',',(
     
$nic|%{
     
if($_.DeviceInfo.Summary-notmatch'DVSwitch'){
       
$_.DeviceInfo.Summary
      }
     
else{
       
Get-View-ViewTypeDistributedVirtualPortgroup-PropertyName-Filter@{'Key'=$_.Backing.Port.PortgroupKey} |
       
Select-ExpandPropertyName
      }}))}}
}

Re: get VM CPU stats

$
0
0

Try something like this.

 

Note that the script will produce incorrect results should one of the VMs be poweredoff/poweredon during the interval.

To cover that situation, the script will need to be changed.

 

 

$clusterName='N-MMK-COOP-151-16'

$startDate=Get-Date27/9/2016

$finishDate=Get-Date18/10/2016

 

$vms=Get-Cluster-Name$clusterName|Get-VM

 

$report=Get-Stat-Entity$vms-Start$startDate-Finish$finishDate-CPU-ErrorActionSilentlyContinue|

Group-Object-PropertyTimestamp|Sort-Object-PropertyName|%{

    $obj=[ordered]@{

            Date =$_.Name

    }

    $_.Group |Group-Object-Property {$_.Entity.Name} |Sort-Object-PropertyName|%{

        $_.Group |Sort-Object-PropertyMetricId|%{

            $obj.Add("$($_.Entity.Name)/$($_.MetricId)",$_.Value)

        }

    }

    New-ObjectPSObject-Property$obj

}

 

$report|Export-CsvC:\report.csv-NoTypeInformation-UseCulture

Re: PowerCLI Report :Getting inventory VMs from ESX cluster hosts

$
0
0

You can use the 'VMware Tools Version' property, that is already in the report, to check if the latest VMware Tools are installed.

 

Try the attached script, I added a loop through all the connected vCenters and I added the export to a CSV.

Re: SRM permissions and powercli?

$
0
0

Not afaik

 

You could try to do this with pre-poweron scripts on the SRM server.

Viewing all 157656 articles
Browse latest View live




Latest Images