<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://techtalkpro.net/feed.xml" rel="self" type="application/atom+xml" /><link href="https://techtalkpro.net/" rel="alternate" type="text/html" /><updated>2026-11-30T15:33:59+00:00</updated><id>https://techtalkpro.net/feed.xml</id><title type="html">TechTalkPro</title><subtitle>Virtualisation, EUC, cloud computing and emerging technology</subtitle><entry><title type="html">Citrix Cloud – Configuring published applications with custom icons</title><link href="https://techtalkpro.net/2020/05/16/citrix-cloud-configuring-published-applications-with-custom-icons/" rel="alternate" type="text/html" title="Citrix Cloud – Configuring published applications with custom icons" /><published>2020-05-16T17:51:20+01:00</published><updated>2020-05-16T17:51:20+01:00</updated><id>https://techtalkpro.net/2020/05/16/citrix-cloud-configuring-published-applications-with-custom-icons</id><content type="html" xml:base="https://techtalkpro.net/2020/05/16/citrix-cloud-configuring-published-applications-with-custom-icons/"><![CDATA[<p>I recently helped a customer get going with Citrix Cloud (Virtual Apps and Desktops sevice) and whilst in the process of configuring their published apps they asked for a handful of custom icons. A number of their webapps run using Chrome but they wanted to have a custom icon for the application that was more relevant, opposed to the standard Chrome icon, this makes for a better look and feel and improved user experience. With Citix Cloud, you only get to choose from the Citrix default icons with no option to upload your own:</p>
<p><a href="/assets/media/7adb347e7715-default-icons.png"><img data-attachment-id="1831" data-permalink="http://techtalkpro.net/2020/05/16/citrix-cloud-configuring-published-applications-with-custom-icons/default-icons/" data-orig-file="/assets/media/7adb347e7715-default-icons.png" data-orig-size="506,282" data-comments-opened="1" data-image-title="default-icons" data-image-description="" data-image-caption="" data-large-file="/assets/media/7adb347e7715-default-icons.png" loading="lazy" class="alignnone wp-image-1831" src="/assets/media/7adb347e7715-default-icons.png" alt="" width="422" height="235" /></a></p>
<p>Thankfully, with a little help from Powershell, it&#8217;s easily achieved. In this example, we will use <a href="https://grafana.com/" target="_blank" rel="noopener">Grafana </a>which leverages the browser to access configured dashboards.</p>
<p>It&#8217;s a pretty straight forward setup &#8211; publish Chrome as you normally would with the addition of the command line argument targeting the URL of the application:</p>
<p><a href="/assets/media/827afdb46ab1-grafanalocation-1.png"><img data-attachment-id="1839" data-permalink="http://techtalkpro.net/2020/05/16/citrix-cloud-configuring-published-applications-with-custom-icons/grafanalocation-2/" data-orig-file="/assets/media/827afdb46ab1-grafanalocation-1.png" data-orig-size="755,373" data-comments-opened="1" data-image-title="grafanalocation" data-image-description="" data-image-caption="" data-large-file="/assets/media/827afdb46ab1-grafanalocation-1.png" loading="lazy" class="alignnone wp-image-1839" src="/assets/media/827afdb46ab1-grafanalocation-1.png" alt="" width="488" height="241" /></a></p>
<p><strong>Tip </strong>&#8211; Typically, published browsers are setup before anything that&#8217;s custom so you can choose to duplicate the application in Studio &gt; Applications to save a little time on the setup, just be sure to rename, group and deliver as required:</p>
<p><a href="/assets/media/ae71e73cb4de-dupapp.jpg"><img data-attachment-id="1842" data-permalink="http://techtalkpro.net/2020/05/16/citrix-cloud-configuring-published-applications-with-custom-icons/dupapp/" data-orig-file="/assets/media/ae71e73cb4de-dupapp.jpg" data-orig-size="884,393" data-comments-opened="1" data-image-title="dupapp" data-image-description="" data-image-caption="" data-large-file="/assets/media/ae71e73cb4de-dupapp.jpg" loading="lazy" class="alignnone wp-image-1842" src="/assets/media/ae71e73cb4de-dupapp.jpg" alt="" width="496" height="220" /></a></p>
<p>Your target icon must be saved in the correct .ico format, this is not a case of saving the image file as a .ico, use one of the many online converters. I recommend <a href="https://www.icoconverter.com/">icoconverter</a>&#8230;</p>
<p><a href="/assets/media/521c02a31836-ico-file.png"><img data-attachment-id="1847" data-permalink="http://techtalkpro.net/2020/05/16/citrix-cloud-configuring-published-applications-with-custom-icons/ico-file/" data-orig-file="/assets/media/521c02a31836-ico-file.png" data-orig-size="1152,672" data-comments-opened="1" data-image-title="ico-file" data-image-description="" data-image-caption="" data-large-file="/assets/media/521c02a31836-ico-file.png" loading="lazy" class="alignnone wp-image-1847" src="/assets/media/521c02a31836-ico-file.png" alt="" width="769" height="448" /></a></p>
<p>Choose your custom image, select all sizes (256 pixels is key), select 32 bits for bit depth and convert.</p>
<p>Place the downloaded image (it should have exported with the .ico extension) in the root the C drive on your domain-joined management box (or wherever you intend on connecting to Citrix Cloud from)</p>
<p>Now we connect to the Citrix Cloud tenant using the Powershell SDK, if you are not familiar with this process, here are the steps (taken from <a href="https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/sdk-api.html">https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/sdk-api.html</a>)</p>
<h3 id="install-and-use-the-remote-powershell-sdk">Install and use the Remote PowerShell SDK</h3>
<p>Requirements:</p>
<ul>
<li>Ensure that PowerShell 3.0 or later is available on the machine.</li>
<li>If the machine has the Citrix Virtual Apps and Desktops Delivery Controller SDK installed, remove that SDK (from Windows Programs and Features) before installing the Remote PowerShell SDK.</li>
</ul>
<p>To install the Remote PowerShell SDK:</p>
<ol>
<li>Download the installer: <a href="https://download.apps.cloud.com/CitrixPoshSdk.exe" target="_blank" rel="noopener noreferrer">https://download.apps.cloud.com/CitrixPoshSdk.exe</a>. The package contains both x86 and x64 implementations.</li>
<li>In the downloaded folder, locate and run the installer.</li>
<li>Follow the dialogs to complete the installation.</li>
</ol>
<p>Installation logs are created in %TEMP%\CitrixLogs\CitrixPoshSdk. Logs can help resolve installation issues.</p>
<p>Run the Citrix Virtual Apps and Desktops Remote PS SDK on a domain-joined computer within that resource location:</p>
<ul>
<li>Open a PowerShell command prompt. You do not need to run as an administrator.</li>
<li>Add the Citrix snapins: <code class="highlighter-rouge">asnp citrix.*</code>.</li>
<li>You can explicitly authenticate by using the <code class="highlighter-rouge">Get-XdAuthentication</code> cmdlet. Or, execute your first Citrix Virtual Apps and Desktops PS SDK command, which will prompt you for the same authentication as Get-XdAuthentication.</li>
<li>To bypass the authentication prompt, you can use the Set-XdCredentials cmdlet to create a default authentication profile, using a Secure Client created in the Citrix Cloud console.</li>
</ul>
<p>Once authenticated, run the following Powershell command:</p>
<pre>$icon=Get-BrokerIcon -FileName "&lt;Location of the .ico file&gt;" |New-BrokerIcon | Select-Object Uid
Get-BrokerApplication -name "&lt;Name of the published application&gt;" | Set-BrokerApplication -IconUid $icon.Uid</pre>
<p>Using my Grafana example, it looks like this:</p>
<pre>$icon=Get-BrokerIcon -FileName "grafana.ico" |New-BrokerIcon | Select-Object Uid
Get-BrokerApplication -name "IMC Grafana Dashboards" | Set-BrokerApplication -IconUid $icon.Uid</pre>
<p>Once the command has run, no news is good news&#8230; refresh Studio, Storefront/Workspace and you should be good&#8230;</p>
<h4><strong>Studio &gt; Applications: </strong></h4>
<p><a href="/assets/media/db6cdda0a48d-apps-ctx.png"><img data-attachment-id="1825" data-permalink="http://techtalkpro.net/2020/05/16/citrix-cloud-configuring-published-applications-with-custom-icons/apps-ctx/" data-orig-file="/assets/media/db6cdda0a48d-apps-ctx.png" data-orig-size="720,252" data-comments-opened="1" data-image-title="apps-ctx" data-image-description="" data-image-caption="" data-large-file="/assets/media/db6cdda0a48d-apps-ctx.png" loading="lazy" class="alignnone  wp-image-1825" src="/assets/media/db6cdda0a48d-apps-ctx.png" alt="" width="503" height="176" /></a></p>
<h4><strong>Workspace: </strong></h4>
<p><a href="/assets/media/cb6258e92436-workspace-grafana.png"><img data-attachment-id="1827" data-permalink="http://techtalkpro.net/2020/05/16/citrix-cloud-configuring-published-applications-with-custom-icons/workspace-grafana/" data-orig-file="/assets/media/cb6258e92436-workspace-grafana.png" data-orig-size="435,318" data-comments-opened="1" data-image-title="workspace-grafana" data-image-description="" data-image-caption="" data-large-file="/assets/media/cb6258e92436-workspace-grafana.png" loading="lazy" class="alignnone  wp-image-1827" src="/assets/media/cb6258e92436-workspace-grafana.png" alt="" width="498" height="363" /></a></p>
<p><strong>NOTE</strong> &#8211; The application icon should appear in Studio after a refresh but I&#8217;ve experienced some delays of it showing up in Citrix Workspace, give it 30 mins or so before you go digging.</p>
<p>If you happen to get a &#8216;CannotReadLocation&#8217; error when running the Powershell command it&#8217;s likely a problem with the file format&#8230; try rerunning the .ico conversion process with a fresh image:</p>
<p><a href="/assets/media/a377e84f7ae6-graferror.png"><img data-attachment-id="1861" data-permalink="http://techtalkpro.net/2020/05/16/citrix-cloud-configuring-published-applications-with-custom-icons/graferror/" data-orig-file="/assets/media/a377e84f7ae6-graferror.png" data-orig-size="1082,178" data-comments-opened="1" data-image-title="graferror" data-image-description="" data-image-caption="" data-large-file="/assets/media/a377e84f7ae6-graferror.png" loading="lazy" class="alignnone  wp-image-1861" src="/assets/media/a377e84f7ae6-graferror.png" alt="" width="897" height="146" /></a></p>
<p>I hope this has been of use, cheers!</p>
<p>&nbsp;</p>]]></content><author><name></name></author><category term="Citrix Cloud" /><category term="Powershell" /><category term="Published Apps" /><category term="Citrix Cloud" /><category term="Powershell" /><category term="Published Apps" /><summary type="html"><![CDATA[I recently helped a customer get going with Citrix Cloud (Virtual Apps and Desktops sevice) and whilst in the process of configuring their published apps they asked for a handful of custom icons. A number of their webapps run using Chrome but they wanted to have a custom icon for the application that was more […]]]></summary></entry><entry><title type="html">My first FAIL!</title><link href="https://techtalkpro.net/2018/04/04/my-first-fail/" rel="alternate" type="text/html" title="My first FAIL!" /><published>2018-04-04T13:33:45+01:00</published><updated>2018-04-04T13:33:45+01:00</updated><id>https://techtalkpro.net/2018/04/04/my-first-fail</id><content type="html" xml:base="https://techtalkpro.net/2018/04/04/my-first-fail/"><![CDATA[<p>There’s nothing quite like that short lived ‘buzz’ after walking out a tech exam with a big phat PASS! Back in January however, I came out of the examination room with what’s best described as a ‘stunned stagger’ in place of the more familiar ‘victory swagger’ 🙂</p>
<p>What beat me? Office 365, 70-347 – Enabling Office 365 Services. I only missed it by 2 questions but it may have well have been 10 with the amount of guess work I was doing. I knew I wasn’t fully prepared but I thought I had enough knowledge to scrape on through. I felt this way a couple of times in the past and it always worked out, but this time it didn&#8217;t. My Powershell skills are pretty decent but my practical experience around the Skype for Business and SharePoint online modules let me down&#8230; not to mention Staffhub, I got a few questions on that and I was like &#8220;What&#8217;s a Staffhub?&#8221;&#8230; yeah, oh dear&#8230;</p>
<p>I managed to comfortably pass 70-347 at the end of March and what a relief that was. Not only did I get the certification, but I can now avoid that walk of shame leaving the test centre, which was quite painful first time around.</p>
<p>It will come as no surprise but all it needed was some time and effort. I ran up a couple of O365 E3 trials and got stuck into the practical, making sure I addressed my weaknesses, and got on top of the newer apps and services. I also used the free tutorials by Platform Scholar which I highly recommend for anyone who is thinking of going for the O365 MSCA. Here&#8217;s a link to the channel:</p>
<p><a href="https://www.youtube.com/channel/UCJuU1BAaEeVMTSopVX05Q9g" rel="nofollow">https://www.youtube.com/channel/UCJuU1BAaEeVMTSopVX05Q9g</a></p>
<p>They are updated pretty regularly and cover both 70-346, Managing Identities &amp; Requirements and 70-347 and Enabling Office 365 Services, which combined give you the MCSA. More detail on that here:</p>
<p><a href="https://www.microsoft.com/en-gb/learning/mcsa-office365-certification.aspx" rel="nofollow">https://www.microsoft.com/en-gb/learning/mcsa-office365-certification.aspx</a></p>
<p>I&#8217;m taking this failure as positive, as it has eradicated any complacency I had lurking in the system, which should help with the other exams I have lined up for this year. A bunch of Citrix renewals, Architecting Azure Solutions and Windows Server 2016. The fun and learning never ends&#8230;</p>
<p>Good luck to anyone taking the exam and feel free to ask any questions, cheers</p>
<p> </p>]]></content><author><name></name></author><category term="Certification" /><category term="Microsoft" /><category term="Office 365" /><summary type="html"><![CDATA[There’s nothing quite like that short lived ‘buzz’ after walking out a tech exam with a big phat PASS! Back in January however, I came out of the examination room with what’s best described as a ‘stunned stagger’ in place of the more familiar ‘victory swagger’ 🙂 What beat me? Office 365, 70-347 – Enabling […]]]></summary></entry><entry><title type="html">VMUG Scotland… A first for me…</title><link href="https://techtalkpro.net/2017/10/27/vmug-scotland-a-first-for-me/" rel="alternate" type="text/html" title="VMUG Scotland… A first for me…" /><published>2017-10-26T18:51:20+01:00</published><updated>2017-10-26T18:51:20+01:00</updated><id>https://techtalkpro.net/2017/10/27/vmug-scotland-a-first-for-me</id><content type="html" xml:base="https://techtalkpro.net/2017/10/27/vmug-scotland-a-first-for-me/"><![CDATA[<p>It&#8217;s funny&#8230; there was a period of my career where VMware was a main focus and I&#8217;d spend countless hours implementing, supporting and upgrading the platform but I never found myself attending a VMUG. This wasn&#8217;t through lack of interest by any means&#8230; just busy, I guess.</p>
<p>Now that I&#8217;ve gone stagnant with the technology and it&#8217;s no longer on my radar I find myself at my first VMUG today, go figure! 🙂</p>
<p>The event was held in Edinburgh&#8217;s elegant Surgeon&#8217;s Hall which proved to be a bit of a maze but I managed to make registration with a minute to spare. Unfortunately I couldn&#8217;t hang around all day but the the first half was great. Very well organised with great content around what&#8217;s new and in the pipeline for vSAN, NSX and Data Recovery.</p>
<p>My highlight of the day was Chris Wahl&#8217;s talk on his journey to full stack engineering. I&#8217;ve been an avid listener of the Datanauts podcast since it began on PacketPushers a couple of years back and if I&#8217;m honest, seeing his name on the lineup was a clincher for registering  and taking the train through to Edinburgh. Chris talked through his life in tech, from his early beginnings of hacking games from 8 years old, through to his tough gigs like saving us all from the Y2K bug then &#8216;busting&#8217; his way through many of the IT silos &#8211; giving us great insights into the wins and pitfalls of his career.</p>
<p>I was fortunate enough to grab some of his time, sip some coffee and talk some tech 🙂</p>
<p><img loading="lazy" data-attachment-id="1662" data-permalink="http://techtalkpro.net/2017/10/27/vmug-scotland-a-first-for-me/wahl/" data-orig-file="/assets/media/edc4ee5af364-wahl.jpg" data-orig-size="1334,1000" data-comments-opened="1" data-image-title="wahl" data-image-description="" data-image-caption="" data-large-file="/assets/media/edc4ee5af364-wahl.jpg" class="  wp-image-1662 aligncenter" src="/assets/media/edc4ee5af364-wahl.jpg" alt="wahl" width="448" height="336" /></p>
<p>For anyone that&#8217;s not been to a Scottish VMUG and has an interest in the technology I&#8217;d definitely recommend it. A well organised event with plenty of friendly people to mingle with and learn from.</p>
<p>Get signed up here:</p>
<p><a href="https://www.vmug.com/Join" rel="nofollow">https://www.vmug.com/Join</a></p>
<p>And be sure to subscribe the Datanauts podcast:</p>
<p><a href="http://packetpushers.net/datanauts-podcast/" rel="nofollow">http://packetpushers.net/datanauts-podcast/</a></p>
<p> </p>]]></content><author><name></name></author><category term="Tech User Groups" /><category term="vmware" /><summary type="html"><![CDATA[It’s funny… there was a period of my career where VMware was a main focus and I’d spend countless hours implementing, supporting and upgrading the platform but I never found myself attending a VMUG. This wasn’t through lack of interest by any means… just busy, I guess. Now that I’ve gone stagnant with the technology […]]]></summary></entry><entry><title type="html">How to install the Kaseya VSA Agent on a non-persistent machine</title><link href="https://techtalkpro.net/2017/06/02/how-to-install-the-kaseya-vsa-agent-on-a-non-persistent-machine/" rel="alternate" type="text/html" title="How to install the Kaseya VSA Agent on a non-persistent machine" /><published>2017-06-02T12:26:45+01:00</published><updated>2017-06-02T12:26:45+01:00</updated><id>https://techtalkpro.net/2017/06/02/how-to-install-the-kaseya-vsa-agent-on-a-non-persistent-machine</id><content type="html" xml:base="https://techtalkpro.net/2017/06/02/how-to-install-the-kaseya-vsa-agent-on-a-non-persistent-machine/"><![CDATA[<p>Deploying Kaseya VSA agents to provisioned workstations and servers from a standard image can be a challenge. Using the typical methods result in duplicate GUID&#8217;s due to the nature of the technology making it impossible to accurately monitor and report on these types of machines.</p>
<p>The following procedure has been tried a tested (successfully) numerous times on Citrix VDI/SBC environments leveraging Provisioning Server and Machine Creation Services. That being said, the process should work on other systems that are non-persistent providing they have a persistent volume where the application files can be placed.</p>
<p>The term &#8216;Target Devices&#8217; used throughout this process is what provisioned desktops and servers are called in Citrix Provisioning server. If you are not familiar with Citrix Provisioning server, think of these as being your non-persistent machines that the image is being delivered to.</p>
<ol>
<li>The first thing we want to do is create an Organisational Unit (OU) where your update / maintenance target device(s) will live.</li>
<li>Apply a GPO to the maintenance Organisational Unit (OU) which will stop Kaseya communicating with the master server.</li>
<li>Create a new agent package configured to install the agent on the persistent drive, typically, the &#8216;writecache&#8217;.</li>
<li>Create a new version and open the master image / vDisk in maintenance mode (read/write)</li>
<li>Manually install the package onto the new version making sure the GPO is working which prevents communication with Kaseya (Stopping the agent from connecting to the Kaseya master server which in turn updates the KaseyaD.ini file)</li>
<li>Once installed, go into the install location on the persistent drive and scoop out a copy of the folder labelled with the agent ID, this is typically found inside &#8216;Program Files (x86)\Kaseya&#8217; (You will need this for later)</li>
<li>Stop the Kaseya services.</li>
<li>Delete the following 3 registry keys:<br />
<img loading="lazy" data-attachment-id="1481" data-permalink="http://techtalkpro.net/kaseya-agent-pvs/" data-orig-file="/assets/media/b76c23bea90d-kaseya-agent-pvs.png" data-orig-size="1066,683" data-comments-opened="1" data-image-title="Kaseya-Agent-PVS" data-image-description="" data-image-caption="" data-large-file="/assets/media/b76c23bea90d-kaseya-agent-pvs.png" class="alignnone size-full wp-image-1481" src="/assets/media/b76c23bea90d-kaseya-agent-pvs.png" alt="Kaseya-Agent-PVS" width="1066" height="683" /></li>
<li>Perform typical cleanup tasks and shutdown the machine.</li>
<li>Promote new version to Test/Production.</li>
<li>Place the folder that was copied in step 3 into the persistent drive on all target devices that are provisioned from the master image / vDisk (This should be placed in the directory Kaseya expects to find it as configured in step 1 (Regedit can be used to confirm this)</li>
<li>Reboot your target devices.</li>
</ol>
<p>That&#8217;s it&#8230; you&#8217;re done. Provisioned / non-persistent machines should now report into the Kaseya master server with a unique GUID as do standard machines.</p>
<p>If Kaseya services fail to start on target devices it&#8217;s likely due to the application files being in the wrong path on the persistent drive. Confirm the application files are where the should be according to the registry.</p>
<p>Very keen to hear how you go. Feedback welcome, thanks</p>
<p> </p>
<p> </p>
<p> </p>]]></content><author><name></name></author><category term="Provisioning Services" /><category term="PVS" /><category term="System Monitoring" /><category term="Virtualization" /><summary type="html"><![CDATA[Deploying Kaseya VSA agents to provisioned workstations and servers from a standard image can be a challenge. Using the typical methods result in duplicate GUID’s due to the nature of the technology making it impossible to accurately monitor and report on these types of machines. The following procedure has been tried a tested (successfully) numerous times on Citrix […]]]></summary></entry><entry><title type="html">Powershell for all as it goes Open Source</title><link href="https://techtalkpro.net/2016/08/27/powershell-for-all-as-it-goes-open-source/" rel="alternate" type="text/html" title="Powershell for all as it goes Open Source" /><published>2016-08-27T11:54:17+01:00</published><updated>2016-08-27T11:54:17+01:00</updated><id>https://techtalkpro.net/2016/08/27/powershell-for-all-as-it-goes-open-source</id><content type="html" xml:base="https://techtalkpro.net/2016/08/27/powershell-for-all-as-it-goes-open-source/"><![CDATA[<p>First off, kudos to that &#8216;Technical Fellow&#8217; Jeffrey Snover and his team in the Powershell division at Microsoft. Powershell is a management framework for task automation and a must for any serious IT Professional working with the Windows platform. As this blog title suggests, Microsoft open sourced it and as of last week it&#8217;s readily available for Linux and Mac OSX. This is very exciting IT news, probably the best I&#8217;ve heard in the last 6 months but what does it actually mean?</p>
<p>With every new technology in the IT space comes a plethora a new capabilities and options to further streamline operations and simplify what we do and how we do it while increasing the ROI&#8230; Yeah, that&#8217;s what we aim for but new options and technologies bring a heap of new challenges too. I recently read that 1 in 3 VM&#8217;s in Azure are running Linux, yes Linux! When you stop and think for a minute, it&#8217;s not very surprising. Businesses today, particularly the enterprise run on various cloud providers, operating systems and platforms. I like the way Microsoft has gone more customer focused since our man Satya Nadella took control of the ship, it&#8217;s a smart move and a sound way for Microsoft to stay relevant as we move towards true Digital Transformation. Open Sourcing Powershell is a great move to help manage and make these various platforms work together.</p>
<p>If you are new to Powershell, or have been more of a &#8216;Linux guy&#8217; and would like to learn more I highly recommend &#8220;Learn Windows Powershell in a Month of Lunches&#8221; by Don Jones and Jeffrey D. Hicks. There are also approx 100 short videos freely available on Youtube by Don Jones.</p>
<p><a href="https://www.manning.com/books/learn-windows-powershell-in-a-month-of-lunches-second-edition" rel="nofollow">https://www.manning.com/books/learn-windows-powershell-in-a-month-of-lunches-second-edition</a></p>
<p>In order to get Powershell up and running on your Mac OSX or Linux machine you just need to run the installer, open the terminal and drop in to Powershell:</p>
<p><img loading="lazy" data-attachment-id="1412" data-permalink="http://techtalkpro.net/2016/08/27/powershell-for-all-as-it-goes-open-source/linuxlab/" data-orig-file="/assets/media/0b853002a3c3-linuxlab.png" data-orig-size="1580,752" data-comments-opened="1" data-image-title="linuxlab" data-image-description="" data-image-caption="" data-large-file="/assets/media/0b853002a3c3-linuxlab.png" class="alignnone size-full wp-image-1412" src="/assets/media/0b853002a3c3-linuxlab.png" alt="linuxlab" width="1580" height="752" /></p>
<p>All cmdlets will work as they do on Windows, there&#8217;s also some new modules like &#8216;new-cronjob&#8217; for OS specific task management but these need to be loaded separately into the relevant Powershell directories, then imported as you would do with a standard snappin or module.</p>
<p>You can find all the detailed information with regard to versions and getting started on the GitHub page here:</p>
<p><a href="https://github.com/Microsoft/PowerShell-DSC-for-Linux" rel="nofollow">https://github.com/Microsoft/PowerShell-DSC-for-Linux</a></p>
<p>I&#8217;ll leave you now with a very interesting technical introduction and demo by the team at Microsoft along with some great guests like Alan Renouf from VMware and AWS showcasing their support and appreciation of the capabilities on their respective platforms.</p>
<p><span class="embed-youtube" style="text-align:center; display: block;"><iframe loading="lazy" class="youtube-player" title="YouTube video player" width="640" height="360" src="https://www.youtube.com/embed/2WZwv7TxqZ0?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe></span></p>
<p>Thanks for reading, feel free to share.</p>]]></content><author><name></name></author><category term="Microsoft" /><category term="Powershell" /><summary type="html"><![CDATA[First off, kudos to that ‘Technical Fellow’ Jeffrey Snover and his team in the Powershell division at Microsoft. Powershell is a management framework for task automation and a must for any serious IT Professional working with the Windows platform. As this blog title suggests, Microsoft open sourced it and as of last week it’s readily […]]]></summary></entry><entry><title type="html">Arcserve RHA Reverse Scenario (Failback) Considerations &amp;amp; Preperation</title><link href="https://techtalkpro.net/2016/08/19/arcserve-rha-reverse-scenario-failback-considerations-preperation/" rel="alternate" type="text/html" title="Arcserve RHA Reverse Scenario (Failback) Considerations &amp;amp; Preperation" /><published>2016-08-19T12:36:36+01:00</published><updated>2016-08-19T12:36:36+01:00</updated><id>https://techtalkpro.net/2016/08/19/arcserve-rha-reverse-scenario-failback-considerations-preperation</id><content type="html" xml:base="https://techtalkpro.net/2016/08/19/arcserve-rha-reverse-scenario-failback-considerations-preperation/"><![CDATA[<p>Arcserve RHA (Replication &amp; High Availability) is one of the core products within the Arcserve suite. At a glance, the Arceserve solution is made up of 3 key components:</p>
<ul>
<li>Arcserve Backup &#8211; Tape Backups</li>
<li>Arcserve UDP / D2D &#8211; Disk to Disk</li>
<li>Arcserve RHA &#8211; Replication &amp; High Availability</li>
</ul>
<p>Having years of experience operating &amp; integrating a range of backup solutions including Commvault, TSM, Symantec &amp; Storagecraft, I&#8217;m no stranger to the trials, tribulations, pain points and chores of the &#8216;backup guy&#8217;. With all that in mind, I have found Arcserve to be a simple and robust solution that&#8217;s fit for the enterprise.</p>
<p>I must say at this point, if you have not used Arcserve in many years and happen to be in the market for a new backup / HA solution, it&#8217;s worth a review as a lot has changed. I mention this as some of my clients who are now in love with the product didn&#8217;t have the fondest of memories from back in the day when its was part of Computer Associates.</p>
<p>In this this article, I will highlight a couple of a challenges I recently came up against with RHA, particularly the failback process (Reverse Scenario). These potential challenges are subject to environment variables that could affect many implementations of the solution and only really come to light in a failback scenario. I thought it would be good to share this experience with the findings and resolutions so that other engineers can consider this at build time and quickly rectify the issues when a failback is required whether it be test or the real deal.</p>
<p><strong>Environment Overview:</strong></p>
<ul>
<li>Replication of 25 business critical servers from Head Office to Co-location</li>
<li>Connected via 1Gb dark fibre</li>
<li>Single backup (UDP/RHA) virtualized host with directly attached storage array (Data Centre / Colo)</li>
</ul>
<p><img loading="lazy" data-attachment-id="855" data-permalink="http://techtalkpro.net/2016/08/19/arcserve-rha-reverse-scenario-failback-considerations-preperation/rha-overview/" data-orig-file="/assets/media/d044e59b42a7-rha-overview.png" data-orig-size="906,232" data-comments-opened="1" data-image-title="RHA &amp;#8211; Overview" data-image-description="" data-image-caption="" data-large-file="/assets/media/d044e59b42a7-rha-overview.png" class="alignnone size-full wp-image-855" src="/assets/media/d044e59b42a7-rha-overview.png" alt="RHA - Overview" width="906" height="232" /></p>
<p>I have weekly automated testing in place using RHA &#8216;Assured Recovery&#8217;. This boots the replicated VM&#8217;s to confirm they start without issue, I also configured a private network so that further testing at the application layer could be carried out manually on a regular basis. This process is none disruptive as the production servers remain online and are unaffected. Detailed, inbuilt reporting provides and an insight to the protected servers and confirms that they would, or would not correctly failover over in a production incident. In this case the reports and regular manual testing were solid. Happy days&#8230; It&#8217;s also worth noting we successfully completed some live testing (failover &amp; failback) using non critical VM&#8217;s during the implementation and test phase.</p>
<p><strong>The Problem:</strong></p>
<p>Following a storage failure in head office (Primary Data Centre), I was forced to initiate a failover of the affected VM&#8217;s residing on the failed LUN. This included a few Citrix Xenapp Application servers and Microsoft Exchange. The failover worked as expected, all affected services were online and fully operational within 15 minutes. Well within the 1 hour SLA.</p>
<p>Once I confirmed that all of the affected VM&#8217;s were running and stable on Colo infrastructure I got the primary storage issue resolved. This took a day or so but when the LUN was reprovisoned I was ready to failback. This is when some problems started to arise. The smaller VM&#8217;s, that being Xenapp Application servers were in sync using RHA and ready to failback within 4 hours, this was 6 servers with 80GB OS volumes. However, Exchange was taking much longer to sync, it was a bigger VM but something wasn&#8217;t adding up. There was around 500 mailboxes on the server with a total size of around 1TB. Baring in mind that the link back to the production system was 1Gb fibre, I would have expected the resync to complete within around 4 hours. Technically speaking, it&#8217;s possible to push 1TB over a 1Gb link in <del></del>124 minutes but I was making allowances for the other RHA and UDP traffic which would be consuming a fair bit.</p>
<p>After taking a closer look at the Exchange RHA scenario I noted that it was only getting 3MBps throughput on the resync. This was destined to fail as the recovery process uses a BMR boot image that leverages WinPE. If you are unaware, WinPE has a 72 hour limit before initiating a compulsary reboot. If I let the scenario continue it would take 89 hours to resync meaning it would be unable to complete due to the interruption of the forced WinPE reboot. This posed a problem, even if I manage to resolve the throughput issue for this particular incident, I have other servers in the environment hosting seismic data that are up to 25 TB in size.</p>
<p>In the next section I&#8217;ll show how to resolve both issues, those being;</p>
<ul>
<li>RHA Resync / throughput issue</li>
<li>WinPE 72 hour reboot issue</li>
</ul>
<p><strong>Solution</strong></p>
<p>RHA Resync / throughput issue</p>
<p>After restarting the RHA scenario a handful of times I found the poor throughput persisted, I had a dig through the logs to find some references to the RHA autotune function which detects the quality of the LAN/WAN link based on a PING check / RTT delay. Anything below 50Ms is considered to be on a LAN / high performing network, anything above 50Ms is deemed to be a WAN link. There is also a default TCP SendRecieve Window size of 256K, this is not auto-sized by the application but it can be manually set to improve performance. This is the TCP chunk size of the buffer on the sending side, the data will be buffered until the receiving side returns an acknowledgement.</p>
<p>In this case the link was considered poor due to the high latency and poor bandwidth measurements. The link was still being utilised for incremental disk backups and replication traffic. I revisited the logs and confirmed that each of the autotune calculations were initiated at a time where there was a lot going on which was the cause of the skewed estimates.</p>
<p>To remedy this I manually set the TCP chunk size to 512k and decreased the TCP streams to 1. This can be done on the following configuration page and configuration file:</p>
<p><strong>Edit Number of streams: </strong></p>
<p><img loading="lazy" data-attachment-id="1297" data-permalink="http://techtalkpro.net/2016/08/19/arcserve-rha-reverse-scenario-failback-considerations-preperation/as2/" data-orig-file="/assets/media/15434334bc90-as2.png" data-orig-size="839,658" data-comments-opened="1" data-image-title="as2" data-image-description="" data-image-caption="" data-large-file="/assets/media/15434334bc90-as2.png" class="alignnone  wp-image-1297" src="/assets/media/15434334bc90-as2.png" alt="as2" width="628" height="492" /></p>
<p><strong>Edit TCP buffer size: </strong></p>
<p><img loading="lazy" data-attachment-id="1296" data-permalink="http://techtalkpro.net/2016/08/19/arcserve-rha-reverse-scenario-failback-considerations-preperation/as1/" data-orig-file="/assets/media/3227a3bb6c7c-as1.png" data-orig-size="635,468" data-comments-opened="1" data-image-title="as1" data-image-description="" data-image-caption="" data-large-file="/assets/media/3227a3bb6c7c-as1.png" class="alignnone size-full wp-image-1296" src="/assets/media/3227a3bb6c7c-as1.png" alt="as1" width="635" height="468" /></p>
<p><strong>WinPE 72 hour reboot issue</strong></p>
<p>This issue can be resolved by running the Sysinternals command line utility &#8216;PSSuspend.exe&#8217; from inside Windows PE on the VM / Physical machine you are attempting to recover.</p>
<p><strong>NOTE:</strong> I originally created all of my BMR ISO&#8217;s in 64bit, for the following process to work and for &#8216;PSSuspend.exe&#8217; to successfully run you must use a 32bit BMR ISO. If you only have 64 bit you will need to create a 32bit version using the Windows Automated Installation Kit (WAIK).</p>
<p><strong>Here are the steps:</strong></p>
<ol>
<li>Pull down a copy of &#8216;PSSuspend.exe&#8217; from Technet (<a href="https://technet.microsoft.com/en-us/sysinternals/bb897540.aspx" rel="nofollow">https://technet.microsoft.com/en-us/sysinternals/bb897540.aspx</a>)</li>
<li>If you are recovering a physical machine, copy the &#8216;PSSuspend.exe&#8217; image to a USB drive. If you are recovering a VM and your Hypervisor platform/version doesn&#8217;t allow USB passthrough you can try attaching a floppy disk drive and copy the &#8216;PSSuspend.exe&#8217; to there.</li>
<li>Start the command line within WinPE by choosing &#8216;Utilities&#8217; then &#8216;Run&#8217;:</li>
<li>In the Run dialog box, type CMD and hit Enter or click OK</li>
<li>In the Command Line Window navigate to the drive/directory where you have &#8216;PSSuspend.exe&#8217;</li>
<li>Run command “pssuspend.exe winlogon.exe”</li>
</ol>
<p>This will prevent automatic WinPE reboot and allow recovery of a full-system that exceeds a duration of 72 hours. If you have any issues executing the command with errors relating to image type confirm you have booted the physical or virtual machine using the 32bit BMR ISO.</p>
<p><strong>NOTE:</strong> The BMR window will continue to count down to zero but no reboot will occur.</p>
<p><strong>Summary and Recommendations</strong></p>
<p>This incident proved to be pretty costly on time and stress levels. Sure, the solution worked and the affected applications (Citrix Xenapp and Exchange) were operational within 15 minutes of a serious failure. However, there was noticeable performance degradation due to the DR infrastructure being inferior to that of the primary (Budget constraints) so it was imperative to get the VM&#8217;s back on to the primary kit asap. Unfortunately this took way to long. If you are running this solution, or planning to, include the following tasks and testing to your plan during build and production with regular testing:</p>
<ol>
<li> Ensure you have 32bit BMR&#8217;s for all products (Arcserve Backup, UDP &amp; RHA)</li>
<li>Download and <span style="text-decoration:underline;"><strong>test</strong></span> the &#8216;PSsuspend.exe&#8217; utility in your environment for physical and virtual workloads</li>
<li>Consider the re-sync time for every protected server both physical and virtual in the poorest possible network conditions with regard to jitter, latency and bandwidth</li>
<li>Manually configure the TCP buffer and TCP stream count on your scenarios based on testing from the smallest to largest servers. Do not leave it to &#8216;autotune&#8217;&#8230; she bites&#8230;</li>
</ol>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>]]></content><author><name></name></author><category term="Arcserve" /><category term="Business Continuity abd Disaster Recovery" /><category term="Microsoft" /><category term="Replication and High Availability" /><category term="WinPE" /><summary type="html"><![CDATA[Arcserve RHA (Replication & High Availability) is one of the core products within the Arcserve suite. At a glance, the Arceserve solution is made up of 3 key components: Arcserve Backup – Tape Backups Arcserve UDP / D2D – Disk to Disk Arcserve RHA – Replication & High Availability Having years of experience operating & […]]]></summary></entry><entry><title type="html">Intel, Cloud Telemetry and Jevons Paradox</title><link href="https://techtalkpro.net/2016/06/01/intel-cloud-telemetry-and-jevons-paradox/" rel="alternate" type="text/html" title="Intel, Cloud Telemetry and Jevons Paradox" /><published>2016-06-01T08:23:12+01:00</published><updated>2016-06-01T08:23:12+01:00</updated><id>https://techtalkpro.net/2016/06/01/intel-cloud-telemetry-and-jevons-paradox</id><content type="html" xml:base="https://techtalkpro.net/2016/06/01/intel-cloud-telemetry-and-jevons-paradox/"><![CDATA[<p>I recently heard on a tech podcast that Intel were contributing to the open source community via their open telemetry framework called &#8216;Snap&#8217;. Snap is designed to collect, process an publish system data through a single API.</p>
<p>Here&#8217;s a quick diagram along with the project goals taken form the Github page that will provide you with a simple overview:</p>
<p><img loading="lazy" data-attachment-id="1054" data-permalink="http://techtalkpro.net/2016/06/01/intel-cloud-telemetry-and-jevons-paradox/snip20160523_1/" data-orig-file="/assets/media/1f1d8a4ace21-snip20160523_1.png" data-orig-size="1374,632" data-comments-opened="1" data-image-title="Snip20160523_1" data-image-description="" data-image-caption="" data-large-file="/assets/media/1f1d8a4ace21-snip20160523_1.png" class="alignnone size-full wp-image-1054" src="/assets/media/1f1d8a4ace21-snip20160523_1.png" alt="Snip20160523_1" width="1374" height="632" /><strong>Project Goals: </strong></p>
<ul>
<li>Empower systems to expose a consistent set of telemetry data</li>
<li>Simplify telemetry ingestion across ubiquitous storage systems</li>
<li>Improve the deployment model, packaging and flexibility for collecting telemetry</li>
<li>Allow flexible processing of telemetry data on agent (e.g. filtering and decoration)</li>
<li>Provide powerful clustered control of telemetry workflows across small or large clusters</li>
</ul>
<p>The Intel representative went very deep and wide on how Snap works from both operational and development perspectives. All very exciting, especially when a tech company  like Intel uses it&#8217;s resources to contribute to open source. Naturally, like many others I do get a little suspicious. Why are they doing this? What&#8217;s in it for them? What&#8217;s the hidden agenda?</p>
<p>As I was thinking about this, one of the show hosts asked the Intel rep the self confessed cynical question&#8230; he stated that it all sounded very useful and technically interesting but why would Intel spend time on this &#8216;open source&#8217; stuff? What&#8217;s in it for them? Intel responded quite honestly about their motives. They said it wasn&#8217;t &#8216;Rocket Science&#8217;. They want consumers to buy more silicon&#8230; more Intel chips, it&#8217;s no secret. They then went on to talk about &#8216;Jevons Paradox&#8217; which I found very interesting. Intel&#8217;s Snap wasn&#8217;t an expensive project using a lot of their expertise and engineering resources with no return on investment, it was a project that supports a business model.</p>
<p>Jevons Paradox, sometimes referred to as &#8216;Jevons Effect&#8217; states that the use of a resource tends to increase rather than diminish the more efficient it becomes. The following diagram clearly shows the concept using the cost of fuel, taken from the Jevons Paradox Wikipedia page:</p>
<p><img loading="lazy" data-attachment-id="1116" data-permalink="http://techtalkpro.net/2016/06/01/intel-cloud-telemetry-and-jevons-paradox/snip20160523_4/" data-orig-file="/assets/media/66374451e5c2-snip20160523_4.png" data-orig-size="652,566" data-comments-opened="1" data-image-title="Snip20160523_4" data-image-description="" data-image-caption="" data-large-file="/assets/media/66374451e5c2-snip20160523_4.png" class="  wp-image-1116 aligncenter" src="/assets/media/66374451e5c2-snip20160523_4.png" alt="Snip20160523_4" width="352" height="306" /></p>
<p>Using this proven theory, Intel believe that the easier they make the monitoring and the analysis of their chipsets via an open source telemetry framework, the more they will be consumed, meaning customers will buy more Intel chips. The open plugin model means that community and propriety plugins can be loaded into Snap so it can be easily be extended and tailored to meet even the far left field business needs in the analytics space.</p>
<p>The team over at Grafana were quite impressed by Snap, so much so that they created Snap datastore. If you are yet to hear of Grafana an what it does, I briefly discuss it in a previous article found <a href="/2016/03/30/seven-deadly-tools/">here</a>. In short, it&#8217;s an open source dashboard for system monitoring. Having the Snap datastore in Grafana means you can natively create monitoring tasks and metrics without having to jump through a load of hoops.</p>
<p><strong>CPU monitoring in Grafana using the Snap datastore connector: </strong></p>
<p><img loading="lazy" data-attachment-id="1166" data-permalink="http://techtalkpro.net/2016/06/01/intel-cloud-telemetry-and-jevons-paradox/cpu-stack-grafana/" data-orig-file="/assets/media/657b78095716-cpu-stack-grafana.jpg" data-orig-size="1261,605" data-comments-opened="1" data-image-title="cpu-stack-grafana" data-image-description="" data-image-caption="" data-large-file="/assets/media/657b78095716-cpu-stack-grafana.jpg" class="alignnone size-full wp-image-1166" src="/assets/media/657b78095716-cpu-stack-grafana.jpg" alt="cpu-stack-grafana" width="1261" height="605" /></p>
<p>For more information on the Intel Snap project visit the Github page here:</p>
<p><a href="https://github.com/intelsdi-x/snap">https://github.com/intelsdi-x/snap</a></p>
<p>And, to read more on the Jevons Paradox, checkout the  Wikipedia page here:</p>
<p><a href="https://en.wikipedia.org/wiki/Jevons_paradox">https://en.wikipedia.org/wiki/Jevons_paradox</a></p>
<p>Share the chatter! Cheers</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>]]></content><author><name></name></author><category term="Cloud" /><category term="Intel" /><category term="System Monitoring" /><summary type="html"><![CDATA[I recently heard on a tech podcast that Intel were contributing to the open source community via their open telemetry framework called ‘Snap’. Snap is designed to collect, process an publish system data through a single API. Here’s a quick diagram along with the project goals taken form the Github page that will provide you […]]]></summary></entry><entry><title type="html">Citrix PVS Image Process – Best Practices</title><link href="https://techtalkpro.net/2016/05/28/citrix-pvs-image-process-best-practices/" rel="alternate" type="text/html" title="Citrix PVS Image Process – Best Practices" /><published>2016-05-28T10:05:57+01:00</published><updated>2016-05-28T10:05:57+01:00</updated><id>https://techtalkpro.net/2016/05/28/citrix-pvs-image-process-best-practices</id><content type="html" xml:base="https://techtalkpro.net/2016/05/28/citrix-pvs-image-process-best-practices/"><![CDATA[<p>On completion of the implementation and handover of any technology to an IT department / client, high quality build and configuration documentation is a must. This may seem obvious but I&#8217;ve been in many situations where project time gets squeezed due to budget or to get a deal over the line and a &#8216;day or two&#8217; gets lobbed off the documentation phase. This leads to inadequate and poor quality documentation which may not be an issue at first, but down the line when someone else has to take over the environment or troubleshoot it can be nothing short of a nightmare.</p>
<p>If documentation is up to scratch and training workshops are provided, it will empower the client to take over and confidently manage the environment, and in some cases, carry out future upgrades. Some integrators may see this as bad business from a revenue perspective, but I believe customers are likely to consume more services in the future when they are confident you are providing them with the correct traning and tools. And, realistically, internal IT departments are typically way too busy to take on more than what they already have on their plates, but it&#8217;s good practice to give them the option.</p>
<p>Now back to point of this blog post; one of our clients had the time and resource to invest in the internal IT team following the positive start in documentation and training provided by us. They asked us to provide some best practice tips around the PVS imaging process in preparation for a PVS upgrade they were taking on internally. We, the Citrix Engineering and Consulting team, came up with the following, it was written over a year ago and has had the input and review of around 6 senior Citrix engineers and consultants. I still refer to it and find it relevant so here it is:</p>
<p><strong>Provisioning Services: Image Creation</strong></p>
<p>Assumes that the image is working with an attached local drive. The attached local drive is typically created/placed on high speed or near high speed storage according to environment needs or constrains.</p>
<div style="direction:ltr;">The following items are configured within the image and surrounding infrastructure to optimise performance, utilisation, compatibility and management;</div>
<p>1. Redirect PageFile from %SystemDrive% to a local drive.</p>
<p>2. Crash dumps;</p>
<ul>
<li>Totally disable crash dump processing,</li>
<li>Or, configure as mini dump only and redirect to the local drive.</li>
</ul>
<p>3. Disable or minimise as much write operations to the “%SystemDrive%” as possible. Ideally, write operations should be restricted to the ““%SystemDrive%\Users” path only.<br />
As a simple example, exclude *ALL* optimisation and scanning tools such as;</p>
<ul>
<li>Disable scheduled defragmentation tasks of the “%SystemDrive%”.</li>
<li>DDL optimisations, including Citrix DDL optimisation.</li>
<li>Deploy Antivirus exclusions for key operating components and files (refer to current Citrix and vendor recommendations).</li>
</ul>
<p>4. Windows Event logs redirected from “%SystemRoot%\System32\winevt\Logs” to the local drive. This may be done as either;</p>
<ul>
<li>Policy based redirection on a per log basis,</li>
<li>Or (recommended), using junction point redirection on the “Logs” folder to capture all logs.5. Application log redirection – if required. This may be done via vendor recommended configuration or junction point redirection.</li>
</ul>
<p>6. Keep the design simple. Complex designs introduce complex problems that are often extremely difficult to diagnose or isolate. In general, always try and use vendor default paths, settings and configuration. Only deviate from this where a vendor has a clearly defined best practice procedure to allow this.</p>
<ul>
<li>It is an unfortunate fact of life that programmers often accidentally hard code configuration options into applications and the operating system. Tricky or complex deviations from vendor recommendations often lead to obscure, intermittent or strange behaviours that can be extremely difficult to diagnose.<br />
If you use only vendor recommended configuration changes, then you have a much higher assurance that the vendor will include full testing in their hotfixes and patching procedures.</li>
</ul>
<p>7. All applications should be validated to confirm that they do not place ephemeral (temp, batch or data), or user specific files in in any of the following paths; %SystemDrive%, %SystemDrive%\TEMP, %SystemRoot%, %ProgramFiles%, %ProgramFiles(x86)%, %CommonProgramFiles%, %CommonProgramFiles(x86)%, or any other similar path. Note; application global configuration files used by all users are exempt from this rule.</p>
<p>8. All applications should be validated to confirm that they do not create server specific configuration settings. This includes both registry and file based configuration – including INI, XML, CFG, DAT, etc, files.<br />
Note: Special attention should be made to look for server unique settings such as GUID strings like “{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}”, that may uniquely identify a server for AntiVirus, Firewall, licencing’s, etc, configuration.<br />
If application unique settings are encountered, these unique server settings should be set via the Provisioning Services device TARGET personality strings. Thus, can be configured within the Image during each server’s boot sequence.</p>
<p>9. Do NOT redirect application installation paths. This may include changing %ProgramFiles%, %ProgramFiles(x86)% locations or the installation path of applications.</p>
<ul>
<li>It is an unfortunate fact of life that programmers can accidentally hard code program paths into application operate. This may lead to obscure, intermittent or strange application behaviours if an application is not installed in its default path.<br />
In addition, be extremely careful with changing application configuration settings outside of those provided in the application’s own configuration files or registry settings.</li>
</ul>
<p>10. Good practice application tips also include;</p>
<ul>
<li>Try and minimise any situation where application executables are run from network shares. In addition, this also includes opening database files from network shares.<br />
▫ It is understood that occasionally the only option is to place some applications on network shares due to limitations on their design or age.</li>
<li>Removal of any unnecessary application based Taskbar items or background services.</li>
<li>Removal of any unnecessary Start Menu or Desktop icons. This includes shell based namespace items held in the registry.</li>
</ul>
<p>11. Utilise user “home folder” shares to store application per user settings.</p>
<p>12. User based Folder Redirection policy applied via GPO.</p>
<p>13. Deploy Citrix Profile Manager based profile management. This will ensure that multi-session &amp;/or disconnected sessions do not encounter the synchronisation issues.</p>
<p>14. Consider segmenting PVS streaming traffic to a dedicated VLAN if the network has a highly utilized or potentially saturated. This can also be implemented for security purposes if the business require it. Note, segmenting PVS traffic used to be a Citrix best practice but is no longer the case for the vast majority of deployments.</p>
<p>15. TCP Large Send Offload option allows the AIX TCP layer to build a TCP message up to 64 KB long and send it in one call down the stack through IP and the Ethernet device driver. The adapter then re-segments the message into multiple TCP frames to transmit on the wire. The TCP packets sent on the wire are either 1500-byte frames for a Maximum Transmission Unit (MTU) of 1500 or up to 9000-byte frames for a MTU of 9000 (jumbo frames).</p>
<p>16. Re-segmenting and storing packets to send in large frames causes latency and timeouts to the Provisioning Server. This should be disabled on all Provisioning Servers and clients.</p>
<p>17. Disable Large Send Offload, open the Network Interface Card (NIC) properties and select the Advanced tab.<br />
Some NICs do not offer this setting in the properties page. In this case, you must change a registry key change to disable Large Send Offload. To disable, add the following entry to the registry:</p>
<ul>
<li>Target Device<br />
Note: For Provisioning Server 6.0 and beyond, BNNS driver is no longer used for Windows 7 and 2008, so this registry key is not applicable. However, BNNS is still used for windows XP and 2003.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BNNS\Parameters\<br />
DWORD = EnableOffload<br />
Value: &#8220;0&#8221;</li>
<li>Provisioning Server and Target Device<br />
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters\<br />
Key: &#8220;DisableTaskOffload&#8221; (dword)<br />
Value: &#8220;1&#8221;</li>
</ul>
<p>18. Hard code all PVS ports on the servers &amp; clients to avoid auto negotiation network speed, this can cause slow start up times and PXE timeouts for target devices.</p>
<p>19. Firewall and server to server communication ports.</p>
<p>Open the following ports in both directions:</p>
<ul>
<li>UDP 6892 and 6904 (For Soap to Soap communication &#8211; MAPI and IPC)</li>
<li>UDP 6905 (For Soap to Stream Process Manager communication)</li>
<li>UDP 6894 (For Soap to Stream Service communication)</li>
<li>UDP 6898 (For Soap to Mgmt Daemon communication)</li>
<li>UDP 6895 (For Inventory to Inventory communication)</li>
<li>UDP 6903 (For Notifier to Notifier Communication)</li>
</ul>
<p><strong>Provisioning Services: Image Closure</strong></p>
<p>The provisioned image should typically assume a local drive is attached for the storage of; WriteCache, PageFile redirection, Windows Mini dumps (only if absolutely required), Windows Event Logs, and Application specific logs.</p>
<p>Any other server specific personality settings should be set via the Provisioning Services device TARGET personality strings.<br />
Confirm the following:</p>
<p>1. Refer to the “Image Creation” sequence and validate all items. Specific focus should be on any additional applications that have been added or modified in the environment. Then focus on the best practice steps associated with applications. E.g.</p>
<ul>
<li>Personality strings set, as required, for applications that require personality traits.</li>
<li>Confirmation of shared folder usage. Specifically; applications should not place ephemeral (temp, batch or data), or user specific files in %ProgramFiles%, %ProgramFiles(x86)%, %CommonProgramFiles%, %CommonProgramFiles(x86)%, %SystemDrive%, or %WinDir% paths.</li>
</ul>
<p>2. Using a Domain account with local Admin rights, login and reboot the server. If you wish, you may also perform a final “GPUPDATE /FORCE”.</p>
<p>3. Login as the local machine Administrator account and remove:</p>
<ul>
<li>Any roaming or local user profiles on the server image created or left from the creation or update of the server image. This must be validated in three (3) locations;<br />
▫ Remove the extraneous profiles using the Windows Profiles dialog under the “Advance System Settings”.<br />
▫ Verify there are no extraneous profile folders in “%SystemDrive%\Users”.<br />
▫ Using regedit, verify there are no extraneous profiles in “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”. Specific attention should be focused on any “.bak” files.</li>
<li>Any / all temp files created on the %SystemDrive% &amp;/or sub folders.</li>
</ul>
<p>4. Using the Citrix Role Manager, perform a XenApp prep for image closure. Do not remove the server from the Farm. Then shutdown gracefully in preparation for image closure in PVS.</p>
<p>5. When using Citrix UPM 4.x in the image, remove the UPM cache file (not applicable to UPM 5.x)</p>
<p>6. Run ‘ngen /ExecuteQueuedItems’ for all CLRs (2.0 x86, 2.0 x64, 4.0 x86, 4.0 x64) in order to precompile assemblies, if this step is not performed, ngen will run the pre-compilation at random times after every reboot in PVS standard mode and therefore cause significant IO load.</p>
<p>Thanks for reading, share if you found this useful.</p>]]></content><author><name></name></author><category term="Citrix" /><category term="Provisioning Services" /><category term="PVS" /><summary type="html"><![CDATA[On completion of the implementation and handover of any technology to an IT department / client, high quality build and configuration documentation is a must. This may seem obvious but I’ve been in many situations where project time gets squeezed due to budget or to get a deal over the line and a ‘day or […]]]></summary></entry><entry><title type="html">Seven Deadly… Tools.</title><link href="https://techtalkpro.net/2016/03/30/seven-deadly-tools/" rel="alternate" type="text/html" title="Seven Deadly… Tools." /><published>2016-03-30T10:39:08+01:00</published><updated>2016-03-30T10:39:08+01:00</updated><id>https://techtalkpro.net/2016/03/30/seven-deadly-tools</id><content type="html" xml:base="https://techtalkpro.net/2016/03/30/seven-deadly-tools/"><![CDATA[<p>Like most IT Professionals, I have tried, tested and benefited from a plethora of nifty tools over the years. Some good, some bad&#8230; and some, well just down right ugly! Anyway, I have compiled a short list, seven to be exact which are freely available (or at least have a free version) that may be of use to you.</p>
<p>If you are seasoned IT Pro, the chances are you will be familiar with some but probably not all of these. I have included a short description, use case and download link for each. Hopefully some make it into your array of resources!</p>
<h2>AD Info:</h2>
<p>AD Info can be used to query and report on your Active Directory domains by simply pulling info on AD object such as users, computers, groups and printers. You achieve this using 190+ built in queries with the option of creating your own custom queries and reports.</p>
<p><strong>Use case:</strong> This has came in handy in a number of scenarios, including the on-boarding of new clients, Active Directory health checks / reporting and troubleshooting the likes of permission issues and Active Directory replication consistency.</p>
<p><a href="http://ad-info-free-edition1.software.informer.com/1.7/" rel="nofollow">http://ad-info-free-edition1.software.informer.com/1.7/</a></p>
<p><img loading="lazy" data-attachment-id="653" data-permalink="http://techtalkpro.net/2016/03/30/seven-deadly-tools/ad-info-screenshot/" data-orig-file="/assets/media/68fed7d7f2d8-ad-info-screenshot.png" data-orig-size="1185,427" data-comments-opened="1" data-image-title="AD-Info-Screenshot" data-image-description="" data-image-caption="" data-large-file="/assets/media/68fed7d7f2d8-ad-info-screenshot.png" class="alignnone size-full wp-image-653" src="/assets/media/68fed7d7f2d8-ad-info-screenshot.png" alt="AD-Info-Screenshot" width="1185" height="427" /></p>
<h2><strong>LAN Speed: </strong></h2>
<p class="p1">A simple but powerful tool for measuring file transfer, hard drive, USB Drive, and Local Area Network (LAN) speeds (wired &amp; wireless). It does this by building a file in memory, then transfers it both ways (without effects of windows file caching) while keeping track of the time, and then does the calculations for you. Simple concept and easy to use.</p>
<p><strong>Use case: </strong>Use this tool to ensure you are getting the expected throughput on the LAN. I recently had success in finding the cause of poor Citrix profile synchronization. I ran LAN Speed between one of the affected application servers and the target profile server and noticed I wasn&#8217;t getting anywhere near the 1Gb expected transfer rates, it turned out to be a duplex mismatch on a handful of switch ports.</p>
<p><a href="http://www.totusoft.com/lanspeed1.html" rel="nofollow">http://www.totusoft.com/lanspeed1.html</a></p>
<p><img loading="lazy" data-attachment-id="655" data-permalink="http://techtalkpro.net/2016/03/30/seven-deadly-tools/lan-speed-screenshot/" data-orig-file="/assets/media/62793b0e3491-lan-speed-screenshot.png" data-orig-size="612,919" data-comments-opened="1" data-image-title="LAN-Speed-Screenshot" data-image-description="" data-image-caption="" data-large-file="/assets/media/62793b0e3491-lan-speed-screenshot.png" class="alignnone  wp-image-655" src="/assets/media/62793b0e3491-lan-speed-screenshot.png" alt="LAN-Speed-Screenshot" width="408" height="613" /></p>
<h2>SuperPutty:</h2>
<p class="p1">SuperPuTTY enhances the capabilities of the <span class="s1">PuTTY</span> SSH and Telnet client by allowing you to launch it in multiple tabs. It offers you the possibility to easily manage multiple sessions of PuTTY using a single, comprehensive working environment.</p>
<p><strong><span style="line-height:1.7;">Use case: </span></strong><span style="line-height:1.7;">Troubleshoot and easily compare multiple configurations from within a single window. </span></p>
<p><a href="https://github.com/jimradford/superputty" rel="nofollow">https://github.com/jimradford/superputty</a></p>
<p><img loading="lazy" data-attachment-id="658" data-permalink="http://techtalkpro.net/2016/03/30/seven-deadly-tools/superputty-screenshot/" data-orig-file="/assets/media/a0c6f9f2f3ad-superputty-screenshot.png" data-orig-size="952,716" data-comments-opened="1" data-image-title="Superputty-screenshot" data-image-description="" data-image-caption="" data-large-file="/assets/media/a0c6f9f2f3ad-superputty-screenshot.png" class="alignnone size-full wp-image-658" src="/assets/media/a0c6f9f2f3ad-superputty-screenshot.png" alt="Superputty-screenshot" width="952" height="716" /></p>
<h2>PingPlotter:</h2>
<p>PingPlotter helps pinpoint network problems in an intuitive graphical way and continues monitoring connections long-term to further identify issues.</p>
<p><strong>Use case: </strong>This is my go-to tool for measuring network latency, it&#8217;s quite basic but it normally provides enough information to confirm if the network is at fault or not. I had frequent  headaches with a load of branch sites connected to head office over a site-to-site IPSEC tunnels. A quick report from this was enough to prove the server infrastructure innocent and build a case for an MPLS network as the business network requirements had grown over the course of 12 months.</p>
<p><a href="https://www.pingplotter.com/" rel="nofollow">https://www.pingplotter.com/</a></p>
<p><img loading="lazy" data-attachment-id="656" data-permalink="http://techtalkpro.net/2016/03/30/seven-deadly-tools/pinplotter-screenshot/" data-orig-file="/assets/media/4abf455c5295-pinplotter-screenshot.png" data-orig-size="1473,868" data-comments-opened="1" data-image-title="PinPlotter-Screenshot" data-image-description="" data-image-caption="" data-large-file="/assets/media/4abf455c5295-pinplotter-screenshot.png" class="alignnone size-full wp-image-656" src="/assets/media/4abf455c5295-pinplotter-screenshot.png" alt="PinPlotter-Screenshot" width="1473" height="868" /></p>
<h2>Grafana:</h2>
<p>Grafana provides a powerful and elegant way to create, explore, and share dashboards and data. It&#8217;s most commonly used for visualizing time series data for Internet infrastructure and application analytics but many use it in other domains including industrial sensors, home automation, weather, and process control.</p>
<p><strong>Use case: </strong>Grafana could be a slick front end to your existing monitoring solution, it&#8217;s much richer looking than most built in dashboards from &#8216;off the shelf&#8217; products. I have ran it to monitor server infrastructure in short cycle / load testing projects using some other components to complete the temporarily solution. Those being, Centos for the OS, InfluxDB and Telegraf for database services and metric collection . I will try and put together a walk through on the set up soon&#8230; <strong><br />
</strong></p>
<p><a href="http://grafana.org/" rel="nofollow">http://grafana.org/</a></p>
<p><img loading="lazy" data-attachment-id="654" data-permalink="http://techtalkpro.net/2016/03/30/seven-deadly-tools/grafana-screenshot/" data-orig-file="/assets/media/ef20fdfc3099-grafana-screenshot.png" data-orig-size="1117,615" data-comments-opened="1" data-image-title="grafana-screenshot" data-image-description="" data-image-caption="" data-large-file="/assets/media/ef20fdfc3099-grafana-screenshot.png" class="alignnone size-full wp-image-654" src="/assets/media/ef20fdfc3099-grafana-screenshot.png" alt="grafana-screenshot" width="1117" height="615" /></p>
<h2>vCheck:</h2>
<p>vCheck (Daily Report) is an awesome Powershell script developed by Alan Renouf of VMware. vCheck produces an HTML report on the status of your vSphere environment.</p>
<p><strong>Use case: </strong>Configure a daily scheduled task to run vCheck against your vSphere infrastructure, the report can be emailed to the Service Desk / Engineering teams before the start of business so that problems can be resolved early, mitigating impact to service.</p>
<p><a href="http://www.virtu-al.net/vcheck-pluginsheaders//vcheck//" rel="nofollow">http://www.virtu-al.net/vcheck-pluginsheaders//vcheck//</a></p>
<p><img loading="lazy" data-attachment-id="659" data-permalink="http://techtalkpro.net/2016/03/30/seven-deadly-tools/vcheck-screenshot/" data-orig-file="/assets/media/7f1f4e3450c4-vcheck-screenshot.png" data-orig-size="1859,807" data-comments-opened="1" data-image-title="vcheck-screenshot" data-image-description="" data-image-caption="" data-large-file="/assets/media/7f1f4e3450c4-vcheck-screenshot.png" class="alignnone size-full wp-image-659" src="/assets/media/7f1f4e3450c4-vcheck-screenshot.png" alt="vcheck-screenshot" width="1859" height="807" /></p>
<h2>SP_Blitz:</h2>
<p>SP_Blitz can quickly flag common SQL Server issues in a matter of seconds, it prioritizes the problems with what&#8217;s broken or dangerous giving you a clear view of what needs tackled first. I&#8217;ve never had any issues with SP_Blitz but if you are looking to adopt this, make sure your trial on a dev server before running in a production environment.</p>
<p><strong>Use case: </strong>SP_Blitz is a great place to start when doing<strong> </strong>SQL server health checks. You can also run it as a scheduled task to automate regular checks on your SQL Server infrastructure and get the heads up before those issues become real problems and affect production services. The following link provides a 5 minute demo from the developer, Brent Ozar.</p>
<blockquote class="wp-embedded-content" data-secret="aXfcXVUqEf"><p><a href="http://www.brentozar.com/blitz/">sp_Blitz® &#8211; Free SQL Server Health Check Script</a></p></blockquote>
<p><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="&#8220;sp_Blitz® &#8211; Free SQL Server Health Check Script&#8221; &#8212; Brent Ozar Unlimited®" src="http://www.brentozar.com/blitz/embed/#?secret=42qZjms0Bo#?secret=aXfcXVUqEf" data-secret="aXfcXVUqEf" width="500" height="282" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<p><img loading="lazy" data-attachment-id="657" data-permalink="http://techtalkpro.net/2016/03/30/seven-deadly-tools/sp-blitz-screenshot/" data-orig-file="/assets/media/eadd75338ffb-sp-blitz-screenshot.png" data-orig-size="1526,1064" data-comments-opened="1" data-image-title="sp-blitz-screenshot" data-image-description="" data-image-caption="" data-large-file="/assets/media/eadd75338ffb-sp-blitz-screenshot.png" class="alignnone size-full wp-image-657" src="/assets/media/eadd75338ffb-sp-blitz-screenshot.png" alt="sp-blitz-screenshot" width="1526" height="1064" /></p>
<p>Go nuts and share&#8230;</p>
<p>&nbsp;</p>]]></content><author><name></name></author><category term="System Monitoring" /><category term="System Tools" /><summary type="html"><![CDATA[I have tried, tested and benefited from a plethora of nifty tools over the years. Some good, some bad… and some, well just down right ugly!]]></summary></entry><entry><title type="html">Securing Citrix Netscaler… The basics!</title><link href="https://techtalkpro.net/2016/02/18/securing-citrix-netscaler-the-basics/" rel="alternate" type="text/html" title="Securing Citrix Netscaler… The basics!" /><published>2016-02-18T05:22:30+00:00</published><updated>2016-02-18T05:22:30+00:00</updated><id>https://techtalkpro.net/2016/02/18/securing-citrix-netscaler-the-basics</id><content type="html" xml:base="https://techtalkpro.net/2016/02/18/securing-citrix-netscaler-the-basics/"><![CDATA[<p>While there is an abundance of best practices and white papers on how to secure your Netscaler, I come across many implementations that are worryingly insecure. Whenever I highlight this with the IT Manager, engineering or the security team they are naturally keen to plug these holes asap.</p>
<p>After some digging I normally find it&#8217;s due to lack of understanding in the product, a disjoint in the handover from the integrator (if installed by a 3rd party), or the project budget was running out and corners were cut. Maybe it went in as a POC and somehow slipped into production as it was &#8216;working&#8217;. It&#8217;s particularly prevalent in businesses where there is an absence of a dedicated network / security team and the senior &#8216;all rounder&#8217; techs manage the routing, switching and firewalls but aren&#8217;t too sure of the mystical box called Netscaler that someone installed at some point.</p>
<p>Regardless of the reasons, it must be a least, somewhat secured!</p>
<p>Netscaler is an awesome but complex product, unlike it&#8217;s main competitor, the F5 which is modular, the Netscaler is an all in one, unified system, you just need to license the appliance for the features you need. That also explains why the answers vary when you ask, &#8220;What is a Netscaler?&#8221;</p>
<p>&#8220;It&#8217;s a secure access gateway&#8221;, &#8220;it&#8217;s a load balancer&#8221;, &#8220;it&#8217;s an application accelerator&#8221;, &#8220;it&#8217;s an SSL offloader&#8221;&#8230; Well, it&#8217;s all of those things and a whole lot more&#8230;</p>
<p>Here are 10 tips I&#8217;ve thrown together that will minimize the attack surface and provide some security for your Netscaler implementation. I recommended further securing the Netscaler as per Citrix best practice but these steps will at least get it somewhat secured in around an hour.</p>
<p style="padding-left:30px;">1.Change the default login! Yes, user: nsroot password: nsroot is left in place way too often.</p>
<p style="padding-left:30px;">2. If running a physical appliance (MPX), ensure it&#8217;s physically secured in a comms room with limited access to the front panel &amp; console port.</p>
<p style="padding-left:30px;">3. Configure role-based access security control (RBAC) for the admins and engineers that require access to the device with named accounts for each.</p>
<p style="padding-left:30px;">4. Configure a low system session timeout for the GUI and CLI. This can be done at user / group level but before going that granular, it can be set globally:</p>
<ul>
<li>GUI: Navigate to System &gt; Settings, click Set global system parameters, and set the ANY Client Idle Time-out (secs) parameter.</li>
<li>CLI: At the command prompt, enter the following command:<br />
set system parameter -timeout </li>
</ul>
<p style="padding-left:30px;">5. Use HTTPS for GUI management access, disable the HTTP access to the GUI management interface. To do so, run the following command:</p>
<ul>
<li>&gt; set ns ip  -gui SECUREONLY</li>
</ul>
<p style="padding-left:30px;">6. Create a 2048-bit RSA private and public key pair and use the keys for HTTPS and SSH to access NetScaler IP address, instead of using the factory provisioned 512-bit RSA private and public key pair.</p>
<p style="padding-left:30px;">7. Patch it! Ensure the latest security patches and known stable firmware are applied.</p>
<p style="padding-left:30px;">8. Ensure it&#8217;s secured by a firewall and that it&#8217;s management IP is not accessible from the internet.</p>
<p style="padding-left:30px;">9. Configure logging to an external host, there&#8217;s a nice walk through here:</p>
<ul>
<li><a href="http://support.citrix.com/article/CTX121728" rel="nofollow">http://support.citrix.com/article/CTX121728</a></li>
</ul>
<p style="padding-left:30px;">10. Use Access Control Lists (ACLs) so that the Netscaler CLI and GUI is only accessible from controlled management VLANs / network segments.</p>
<p>I must stress, you can go much further in securing the Netscaler but the above points are fairly easy to implement and will provide a nice baseline. It should bring some value to those sitting with a wide open, unsecure appliance, and believe me, there&#8217;s plenty of them!</p>
<p>Feedback and ideas are welcomed, as always! thanks</p>
<p> </p>]]></content><author><name></name></author><category term="Citrix" /><category term="Data Networking" /><category term="Netscaler" /><category term="Security" /><summary type="html"><![CDATA[While there is an abundance of best practices and white papers on how to secure your Netscaler, I come across many implementations that are worryingly insecure. Whenever I highlight this with the IT Manager, engineering or the security team they are naturally keen to plug these holes asap. After some digging I normally find it’s […]]]></summary></entry></feed>