Scripting: Automate launching HDX sessions StoreFront (and NetScaler StoreFront with integrated gateway)

1:08 PM
Scripting: Automate launching HDX sessions StoreFront (and NetScaler StoreFront with integrated gateway) -

At Citrix Solutions Lab, we constantly pushing Citrix solutions to the limit and we are testing wide variety of architectures. Many times this involves the launch of a number of HDX sessions in our tests. To do this, we leverage Consultants Log VSI as orchestrator session independent and industry-standard for our tests.

There are some time, Citrix Consulting Services has published a white paper in which they discussed how to use Login VSI with XenDesktop and use the customized command line useful with CSV. This option lets you use a comma separated values ​​file to store user names and other information used for the test. They also provided a sample script that we have adopted for many of our tests that was written in Python. The white paper here: Citrix XenDesktop with Login Consultants VSI

Over time, we ran into several shortcomings .. The main example being the only supported Web Interface as there were requirements more incoming to test with StoreFront. In addition, the minimum logging information is difficult troubleshooting, poor handling or exception wait times, requirement of battery Python and the third library to execute, and the requirement of the library Pamie which functioned until Internet Explorer 8. This gave us an opportunity to come up with an improved version and more robust, and provide future value.

This opportunity came in fruits as a PowerShell script, we called SFLauncher as an allusion to WILauncher which was the original script of CCS. This new script, while following the same process and when using a user using a browser to connect to a published resource, brought many benefits (as well as some new features) from WILauncher.

The new SFLauncher PowerShell script requires to do its magic and preserved the familiar variable order, but this time the support and NetScaler StoreFront StoreFront with integrated bridge. Some of the enhancements and features include logging in to the console and / or log file, exception handling, customizable number of attempts before timeout, support for virtually any contemporary version of Internet Explorer, no need for third party batteries part / components, support for two-factor authentication in NetScaler Gateway, customizable ID DOM / names, bypassing the plug-in assistant, customizable sleep before disconnecting, and comprehensive help documentation via PowerShell

TL ;. DR, we present SFLauncher.ps1. However, before you start, please make sure you try the script in a test environment, file backup before making any changes, and read the disclaimer at the end of this post. SFLauncher.ps1 The script is available in an updated blog here .

Moreover, this script does not work AppController at that time, but we'll be looking into it!

feel Please free to let us know in the comments if you find it useful.

Happy Scripting!

Santiago Cardenas
Citrix Solutions Lab

Disclaimer:

This code / software sample is provided "AS IS" without representation, warranty or condition of any kind. You can use, modify and distribute at your own risk. CITRIX DISCLAIMS ALL WARRANTIES, EITHER EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the software code / sample can introduce errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (B) it may not be possible to make the / example of fully functional software code; and (c) Citrix may, without notice or liability to you, cease to provide the current version and / or all future versions of the software code / sample. In any case, the software / code should be used to support ultra-hazardous activities, including but not limited to life support or blasting operations. CITRIX, ITS AFFILIATES OR AGENTS BE LIABLE FOR BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY FOR ANY DAMAGES ARISING FROM THE USE OF THE SOFTWARE CODE / SAMPLE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any claim arising from your use, modification or distribution of the code.

Previous
Next Post »
0 Komentar