Jump to content
Welcome to our new Citrix community!
  • 0

how to enable PVS accelerator for existing target devices/VMs


Wolfgang Wilhelm

Question

good afternoon,

 

i am looking for a way to enable PVS accelerator for existing device collection/target devices/VMs

 

What has been done:

 

upgraded XenServer to version 7.2 and installed PVS supplemental pack

upgraded PVS Server to version 7.13

upgraded target device software, installed latest XenTools, VMs show windows update capability

create XenServer PVSSR

 

All documentation says i have to use the stream VM wizard. If i use it is shows the checkbox "PVS accelerator enabled" on PVSServer on the target device

 

VM shows also in XenCenter with feature PVS acceletaror status caching.

 

My question is:

 

How do i enable this for an existing XenApp65 device collection?

I was able to set the feature per VM in XenServer, but the checkbox is missing for these target devices in PVServer 7.13?

 

thoughs?

 

greeting from Germany

 

 Wolfgang

 

Link to comment

9 answers to this question

Recommended Posts

  • 0

finally i found it:

 

the target devices created in PVS hadn't  a VirtualHostingPoolId set.

 

get-pvsdevice -DeviceName TARGETDEVICENAME

VirtualHostingPoolId    : 00000000-0000-0000-0000-000000000000

 

Get-PvsVirtualHostingPool

VirtualHostingPoolId         : e32d2539-dbbd-4d51-8949-FFFFFFFFFFFF

 

i went to the SQL database and updated the records:

 

update dbo.Device set virtualHostingPoolId='E32D2539-DBBD-4D51-8949-FFFFFFFFFFFF' where devicename like 'TARGETDEVICENAME'

 

now the checkbox is available on the target device properties is available.

When it is ticked it does create a PVS_PROXY on the XenServerHost for the streaming VIF.

 

So now i know how it works :-)

 

Wolfgang

  • Like 1
Link to comment
  • 0

After  upgrading the XenServer and PVS server.  Run the VM setup Wizard and create a VM on the upgraded XenServer with the PVS-Accelerator enabled.  This will update the host record for the XenServer you are using (Never delete a hosting unit and recreate it because all the targets using the host will no longer be associated with it)   Once updated you can now use the PVS console, select the device you want to use the PVS-Accelerator cache  and enable it on it's property page.

 

Carl

Link to comment
  • 0

Does the XenServer hosting Unit that the target is on show that the PVS-Accelerator is enabled?  What using the VM setup wizard (or XD setup wizard) does is detects the XS host you are using has the PVS-Accelerator enabled and sets the hosting unit, then all targets that use that host should have the check box on the device properties page enabled

 

Carl

Link to comment
  • 0

Note quite suer if i get your question right:

 

>Does the XenServer hosting Unit that the target is on show that the PVS-Accelerator is enabled?

 

If you mean the Virtual connect host properties, yes.

 

> What using the VM setup wizard (or XD setup wizard) does is detects the XS host you are using has the PVS-Accelerator enabled and sets the >hosting unit, then all targets that use that host should have the check box on the device properties page enabled

 

Yes, the wizard also creates new devices.

please see attached pictures from PVS server for an existing machine test1 and for a machine that was created via wizard.

 

for machine test1 i manually enabled the accelerator on XenServer via XenCenter, but the checkbox on PVSServer/target device  is missing.

for machine test1-pvs i did it via wizard, checkbox is there on PVSServer/target device (not enabled on the VM on Xenserver. But it can be manually enabled: means i have the setting on XenServer (VM) and on target device (PVS).

 

How do i add pictures?

 

 

 

 

Link to comment
  • 0

PVS can not detect targets set by XenCenter, I would not recommend using Xencenter to set devices.  I am not sure why this is not working on the PVS console, we tested it here to make sure that the upgrade would work.  The devices created using the wizard could use the PVS Accelerator?   

 

I do not see the attachment option either...

 

Carl

Link to comment
  • 0

> The devices created using the wizard could use the PVS Accelerator?  

That is the question :-)

 

at least the checkbox on the target device is checked, but XenCenter does not show PVSaccelerator enabled (can manually enable it, too).

 

So when does the accelerator function work properly?

 

a) PVS-A set on VM / XenCenter

b PVS-A set on target device / PVServer

c) PVS-A has to be enabled on both ( VM/XenCenter + taget device/PVServer) sides

 

for all choices the PVS-A is enabled on the virtual host connection to the Xen Pool

 

Wolfgang

Link to comment
  • 0

Wolfgang, by chance your existing target devices are using a different host connections than the newly deployed target device? The reason is each hosting connection is unique, although they could all resolve to the same host name. If your existing devices were created using a hosting connection such with FQDN notation and your newly deployed target is created without FQDN, although they are the same server/host, the hosting connection is unique. 

 

Run a mcli get device and compare the virtualHostingPoolId. If they do not match, then they are not using the same Host connection. 

 

I do have one question for Carl and others. How do I avoid having to right click and update each Device one by one to enable cache accelerator? The device property copies does not have that option and i'm not seeing anywhere to script this. Thanks!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...