SlideShare a Scribd company logo
1 of 13
AutoScale without NetScaler
Tuna - @ngtuna11
Agenda
• AutoScale with NetScaler
– Glossary
– Top-level operation

• AutoScale without NetScaler
– Xapi RRDs
– Demo
AutoScale with NetScaler
Glossary
Counter

Condition

AutoScale Policy

AutoScale VM Profile

AutoScale VM Group

Timing parameters:
 Duration
 Interval

Source:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Autosc
aling

 Quiet time
 Destroy vm grace
period
NetScaler entity contains
3 components:
•
•
•

A Load Balancing virtual server
A Service Group
Monitors

Steps:
1.
2.
3.

4.

5.

6.

Source: http://support.citrix.com/proddocs/topic/ns-system-10-1map/ns-autoscale-how-autoscale-works-con.html

CS uses NetScaler API to push
AutoScale configuration
NetScaler calls CS API requests
to deploy min number of VMs
CS provisions min number of
VMs on hypervisor
NetScaler discovers the newly
created VM's IP addresses,
binds them into service group
and loadbalances traffic to VMs
NetScaler monitors service
group by collecting SNMP
metrics from the VMs
NetScaler triggers scale-up or
scale-down events based-on
pre-defined policies at step 1.
AutoScale without
NetScaler
What is it ?

 a native solution
 reproduce NetScaler
AutoScale engine operation
Reproduce
Load Balancing Virtual Server

Virtual Router’s HAProxy

NetScaler / SNMP Monitor

XenServer API RRDs

Service Group

Apache CloudStack code

Configuration Parameters
Xapi RRDs
•

Round Robin Databases
–

•
•
•
•

Store performance metrics on a per host and a per VM basis
Can be queried over HTTP or the RRD2CSV tool
XenCenter uses this data to produce system performance graphs
Data granularity
–
–
–
–

•

Consist of Round Robin Archieves (RRAs) in a fixed size database

Every 5s for the duration of 10min
Every min for the pass 2h
Every hour for the pass week
Every day for the pass year

Consolidation Functions
–
–
–

AVERAGE
MIN
MAX

Source:
http://wiki.xen.org/wiki/XAPI_RRDs
http://support.citrix.com/servlet/KbServlet/download/34969-102704897/reference.pdf
http://www.xenserver.org/partners/developing-products-for-xenserver/18-sdkdevelopment/96-xs-dev-rrds.html
Steps:
1.

2.
3.
4.

5.

6.

Users submit AutoScale
configuration using CloudStack
API
CS provisions min number of
VMs on hypervisor
CS provisions min number of
VMs on hypervisor
CloudStack binds the new VM
into service group and
loadbalances traffic to VMs
using HAProxy on VirtualRouter
CloudStack monitors service
group by collecting metrics from
the VMs via Xapi RRDs
CloudStack triggers scale-up or
scale-down events based-on
pre-defined policies at step 1.
Getting RRDs over HTTP
• Downloading the whole RRD
– Downloading a Host RRD
wget http://<server>/host_rrd?session_id=OpaqueRef:<SESSION HANDLE>

– Downloading a VM RRD
wget http://<server>/vm_rrd?session_id=OpaqueRef:<SESSION HANDLE>&uuid=<VM
UUID>
Getting RRDs over HTTP
• Getting update from the RRD
– Downloading RRD update for a Host
wget http://<server>/rrd_updates?session_id=OpaqueRef:<SESSION
HANDLE>&start=10258122541&host=true

– Downloading RRD update for all VMs
wget http://<server>/rrd_updates?session_id=OpaqueRef:<SESSION
HANDLE>&start=10258122541

– Downloading RRD update specifying CF
wget http://<server>/rrd_updates?session_id=OpaqueRef:<SESSION
HANDLE>&start=10258122541&cf=AVERAGE
Demo

Insert Presentation Title Here

More Related Content

What's hot

