Page tree
Skip to end of metadata
Go to start of metadata

Smart server autoscaling allows you to change the RAM, CPU and disk size settings of a smart server automatically. Smart server resources scaling is based on rules you specify. For example, you can set up a rule that will add 1000MB of memory to a smart server if RAM usage has been above 90% for the last 10 minutes - but add no more than 5000MB in total in 24 hours. You can set autoscaling down settings alongside with autoscaling up.

  • For Linux-based smart servers only.
  • If the smart server is based on a template that allows resizing without reboot - see the Edit smart server section – then smart server RAM and CPU will be increased without rebooting the server. Disk space autoscaling requires a smart server reboot.
  • If you autoscale a smart server's memory to a value greater than current smart server RAM x 16 (which is a max_memory parameter in a configuration file and database), the smart server will be rebooted anyway, regardless of the template it is built on.
  • Make sure a VS can be reached via SSH. Otherwise, the autoscaling client installation will fail.
  • Starting with version 4.2, OnApp uses Zabbix for autoscaling. Monitis will be used for autoscaling of servers built using OnApp versions previous to 4.2 until you switch autoscaling off for such server(s). If you decide to switch autoscaling back on, autoscaling will be implemented using Zabbix. Zabbix also will be used for autoscaling of newly created VSs. 

To configure autoscaling setitngs:

  1. Go to your Control Panel's Smart Servers menu.
  2. Click the label of the appropriate smart server.
  3. On the page that follows, click the Overview tab, and then click Autoscaling.
  4. Press the required tab to set the autoscaling options for: Memory Usage, Disk Usage or CPU Usage.
  5. Add autoscaling rules as explained below:

    Set autoscale up options:

    • If RAM usage is above X% for a specific time period, add Y MB – but no more than Z MB in a 24 hour period.
    • If CPU usage is above X % for a specific time period, add Y% - but no more than Z% in a 24 hour period.
    • If disk usage is above X % for a specific time period, add Y GB - but no more than Z GB in a 24 hour period.
    • Move the Allow decreasing slider to the right to enable autoscaling down

    Set autoscale down options:

    • If RAM usage is below X% for a specific time period, remove Y MB – but no more than Z MB in a 24 hour period.
    • If CPU usage is below X % for a specific time period, remove Y% - but no more than Z% in a 24 hour period.
    • If disk usage is below X % for a specific time period, remove Y GB - but no more than Z GB in a 24 hour period.
    • Move the Allow decreasing slider to the right to enable autoscaling down
  6. Click Apply.

To delete an autoscaling rule:

  1. Go to your Control Panel's Smart Servers menu.
  2. Click the label of the appropriate smart server.
  3. On the page that follows, click the Overview tab, and then click Autoscaling.
  4. Click Delete. This will delete all autoscaling rules.

Clicking the Apply button does not activate autoscaling if the Autoscale slider at VS overview page is disabled. You can configure autoscaling rules, press the Apply button, these rules will be saved and will start working only after the Autoscale slider at VS overview page is enabled. Also you can disable the Autoscale slider, autoscaling will stop working, but the configuration of rules will be saved in case you will want to activate them in future.

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels