LoginVSI PowerShell – Automate Tests


I have a PowerShell function that preps my lab and another executes a single LoginVSI test.  Now, I need to fully automate my LoginVSI testing to perform multiple tests without any interaction.  I need to do the following: Perform a test for each Master VM I specify For each Master VM, test specific workloads For... Continue Reading →

Advertisements

Citrix Hypervisor PowerShell – Reset VM


This XenServer PowerShell script resets a XenServer VM by doing the following: Shuts down the VM down and waits for the VM to power off Reverting to the "Baseline" snapshot (creates one if one not already created) Starts the VM Waits for VM to be in a running state, (waits until the VM's Netlogon Windows... Continue Reading →

LoginVSI PowerShell – New-CitrixVSITest


Being able to automate a LoginVSI test saves a lot of time, but there is more to testing than just the LoginVSI portion. We must remember to get the environment prepared for a LoginVSI test. For a Citrix XenApp and XenDesktop test, I always need to do the following: Prepare environment Remove the first VM... Continue Reading →

LoginVSI PowerShell – Invoke-VSITest


LoginVSI automates performance testing and I need to automate LoginVSI. By calling this one function, I can invoke a single LoginVSI test. At a high-level, the test does the following Prepare test These items simply get the environment ready for a LoginVSI test. It includes doing the following: Delete any old test files on the... Continue Reading →

Pooled Desktops with Local Host Cache


Local host cache, within XenApp and XenDesktop, utilizes a local DB to store configuration information. This local DB is continuously updated by the master SQL DB. When connectivity to the SQL DB fails, the controller automatically switches to the local DB. When the link to the SQL DB is restored, the controller automatically switches back.... Continue Reading →

XenServer PowerShell: Capture Metrics


Sometimes, I need to capture CPU, RAM and disk metrics on my XenServer hosts.  I've been able to automate this process with PowerShell. Start-XSMetrics This script starts the metric gathering process on a XenServer host. The first block are the parameters. To make this work, I need to create a SSH session to the XenServer... Continue Reading →

Create a free website or blog at WordPress.com.

Up ↑