Beruflich Dokumente
Kultur Dokumente
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 Quiet time
a native solution
reproduce NetScaler
AutoScale engine operation
Reproduce
Configuration Parameters
Xapi RRDs
Round Robin Databases
Consist of Round Robin Archieves (RRAs) in a fixed size database
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
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-102-704897/
reference.pdf
http://www.xenserver.org/partners/developing-products-for-xenserver/18-sdk-d
evelopment/96-xs-dev-
rrds.html
Steps:
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