Citrix Pvs PXE booting

Hi All ,

Do I need to set any DHCP if I will use PVS PXE booting only ?  now I am booting the vdisk but no response from the DHCP ,Any idea why ?
viaheroAsked:
Who is Participating?
 
CoralonCommented:
You need 66 & 67 if your DHCP is *not* the PVS server.  PVS will automatically send those options itself if it is the DHCP server.  That's the key difference..

Ultimately, your PXE machines have to have a way of getting an IP Address, and a way of determining the location of the boot file.

IP Address - BDM ISO file or DHCP
Bootfile location - BDM ISO, DHCP options 66/67 (set automatically by PVS when it is its own DHCP server, otherwise set manually).

That's really it.

By default, PVS server will answer any PXE request, but again, you can edit the file to tell it to only answer to specific MAC addresses and it can wildcard those.

Coralon
0
 
viaheroAuthor Commented:
Do I need to set DHCP option 60 ?  other ways how clients will know where is the pxe server ?
0
 
amichaellCommented:
I don't use PXE and the answer seems to change depending upon what you read.  I've been told option 60 is only required when sending the PXE request across subnets.  Is this your configuration?  Have you set option 60?  Is the PXE service running?  Have you tried TFTP and BDM?
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
vivigattCommented:
For PXE (whether PVS or not), you do NEED DHCP.
But if you have a real PXE server, you must NOT set DHCP option 66 and 67.
Subnets have nothing to do with that. If you have subnets, you need some special config on your routers.

I assume that Citrix PVS still comes with a real PXE server (they used to have 3Com PXE services when they were Ardence...)

For DHCP option 60, check  my article and its comments, it's all explained in there :
http://www.experts-exchange.com/articles/2978/PXEClient-dhcp-option-60-what-is-it-for-Can-I-use-PXE-without-it.html

(if it was useful to you, please click the appropriate button or whatever...)
0
 
viaheroAuthor Commented:
the question was ,for setting Citrix PVS to work on PXE booting ,do I need to set any DHCP options ?

in Citrix documentation its says if you will go with PXE option in PVS setup ,you dont need to use DHCP options ,but you need to set DHCP option 60 ? so what is the correct ?   I set the PVS with PXE without any DHCP options then I test it PXE not working ! any idea whats going on ?
0
 
Dirk KotteSECommented:
if you use PXE and DHCP from the same server, the option60 = PXEClient must be set.
but this work is being done.by the PVS configuration wizzard.

with option 66 and 67 you would send the PXE boot server and boot filename with DHCP ...
this is also possible, but i don't use it, because i would lost the redundancy for PVS.

PVS with PXE, TFTP and DHCP great explained here:
http://blogs.citrix.com/2013/08/19/xendesktop-fact-provisioning-services-does-not-require-pxe/
0
 
CoralonCommented:
PVS has a real PXE server.  PXE booting is based on DHCP.

By default, the PXE server on PVS will respond to all requests, which can be a very bad thing, unless you have PVS on an isolated network, or you can be absolutely *sure* that all of your devices are configured to NOT PXE boot.  

However, there is an editor in PVS to allow you to specify which MAC addresses it will respond to (it has wild carding options in it also).

You set your DHCP options to tell the PVS clients where to download their PXE bootstrap file by TFTP. PVS has its own PXE server, or it can use a 3rd party TFTP server.  The TFTP can be load balanced for redundancy, but that is difficult to do.. (there are multiple articles from Citrix on how to do this).

You don't need PXE & DHCP if you are going to use boot ISO files.  Each ISO file needs to be created with its own IP address "compiled" into the image.  It works, and works well, it is just important to keep track of it all.

Coralon
0
 
amichaellCommented:
The .iso files don't require a baked in IP.  A target device booting from an .iso file can grab an IP from DHCP.  I always use BDM as my primary boot with TFTP/PXE second.
0
 
viaheroAuthor Commented:
Carlon if I will use the PXE option for pvs do I need configure the DHCP option 60 only ?
0
 
