<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Example RDS Automation in HPE Morpheus Enterprise Software</title>
    <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249962#M3136</link>
    <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hpe.com/u/cbunge"&gt;@cbunge&lt;/A&gt; in the screenshot of adding a VDI pool, there is a lookup to search for an instance, is it mandatory for the pool to add an existing server? also the instance type and layout have scaling enabled, Would it scaling up if there are more than 5 users trying to access the catalog item and would it auto scale down the vm in the instance?&lt;/P&gt;</description>
    <pubDate>Thu, 07 Apr 2022 11:00:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2022-04-07T11:00:51Z</dc:date>
    <item>
      <title>Example RDS Automation</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249961#M3135</link>
      <description>&lt;P&gt;I had a use case of quickly showing off the RDS capabilities of Morpheus VDI.  In my lab environment I now spin up Windows 2016/2019 RDS servers utilizing Instance types and easily add additional servers as required.&lt;/P&gt;
&lt;P&gt;Below you will find the steps and screens I use to configure a test RDS experience.  Additional concepts around VDI or user policies/GPO can be found in my previous post &lt;A href="https://discuss.morpheusdata.com/t/enterprise-vdi-experience/68"&gt;here&lt;/A&gt;:&lt;/P&gt;
&lt;H1&gt;&lt;A name="standard-vs-rds-vdi-pools-1" class="anchor" href="#standard-vs-rds-vdi-pools-1"&gt;&lt;/A&gt;Standard vs. RDS VDI Pools&lt;/H1&gt;
&lt;P&gt;Standard VDI pools consist of servers meant for 1:1 allocation with a user.  This does not mean the server &lt;EM&gt;has&lt;/EM&gt; to be dedicate to specific user (persistent pools), rather a set of users can lay temporary claim to a pool of servers (ephemeral).&lt;/P&gt;
&lt;P&gt;RDS VDI pools are meant for multiple users connecting to the same system.  This optimizes compute resources and usually allows for complex applications to be shared/presented on remote servers, rather than installed on multiple end user systems.&lt;/P&gt;
&lt;H1&gt;&lt;A name="instance-type-2" class="anchor" href="#instance-type-2"&gt;&lt;/A&gt;Instance Type&lt;/H1&gt;
&lt;P&gt;This is the structure of my custom Instance Type for provisioning the server.&lt;/P&gt;
&lt;H3&gt;&lt;A name="instance-type-3" class="anchor" href="#instance-type-3"&gt;&lt;/A&gt;Instance Type&lt;/H3&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/150323i621E245E579B20BC/image-size/large?v=v2&amp;amp;px=2000" role="button" title="f46c2bed27875ebbff971412557522353bc3df4f.png" alt="f46c2bed27875ebbff971412557522353bc3df4f.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;H3&gt;&lt;A name="layout-4" class="anchor" href="#layout-4"&gt;&lt;/A&gt;Layout&lt;/H3&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/149552i68FA899E2B202D69/image-size/large?v=v2&amp;amp;px=2000" role="button" title="94fb2536734053726cae01bef8e04f08bcf98d0d.png" alt="94fb2536734053726cae01bef8e04f08bcf98d0d.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;H3&gt;&lt;A name="node-type-5" class="anchor" href="#node-type-5"&gt;&lt;/A&gt;Node Type&lt;/H3&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/149655i86FB65262521FD35/image-size/large?v=v2&amp;amp;px=2000" role="button" title="98c21b4a887186db42044eb52a9e8f7751e5b036.png" alt="98c21b4a887186db42044eb52a9e8f7751e5b036.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;H1&gt;&lt;A name="tasks-workflows-6" class="anchor" href="#tasks-workflows-6"&gt;&lt;/A&gt;Tasks &amp;amp; Workflows&lt;/H1&gt;
&lt;H3&gt;&lt;A name="workflow-7" class="anchor" href="#workflow-7"&gt;&lt;/A&gt;Workflow&lt;/H3&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/149718iD943AF1D752AE0C8/image-size/large?v=v2&amp;amp;px=2000" role="button" title="0d1c453b0ac360c6cffe3028bcbc3d42c66027bc.png" alt="0d1c453b0ac360c6cffe3028bcbc3d42c66027bc.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;H3&gt;&lt;A name="tasks-8" class="anchor" href="#tasks-8"&gt;&lt;/A&gt;Tasks&lt;/H3&gt;
&lt;P&gt;Here are the tasks I use in the order presented in the Workflow.  Some of these are optional, but ideal for me to get a lab up and running fast.&lt;BR /&gt;
&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Enabling RDS features/roles in Windows"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/150007iAFB207C773CBE13A/image-size/large?v=v2&amp;amp;px=2000" role="button" title="6f7098e0c77ef2ac4973e67a755b32a2a7309be9.png" alt="6f7098e0c77ef2ac4973e67a755b32a2a7309be9.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;PRE style="background : #f0f1f2;"&gt;&lt;CODE class="lang-auto"&gt;$ProgressPreference = 'SilentlyContinue'