Apache stratos hangout 3
Apache stratos hangout   3Apache stratos hangout   3
Apache stratos hangout 3
Nirmal Fernando
 
Ceilo componentization diagrams
Ceilo componentization diagramsCeilo componentization diagrams
Ceilo componentization diagrams
Fabio Giannetti
 

What's hot (20)

Kubernetes: Reducing Infrastructure Cost & Complexity
Kubernetes: Reducing Infrastructure Cost & ComplexityKubernetes: Reducing Infrastructure Cost & Complexity
Kubernetes: Reducing Infrastructure Cost & Complexity
 
Enforcing Application SLA with Congress and Monasca
Enforcing Application SLA with Congress and MonascaEnforcing Application SLA with Congress and Monasca
Enforcing Application SLA with Congress and Monasca
 
Detecting Real-Time Financial Fraud with Cloudflow on Kubernetes
Detecting Real-Time Financial Fraud with Cloudflow on KubernetesDetecting Real-Time Financial Fraud with Cloudflow on Kubernetes
Detecting Real-Time Financial Fraud with Cloudflow on Kubernetes
 
Ceilosca
CeiloscaCeilosca
Ceilosca
 
OpenStack Ceilometer
OpenStack CeilometerOpenStack Ceilometer
OpenStack Ceilometer
 
#lspe Q1 2013 dynamically scaling netflix in the cloud
#lspe Q1 2013   dynamically scaling netflix in the cloud#lspe Q1 2013   dynamically scaling netflix in the cloud
#lspe Q1 2013 dynamically scaling netflix in the cloud
 
Apache stratos hangout 3
Apache stratos hangout   3Apache stratos hangout   3
Apache stratos hangout 3
 
9 plugin Cloudstack Developer Day
9 plugin Cloudstack Developer Day9 plugin Cloudstack Developer Day
9 plugin Cloudstack Developer Day
 
Apache Stratos (incubating) Hangout IV - Stratos Controller and CLI Internals
Apache Stratos (incubating) Hangout IV - Stratos Controller and CLI InternalsApache Stratos (incubating) Hangout IV - Stratos Controller and CLI Internals
Apache Stratos (incubating) Hangout IV - Stratos Controller and CLI Internals
 
Immutable infrastructure with Terraform
Immutable infrastructure with TerraformImmutable infrastructure with Terraform
Immutable infrastructure with Terraform
 
Blueprint: Kafka Publisher of Ceilometer
Blueprint: Kafka Publisher of CeilometerBlueprint: Kafka Publisher of Ceilometer
Blueprint: Kafka Publisher of Ceilometer
 
Kubernetes as Orchestrator for A10 Lightning Controller
Kubernetes as Orchestrator for A10 Lightning ControllerKubernetes as Orchestrator for A10 Lightning Controller
Kubernetes as Orchestrator for A10 Lightning Controller
 
AWS ECS workshop
AWS ECS workshopAWS ECS workshop
AWS ECS workshop
 
Training And Serving ML Model Using Kubeflow by Jayesh Sharma
Training And Serving ML Model Using Kubeflow by Jayesh SharmaTraining And Serving ML Model Using Kubeflow by Jayesh Sharma
Training And Serving ML Model Using Kubeflow by Jayesh Sharma
 
Ceilo componentization diagrams
Ceilo componentization diagramsCeilo componentization diagrams
Ceilo componentization diagrams
 
Aws Azure-gcp-architecture-for starter
Aws Azure-gcp-architecture-for starterAws Azure-gcp-architecture-for starter
Aws Azure-gcp-architecture-for starter
 
Server Monitoring 101
Server Monitoring 101Server Monitoring 101
Server Monitoring 101
 
A quick introduction to AKS
A quick introduction to AKSA quick introduction to AKS
A quick introduction to AKS
 
Mumbai Meetup on Pivotal CF Jan 15
Mumbai Meetup on Pivotal CF Jan 15 Mumbai Meetup on Pivotal CF Jan 15
Mumbai Meetup on Pivotal CF Jan 15
 
