{"id":4426,"date":"2016-06-21T06:56:26","date_gmt":"2016-06-21T14:56:26","guid":{"rendered":"https:\/\/www.atumvirt.com\/?p=4426"},"modified":"2016-06-21T06:56:26","modified_gmt":"2016-06-21T14:56:26","slug":"updating-your-boot-device-manager-bdm-partition-with-provisioning-services-7-9","status":"publish","type":"post","link":"https:\/\/avtempwp.azurewebsites.net\/2016\/06\/updating-your-boot-device-manager-bdm-partition-with-provisioning-services-7-9\/","title":{"rendered":"Updating Your Boot Device Manager (BDM) Partition with Provisioning Services 7.9"},"content":{"rendered":"

Provisioning Services has included support for a Boot Device Manager (BDM) Partition since version 7.0. There are some use cases where it is preferable to choose the BDM partition, and it is simple to do when provisioning machines using the XenDesktop Setup Wizard within the Provisioning Services Console. One limitation the partition had, however, is that after the initial provisioning, there was no built in way to modify it, leaving you to have to provision a new machine, or provision a new machine, copy the BDM hard disk, and use the hypervisor tools to script a replacement. It could get messy and time consuming. Unfortunately, the BDM creation utility itself creates a boot device manager that relies on Two-Stage Boot, so that option isn\u2019t always desirable either. For more information on the boot process, see CTX136378<\/a><\/p>\n

Citrix recognized the limitations and introduced the ability to update the boot partition for any machines that have been provisioned with BDM using the XenDesktop Setup Wizard. This means that you will be unable to convert existing machines from PXE or boot ISO methods to BDM without provisioning machines using the XenDesktop setup wizard. There is info within PVS for the target device to specify if it has BDM or not, however manually modifying that will mean that your environment may be unsupportable by Citrix.\u00a0 You can, however, set BDM using the \u201cSet-PVSDevice \u2013bdmBoot $true\u201d cmdlet for a target device, but this doesn\u2019t create the link for the VirtualHostingId, which is currently read-only in PowerShell. You may ask yourself, \u2018When would I use this?\u2019 There are cases where you may need to update the BDM, such as changing the IP your PVS servers. With that said, let\u2019s take a look at the steps to update some virtual machines that have been provisioned using the XenDesktop Setup Wizard with BDM as the boot option of choice.<\/p>\n

The XenDesktop Setup Wizard uses the server \u201cBootstrap\u201d settings to configure the Boot Device Manager. In my testing, it actually uses the bootstrap settings from the top most server in the farm server list, though for consistency sake, you may simply choose to configure bootstrap on all servers identically or do testing on your own.<\/p>\n

In this screenshot, we see the server\u2019s old IP address of 192.168.1.5.<\/p>\n

\"clip_image002\"<\/a><\/p>\n

After changing the IP address of our PVS server due to networking changes, our provisioned VMs will no longer boot.<\/p>\n

\"clip_image004\"<\/a><\/p>\n

In order to resolve the problem, we need to update the Boot Device Manager partition. First, we edit the IP address in the server bootstrap. You can have up to 4 servers in the bootstrap. Click the existing entry, choose edit, and change the IP address.<\/p>\n

\"clip_image006\"<\/a><\/p>\n

Next, browse to the Device Collection that contains the target devices, select the target devices you wish to update, right click, choose Target Device<\/b>, then Update BDM partitions\u2026<\/b><\/p>\n

\"clip_image008\"<\/a><\/p>\n

Click Update Devices. <\/b>Note: The devices must be shut down or you will receive an error.<\/i><\/p>\n

\"clip_image010\"<\/a><\/p>\n

Once the operation is complete, you will see success. Close the window.<\/p>\n

\"clip_image012\"<\/a><\/p>\n

Now boot your VMs and notice they successfully begin streaming the vDisk!<\/p>\n

\"clip_image014\"<\/a><\/p>\n

Conclusion<\/h4>\n

The addition of this feature helps ensure that organizations can deploy the Boot Device Manager partition and retain the flexibility of having to modify the bootstrap used. Using Provisioning Services 7.9, administrators can quickly and easily update all of their target devices without the need to script the replacement of Boot Device Manager hard disks.<\/p>\n","protected":false},"excerpt":{"rendered":"

Provisioning Services has included support for a Boot Device Manager (BDM) Partition since version 7.0. There are some use cases where it is preferable to choose the BDM partition, and it is simple to do when provisioning machines using the XenDesktop Setup Wizard within the Provisioning Services Console. One limitation the partition had, however, is […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,43],"tags":[83,103,106],"_links":{"self":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts\/4426"}],"collection":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/comments?post=4426"}],"version-history":[{"count":0,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts\/4426\/revisions"}],"wp:attachment":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/media?parent=4426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/categories?post=4426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/tags?post=4426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}