Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all 176561 articles
Browse latest View live

vmware-dataservice-sca status changed from yellow to green

$
0
0

Hello ,

 

Below  vCenter 6.0 U1 alarm frequently changing, any idea ?

 

alarm.VsphereClientHealthAlarm - Event: Status change (7582963) Summary: vsphere-client status changed from green to yellow Date: 9/21/2015 12:05:53 PM Arguments: componentId = vsphere-client componentName = vsphere-client newStatus = yellow oldStatus = green serviceId = vsphere-client

 

regards

Surya


How to view point in time concurrent workflow executions?

$
0
0

Some background:

  • Large highly available, distributed vRealize Automation 6.2.2 environment that spans 3 datacenters
  • 2 DEM workers per dc
  • 2 Proxy agents per dc
  • 1 Dem Orchestrator

 

The problem:

Last night we had a customer ask for 18 VMs on the same request. They received 14 of those VMs the other 4 changed to state 'BuildingMachine' but our workflow stubs never kicked off. Shortly after the audit log shows the state changing to 'Disposing' and lastly 'Finalized'. We have a hunch that there was an issue with concurrent number of workflows running that caused timeouts to occur, but when I looked into the logs on the DEM workers I wasn't able to gather anything that would indicate as such, and additionally there was no error given for why they failed. The request did return a status of failed and provided the customer with the 14 successfully provisioned VMs.

 

So my question is, how can I help track down what occurred here if there was no helpful error and I cannot find anything in the logs? Am I looking in the incorrect spots(DEM worker logs)? We are thinking that we may need to scale out the number of DEM workers in our environment to make sure that this does not happen again, but before we do that it would be nice to know if concurrent workflow executions were actually the issue we ran into.

 

If anyone has any experience with tracking this issue down that would be helpful, thanks!

How to avoid VM powering off if not used

$
0
0

Hello,

I am using M workstations to run some VMs.

When I don't use them for some minutes, they automatically power off. How can I change this set up?

many thanks

Issue with New-VM CMDlet

$
0
0

I have an issue. I am creating a script that will use the New-VM cmdlet as followed: New-VM -Name $_.Name -Template $_.Template -VMHost $_.DestinationHost -Datastore $_.Datastore -OSCustomizationSpec $_.CustomSpec -MemoryGB $_.MemoryGB -NumCpu $_.NumCpu

 

The issue I am having is when I start typing this command into Powershell it will initially autocomplete the parameters like -Name and -Template. But one I use the -Name parameter and then try to type -Template, powershell won't autocomplete the parameter. It doesn't even show up in the list of available parameters. If I try to use -Template first, I can then autocomplete the -Name parameter but then can't find the -Memory or -NumCpu parameter.

 

I am using PowerCLI 5.8 in my production environment and have also tried PowerCLI 6.3 Release 1. It happens all the same within Powershell. If I open the PowerCLI console window, everything autocompletes successfully. Am I missing something?

VMware Workstation 11.1.2 build-2780323 does not seem to recognize USB devices on Windows 10

$
0
0

I recently upgraded from Windows 7 Pro to 10 Pro. I had to run the installer again and repair the installation to get it to run. Now, however I have come to realize that no USB device are getting recognized by the guest OS. I do the usual stuff, i.e. with focus on the guest VM, go to removable devices and then connect the device in question. However the guest OS doesn't seem to pick up the fact that a USB device was connected. Is this a known issue with Workstation 11 and Windows 10? Any fix or troubleshooting I could do?

Windows 7 conversino fails at 98% "FAILED: A general system error occurred: InternalError"

$
0
0

Hi,

 

The migration from a windows 7 32 bit systems fails at 98%.

 

FAILED: A general system error occurred:
InternalError


See attachment fot the log file.


Can someone help?


Best regards,


Maurice

vmware http reverse proxy not starting

$
0
0

После перезагрузки не стартует сервис "VMware HTTP Reverse Proxy"

Система Windows Server 2012R2

VMWare 6

Еще установлен MSSQL 2012 и Veeam  Veeam Backup & Replication 9.

 

Подскажите как можно исправить ?

 

 

Служба "VMware HTTP Reverse Proxy" завершена из-за следующей внутренней ошибки:

Неверная функция.

 

-System

 

-Provider
[ Name] Service Control Manager
[ Guid] {555908d1-a6d7-4695-8e1e-26931d2012f4}
[ EventSourceName] Service Control Manager

 

-EventID7024

 

[ Qualifiers] 49152
Version0
Level2
Task0
Opcode0
Keywords0x8080000000000000
-TimeCreated

 

[ SystemTime] 2016-04-12T14:42:12.369463500Z
EventRecordID1310579
Correlation
-Execution

 