Load Balancing Algorithms - Which one to choose?
Load Balancing Algorithms - Which one to choose?Load Balancing Algorithms - Which one to choose?
Load Balancing Algorithms - Which one to choose?
 

Similar to Autoscale without netscaler_ccceu13

How kubernetes operators can rescue dev secops in midst of a pandemic updated
How kubernetes operators can rescue dev secops in midst of a pandemic updatedHow kubernetes operators can rescue dev secops in midst of a pandemic updated
How kubernetes operators can rescue dev secops in midst of a pandemic updated
Shikha Srivastava
 
2010 12 mysql_clusteroverview
2010 12 mysql_clusteroverview2010 12 mysql_clusteroverview
2010 12 mysql_clusteroverview
Dimas Prasetyo
 

Similar to Autoscale without netscaler_ccceu13 (20)

Bigdata meetup dwarak_realtime_score_app
Bigdata meetup dwarak_realtime_score_appBigdata meetup dwarak_realtime_score_app
Bigdata meetup dwarak_realtime_score_app
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
 
AWS as platform for scalable applications
AWS as platform for scalable applicationsAWS as platform for scalable applications
AWS as platform for scalable applications
 
Transforming Legacy Applications Into Dynamically Scalable Web Services
Transforming Legacy Applications Into Dynamically Scalable Web ServicesTransforming Legacy Applications Into Dynamically Scalable Web Services
Transforming Legacy Applications Into Dynamically Scalable Web Services
 
App fabric introduction
App fabric introductionApp fabric introduction
App fabric introduction
 
StackWatch: A prototype CloudWatch service for CloudStack
StackWatch: A prototype CloudWatch service for CloudStackStackWatch: A prototype CloudWatch service for CloudStack
StackWatch: A prototype CloudWatch service for CloudStack
 
AWS를 활용한 첫 빅데이터 프로젝트 시작하기(김일호)- AWS 웨비나 시리즈 2015
AWS를 활용한 첫 빅데이터 프로젝트 시작하기(김일호)- AWS 웨비나 시리즈 2015AWS를 활용한 첫 빅데이터 프로젝트 시작하기(김일호)- AWS 웨비나 시리즈 2015
AWS를 활용한 첫 빅데이터 프로젝트 시작하기(김일호)- AWS 웨비나 시리즈 2015
 
How kubernetes operators can rescue dev secops in midst of a pandemic updated
How kubernetes operators can rescue dev secops in midst of a pandemic updatedHow kubernetes operators can rescue dev secops in midst of a pandemic updated
How kubernetes operators can rescue dev secops in midst of a pandemic updated
 
Testing the limits of cloud networks
Testing the limits of cloud networksTesting the limits of cloud networks
Testing the limits of cloud networks
 
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
 
Modern Cloud-Native Streaming Platforms: Event Streaming Microservices with K...
Modern Cloud-Native Streaming Platforms: Event Streaming Microservices with K...Modern Cloud-Native Streaming Platforms: Event Streaming Microservices with K...
Modern Cloud-Native Streaming Platforms: Event Streaming Microservices with K...
 
Microservices @ Work - A Practice Report of Developing Microservices
Microservices @ Work - A Practice Report of Developing MicroservicesMicroservices @ Work - A Practice Report of Developing Microservices
Microservices @ Work - A Practice Report of Developing Microservices
 
2010 12 mysql_clusteroverview
2010 12 mysql_clusteroverview2010 12 mysql_clusteroverview
2010 12 mysql_clusteroverview
 
Kafka Summit SF 2017 - Kafka Stream Processing for Everyone with KSQL
Kafka Summit SF 2017 - Kafka Stream Processing for Everyone with KSQLKafka Summit SF 2017 - Kafka Stream Processing for Everyone with KSQL
Kafka Summit SF 2017 - Kafka Stream Processing for Everyone with KSQL
 
