{"id":1711,"date":"2015-11-08T13:54:57","date_gmt":"2015-11-08T13:54:57","guid":{"rendered":"http:\/\/emtunc.org\/blog\/?p=1711"},"modified":"2015-12-06T21:07:21","modified_gmt":"2015-12-06T21:07:21","slug":"how-to-migrate-horizon-view-composer-database-to-a-new-server","status":"publish","type":"post","link":"https:\/\/emtunc.org\/blog\/11\/2015\/how-to-migrate-horizon-view-composer-database-to-a-new-server\/","title":{"rendered":"How to Migrate Horizon View Composer Database to a New Server"},"content":{"rendered":"<p>In this short article I will briefly go through the steps required to migrate your VMware Horizon View Composer database from an old server (ServerOld) to a new server (ServerNew). The assumption is that both databases run Microsoft SQL Server however the general idea stands.<\/p>\n<p><!--more--><\/p>\n<p>Firstly you probably want to do this out of hours because there will be a short period where the composer won&#8217;t be able to recompose VMs which could potentially lead to a shortage of VMs for users to log in to.<\/p>\n<ol>\n<li>Disable provisioning on your pools<\/li>\n<li>Log-on to ServerOld and take the database offline (Don&#8217;t detach! If for some reason the new server isn&#8217;t as ready as you thought it was or the restore fails then you can put this database back online quickly)<\/li>\n<li>Log-on to ServerNew and create a new database. Restore the back-up you just took<\/li>\n<li>On the View Composer server, open up the\u00a0<strong>Data Sources (ODBC)\u00a0<\/strong>tool<\/li>\n<li>Click the <b>System DSN\u00a0<\/b>tab<\/li>\n<li>Click\u00a0<strong>Configure<\/strong><\/li>\n<li>Here you want to change the\u00a0<strong>Server\u00a0<\/strong>from ServerOld to ServerNew. You may need to change the SQL authentication type if there&#8217;s a difference between ServerOld and ServerNew. In my case I had to change from SQL authentication to Integrated Windows authentication.<\/li>\n<li>That&#8217;s it! Re-enable provisioning on your pools and you should be all set. Make sure you do a few tests to confirm things are as they should be (logging on to pools, logging off, refreshing, recomposing, etc)<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>In this short article I will briefly go through the steps required to migrate your VMware Horizon View Composer database from an old server (ServerOld) to a new server (ServerNew). The assumption is that both databases run Microsoft SQL Server however the general idea stands.<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[1],"tags":[204,203,69],"class_list":["post-1711","post","type-post","status-publish","format-standard","hentry","category-tech","tag-composer","tag-horizon-view","tag-vmware"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1trTO-rB","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/1711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/comments?post=1711"}],"version-history":[{"count":2,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/1711\/revisions"}],"predecessor-version":[{"id":1720,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/1711\/revisions\/1720"}],"wp:attachment":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/media?parent=1711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/categories?post=1711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/tags?post=1711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}