A discussion about automating and monitoring Session Hosts in ControlUp for an on-premises RDS environment. The conversation touches on using custom scripts, tags, and the ControlUp console to streamline the process. The prototype for this solution will be shared with a team member later.
Read the entire ‘Automating Session Host Rotation in ControlUp for an On-Premises RDS Environment’ thread below:
We have an on-premises RDS environment with 2 Connection Brokers and 20 Session Hosts. Currently, to take a Session Host out of rotation, we manually log into one of the Connection Brokers and right-click the desired host to select "Do not allow new connections", which sets its status to FALSE. This helps us track which hosts are in or out of service.
We’re exploring whether ControlUp can streamline this process. Ideally, we’d like to:
• Run a custom script (possibly on the Connection Broker) that prompts us to select a Session Host to remove or add back into rotation.
• Display a column within the ControlUp console indicating the host’s availability status (e.g., TRUE for in rotation, FALSE for out of rotation).
Is this type of automation and visibility possible within ControlUp?
Of course! sounds like a classic use case of ControlUp automation. and I guess we can use the tags column for the availability status
Cc @member @member @member @member or @member who should be able to give more details
It seems I’m tagged by someone who is on holidays!
But yeah, I’d create a script that would run against a machine and in the configuration of the script you can specify where the script is going to be executed
So I’d run the script (as you manually do) on the connection broker and that script would get automatically as a parameter the name of the machine you « right clicked » to run the script
No need to type the machine name
And as Yoni mentioned our custom tags feature can be used to store the status
https://support.controlup.com/docs/add-tags-column-to-information-grid
Not in front of a laptop right now but I can share with you a prototype later today @member
Continue reading and comment on the thread ‘Automating Session Host Rotation in ControlUp for an On-Premises RDS Environment’. Not a member? Join Here!
Categories: All Archives, ControlUp Scripts & Triggers