Adding 48 nodes to a Hyper-V cluster

By | January 6, 2014

now for the fun part of this:

Using VMM 2012 R2 to add the Nodes:

clip_image001

 

clip_image001[5]

 

Or as Powershell script:

$credential = Get-SCRunAsAccount -Name “hypercluster\administrator” -ID “25619a62-0650-4953-9f03-70d89c918e5c”
$hostCluster = Get-SCVMHostCluster -Name “TheHive.hypercluster.de”
$hostsList = @()
$hostsList += Get-SCVMHost -ID “6b6aa352-5698-48f9-91da-0ff9bc1446e6″
$hostsList += Get-SCVMHost -ID “7bc6ded0-606b-4e39-8496-06b8a53f7b4c”
$hostsList += Get-SCVMHost -ID “b1e24b7a-728f-429a-bea6-0d8633787aa0″
$hostsList += Get-SCVMHost -ID “544433b1-5ba6-4eff-bc57-19853933cc68″
$hostsList += Get-SCVMHost -ID “f22d4fcb-37a4-40be-a4fe-22cccec92411″
$hostsList += Get-SCVMHost -ID “bf1a5ae3-444f-4a76-9350-23f07b17a67a”
$hostsList += Get-SCVMHost -ID “58c86c8b-8f52-48d8-8fee-31b368e9a558″
$hostsList += Get-SCVMHost -ID “dcea4991-4ca0-4c38-9d95-397325fa9315″
$hostsList += Get-SCVMHost -ID “3b775ede-f268-4251-894a-3b374b1619ca”
$hostsList += Get-SCVMHost -ID “fea47853-8a3e-4a81-9c40-3c1a0c446db2″
$hostsList += Get-SCVMHost -ID “afa2617f-2e18-4828-805f-3d8b6a777c14″
$hostsList += Get-SCVMHost -ID “ea95d84b-6aef-4dea-9590-5c1cb9a90cb8″
$hostsList += Get-SCVMHost -ID “cd52da19-376f-427e-94ba-6499749c85c5″
$hostsList += Get-SCVMHost -ID “8cec83e1-dc8e-4a84-9ef9-66ddc523f678″
$hostsList += Get-SCVMHost -ID “af638822-4077-47c9-8083-69af6b872912″
$hostsList += Get-SCVMHost -ID “74165941-460b-45b6-a87a-6f50c11469a4″
$hostsList += Get-SCVMHost -ID “155a65b0-1b15-4ab6-b935-71874d215eca”
$hostsList += Get-SCVMHost -ID “34cd11b5-4495-4494-b5ef-71e9f33c7139″
$hostsList += Get-SCVMHost -ID “8513c522-0bc1-4a72-b209-739b21508e8e”
$hostsList += Get-SCVMHost -ID “77e95699-a9bb-4aff-9c93-73d24558b580″
$hostsList += Get-SCVMHost -ID “d6cf66dc-868a-43df-a2b5-78aa917c24b1″
$hostsList += Get-SCVMHost -ID “47560482-c2c6-490a-9178-7b288d12d088″
$hostsList += Get-SCVMHost -ID “59712b0a-f05a-43f6-a3e0-7c73d7ea0309″
$hostsList += Get-SCVMHost -ID “ab57c1a8-a445-4ebb-8c9f-7dcf467d1c55″
$hostsList += Get-SCVMHost -ID “b74663a0-c288-4085-b30e-81939af9e987″
$hostsList += Get-SCVMHost -ID “5e24b471-1182-4959-ae6d-864b599e8f34″
$hostsList += Get-SCVMHost -ID “6b4741d5-6129-4486-9c2b-8adc80302d7d”
$hostsList += Get-SCVMHost -ID “5e96dbf0-5875-4f25-8341-8b635d9a5283″
$hostsList += Get-SCVMHost -ID “04af5293-bcba-43f4-8a99-995f9394e209″
$hostsList += Get-SCVMHost -ID “4225f0d7-f125-4492-bdf4-9ff147b81d8d”
$hostsList += Get-SCVMHost -ID “92db557f-b1c6-4fe3-a1bb-b7a47cbc5969″
$hostsList += Get-SCVMHost -ID “1ba850fa-a833-49a2-b510-b95abc16eb0f”
$hostsList += Get-SCVMHost -ID “f4350bb9-8753-431f-9fea-bdff9777c6ff”
$hostsList += Get-SCVMHost -ID “53e604aa-91c5-4623-885c-c33f0eddef67″
$hostsList += Get-SCVMHost -ID “b32fcab9-7969-410f-bbf1-c7d0c9838b28″
$hostsList += Get-SCVMHost -ID “64aadf38-08e8-452d-9453-c8c3d0cb1958″
$hostsList += Get-SCVMHost -ID “a8c2d5cf-52cb-42b5-a2ea-da33b7be26a1″
$hostsList += Get-SCVMHost -ID “f03484b3-e2e8-4554-880c-e01d2f379768″
$hostsList += Get-SCVMHost -ID “7fbae8e0-03fb-4acb-96a9-e077f4c82257″
$hostsList += Get-SCVMHost -ID “503eb680-10ee-49b6-b7c0-e32d7778b151″
$hostsList += Get-SCVMHost -ID “c0467a0b-40dc-4725-8d5d-e87c90306a81″
$hostsList += Get-SCVMHost -ID “24a6532c-d5f2-4c20-af00-ea51e71363fc”
$hostsList += Get-SCVMHost -ID “34f728ea-54c2-4177-a593-eabd53338739″
$hostsList += Get-SCVMHost -ID “a336954e-8d66-4bdb-968b-eebaf402c605″
$hostsList += Get-SCVMHost -ID “7d636d85-ffac-4a01-83c9-eeeafea9d6f1″
$hostsList += Get-SCVMHost -ID “41550fc3-9969-4491-a415-f56ba38aa100″
$hostsList += Get-SCVMHost -ID “35a965c7-ede3-4bf8-a98b-ff3423ab5547″
$hostsList += Get-SCVMHost -ID “7b769fec-264a-4724-969e-e86c2701c0a8″
Install-SCVMHostCluster -VMHost $hostsList -VMHostCluster $hostCluster -Credential $credential -RunAsynchronously

Category: 42

Leave a Reply