Automating the Entire PostgreSQL Lifecycle
Automating the Entire PostgreSQL Lifecycle Automating the Entire PostgreSQL Lifecycle
Automating the Entire PostgreSQL Lifecycle
 
Real-time Streaming and Querying with Amazon Kinesis and Amazon Elastic MapRe...
Real-time Streaming and Querying with Amazon Kinesis and Amazon Elastic MapRe...Real-time Streaming and Querying with Amazon Kinesis and Amazon Elastic MapRe...
Real-time Streaming and Querying with Amazon Kinesis and Amazon Elastic MapRe...
 
Modern Cloud-Native Streaming Platforms: Event Streaming Microservices with A...
Modern Cloud-Native Streaming Platforms: Event Streaming Microservices with A...Modern Cloud-Native Streaming Platforms: Event Streaming Microservices with A...
Modern Cloud-Native Streaming Platforms: Event Streaming Microservices with A...
 
Trilio for Red Hat OpenStack: The Missing Link for Cloud-Native Data Protection
Trilio for Red Hat OpenStack: The Missing Link for Cloud-Native Data ProtectionTrilio for Red Hat OpenStack: The Missing Link for Cloud-Native Data Protection
Trilio for Red Hat OpenStack: The Missing Link for Cloud-Native Data Protection
 
Optimizing Apache HBase for Cloud Storage in Microsoft Azure HDInsight
Optimizing Apache HBase for Cloud Storage in Microsoft Azure HDInsightOptimizing Apache HBase for Cloud Storage in Microsoft Azure HDInsight
Optimizing Apache HBase for Cloud Storage in Microsoft Azure HDInsight
 
CloudStack Overview
CloudStack OverviewCloudStack Overview
CloudStack Overview
 

More from Nguyen Anh Tu (6)

Docker 1.12 (dockercon recap)
Docker 1.12 (dockercon recap)Docker 1.12 (dockercon recap)
Docker 1.12 (dockercon recap)
 
Docker community in Vietnam
Docker community in VietnamDocker community in Vietnam
Docker community in Vietnam
 
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHNAWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
 
Microsoft Azure Container Service - DockerCH
Microsoft Azure Container Service - DockerCHMicrosoft Azure Container Service - DockerCH
Microsoft Azure Container Service - DockerCH
 
[DockerHN_2nd_meetup] Ecosystem & Orchestration Tools
[DockerHN_2nd_meetup] Ecosystem & Orchestration Tools[DockerHN_2nd_meetup] Ecosystem & Orchestration Tools
[DockerHN_2nd_meetup] Ecosystem & Orchestration Tools
 