Brian CTXSupportCitrix ConsultantCommented:
You still need to utilize a DHCP service, either on the same segment (I generally run it from the Provisioning Sever) or with a DHCP helper added to the router to forward any DHCP requests to another DHCP server.  You do not need to set option 60 for PXE in the DHCP options.  The device will need an IP address to talk to the PXE service on the Provisioning Server, either via a boot ISO or DHCP (preferred).
0
 
viaheroAuthor Commented:
how does it work with IP helper,how to set it up ?
0
 
Brian CTXSupportCitrix ConsultantCommented:
What kind of routers are used on your network?  Here's a link for setting it up on Cisco switches/routers.

http://www.cisco.com/en/US/docs/ios/12_4t/ip_addr/configuration/guide/htdhcpre.html

The request will need to be sent to a DHCP server that has a scope in place for that segment.  Personally, I'd install the role on one or more Provisioning Servers, have it authorized in AD, and set reservations for each device.  If you go that route, be sure to re-run the PVS Configuration Wizard.
0
 
CoralonCommented:
I had only mentioned the baked in IP because he was talking about doing it with *no* DHCP.

It's been a while, but if you are PXE booting, you do need to set the 66 & 67 options to tell our PXE clients where to get the bin file.  

Coralon
0
 
Brian CTXSupportCitrix ConsultantCommented:
If you are PXE booting, the PXE server (PVS) is giving the location of the bootfile.  I still set the DHCP options 66 & 67 as a backup, but they are technically not required.

http://blogs.citrix.com/2013/08/19/xendesktop-fact-provisioning-services-does-not-require-pxe/
0
 
viaheroAuthor Commented:
I tried PXE booting but its not working as I didnt set up options 66 & 67
0
 
Brian CTXSupportCitrix ConsultantCommented:
How did you end up setting up DHCP, with the IP Helper or DHCP Service on PVS?  Is it getting an IP address right after the BIOS screen?  Is the PXE server on the same segment?  Enable verbose mode in the Provisioning Configuration Wizard.

http://support.citrix.com/simg/?eid=ka360000000U6Lt&feoid=00N60000002Sl0C&refid=0EM60000000PPB0
0
 
viaheroAuthor Commented:
PXE is in the same segment ,and set up PVS to use local pvs service and no IP helper
0
 
Brian CTXSupportCitrix ConsultantCommented:
Ok, but you still need a DHCP server to give the device an IP address, or set the IP some other way, such as a boot iso.  Can you install the DHCP service on the Provisioning Server?
0
 
viaheroAuthor Commented:
Can you put the steps? Why do I need DHCP service on the PVS server, Citrix said install PVS chose PXE boot service, and that's it? Correct ?
0
 
Brian CTXSupportCitrix ConsultantCommented:
Yes, but that assumes the device has some way to get an IP address.  PXE or not, it still needs an IP.  Is it getting one on the boot screen?  It would look something like the one in this article, if you enabled verbose mode:

http://support.citrix.com/article/CTX133193
0
 
viaheroAuthor Commented:
You mean I need to enable verbose after installing PXE booting ? the last link not working
0
 
Brian CTXSupportCitrix ConsultantCommented:
Link updated, not sure why that picture doesn't work, but it's in that article.
0
 
viaheroAuthor Commented:
then if I set the PVS booting then creat an IP helper we dont need dhcp options ?
0
 
Brian CTXSupportCitrix ConsultantCommented:
I think we need to go back to some basics here.  Are devices on that network segment getting an IP address from DHCP?

If yes, what is the DHCP server?

If no, where do you have DHCP installed, or can you install it, perhaps on PVS, or do you want to use a bootiso?
0
 
viaheroAuthor Commented:
you mean we can install the dhcp server in the pvs ?
0
 
viaheroAuthor Commented:
actually my costumer has infoblox on place ,but he want us to build our own DHCP servers
0
 
Brian CTXSupportCitrix ConsultantCommented:
Before we get to that, is DHCP working on that segment as it sits?  If so, what is the DHCP server?

EDIT:  I see you mentioned Infoblox.  We still need to know if DHCP is working on that segment.  You don't want to setup another DHCP presence if DHCP is already there.
0
 
viaheroAuthor Commented:
no DHCP in the PVS segment
0
 