[ ProcessID] 584
[ ThreadID] 3712
ChannelSystem
ComputerVCenter.ххх.local
Security
-EventData

 

param1VMware HTTP Reverse Proxy
param2%%1
72006800740074007000700072006F00780079000000

Content Pack for MySQL

$
0
0

I was surprised to see that there was not a MySQL content pack.

 

Making this a tough sell to my RHEL team.

 

Any idea when a MySQL pack might come out?

 

Thanks!!!


Rouding error when computing svctm

$
0
0

Hi

 

I did some comparisons between Sigar and Linux iostat and I feel that the 'svctm' value computed by Sigar is not the same because of a rounding error.

 

Here below is the result on my computer:

 

Sigar iostat: svctm=0.05

Linux iostat: svctm=1.31

 

A manual computation using /proc/diskstats shows that the actual value of svctm is 1.31.


 

The value is computed with these following formulas in linux_sigar.c:

 

tput = ((double)ios) * HZ / interval;

util = ((double)(disk->time - iodev->disk.time)) / interval * HZ;

disk->service_time = tput ? util / tput : 0.0;

           

I think it would be better to use this following formula to avoid rounding error:

 

disk->service_time = ios ? ((double)(disk->time - iodev->disk.time)) / ((double)ios) : 0.0;

 

What do you think about it?

 

Regards

VDI клиент на Линукс

$
0
0

Коллеги,

подскажите такой момент есть развернутая инфраструктура на vmware viev 5.2. но вот захотелось в сети использовать тонкие клиенты по линуксом.

Это возможно или нет, поскольку по гаиду на линуксовый клиент варя говорит что нужна инфраструктура 5,3+ а в тоже время в матрице совместимости говориться что клиент вью 4,0 поддерживается без ограничений 5,2

vSphere Client could not connect to ""IP address"", An unknown connection error occurred.(The request failed because the remote server took too long to response. (The operation has time out))

$
0
0

I installed VMWare ESXi 6 in VMWare Workstation Pro12, and set up VMWare ESXi 6 a static IP address, installed VMWare vSphere Client on a VM running Windows Server 2008 R2 standard. I can ping the VMWare ESXi 6 static IP  from the VM which running the VMWare vSphere Client. but I am not able to connect. Please help me out, Thanks in advance!

Datastore browser times out

$
0
0

I'm using the ESX embedded host client, and it's a really welcome development, so thanks!

 

However, I find that I cannot browse the datastore at all, I get timeouts every time I try. Is there a log file somewhere I can look at to see what's happening? Has anyone else noticed this issue?

VSAN Node Crashed - R730xd - PF Exception 14 in world 33571: Cmpl-vmhba0- IP 0x41802c3abd44 addr 0x50

$
0
0

Anyone had a similar issue?

 

Host has a PERC H730p controller. Looks like the disks were resetting prior to the crash according to the system's lifecycle controller.

 

On call with Dell Support. Planning on a VMware support call too.

 

Thanks in advance!

Justin

 

2015-11-02 22_00_41-- Remote Desktop Connection.png

vsan.png

2015-11-02 22_29_53-- Remote Desktop Connection.png

Unable to add host to Vcenter

$
0
0

I am trying to add host on my Vcenter with it gives me error

"Add host (name) Cannot contact the specified host (10.32.xx.xx). The host may not be available on the network, a network configuration problem may exist, or the management services

on this host may not be responding."

 

I am not a Vm expert , can anybody help. Also I can ping the ESXi host and also login to ESXi directly from the Vspeher client.

Pls help.

Create a scheduled task to relocate VM and convert disk from thin to thick lazy

$
0
0

Hello everyone,

 

I need to create several scheduled task to relocate VM with Storage Migration.

The script create tasks reading infos from a csv file formatted with 2 column: VM,DestDatastore

The script is based on the one decribed in this article: http://www.lucd.info/2009/10/18/scheduled-tasks-methodaction/

Below my changes:

 

Param(  [Parameter(Mandatory=$True,Position=1)]  [string]$CsvFile
)


