Upload
reuben-webb
View
48
Download
2
Embed Size (px)
DESCRIPTION
Use Case: Extracting Performance data from OnCommand using APIs. Arda Oral - Professional Services Engineer. Agenda. Scope of Work Environment Performance Collection Implementation – The Theory Implementation – The Praxis (Demonstration) SLA Thresholds Dashboard. Scope of Work. - PowerPoint PPT Presentation
Citation preview
1
Arda Oral - Professional Services Engineer
Use Case:Extracting Performance data from OnCommand using APIs
Agenda
Scope of WorkEnvironmentPerformance CollectionImplementation – The TheoryImplementation – The Praxis (Demonstration)SLA ThresholdsDashboard
Scope of Work
Customer wants to retrieve and store performance
data of all storage controllers (NetApp and other
vendors) in his common “performance database”
Customer defines SLAs to the performance values.
SLA violations are to be imported into the database
Dashboard presenting SLA violations
3
Scope of Work
Oncommand „Performance Advisor“ responsible for data collection
Performance data is stored in internal Sybase database
NMSDK APIs used to access Oncommand Performance data
4
Environment
~ 30 NetApp Storage Systems
OnCommand5 on a Windows 2008 Server
Oracle10 Database on AIX 5 (Performance DB)
5
Environment
6
AIX 5
OraclePerformance DB
NMSDK4.1
Windows 2008
OnCommand5
http,https
http,https
Performance CollectionNetApp performance data is being collected
by the CounterManager (CM) residing on the storage controller
CM groups data in objects, instances and counters
Data can be retrieved with „stats“ on a storage controller
Performance Collection stats list objects
(aggregate, cifs, disk, lun, volume…)
stats list instancesobject name: aggregate, instance: aggr1object name: system, instance: systemobject name: volume, instance: vol0
stats list countersobject name: aggregate, counter: user_readsobject name: system, counter: cpu_busyobject name: lun, counter: avg_latency
Implementation – The Theory
Install NMSDK 4.1on AIX5 server
Install required Perl Modules (SSL,LWP…)
Check NMDSK examples (basic, advanced)../netapp-manageability-sdk-4.1/src/sample/DataFabric_Manager/API_Sample_Code/advanced/Perl/perf_counters/
Find appropriate API: perf-get-counter-data../netapp-manageability-sdk-4.1/doc/WebHelp/index.htm
9
NetApp Confidential - Internal Use Only
Implementation – The Theory (cont. 1)
11
perf-get-counter-data
start-time end-time sample-rate time-consolidation-methodinstance-counter-info
object-name-or-id counter-info
perf-object-counter
object-type counter-name
API =
Object =
string/int =
Implementation – The Theory (cont. 2)
Object/Instance/Counter Value
start-time 6h before now
end-time now
sample-rate 5 minutes
objekt-name-or-id storage controller
counter-name cpu_busy
object-type system
time-consolidation-method average
12
Command on storage system:stats show -i 1 system:*:cpu_busy
SLA Thresholds
CPU_BUSY > 90% = SLA violationDisk_BUSY > 90% = SLA violationLUN Latency > 20ms = SLA violationTARGET Queue Full = SLA violation
if 10% of collected counter data exceed SLA threshold storage system counter is flagged yellow **
if 20% of collected counter data exceed SLA threshold storage system counter is flagged red
13
Dashboard (sample output)
14
15