viaheroAuthor Commented:
now we have 2 dhcp servers ,one server in each PVS ,how to configure the PVS now ? any option setting ?
0
 
Brian CTXSupportCitrix ConsultantCommented:
Just work with one DHCP server for now (stop the service on one of them).  Once you add reservations to both, then you can bring both online, or you can split the scope.  I personally prefer reservations.  You will need to rerun the PVS Configuration Wizard and note that DHCP is running on that server.  You don't technically need options 66 & 67, but it doesn't hurt anything to add them anyway.
0
 
viaheroAuthor Commented:
after enabling the DHCP in both PVS ,still Vdisk not able to boot from DHCP ? why ,

I didnt set the DHCP options
0
 
Brian CTXSupportCitrix ConsultantCommented:
Is your machine set in BIOS to network boot?
0
 
viaheroAuthor Commented:
yes
0
 
Brian CTXSupportCitrix ConsultantCommented:
What does it say on the boot screen?  Is it getting an address from DHCP?  Provide a screen shot if you can.  Enable verbose mode as I mentioned earlier.
0
 
viaheroAuthor Commented:
am not able to take screenshot,but its not able to get IP from the DHCP
0
 
Brian CTXSupportCitrix ConsultantCommented:
Is this in a virtual environment?  (VMware, XenServer, etc)
0
 
viaheroAuthor Commented:
Vmware ,check the screenshot
0
 
Brian CTXSupportCitrix ConsultantCommented:
I don't see a screen shot.
0
 
viaheroAuthor Commented:
0
 
viaheroAuthor Commented:
can you see it now
0
 
Brian CTXSupportCitrix ConsultantCommented:
Yes, I saw it.  Sorry, sometimes my replies don't post.  I'm not sure why that is happening.  There's quite a few causes for that error.  First off, I'd work with only one PVS server at a time.  Shut one of them down for now.  You need to set PVS to verbose mode.  Which server is giving out the DHCP address?  Make sure there's only one DHCP server on the segment for now.  Set the DHCP options 66 & 67 just to be sure.  Reboot PVS.
0
 
viaheroAuthor Commented:
DHCP installed in the same PVS ,option 66 67 configured but  "No Entry Found in Database for Device"
0
 
Brian CTXSupportCitrix ConsultantCommented:
Perfect.  PVS is working.  You need to add an entry in the PVS console with the MAC address for that device and assign a disk, etc. (The MAC in the screenshot if it has multiple adapters).
0
 
viaheroAuthor Commented:
when I create the Vdisk I make it auto ,so the Vdisk created by it self
0
 
viaheroAuthor Commented:
how to create Vdisk manual and strat streaming ?
0
 
Brian CTXSupportCitrix ConsultantCommented:
You are starting with a new question within your existing topic.  The original question you asked has been answered.

"Do I need to set any DHCP if I will use PVS PXE booting only ?  now I am booting the vdisk but no response from the DHCP ,Any idea why ?"

The basic answer is that you didn't have a DHCP server.

You asked another question about there being no entry for the device, and now you are asking yet another question about the process involved to create a vdisk, which will be a long answer, especially when it has to be explained to someone who lacks understanding of very basic principles of Citrix Provisioning Services.  The only reason there are so many replies to this thread is because you didn't listen to the advice multiple experts have given you.  You mentioned "your customer" (sorry, your costumer) in one of your posts, and I find it alarming that you are being paid to do this sort of work with the level knowledge (or lack thereof) you have demonstrated in this thread.
0
 
CoralonCommented:
Yeah.. there's a *lot* more to PVS, and if you don't understand how to create the disks, register your devices, etc. you'd be far far better off getting someone else to do it.

Coralon
0
 
Brian CTXSupportCitrix ConsultantCommented:
Sorry, I didn't mean to be harsh.  My main point, as I said in the private message to you, this topic needs to be closed and a new one needs to be started.  The thread is way too long for others to read through to find an answer.  It's much better if the thread follows the original topic instead of meandering over many topics.  The project you are working on consists of several different issues.  It's also a bit frustrating when we have to restate certain points multiple times.
0
 
viaheroAuthor Commented:
another questions open alreayd for the DHCP error
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.