Install-WindowsFeature Remote-Desktop-Services, RDS-RD-Server, RDS-Licensing –IncludeManagementTools
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Built in Restart Task to apply updates"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/150464i7AD5B17981610842/image-size/large?v=v2&amp;amp;px=2000" role="button" title="a62b5ae7beb7581910230e1b1aacdfa908ef6491.png" alt="a62b5ae7beb7581910230e1b1aacdfa908ef6491.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Sleeping 2 minutes while Windows Updates finishes"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/150555i2D3B031C4D362DE4/image-size/large?v=v2&amp;amp;px=2000" role="button" title="2f3dbc1c3ae0b80fda30a718906555c2478fbfab.png" alt="2f3dbc1c3ae0b80fda30a718906555c2478fbfab.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;PRE style="background : #f0f1f2;"&gt;&lt;CODE class="lang-auto"&gt;start-sleep -seconds 120
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Configuring localhost as the Connection Broker and Session Host"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/149701i13319B8227826577/image-size/large?v=v2&amp;amp;px=2000" role="button" title="568e86e8d8abe2ea4eaa6c449797b894a656dcb7.png" alt="568e86e8d8abe2ea4eaa6c449797b894a656dcb7.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;PRE style="background : #f0f1f2;"&gt;&lt;CODE class="lang-auto"&gt;New-RDSessionDeployment -ConnectionBroker "&amp;lt;%=server.fqdn%&amp;gt;" -SessionHost "&amp;lt;%=server.fqdn%&amp;gt;"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Configuring the remote applications the server will host for users"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/150585iE73CD92F93C9C02F/image-size/large?v=v2&amp;amp;px=2000" role="button" title="fb546d8199514288da99693409949cfd270f5b8e.png" alt="fb546d8199514288da99693409949cfd270f5b8e.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;PRE style="background : #f0f1f2;"&gt;&lt;CODE class="lang-auto"&gt;New-RDSessionCollection -CollectionName "Windows" -SessionHost "&amp;lt;%=server.fqdn%&amp;gt;"
 
New-RDRemoteApp -CollectionName "Windows" -DisplayName "Notepad" -FilePath "C:\Windows\System32\Notepad.exe"
New-RDRemoteApp -CollectionName "Windows" -DisplayName "PowerShell" -FilePath "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
New-RDRemoteApp -CollectionName "Windows" -DisplayName "Internet Explorer" -FilePath "C:\Program Files\internet explorer\iexplore.exe"
New-RDRemoteApp -CollectionName "Windows" -DisplayName "Remote Desktop" -FilePath "C:\Windows\System32\mstsc.exe"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Disabling IE Enhanced Security to remove IE errors"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/150107i1D5230746F636C02/image-size/large?v=v2&amp;amp;px=2000" role="button" title="8ba051ed6c12ee6f1cc9cb83a6cc66312c01ca00.png" alt="8ba051ed6c12ee6f1cc9cb83a6cc66312c01ca00.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;PRE style="background : #f0f1f2;"&gt;&lt;CODE class="lang-auto"&gt;function Disable-IEESC {
$AdminKey = "HKLM:SOFTWAREMicrosoftActive SetupInstalled Components{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
$UserKey = "HKLM:SOFTWAREMicrosoftActive SetupInstalled Components{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"
Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 0 -ErrorAction Ignore
Set-ItemProperty -Path $UserKey -Name "IsInstalled" -Value 0 -ErrorAction Ignore
Stop-Process -Name Explorer
Write-Host "IE Enhanced Security Configuration (ESC) has been disabled." -ForegroundColor Green
}
Disable-IEESC
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;H1&gt;&lt;A name="configure-the-rds-pool-9" class="anchor" href="#configure-the-rds-pool-9"&gt;&lt;/A&gt;Configure the RDS Pool&lt;/H1&gt;
&lt;P&gt;Navigating to Tools &amp;gt; VDI Pools, I selected a RDS pool and created with the following settings.  Note, I can attach Morpheus managed RDS Instances that host the applications or shared desktop system.  Also, I can control the Max Session that each system can contain.  This ensures performance as well as RDS license compliance.&lt;BR /&gt;
&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/150331i6F352CA95EE27B53/image-size/large?v=v2&amp;amp;px=2000" role="button" title="63547c33020e28a31baf7c804a92d975ae659ee1.png" alt="63547c33020e28a31baf7c804a92d975ae659ee1.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;H1&gt;&lt;A name="user-vdi-10" class="anchor" href="#user-vdi-10"&gt;&lt;/A&gt;User VDI&lt;/H1&gt;
&lt;P&gt;Heading over to the VDI persona by clicking on my User at the top right and selecting VDI I’m presented any of the VDI pools or favorited servers to console into.  In the image, I’ve selected my RDS pool and see the Desktop, as well as any presented applications on the pool.&lt;BR /&gt;
&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/149984i7F5F109998B51916/image-size/large?v=v2&amp;amp;px=2000" role="button" title="c619695174e0337250995d1e773dc6e14b3a0d86.jpeg" alt="c619695174e0337250995d1e773dc6e14b3a0d86.jpeg" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;There you have it! Since Morpheus doesn’t require a thick client, I can launch my desktop directly in my browser.&lt;BR /&gt;
&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/149985i42BA1B2F5E15E2D0/image-size/large?v=v2&amp;amp;px=2000" role="button" title="cf3b3eb45c0e5e2d0c6c9b8d81daec597d8f9f7e.png" alt="cf3b3eb45c0e5e2d0c6c9b8d81daec597d8f9f7e.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 02:44:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249961#M3135</guid>
      <dc:creator>cbunge</dc:creator>
      <dc:date>2022-04-01T02:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Example RDS Automation</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249962#M3136</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hpe.com/u/cbunge"&gt;@cbunge&lt;/A&gt; in the screenshot of adding a VDI pool, there is a lookup to search for an instance, is it mandatory for the pool to add an existing server? also the instance type and layout have scaling enabled, Would it scaling up if there are more than 5 users trying to access the catalog item and would it auto scale down the vm in the instance?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 11:00:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249962#M3136</guid>
      <dc:creator />
      <dc:date>2022-04-07T11:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Example RDS Automation</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249963#M3137</link>
      <description>&lt;P&gt;Hey &lt;A class="mention" href="https://community.hpe.com/u/aabraham"&gt;@aabraham&lt;/A&gt;! See answers below:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Is it mandatory for the pool to add an existing server?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes. While you can save the pool with no server defined, the users will have no backend infrastructure to connect to.  The Type ahead searches for Morpheus instances (so you must make brownfield RDS servers managed).  1 or more RDS servers can be added to increase pool capacity&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Instance Type and Layout have scaling enabled.  Would it scale up with additional users?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That’s mostly a habit I have in my environment.  I do not have the RDS server behind a load balancer so there wouldn’t really be a value of scaling wide.  Additionally, because RDS requires licensing, most RDS environments are built to their maximum size to effectively use the licensing.&lt;/P&gt;
