none
create cluster vmm 2012 sp1

    Question

  • I can't seem to create a cluster.  When I try using the wizard, at the end I get an error that says "Network configuration of hosts to be clustered requires at least one static IP address to create a cluster.  Please specify at least one IP address and retry the operation.  ID 25342".  No where in the wizard is there a place to specify an IP.

    The only place where this may be appropriate is teh "virtual switches" tab, which has nothing in it.

    Both hosts have 2, 2gbit NICs attached to the same logical switch with a single virtual adapter with the management IP.

    How can I create a cluster here?

    Monday, February 04, 2013 8:55 PM

Answers

  • Both hosts have static IPs.  I was able to finally create the cluster but I had to manually create it with Powershell and manually specify the cluster IP address because there was no where in the wizard to do it.

    Install-SCVMHostCluster -ClusterName "mycluster.whatever.local" -JobGroup "7ddc6c90-5153-4224-aa32-e9f9271c1892" -VMHost $hostsList -RunAsynchronously -Credential $credential -SetQuorumDisk $witnessDisk -ClusterIPAddress 10.8.99.126

    • Marked as answer by JustinRush Wednesday, February 27, 2013 1:20 AM
    Tuesday, February 05, 2013 11:18 PM

All replies

  • Sounds like you're failing during the validation step of the wizard. What it's telling you to do is give the hosts static addresses (not specify them in the wizard).

    I've linked a blog that walks you through creating a basic cluster in Server 2012. I would read through it twice before trying to get yours going as there a lot of snags like this you will hit if you're not familiar with the process.

    http://blogs.msdn.com/b/clustering/archive/2012/05/01/10299698.aspx

    Tuesday, February 05, 2013 4:10 AM
  • Hi Justin,

    if I get it right, you are trying to create the Cluster via the Virtual Machine Manager and you have the future cluster nodes already installed with Windows Server 2008R2/2012.

    What you have to do is to assign static IP-Addresses to the NICs of both Hosts. After that you should pass this point in the wizard.

    Best Regards,

    Jens

    Tuesday, February 05, 2013 3:07 PM
  • Both hosts have static IPs.  I was able to finally create the cluster but I had to manually create it with Powershell and manually specify the cluster IP address because there was no where in the wizard to do it.

    Install-SCVMHostCluster -ClusterName "mycluster.whatever.local" -JobGroup "7ddc6c90-5153-4224-aa32-e9f9271c1892" -VMHost $hostsList -RunAsynchronously -Credential $credential -SetQuorumDisk $witnessDisk -ClusterIPAddress 10.8.99.126

    • Marked as answer by JustinRush Wednesday, February 27, 2013 1:20 AM
    Tuesday, February 05, 2013 11:18 PM
  • Hi could you please explain this powershell code? Should I run it on SCVMM server?
    Thursday, April 24, 2014 1:05 PM
  • Hi could you please explain this powershell code? Should I run it on SCVMM server?

    The Powershell code creates the cluster and explicitly specifies the cluster IP address. The wizard doesn't include the cluster IP address which is why it's failing. The script should be run on the SCVMM server.

    The script needs to be customised for different environments and the best way I've found to do this is to run through the new cluster wizard in SCVMM until you get to the Summary page but don't click Finish. At the top right there is a View Script button. Click that and you'll get the Powershell code the wizard was about to execute. Click Cancel to close the wizard.

    Now copy the code into Notepad on the server and add to the end of the last line of the script

     -ClusterIPAddress x.x.x.x

    Replace the x.x.x.x with the IP address for the cluster.

    Save the notepad as .ps1 (make sure the file extension isn't .ps1.txt) execute the script in Powershell

    The final script should look something like

    $credential = Get-SCRunAsAccount -Name "Domain\RunAsAccount" -ID "1b9707bb-abf9-477f-8fe7-c740d912e150"
    $hostsList = @()
    $hostsList += Get-SCVMHost -ID "548c58c7-2fdf-44c3-b36e-2eeff3175c00"
    $hostsList += Get-SCVMHost -ID "41eea30b-ed3e-4acf-b37f-36131af9806b"
    
    $vmHost = Get-SCVMHost -ID "548c95c7-2fdf-44c3-b36e-2eeff3175c00"
    $hostDisk = Get-SCStorageDisk -VMHost $vmHost | where { $_.SMLunId -eq "60060160B5A03100E34565778231DE411" }
    Mount-SCStorageDisk -StorageDisk $hostDisk -GuidPartitionTable -VolumeLabel "" -QuickFormat -JobGroup "b3227ce7-d2ee-4d38-a463-106ed681f156" -CreateClusterSharedVolume
    
    $hostDisk = Get-SCStorageDisk -VMHost $vmHost | where { $_.SMLunId -eq "60060160B5A0310076841456201DE411" }
    Mount-SCStorageDisk -StorageDisk $hostDisk -MasterBootRecord -VolumeLabel "" -FullFormat -JobGroup "b5727ce7-d2ee-4d38-a463-106ed681f156"
    
    $witnessDisk = Get-SCStorageDisk -Name "\\.\PHYSICALDRIVE1" | where { $_.ID -eq "01af0e3a-39d5-4071-b665-fcb606dea80b" }
    Install-SCVMHostCluster -ClusterName "CLUSTERNAME" -JobGroup "b32456ce7-d2ee-4d38-a463-106ed681f156" -VMHost $hostsList -RunAsynchronously -Credential $credential -SetQuorumDisk $witnessDisk  -ClusterIPAddress 10.0.0.1
    Note -  every environment is different and a simple copy/paste of the text above won't work for you. Follow the steps to produce a script that suits your environment.



    • Edited by Receept Tuesday, September 02, 2014 1:31 AM Formatting
    Tuesday, September 02, 2014 1:30 AM