Docker-hanoi meetup #1: introduction about Docker
Docker-hanoi meetup #1: introduction about DockerDocker-hanoi meetup #1: introduction about Docker
Docker-hanoi meetup #1: introduction about Docker
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Autoscale without netscaler_ccceu13

  • 2. Agenda • AutoScale with NetScaler – Glossary – Top-level operation • AutoScale without NetScaler – Xapi RRDs – Demo
  • 4. Glossary Counter Condition AutoScale Policy AutoScale VM Profile AutoScale VM Group Timing parameters:  Duration  Interval Source: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Autosc aling  Quiet time  Destroy vm grace period
  • 5. NetScaler entity contains 3 components: • • • A Load Balancing virtual server A Service Group Monitors Steps: 1. 2. 3. 4. 5. 6. Source: http://support.citrix.com/proddocs/topic/ns-system-10-1map/ns-autoscale-how-autoscale-works-con.html CS uses NetScaler API to push AutoScale configuration NetScaler calls CS API requests to deploy min number of VMs CS provisions min number of VMs on hypervisor NetScaler discovers the newly created VM's IP addresses, binds them into service group and loadbalances traffic to VMs NetScaler monitors service group by collecting SNMP metrics from the VMs NetScaler triggers scale-up or scale-down events based-on pre-defined policies at step 1.
  • 7. What is it ?  a native solution  reproduce NetScaler AutoScale engine operation
  • 8. Reproduce Load Balancing Virtual Server Virtual Router’s HAProxy NetScaler / SNMP Monitor XenServer API RRDs Service Group Apache CloudStack code Configuration Parameters
  • 9. Xapi RRDs • Round Robin Databases – • • • • Store performance metrics on a per host and a per VM basis Can be queried over HTTP or the RRD2CSV tool XenCenter uses this data to produce system performance graphs Data granularity – – – – • Consist of Round Robin Archieves (RRAs) in a fixed size database Every 5s for the duration of 10min Every min for the pass 2h Every hour for the pass week Every day for the pass year Consolidation Functions – – – AVERAGE MIN MAX Source: http://wiki.xen.org/wiki/XAPI_RRDs http://support.citrix.com/servlet/KbServlet/download/34969-102704897/reference.pdf http://www.xenserver.org/partners/developing-products-for-xenserver/18-sdkdevelopment/96-xs-dev-rrds.html
  • 10. Steps: 1. 2. 3. 4. 5. 6. Users submit AutoScale configuration using CloudStack API CS provisions min number of VMs on hypervisor CS provisions min number of VMs on hypervisor CloudStack binds the new VM into service group and loadbalances traffic to VMs using HAProxy on VirtualRouter CloudStack monitors service group by collecting metrics from the VMs via Xapi RRDs CloudStack triggers scale-up or scale-down events based-on pre-defined policies at step 1.
  • 11. Getting RRDs over HTTP • Downloading the whole RRD – Downloading a Host RRD wget http://<server>/host_rrd?session_id=OpaqueRef:<SESSION HANDLE> – Downloading a VM RRD wget http://<server>/vm_rrd?session_id=OpaqueRef:<SESSION HANDLE>&uuid=<VM UUID>
  • 12. Getting RRDs over HTTP • Getting update from the RRD – Downloading RRD update for a Host wget http://<server>/rrd_updates?session_id=OpaqueRef:<SESSION HANDLE>&start=10258122541&host=true – Downloading RRD update for all VMs wget http://<server>/rrd_updates?session_id=OpaqueRef:<SESSION HANDLE>&start=10258122541 – Downloading RRD update specifying CF wget http://<server>/rrd_updates?session_id=OpaqueRef:<SESSION HANDLE>&start=10258122541&cf=AVERAGE

Editor's Notes

  1. Step 6: As part of the scale-up trigger, the NetScalerAutoScale engine sends an API request to CloudPlatform to deploy a new VM. After the virtual machine is deployed, the AutoScale engine binds the service representing the VM (IP address and port) to the service group and, after the configured quiet time, starts forwarding load balanced traffic to the new virtual machine. Likewise, as part of the scale-down trigger, the NetScalerAutoScale engine selects a VM, stops forwarding new requests to that instance, and waits for the configured quiet time (to allow for the processing of current requests to complete) before it sends an API request to CloudPlatform to destroy the chosen instance.
  2. rrd_updates will only give you what it considers to be the most appropriate archive for your request. As stated above, there are 4 archives available: one with 5 second updates for a maximum of 10 minutes, 1 minute for 2 hours, 1 hour for 1 week and 1 day for 1 year. When you do the GET, you specify on the URL the &apos;start&apos; parameter, and it uses this to see which archive to give you. So if you specify a since value that is 9 minutes before &apos;now&apos;, you&apos;ll get 108 rows from the 10 minute archive, but if you specify 11 minutes before &apos;now&apos;, you&apos;ll get 11 rows from the 2 hour archive. In particular, it&apos;s important that you use the same definition of &apos;now&apos; that the server is using, since the server is likely to be in GMT and your client may be in a different time zone. Each call to rrd_updates will return a value (in the &apos;end&apos; XML tag) that can be used as the &apos;start&apos; parameter for the next call.