Hi everyone, I am trying to change ESXi host advanced system settings numa.LocalityWeightActionAffinity parameter to set 0 Default value is 130 Do you have any script that completes this task by ...
See more...
Hi everyone, I am trying to change ESXi host advanced system settings numa.LocalityWeightActionAffinity parameter to set 0 Default value is 130 Do you have any script that completes this task by cluster name Thanks,
I had one Loginsight Server and somehow it has been removed from the system. Now i need to remove its ip address from ESXi's Syslog parameter under advanced settings. Do you have an powercli scri...
See more...
I had one Loginsight Server and somehow it has been removed from the system. Now i need to remove its ip address from ESXi's Syslog parameter under advanced settings. Do you have an powercli script that removes and sets the sys.global.loghost parameter to null? I like to do it Cluster by cluster. Thanks
Hi all, I like to disable VAAI ATS with the below KB. How Can I apply this to my specific HA cluster all at once? Thanks PowerCLI: Get-AdvancedSetting -Entity VMHost-Name -Name VMFS3.UseATSForHBO...
See more...
Hi all, I like to disable VAAI ATS with the below KB. How Can I apply this to my specific HA cluster all at once? Thanks PowerCLI: Get-AdvancedSetting -Entity VMHost-Name -Name VMFS3.UseATSForHBOnVMFS5 | Set-AdvancedSetting -Value 0 -Confirm:$false https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2113956
Hi everyone, I need a powercli script that lists fields below disk naa.id - shows it as RDM or VMFS - Multipath Policy (Fixed or RR) Could anyone help me out? Thanks a lot.
Thanks Luc for your effort and help. Much appreciated. I have run the script on Windows 2012 running Powercli this time worked without any prblem. It didnt run on Windows 10 , dont know why. Than...
See more...
Thanks Luc for your effort and help. Much appreciated. I have run the script on Windows 2012 running Powercli this time worked without any prblem. It didnt run on Windows 10 , dont know why. Thanks a lot.
Get-Cluster seems to be working ok. I have tried. Get-Cluster "Cluster Name" | Get-VM output is fine, all hosts are up and running. They are all 5.1 hosts. Should I be running this script on 6.0 ...
See more...
Get-Cluster seems to be working ok. I have tried. Get-Cluster "Cluster Name" | Get-VM output is fine, all hosts are up and running. They are all 5.1 hosts. Should I be running this script on 6.0 hosts instead? Thanks
Hi Luc, I got the error below when I run this script. Thanks a lot. You cannot call a method on a null-valued expression. At C:\script1.ps1:7 char:5 + $esxcli.storage.core.device.list.Invoke()...
See more...
Hi Luc, I got the error below when I run this script. Thanks a lot. You cannot call a method on a null-valued expression. At C:\script1.ps1:7 char:5 + $esxcli.storage.core.device.list.Invoke() | where{$luns -contains $_.Devi ce} ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull You cannot call a method on a null-valued expression. At C:\script1.ps1:7 char:5 + $esxcli.storage.core.device.list.Invoke() | where{$luns -contains $_.Devi ce} ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
Hi Luc, Thanks for prompt reply. You are correct. I want to mark all RDM disks perennially reserved under a specific HA cluster. Can I specifically target a clustername to make it all RDMs under ...
See more...
Hi Luc, Thanks for prompt reply. You are correct. I want to mark all RDM disks perennially reserved under a specific HA cluster. Can I specifically target a clustername to make it all RDMs under as Perennially reserve? Thanks
Hi everyone, I am looking for a script that marks RDM disks as perennially reserved by cluster name. It will set perennially reserve all RDM disks under a specific cluster. There are some scripts...
See more...
Hi everyone, I am looking for a script that marks RDM disks as perennially reserved by cluster name. It will set perennially reserve all RDM disks under a specific cluster. There are some scripts available but it refers to VM Name. I need a powercli script that is independent from VM names. Thanks in advance, much appreciated.
Hi everyone, Can you help me on this I need a powercli script that gets VM name, OS TYPE, Disk naa.id and checks if it is RDM or VMFS disk? Thanks in advance.
Hi there, I have list of VMs under "cluster1" and there are specific VMs on a txt file and want to add secondary 10GB thin disks to those VMs. New disks will be created in datastore: DATASTORE...
See more...
Hi there, I have list of VMs under "cluster1" and there are specific VMs on a txt file and want to add secondary 10GB thin disks to those VMs. New disks will be created in datastore: DATASTORE1 ClusterName: Cluster1 Can you help me on this. Thanks.
Get-Content C:\VMs.txt | %{
$Cluster = Get-VM -Name $_ | Get-Cluster | Select -ExpandProperty Name
$dsname = "DATASTORE1"
}
New-HardDisk -VM $_ -CapacityGB 10 -DiskType Flat -Datastore $dsname -StorageFormat Thin
}
Hi everyone, I am trying to find out if this is a normal behavior or not. During a vmotion i m running perfmon to see whats going on. I see some disconnections in perfmon graphs. please see attac...
See more...
Hi everyone, I am trying to find out if this is a normal behavior or not. During a vmotion i m running perfmon to see whats going on. I see some disconnections in perfmon graphs. please see attached file. Also during vmotion I am monitoring the windows system time. It goes one by one till vmotion comes to 65% time stucks and when it comes back I can see 8 to 10 seconds have gone. lets say time is 10:00:00 it counts 01 - 02 - 03 (vmotion 65%) 11 - 12 - 13... It seems like screen freezes and when it comes back 10 seconds have passed. Also you can see non existent seconds from perfmon graph. when I continuously ping the server, only 1 ping loses, all others are just fine. I am experiencing this issue on ESX5.1 and 5.5 running latest everything including vcenter and all system firmwares. Please comment if you are having the same issue, because at the end of the day, every vmotioned VM comes to me as a service failure. People started to ask me to stop vmotion and stop DRS. Which I am not willing to do. Thanks
Simple scan shows all luns fine, no problem there. Even tho no need to rescan disks before adding. I need to find a way to add as existing storage without formatting. Thanks