Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

To enable users to easily create the configuration associated with automatic scaling actions, there are new default values for the UI. The administrator can change the default values in the UI configuration. When the user creates a scaling group, they can select the option to automatically create a scaling action. The user then selects the metric, and the UI presents the default values. The user can then optionally configure the thresholds for scaling out and scaling in, and so on. The platform will create all alarms and alerts for the metrics, and an action plan to scale out and scale in. The platform will replace "SCALINGGROUPNAME" with the name of the scaling group.

To change the default values,

  1. Edit "client-config-default.json" and copy the full "client.autoscaling.action.default" attribute

    To provide an example of the configuration, this is the default configuration for version 4.6.0. For the most recent configuration, please see Configure Abiquo UI

    "__comment": "Default values for autoscaling action.",
    "client.autoscaling.action.default": {
      "alarmOut": {
        "name": "SCALINGGROUPNAME_autoscaling_action_out",
        "statistic": "average",
        "formula": "greaterthan",
        "threshold": 80
      },
      "alarmIn": {
        "name": "SCALINGGROUPNAME_autoscaling_action_in",
        "statistic": "average",
        "formula": "lessthan",
        "threshold": 20
      },
      "alarm" : {
        "timeRangeMinutes": 60,
        "period": 60,
        "clientData": {}
      },
      "actionPlanOut": {
        "name": "SCALINGGROUPNAME_autoscaling_action_out"
      },
      "actionPlanIn": {
        "name": "SCALINGGROUPNAME_autoscaling_action_in"
      },
      "alertOut": {
        "name": "SCALINGGROUPNAME_autoscaling_action_out"
      },
      "alertIn": {
        "name": "SCALINGGROUPNAME_autoscaling_action_in"
         }
    }
  2. Change all the default values to values appropriate for your environment
    1. For alarm configuration, statistic can have any of the following values:
      • average

      • maximum

      • minimum
      • sum
      • count (SampleCount)
      • dev (StandardDeviation)

    2. For alarm configuration, formula can have any of the following values:
      • notequal

      • greaterthan

      • greaterthanorequalto
      • lessthan
      • lessthanorequalto
      • trendup
      • trenddown
  3. Add the configuration to "client-config-custom.json" to complete override the default configuration. 

  4. Check that your configuration is complete and that your JSON is valid. Otherwise the UI will not load.
    For full instructions on how to modify the UI configuration, please see Configure Abiquo UI

  • No labels