$startTime = [Datetime] $(Get-Date -format 'MM/dd/yyyy') + " 20:00"
$startInterval = 5  
$si = get-view ServiceInstance 
$scheduledTaskManager = Get-View $si.Content.ScheduledTaskManager  
$offset = 0 
Import-Csv $CsvFile | % {   $vm = Get-View -ViewType VirtualMachine -Filter @{"Name"=$_.VM}   $spec = New-Object VMware.Vim.ScheduledTaskSpec   $spec.Name = "svMotion_to_VMAX_of_" + $_.VM   $spec.Description = "Migrate " + $_.VM + " to " + $_.DestDatastore   $spec.Enabled = $true   $spec.Scheduler = New-Object VMware.Vim.OnceTaskScheduler   $spec.Scheduler.runat = $startTime.AddMinutes($offset)   $offset += $startInterval   $spec.Action = New-Object VMware.Vim.MethodAction   $spec.Action.Name = "RelocateVM_Task"   $arg1 = New-Object VMware.Vim.MethodActionArgument   $arg1.Value = New-Object VMware.Vim.VirtualMachineRelocateSpec   $arg1.Value.datastore = (Get-Datastore -Name $_.DestDatastore).Extensiondata.MoRef   $spec.Action.Argument += $arg1   $arg2 = New-Object VMware.Vim.MethodActionArgument   $arg2.Value = [VMware.Vim.VirtualMachineMovePriority]"defaultPriority"   $spec.Action.Argument += $arg2   $scheduledTaskManager.CreateScheduledTask($vm.MoRef, $spec) 

}

 

My problem is that I'm unable to code how to convert disks to thick lazy zeroed during storage migration (regardless the original format).

Any idea?

 

Thanks

 

Message was edited by: vcubegiovannivecchi Code updated


Missing Datastores after upgrade from ESXi 5.1 to ESXi 6.0

$
0
0

Hello peoples

 

I have just upgraded our ESXi 5.1 to ESXi 6.0, and can no longer see our Datastores.

 

Its 2 x iSCSI LUNS to our Dell SAN.

 

You can see images her:

http://imgur.com/a/EwpUD

I have access to the Storage/Devices, but not the Datastores.

 

The datastore configuration should look like:

http://imgur.com/TtN0oEF

 

Can anybody please help??

 

Best regards

Alexander

Remove Network adapter - Error

$
0
0

Hi,

 

I use the following code in order to remove all the network adapters connected to specific virtual machine.

Sometime the workflow finishes with no error, but most of the times I receive the following error in the vCenter: Invalid configuration for device '1'.

What can I change in my code?

 

var nicsToRemove = []; 

 

for each (var device in vm.config.hardware.device) {   

  if (device instanceof VcVirtualVmxnet   

   || device instanceof VcVirtualVmxnet2   

   || device instanceof VcVirtualVmxnet3 

   || device instanceof VcVirtualE1000   

   || device instanceof VcVirtualPCNet32   

   || device instanceof VcVirtualEthernetCard) {

    // Here you can add some custom logic to decide whether to remove the network adapter 

    // This sample code will remove all network adapters

      nicsToRemove.push(device);   

  } 

}

 

var vmConfigSpec = new VcVirtualMachineConfigSpec();

var deviceChanges = []; 

var deviceConfigSpec = new VcVirtualDeviceConfigSpec() ;  

 

System.log(vm.name);

 

for each (var nic in nicsToRemove) {

  deviceConfigSpec.operation = VcVirtualDeviceConfigSpecOperation.remove;

  deviceConfigSpec.device = nic;

  System.log("The nic is: " + nic.connectable.status);

 

  vmConfigSpec.deviceChange = deviceChanges;

    if (nic.connectable.status == "ok"){

  deviceChanges.push(deviceConfigSpec);

  } 

}

 

try {   

  myTask = vm.reconfigVM_Task(vmConfigSpec);   

} catch (ex) {

  System.warn("Error while reconfiguring VM: " + ex);   

}

Using vCenter Converter standalone to reduce size of thick provisioned disk on a VM with HA and FT enabled

$
0
0

Hello,

 

  We have a need to shrink the C: drive (and go from thick to thin provisioning) of 4 Domain Controller VMs that have HA and FT enabled.  I performed a test on a system with identical disk/provisioning but it was not part of a cluster nor was it HA-FT enabled. I just wanted to ask if anyone had done anything similar, and what problems the HA and FT being enabled could cause. I am going to work next on doing an apples to apples comparison on a test cluster now that my initial testing was successful, but I thought it worthwhile to ask here to see if anyone had any experience with this.

ESXi 5.5 and Windows Server 2008 R2 on the VMs

 

Thanks

Unable to connect to my vmware

$
0
0

Hi all,

 

i try to connect the software manager to my vmware. but when i log in it says invalid name or password. but the credentials work on the vmware page. what can be the problem?

Using PowerCLI to get VM Disk Stats

$
0
0

Firstly - this is really a message to LucD (who I know from previous assistance tends to prowl this forum )  , just figured I'd share it, as it's all usefull info and any insight LucD has will no doubt be usefull for all.

 