&lt;P&gt;In theory I could configure the pool to actually auto-scale, but that is based on CPU and Memory and the scale down (if automatic) wouldn’t take account draining the connections.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 13:02:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249963#M3137</guid>
      <dc:creator>cbunge</dc:creator>
      <dc:date>2022-04-07T13:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Example RDS Automation</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249964#M3138</link>
      <description>&lt;P&gt;Makes it super simple to quickly spin up RDS for working on any tickets I come across and not needing to keep a host around forever &lt;IMG src="https://emoji.discourse-cdn.com/twitter/slight_smile.png?v=12" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 13:58:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249964#M3138</guid>
      <dc:creator>cbunge</dc:creator>
      <dc:date>2022-04-01T13:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Example RDS Automation</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249965#M3139</link>
      <description>&lt;P&gt;Awesome write up &lt;A class="mention" href="https://community.hpe.com/u/cbunge"&gt;@cbunge&lt;/A&gt; this guide will certainly help customers new to VDI&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 13:39:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249965#M3139</guid>
      <dc:creator />
      <dc:date>2022-04-01T13:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Example RDS Automation</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249966#M3140</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Two questions about this RDS configuration:&lt;/P&gt;
&lt;P&gt;1 - Is it necessary to use active directory identity source to control rds licenses?&lt;BR /&gt;
2 - In this example it appears that a VDI gateway (K8s) has been configured. Could you show details of the gateway for rds?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 23:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249966#M3140</guid>
      <dc:creator />
      <dc:date>2022-05-10T23:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Example RDS Automation</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249967#M3141</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hpe.com/u/luciano.santos"&gt;@luciano.santos&lt;/A&gt; it looks like per &lt;A href="https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-client-access-license"&gt;this&lt;/A&gt; document, that you can have per device licensing and it covers non-AD users.  The other option is having a specific AD server for VDI and hosting users via that.&lt;/P&gt;
&lt;P&gt;As for the second question, here’s a quick diagram of how VDI with the external gateways work:&lt;BR /&gt;
&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Morpheus VDI"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/149401i1A0E57F630C0EC8B/image-size/large?v=v2&amp;amp;px=2000" role="button" title="8ca3800aaf199a999394b3bef4bb2bb8c7146df0.png" alt="8ca3800aaf199a999394b3bef4bb2bb8c7146df0.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Also, details about configuring the VDI gateway can be found &lt;A href="https://docs.morpheusdata.com/en/latest/tools/vdi_pools.html#vdi-gateways"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Essentially, the gateway (which is optional, but recommended) can be a standalone or load-balanced and hosted as a VM (package on the Morpheus hub) or as a Docker or Kubernetes container.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 02:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/example-rds-automation/m-p/7249967#M3141</guid>
      <dc:creator>cbunge</dc:creator>
      <dc:date>2022-05-11T02:32:30Z</dc:date>
    </item>
  </channel>
</rss>

