{"id":4467,"date":"2016-08-25T04:00:13","date_gmt":"2016-08-25T12:00:13","guid":{"rendered":"https:\/\/www.atumvirt.com\/?p=4467"},"modified":"2016-08-25T04:00:13","modified_gmt":"2016-08-25T12:00:13","slug":"updating-provisioning-services-bootstrap-for-each-server-in-the-site","status":"publish","type":"post","link":"https:\/\/avtempwp.azurewebsites.net\/2016\/08\/updating-provisioning-services-bootstrap-for-each-server-in-the-site\/","title":{"rendered":"Updating Provisioning Services Bootstrap for Each Server in the Site"},"content":{"rendered":"

There are times where you need to configure the bootstrap information (or re-configure) for the servers in the farm. The bootstrap information can be updated in a few different ways. The first place you will encounter the bootstrap information screen is in the configuration wizard while configuring Provisioning Services if you selected the \u201cUse the Provisioning Services TFTP service\u201d option. For more information about selecting a bootstrap deployment method, please click here<\/a>.<\/p>\n

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

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

If you did not select this option or have chosen the wrong options, there is no need to worry. This information can be modified after the fact. To do so, you can use the Provisioning Services Console to access the same information. Simply right click a server from the list and choose \u201cConfigure Bootstrap\u201d.<\/p>\n

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

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

Up to four Provisioning Services servers can be specified in a bootstrap. In smaller farms, this isn\u2019t an issue, but in larger deployments an administrator may wish to have devices log into specific farm servers. The \u201cRead Servers from Database\u201d will only populate the first four. You can manually add any Provisioning Server by simply clicking \u201cAdd\u201d or edit an existing entry.<\/p>\n

As an alternative to using the GUI, which can require a significant number of clicks in a large farm, PowerShell can be used instead. Open the PowerShell console as an administrator and import the PVS snapin from the PowerShell SDK from version 7.7 or above (it is possible to use the SDK with an older version just keep in mind this is not necessarily fully supported by Citrix).<\/p>\n

Import-module \"C:\\program files\\Citrix\\Provisioning Services Console\\Citrix.PVS.SnapIn.Dll\"<\/pre>\n

In order to update the bootstrap, we can perform the following command<\/p>\n

get-pvsserver | %{ Set-PvsServerBootstrap -servername $_.servername -Bootserver1_IP \"192.168.1.100\" -bootserver2_IP \"192.168.1.101\" -Name \"ARDBP32.bin\" }<\/pre>\n

The first command, Get-PVSServer will act on each server in the PVS site (it is assumed this command is being run on a PVS server. We then pipe this output to \u201cForEach-Object\u201d (represented by the alias %), where we set set bootserver1_IP and bootserver2_IP. You can set additional properties, such as port, just as you would in the GUI. For a full list of properties, consult the help in the \u201cPowerShell Object Oriented API Interface\u201d available in the Citrix documentation<\/a>.<\/p>\n

Once the bootstrap has been modified, if you are using the TFTP deployment method, your changes are live and active the next time the file is downloaded when the target devices boot. However, if you are using the Boot Device Manager (BDM) partition based method, you can use the \u201cUpdate BDM Partition\u201d option in the console to update existing devices. For more information on updating existing BDM partitions, see the previous article here<\/a>. Otherwise, the new bootstrap information will only be available to newly provisioned devices through the XenDesktop Setup Wizard.<\/p>\n

Conclusion<\/h4>\n

Provisioning Services offers multiple ways to configure the bootstrap information and Citrix has made it easier than ever with a proper object-oriented PowerShell interface to enable administrators to quickly update the bootstrap information for a Provisioning Services farm should the need arise. Using scriptable methods ensures consistency among deployment and reduces the chance of error through mis-clicks or typos.<\/p>\n","protected":false},"excerpt":{"rendered":"

There are times where you need to configure the bootstrap information (or re-configure) for the servers in the farm. The bootstrap information can be updated in a few different ways. The first place you will encounter the bootstrap information screen is in the configuration wizard while configuring Provisioning Services if you selected the \u201cUse the […]<\/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":[86,105,106],"_links":{"self":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts\/4467"}],"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=4467"}],"version-history":[{"count":0,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts\/4467\/revisions"}],"wp:attachment":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/media?parent=4467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/categories?post=4467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/tags?post=4467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}