Developer Sessions – Introduction into Automating Cisco UCS
-
Upload
mercedes-soto -
Category
Documents
-
view
33 -
download
1
description
Transcript of Developer Sessions – Introduction into Automating Cisco UCS
1NetApp Confidential - Internal Use Only
Dr. Adolf Hohl (FCI Lead EMEA)
Developer Sessions –
Introduction into
Automating Cisco UCS
Developer Sessions
What is it about?– Integration
– Automation
– Customization
For Whom?– Consultants, integration engineers, architects
How?– Use the glue: Leverage NetApp APIs to do
better integrations at customers
– Use case centric approach
When?– Tuesday 15:00-16:00 CET
– https://communities.netapp.com/community/interfaces_and_tools/developer/developer-sessions
2NetApp Confidential - Internal Use Only
Improving IT andoperation at customer
Super
Glu
e
NM
SD
K
Ing
red
ien
ts:
Dat
a O
nTA
P
Po
wer
Sh
ell T
oo
lkit
Apps
HyperVisor
Storage
Schedule May/JuneDate (cal.
entry) TopicAbstract and Takeaway Programming
Language
15.05.2012 NetApp Powershell Toolkit Intro
This session is an introduction to the NetApp Powershell Toolkit. It show the feature richness and the simplicity of use. You learn how to install the toolkit, connect to controllers and get an overview on its features.
Powershell
22.05.2012 NetApp Manageability SDK Introduction
This session is an introduction to the NetApp Manageability SDK in its latest release. You learn the coverage to the SDK and get an overview on its features. You learn how to install it and start rapid prototyping with automatic code generation.
Various
29.05.2012 Use Case: Automated Snapshot Archiving using APIs
This session is about automated snapshot archiving leveraging NetApp APIs. You learn how to organize snapshot archives from different sources.
Perl
3NetApp Confidential - Internal Use Only
Date (cal. entry) Topic
Abstract and TakeawayProgramming
Language
05.06.2012 Introduction into Automating Cisco UCS
This session is an introduction to the Cisco UCSPS library to automate Cisco UCS components in a FlexPod. You learn how to install, connect and use basic commandlets.
Powershell
12.06.2012 Use Case: Performance Advisor Data Extraction
This session is about extracting performance data of the storage infrastructure and making it available in structured SQL database for further processing. You learn how to parse performance data and extract relevant counters.
Perl
19.06.2012 Use Case: Creating VLANs on Cisco UCS
Within this session the Cisco UCSPS library is used to create VLANs according to the specification of the FlexPod reference architecture. You learn how to query for existing VLANs, define new VLANs and register them in a VLAN template.
Powershell
26.06.2012 Use Case: DB Backup Workflow with DB Verification
This session is about a backup workflow for a database which includes a verification phase before treating the backup as valid. You learn the basic structure of a backup workflow and how to embed any postprocessing steps.
Perl
UCS Automation - Intro
4NetApp Confidential - Internal Use Only
References
There are couple of good sources in the net:Cisco Developer NetworkBlogs: e.g. J.Waldrops, others
Here – Sample Flexpod Provisioning:https://
communities.netapp.com/docs/DOC-13143https://communities.netapp.com/docs/DOC-
14711
5NetApp Confidential - Internal Use Only
Todays Session Ingredients
UCS Emulator– Download from Cisco Developer Network– Requires CDN account– http://developer.cisco.com/web/
unifiedcomputing/ucsemulatordownloadUCS PowerTool for UCSM
– Requires CDN account– http://developer.cisco.com/web/
unifiedcomputing/pshell-downloadFlexpod Provisioning Sample Scripts
6NetApp Confidential - Internal Use Only
Session Takeaway
Get familiar with:– UCS Emulator– UCS PowerTool for UCSM
Navigate in sample Flexpod Provisioning Scripts and start to innovate
7NetApp Confidential - Internal Use Only
Roll up the sleeves – Emulator and PowerTool for UCSM
8NetApp Confidential - Internal Use Only
Basics
Create a VLAN in UCSM
9NetApp Confidential - Internal Use Only
VLAN
VLANs in the entire Stack
10NetApp Confidential - Internal Use Only
S S
N N
U U
Po10
Po11 Po12
Po13 Po14
INPUT: vlan.id/.descrPRE: Po10-Po14 exist, vlan.id does not exist on all Po10-Po14POST: vlan.id enabled from storage (S) to Ucs (U).INFO: storage vlan needs to be enabled everywhere. E.g. frontentaccess would onlygo on Po10,13,14
For left and right Nexus Switch:
config tvlan <vlan.id>descr <vlan.descr>
forall <if> in {Po10, …, Po14}int <if>switchport trunk allowed vlan add <vlan.id>exit
exit
11NetApp Confidential - Internal Use Only
Navigate in FlexPod Provisioning Sample Code
FlexPod Provisioning Code Outline (I)
12
FlexPod Provisioning Code Outline (II)
13
FAS( )
NEXUS( )
UCS( )
3.2 NetApp FAS Part I
3.3 Nexus 5548 Part I
3.4
TR3939 Continue on page 54
3.8 VMWare Install
3.7
Ca
blin
g +
En
ab
le I
P
Co
mm
un
ica
tion
Data OntapPowershell Toolkit
Nexus Command LineInterface (SSH)
Cisco UCS XML API
~8-12 minutes(excluding zeroing disks)
• Automated Day 0 according TR 3939• Aligned section by section strictly
3.6
MakeMyPod.ps1(via sshexec.jar)
14NetApp Confidential - Internal Use Only