microsoft/diskspd

Feature request: New-Fleet -Cluster to process VHD on remote machine

jaromirk opened this issue · 3 comments

It would be really useful if New-Fleet -Cluster would mount image on remote machine... I was achieving this with icm and credssp, but it no longer works. It would prevent copying stuff over and over to remote machine and also you need to have hyper-v installed (would be more useful to mount vhd on cluster node).

$password = ConvertTo-SecureString "LS1setup!" -AsPlainText -Force
$Credentials = New-Object System.Management.Automation.PSCredential ("CORP\LabAdmin", $password)

Invoke-Command -ComputerName $Nodes[0] -Credential $Credentials -Authentication Credssp -ScriptBlock {
        #It's probably more convenient to run this command on cluster (using invoke-command) as all VHD copying will happen on cluster itself.
        New-Fleet -BaseVHD "c:\ClusterStorage\Collect\$using:VHDName" -AdminPass P@ssw0rd -Admin Administrator -ConnectUser corp\LabAdmin -ConnectPass LS1setup!
}
 

image

2.0.0.0 with invoke-command and credssp works just fine :). It broke in 2.0.0.1

image

dl2n commented

This is a good idea .... full cluster remoting is a work in progress (as you've noticed).

THX! I like the work you are doing towards cluster remoting! We should chat sometimes. You can ping me on teams anytime at Jaromir_Kaspar@Dell.com