• Citrix Provisioning Services Assessment Script Update 1.02

    February 17, 2016

    PowerShell, PVS

    During a recent “Citrix” assessment, the customer ran the PVS Assessment script and sent me the output. From the report, I noticed something very odd and wondered how the setting was even possible. I contacted a friend who confirmed it as a bug in PVS. I updated the PVS Assessment script to make the bug more noticeable in the report. I also took the time to add a couple of helpful links in the report.

    #Version 1.02 17-Feb-2016

    • In help text, changed the DLL registration lines to not wrap
    • In help text, changed the smart quotes to regular quotes
    • Added for Appendix E a link to the Citrix article on DisableTaskOffload
    • Added link to PVS server sizing for server RAM calculation
    • Added comparing Streaming IP addresses to the IP addresses configured for the server
      • If a streaming IP address does not exist on the server, it is an invalid streaming IP address
      • This is a bug in PVS that allows invalid IP addresses to be added for streaming IPs

    In the PVS Console, Site, Servers, Properties, on the Network tab you can enter Streaming IP addresses. Only IP addresses that are configured for the PVS server should be entered. The problem is the “Add” dialog does only one validation: that you enter a number lower than 256. This means you can enter any IP address you want (not that you should).

    Figure 1
    Figure 1

    In Figure 1, the only valid IP address is the server’s IP address of 192.168.1.177. None of the others should have been allowed (well, maybe 127.0.0.1 can be valid but probably not).

    I now compare the list of Streaming IP addresses:

    
    Servers
    Name: PVS77
    Log events to the server's Windows Event Log: No
    Streaming IP addresses: 192.168.1.177, 10.1.2.3, 172.16.1.2, 0.0.0.0, 255.255.255.255, 127.0.0.1
    First port: 6910
    Last port: 6930
    Management IP: 192.168.1.177
    
    

    To the list of configured IP addresses on the server:

    
    Network Interface(s)
    Name: XenServer PV Network Device #0
    Connection ID: Ethernet 2
    Manufacturer: Citrix Systems Inc.
    Physical Address: CA:8E:F6:91:80:B2
    IP Address: 192.168.1.177
    Default Gateway: 192.168.1.1
    Subnet Mask: 255.255.255.0
    
    

    Any Streaming IP Address that does not exist as a server configured IP addresses are flagged as bad and reported in the new Appendix J:

    
    Appendix J - Bad Streaming IP Addresses
    Streaming IP addresses that do not exist on the server
    
    Server Name Streaming IP Address
    =====================================
    PVS77       0.0.0.0
    PVS77       10.1.2.3
    PVS77       127.0.0.1
    PVS77       172.16.1.2
    PVS77       255.255.255.255
    
    

    You can always find the most current script by going to https://carlwebster.com/where-to-get-copies-of-the-documentation-scripts/

    Thanks

    Webster

    About Carl Webster

    Webster is a Sr. Solutions Architect for Choice Solutions, LLC and specializes in Citrix, Active Directory and Technical Documentation. Webster has been working with Citrix products for many years starting with Multi-User OS/2 in 1990.

    View all posts by Carl Webster

    No comments yet.

    Leave a Reply