Hi LucD,
Firstly - thanks for a great selection of posts on Reporting vSphere from Powershell - Well worth the time and a worth read for anyone.
I'm certainly not any good at PowerShell - but I was able to understand and make some changes for my benefit - so I figured I'd share my results and ask a couple of questions.
With your script as a basis - I've been able to come up with the following that SHOULD allow me to review ALL VMs in VC one at a time collect virtual disk stats for the VMs various disks, (IOPS, Throuput & Latency) I'm using VC 4.1 and and the storage is NFS attached, I believe these stats are OK but would appreciate your insight on this.
I'm quite pleased with the script - but it needs more testing on a valid site, rather than my small test area, but I'm sure from a 'PS' perspective there is more efficiency to be gained.
Firstly - is there any way of getting all the stats at once - rather than doing 6 calls per VM? (I'm also sure the '+=' one stat the the next can not be ideal)
Also - is there a way can control the output to the CSV, it seems to put colums in any order it likes and layout does not seem to be related to the group object command? Can this be controlled so I can have the 'value' and 'unit' entries next to each other?
Any insight and assistance would be appreciated, and I hope others will give it a test and let me know if it works for them too.
Thanks again for the inspiration and insight that got me this far
Tony.
ESX 4.1, VC 4,1, PShell 2.0, PowerCLI 4.1.1
# Main Variables
$sVCentre = "VC IP"
$sVCUser = "administrator@domain"
$sVCPwd = "password"
$strVMWildCard = "*"
$strCSVName = "Stats-AvgVMDiskWriteStatsWorkingday"
$strCSVLocation = "c:\"
# define the start and finish times for a working day.
$today9am = (Get-Date -Hour 9 -Minute 0 -Second 0)
$today5pm = (Get-Date -Hour 17 -Minute 0 -Second 0)
$intStartDay = -1
$intEndDay = -1
## Begin Script
#Connect to VC
Connect-VIServer $sVCentre -User $sVCUser -Password $sVCPwd -ea silentlycontinue
$arrVMs = Get-VM | where-object {$_.Name -like $strVMWildCard}
foreach ($strVM in $arrVMs)
{
Write-Host "Getting Stats for : " $strVM.Name
Write-Host " - collating Write latency Stats"
$stats += Get-Stat -Entity $strVM -Stat virtualDisk.totalWriteLatency.average -Start $today9am.AddDays($intStartDay) -Finish $today5pm.AddDays($intEndDay)
Write-Host " - collating Read latency Stats"
$stats += Get-Stat -Entity $strVM -Stat virtualDisk.totalReadLatency.average -Start $today9am.AddDays($intStartDay) -Finish $today5pm.AddDays($intEndDay)
Write-Host " - collating Read IOPS Stats"
$stats += Get-Stat -Entity $strVM -Stat virtualDisk.numberReadAveraged.average -Start $today9am.AddDays($intStartDay) -Finish $today5pm.AddDays($intEndDay)
Write-Host " - collating Write IOPS Stats"
$stats += Get-Stat -Entity $strVM -Stat virtualDisk.numberWriteAveraged.average -Start $today9am.AddDays($intStartDay) -Finish $today5pm.AddDays($intEndDay)
Write-Host " - collating Read Throughput Stats"
$stats += Get-Stat -Entity $strVM -Stat virtualDisk.read.average -Start $today9am.AddDays($intStartDay) -Finish $today5pm.AddDays($intEndDay)
Write-Host " - collating Write Throughput Stats"
$stats += Get-Stat -Entity $strVM -Stat virtualDisk.write.average -Start $today9am.AddDays($intStartDay) -Finish $today5pm.AddDays($intEndDay)
Write-Host $stats.length
# group the data and collate the stats into averages for the day.
}$groups = $stats | Group-Object -Property {$_.Entity, $_.MetricId, $_.Instance}
$report = $groups | % {
New-Object PSObject -Property @{
Description = $_.Group[0].Description
Entity = $_.Group[0].Entity
EntityId = $_.Group[0].EntityId
Instance = $_.Group[0].Instance
MetricId = $_.Group[0].MetricId
Timestamp = $_.Group[0].Timestamp.Date.AddHours($_.Group[0].Timestamp.Hour)
Unit = $_.Group[0].Unit
Value = [math]::Round(($_.Group | Measure-Object -Property Value -Average).Average, 2)
}
}
#Exporting the report to a CSV file.
$strCSVSuffix = (get-date).toString('yyyyMMddhhmm')
$strCSVFile = $strCSVLocation + $strCSVName + "_" + $strCSVSuffix + ".csv"
$report | Export-Csv $strCSVfile -NoTypeInformation -UseCulture
Viewing all 176561 articles
Browse latest View live


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