{"id":46,"date":"2010-02-24T18:26:34","date_gmt":"2010-02-24T23:26:34","guid":{"rendered":"http:\/\/enterpriseadmins.org\/blog\/?p=46"},"modified":"2010-02-24T18:26:34","modified_gmt":"2010-02-24T23:26:34","slug":"vcenter-migration","status":"publish","type":"post","link":"https:\/\/enterpriseadmins.org\/blog\/virtualization\/vcenter-migration\/","title":{"rendered":"vCenter Migration"},"content":{"rendered":"<p>I had a big day at the office a couple of days ago. \u00a0I moved my vCenter application from one dedicated server to another. \u00a0That doesn&#8217;t sound like a huge ordeal, but it was a pain in the rear. \u00a0I stumbled along with a lot of help from Google and I wanted to outline some lessons learned for everyone else.<\/p>\n<p>I actually had a few objectives I wanted to achieve:<\/p>\n<ul>\n<li>Migrate from Windows 2003 x32 to Windows 2008 x64<\/li>\n<li>Replace my out-of-warranty\/physical vCenter server with newer hardware<\/li>\n<li>Change the authentication model for the remote database from SQL to Windows Integrated<\/li>\n<li>Re-IP vCenter to be on my management VLAN<\/li>\n<\/ul>\n<p>I attempted this upgrade a little over a week ago and near the end of my change control I realized that something was wrong with the Windows 2008 server which prevented the event log from opening and the service from starting. \u00a0Since I didn&#8217;t want to leave this in production I backed out my change and rescheduled.<\/p>\n<p>The second attempt at this install went much better. \u00a0I had my 2008 x64 server rebuilt by my server team and the event log was working fine (I verified before attempting my install). \u00a0The vCenter install went well and I was able to achieve the first three of my objectives. \u00a0The final one was a bit more work &#8212; since I changed my vCenter IP I had to manually reconnect each of my hosts. \u00a0It was expected and only took fifteen minutes or so.<\/p>\n<p>After I had visibility into each of my hosts and basic vCenter functionality I started digging a bit deeper to verify my change was successful. \u00a0When I clicked on the &#8220;vCenter Service Status&#8221; button I found a problem. \u00a0All of the metrics had errors that they couldn&#8217;t connect to the old name of my vCenter server. \u00a0I poked around the console and changed my VirtualCenter.VimApiUrl and VirtualCenter.VimWebServicesUrl in the advanced vCenter settings but was unsuccessful. \u00a0Luckily I was able to find this <a href=\"http:\/\/communities.vmware.com\/thread\/226681;jsessionid=923AAE8274ABEB00E88C4B7E5A839DB7?start=0&amp;amp;tstart=0\">VMware Communities article<\/a> that suggested using ADSIEdit to delete an entire container from the vCenter ADAM instance (CN=&lt;GUID_of_vCenter&gt;, OU=ComponentSpecs, OU=Health, DC=virtualcenter, DC=vmware, DC=int). \u00a0Thanks, bgarner!<\/p>\n<p>Once I was able to see the service status I realized that my SQL agent stat rollup tasks (weekly\/monthly) were not running properly. \u00a0Part of my install included changing the way I access my remote database from using MS-SQL authentication to Windows Integrated. \u00a0During the first attempt of the install I received an error that one of the rollup tasks in the SQL agent was owned by the SQL user and had to be owned by my Windows user to continue. \u00a0I decided the smartest thing to do would be to delete all three rollup tasks and simply let the install re-create them. \u00a0Turns out this wasn&#8217;t the best idea &#8212; for some reason the install only recreated the daily rollup task and not the weekly or monthly. \u00a0I didn&#8217;t save the link (shame on me) but I found a blog entry suggesting that I re-run job_schedule2_mssql.sql and job_schedule3_mssql.sql from my Program Files\\VMware\\Infrastructure\\VirtualCenter Server directory. \u00a0I ran the scripts and verified that the jobs existed in my SQL Agent. \u00a0They were scheduled to run several hours in the future &#8212; so my vCenter Service Status still showed a warning. \u00a0(For the record, I checked back the next morning and everything was fine.)<\/p>\n<p>Finally, another annoyance I&#8217;ve been dealing with for awhile was a plugin from a CapacityIQ proof-of-concept that showed up in Plugins &gt; Manage Plungins. \u00a0I was no longer using the product but I couldn&#8217;t seem to get rid of that plugin. \u00a0I have removed plugins from the client machine several times but this one seemed to follow me around. \u00a0Fortunately another <a href=\"http:\/\/communities.vmware.com\/thread\/235244;jsessionid=66F889386F6FE04AA65E39D38CBEEF80?tstart=15\">VMware Communities article<\/a> came to the rescue. \u00a0The article specifically references vCenter Chargeback but the process worked for CapIQ. \u00a0The key was finding the correct methods in the https:\/\/vcenterserver.mydomain.local\/mob web service &#8212; that I didn&#8217;t really understand or know about.<\/p>\n<p>I hope these links help if you ever encounter a similar problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a big day at the office a couple of days ago. \u00a0I moved my vCenter application from one dedicated server to another. \u00a0That doesn&#8217;t sound like a huge ordeal, but it was a pain in the rear. \u00a0I &hellip; <a href=\"https:\/\/enterpriseadmins.org\/blog\/virtualization\/vcenter-migration\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-46","post","type-post","status-publish","format-standard","hentry","category-virtualization"],"_links":{"self":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":3,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":49,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/46\/revisions\/49"}],"wp:attachment":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}