{"id":338,"date":"2016-11-25T19:54:52","date_gmt":"2016-11-25T19:54:52","guid":{"rendered":"http:\/\/michaelstoica.com\/?p=338"},"modified":"2016-11-25T19:55:07","modified_gmt":"2016-11-25T19:55:07","slug":"vmm-error-2512-refresh-host-cluster","status":"publish","type":"post","link":"https:\/\/michaelstoica.com\/site\/vmm-error-2512-refresh-host-cluster\/","title":{"rendered":"VMM Error 25122 &#8211; Refresh Host Cluster"},"content":{"rendered":"<p>I received the\u00a0error above while refreshing the cluster from VMM console and here is the full description\u00a0&#8220;<em>Error (25122) The specified address &#8216;(AllocatedIPAddressData#[7928d1]) { id = 9aa09df6-2cde-48ed-b4e2-6bbd48fb4e5b, LastUpdatedTimestamp = 11\/25\/2016 1:46:13 PM, objectType = AllocatedIPAddress, Enabled = True, Accessibility = Public, CreationTime = 11\/25\/2016 1:46:14 PM, modifiedTime = 11\/25\/2016 1:46:14 PM, GrantedToList = <\/em><em>\u2205<\/em><em> }&#8217; is already allocated by the pool &#8216;IP Pool xy&#8217;. This address should be assigned to only a single entity. Recommended Action Resolve to which entity this address is allocated.<\/em>&#8221;<\/p>\n<p>The reason for this error is that when I created the cluster \u00a0I used an IP for cluster management that was \u00a0part of the Management IP Pool . To avoid this error you have to reserve the IP \u00a0by going to <em>Fabric &gt;\u00a0<\/em><em>Logical Networks &gt; Choose the Logical Network and Select the IP Pool &gt; Properties<\/em> and at the <em>IP Address Range<\/em> you have the option to reserve the IP address for other use.<\/p>\n<p>Thanks to\u00a0<a href=\"https:\/\/vniklas.djungeln.se\/2015\/01\/07\/error-25122-when-doing-refresh-in-vmm-2012-r2-ur3\/\">vNiklas\u00a0<\/a>I was able to clear the IP using the following Powershell commands:<\/p>\n<p><em>$ID = &#8220;9aa09df6-2cde-48ed-b4e2-6bbd48fb4e5b&#8221; <\/em><br \/>\n<em>$IP = Get-SCIPAddress | where {$_.ID -eq $ID} <\/em><br \/>\n<em>Get-SCIPAddress -IPAddress $IP | Revoke-SCIPAddress<br \/>\n<\/em><br \/>\nTo make sure that the address was revoked you can run the following command which will display all the static IPs and to which Hosts\/VMs are they assigned:<\/p>\n<p><em>$IPPool = Get-SCStaticIPAddressPool \u2013name &#8220;IP Pool xi&#8221;<\/em><br \/>\n<em>Get-SCIPAddress \u2013StaticIPAddressPool $IPPool<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I received the\u00a0error above while refreshing the cluster from VMM console and here is the full description\u00a0&#8220;Error (25122) The specified address &#8216;(AllocatedIPAddressData#[7928d1]) { id =&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/michaelstoica.com\/site\/vmm-error-2512-refresh-host-cluster\/\">Continue reading<span class=\"screen-reader-text\">VMM Error 25122 &#8211; Refresh Host Cluster<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[18,15,10,8,16,9],"class_list":["post-338","post","type-post","status-publish","format-standard","hentry","category-general","tag-clustering","tag-hyper-v","tag-powershell","tag-virtualization","tag-vmm","tag-windows-server","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p63Lge-5s","_links":{"self":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts\/338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/comments?post=338"}],"version-history":[{"count":10,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts\/338\/revisions"}],"predecessor-version":[{"id":348,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts\/338\/revisions\/348"}],"wp:attachment":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/media?parent=338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/categories?post=338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/tags?post=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}