Merge pull request #462 from microsoft/dev

minor fix
This commit is contained in:
Jaromir Kaspar 2021-09-27 23:53:26 +02:00 коммит произвёл GitHub
Родитель 748372155a 6ec1a27e36
Коммит 152fc293a1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -51,9 +51,6 @@
#region install and create VMFleet
$VHDName=$VHDPath | Split-Path -Leaf
#Grab nubmer of Logical Processors per node divided by 2
$NumberOfVMs=(Get-CimInstance -CimSession $ClusterName -ClassName Win32_ComputerSystem).NumberOfLogicalProcessors/2
#Enable CredSSP
# Temporarily enable CredSSP delegation to avoid double-hop issue
foreach ($Node in $Nodes){
@ -67,8 +64,9 @@
Invoke-Command -ComputerName $Nodes[0] -Credential $Credentials -Authentication Credssp -ScriptBlock {
Install-Fleet #as vmfleet has issues with Install-Fleet -ClusterName https://github.com/microsoft/diskspd/issues/157
#It's probably more convenient to run this command on cluster as all VHD copying will happen on cluster itself.
#if you will run Measure-FleetCoreWorkload, creating VMs is not necessary
#New-Fleet -BaseVHD "c:\ClusterStorage\Collect\$using:VHDName" -VMs $using:NumberOfVMs -AdminPass P@ssw0rd -Admin Administrator -ConnectUser corp\LabAdmin -ConnectPass LS1setup!
#Grab nubmer of Logical Processors per node divided by 2 (Hyper thread CPUs)
$NumberOfVMs=(Get-CimInstance -ClassName Win32_ComputerSystem).NumberOfLogicalProcessors/2
New-Fleet -BaseVHD "c:\ClusterStorage\Collect\$using:VHDName" -VMs $using:NumberOfVMs -AdminPass P@ssw0rd -Admin Administrator -ConnectUser corp\LabAdmin -ConnectPass LS1setup!
}
# Disable CredSSP