Suspension policies are a powerful method to conserve cloud resources by moving a cloud resource from Running state to Suspended state (see Inventory States) when the resource is not needed or to prevent a deployment from running during times that it should not be accessed. Thus, suspension policies help in reducing cost on cloud resources when resources are not used. Suspension policies are an everyday activity, in which Instances could be suspended for specific hours in a day for a minimum of 30 minutes. The metric collector background process (see Data Collection) collects the data for analysis based on the utilization pattern.
The Suspension Policy Analyzer uses a python package named numpy as part of its machine learning code. The latest version of numpy package, which is 1.16.4, is used in Cost Optimizer 5.1.0. There is a known issue about loading untrusted scripts and is documented here: https://snyk.io/blog/numpy-arbitrary-code-execution-vulnerability/. The vulnerable function (numpy.load) is not used or invoked as part of CloudCenter Suite machine learning code. This issue will be addressed when a patch is available.
The Suspension Candidates Report lists VMs and deployments for which you can apply a suspension policy based on the specifications defined in the Suspension Candidates card in the Settings submenu of the Admin menu. You specify a schedule when a VM must be in the Running state (see Inventory States) during a certain time period every day. At other times, the deployment remains suspended.
The following is a sample screenshot of the Suspension Candidate report.
The following table explains the columns in the report.
Total number of VMs on which suspension policies can be applied.
Total Potential Savings
Total savings that can be incurred by applying the suspension policy on each VM.
Displays the VM name as a link. Click the link to view details about the VM.
Avg Utilization During Off Hours
Actual utilization numbers (in percent) in non-peak hours.
Suspension policy recommendation based on VM utilization pattern.
Maximum Potential Savings
Savings that will be incurred as a result of effecting the suspension policy.
Allows you to do the following:
You can do the following on the Suspension Candidates report:
Download the report
Save filters in the report
Schedule a report
You can choose to save a combination of options in the Filter menu for future use through the Save Filters feature so that you can quickly access and use the filter at a later time. To save a filter, do the following:
Choose the required filter options in the Filter Panel pane.
The Save button appears. The Save New Filter dialog appears. At this point, you can remove the selected filters by choosing the Reset button.
Specify a name for this filter and click Save. A status message appears indicating that the filter has been saved.
You can access and view the saved filters from the dropdown list.
You can mark the filter as a favorite by clicking the pin icon next to the filter name.
The Scheduler icon allows you to schedule report generation periodically on a fixed date or at intervals. To create a schedule, do the following:
Click the Scheduler icon. The Schedule New Report Name dialog appears.
Do the following:
Enter a name for the schedule.
Choose filtering options for the schedule from the Filtered By field. The information in this field is populated when you save the filtering options in the page. You can choose to select a filter or leave the field empty.
Choose the date range.
Select the recipients the report must be sent.
Specify the start date.
Toggle on the Recurrence button to send the report at intervals.
In the Repeats Every area, specify the number of times the report must be sent to the recipients and choose the interval – Daily or Weekly. if you choose Weekly, you can also specify the days of the week when the report is sent.
Select the period to end the schedule. The options are:
Never – Send report forever or until the schedule is deleted.
On – Date when the report should be sent.
After – Number of occurrences after which the report is not scheduled.
Click Save. The report is displayed in the Scheduled Report Name dialog as shown in the sample screenshot below.
Optionally, you can use the Edit and Delete options in the Actions column to make changes to the schedule or delete the report respectively.
Click Done to close the dialog.
The Actions Column
The Actions column displays the Suspend button when you hover over the Actions column against a VM. You can either apply an existing suspension policy or create a new suspension policy. If you choose to use an existing suspension policy, the Suspension Policy field displays a list of policies, which are policies that are available for the VM or deployment in Workload Manager. Only existing suspension policy that matches the schedule and does not contain any blackout dates are listed in the Suspension Policy field.
If the VM or deployment for suspension is not available in Cost Optimizer, it must be imported first.
The following rules apply for a suspension policy:
To apply a policy, you must be assigned to at least one Workload Manager role.
You can create a new suspension policy only if you are part of the WM_POLICY_MANAGER role.
See OOB Groups, Roles, and Permissions for additional details about Workload Manager roles.
Perform the following steps to apply a suspension policy using the Suspend button.
Click Suspend. The Suspend VM dialog appears, requesting confirmation if you would like to import the VM into Workload Manager before it can be suspended.
Click Yes. The Suspend VM dialog with two tabs – Apply Existing Policy and Create New Policy appears.
If you choose the Apply Existing Policy tab, select an existing policy from the Suspension Policy drop-down list.
If the recommended suspension schedule matches an existing policy, the Apply Existing Policy tab will list the matching policy schedule in the Suspension Policy dropdown.
If you choose the Create New Policy tab, you can do the following:
Specify a name for the suspension policy in the Name field.
Choose the duration when the VM must be suspended in the Suspend From and To fields. You may specify a schedule that is different from the recommended or an existing suspension policy.
Click Apply. On completion, a dialog appears that the suspension policy has been attached.
You can verify the successful attachment of suspension policies in the VM Details page (see Virtual Machines > VM Details).
After a suspension policy is applied, changes to the policy can be made in Workload Manager only, not in Cost Optimizer.
- No labels