Prism Ops Capacity Runway¶
Prism Ops brings smart automation to our customer’s daily IT operations. The typical operations workflow is a continuous cycle of monitoring, analyzing and taking action where necessary. Prism Ops mirrors traditional IT Admin’s workflows to improve operations efficiency. With Prism Ops, IT Admins are able to connect insights from machine data to automate this typical flow using the power of the machine learning engine X-FIT and the X-Play automation engine.
In this lab you will learn how Prism Ops can help IT Admins monitor, analyze and automatically act when cluster runway is low.
Lab Setup¶
Open your Prism Central and navigate to the VMs page. Note down the IP Address of the GTSPrismOpsLabUtilityServer. You will need to access this IP Address throughout this lab.
Open a new tab in the browser, and navigate to http://<GTSPrismOpsLabUtilityServer_IP_ADDRESS>/alerts [example http://10.42.113.52/alerts]. It is possible you may need to log into the VM if you are the first one to use it. Just fill out the Prism Central IP, Username and Password and click Login.
Once you have landed on the alerts page, leave the tab open. It will be used in a later portion of this lab.
In a separate tab, navigate to http://<GTSPrismOpsLabUtilityServer_IP_ADDRESS>/ to complete the lab from [example http://10.42.113.52/]. Use the UI at this URL to complete the lab.
Capacity Planning Runway Monitoring¶
Capacity runway is a measure of the remaining capacity left within a given cluster or node. There is an overall cluster runway as well as individual runway measurements for CPU, Memory and storage capacity. The Capacity Runway is calculated using X-FIT, Prism Ops’s machine intelligence engine. Lets view the Capacity Runway of your lab cluster.
In Prism Central > Operations > Planning > Capacity Runway.
Note the runway summaries showing the days left for each cluster.
How long does the current cluster has before it runs out of memory, CPU, and storage?
Click on the Prism-Pro-Cluster cluster.
. You can now take a look at the Runway for Storage, CPU, and Memory.
When selecting the Memory tab, you can see a Red Exclamation mark, indicating where this cluster will run out of Memory. You can hover the chart at this point to see on which day this will occur.
Click on the ‘Optimize Resources’ button on left. This is where you can see the inefficient VMs in the environment with suggestions on how you can optimize these resources to be as efficient as possible.
Close the optimize resources popup.
Capacity Planning Runway Analysis¶
Prism Ops’s X-FIT engine also provides the capability to plan for future workloads and identifies the hardware that can be added to account for the new workloads resource requirements.
Under the ‘Adjust Resources’ section in the left side of this page, click the ‘Get Started’ button. We can now use this to start planning for new workloads and see how runway will need to be extended in the future.
Click the add/adjust button in the left side underneath the ‘Workloads’ item.
Add one for VDI and select 1000 Users. You can also set a date for when this workload should be added to the system. Save this workload when you are done.
Add another workload of your choice.
Now click the ‘Recommend’ button on the right side of the page.
Once the Recommendation is available, toggle between list and chart view to get a better overview of your Scenario.
Click the Generate PDF button in the upper right hand corner. This will open a new tab with a PDF report for the scenario/workloads you have created.
View your report.
Automate Capacity Forecast Report Generation with X-Play¶
Now let’s look at how we can take automated action to generate this report when the Capacity Runway is low. We will use X-Play, Prism Ops’s simple automation engine.
Use the search bar to navigate to the Playbooks page.
Click Create Playbook at the top of the table view.
Select the Alert as the trigger.
Search and select Cluster running out of Memory Capacity (low runway) as the alert policy, since this is the issue we are looking to take automated steps to generate a report for.
First, we would like to Generate a Forecast report for this alert. Click Add Action on the left side and select the Generate Forecast Report action.
The Alert Source Entity in this case will be the Cluster that the alert is generated on. You can also change the Runway Period if you would like.
Next we would like to notify someone that the ticket was created by X-Play. Click Add Action and select the Email action.
Fill in the field in the email action. Here are the examples
Recipient: - Fill in your email address.
Subject : -
Playbook {{playbook.playbook_name}} was executed.Message: - As a result of the alert, {{trigger[0].alert_entity_info.name}}, the playbook, {{playbook.playbook_name}}, was executed. The generated report is attached to this email.`
Note
You are welcome to compose your own subject message. The above is just an example. You could use the “parameters” to enrich the message.
Click Save & Close button and save it with a name “Initials - Automatically Generate Forecast Report”. Be sure to enable the ‘Enabled’ toggle.
The alert simulation portion of this lab is not working today, instead we will show you what it would look like if the alert were to successfully generate. From the table view click to open the details for the “Initials - Automatically Generate Forecast Report” Playbook.
Switch to the Plays tab. If an alert were to generate for this playbook you would see a play like this in this tab.
Clicking on it would show this view. The sections in this view can be expanded to show more details for each item. If there were any errors, they would also be surfaced in this view.
You would also get an email that looks something like this.
Takeaways¶
Prism Ops is our solution to make IT OPS smarter and automated. It covers the IT OPS process ranging from intelligent detection to automated remediation.
X-FIT is our machine learning engine to support smart IT OPS, including capacity forecasting.
X-Play, the IFTTT for the enterprise, is our engine to enable the automation of daily operations tasks, making it so easy that automation can be built by every admin.