Upload
phungkhanh
View
224
Download
0
Embed Size (px)
Citation preview
Automate your Infrastructure: Programmatic Management of Cisco UCS with Microsoft System Center and PowerShell BRKCOM-1004
Ike Kent and Jason Shaw
Technical Marketing Engineers
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Agenda
What is Cisco UCS’s Programmatic Infrastructure?
What toolkits are available for Cisco UCS automation development?
– Demo: Cisco UCS PowerTool
– Demo: Cisco UCS PowerTool – Firmware Upgrade
– Demo: Automating OS Deployments
Monitoring Cisco UCS with Operations Manager
– Demo: Monitoring Cisco UCS with the Cisco UCS Management Pack from Operations
Managing Cisco UCS with Virtual Machine Manager
– Demo: Managing Cisco UCS from the Cisco UCS UI Extension for Virtual Machine Manager
Automating tasks for Cisco UCS with Orchestrator
Demo: Service Profile Fail-over
3
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Cisco Unified Computing System
5
Cisco UCS I/O Adapters
Cisco UCS Blade and Rack Servers (Cut through interfaces to CIMC)
Serial over LAN, KVM, IPMI
Cisco UCS Blade Server Chassis
Cisco UCS I/O Modules
Cisco UCS Manager UCS Manager GUI and CLI
Cisco UCS Fabric Interconnects SNMP, Syslog, SMTP, SMASH, CLP,
CIM XML, Smart Call Home
LAN/SAN Uplinks
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Programmatic Infrastructure
6
XML API
Direct UCS CLI UCS GUI 3rd Party Customer
Self Serve portals
Management Tools
Auditing Tools
System Status
Physical Inventory
Logical Inventory
Comprehensive XML API
Single point of management – access to all domain knowledge
Broad 3rd party integration support
Faster custom integration for customer use cases
Consistent data and views across ALL interfaces
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
UCS Service Profiles
LAN
SAN
7
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
orgOrg topSystem
computeBlade •assignedToDn
topRoot
equipmentChassis
Service Profile Creation
vnicFcIf
vnicFc
vnicEthIf
vnicEth
lsServer
pnDn
lsBinding
pnDn
vnicFc
vnicEthIf
vnicEth
vnicFcIf
lsPower
DB
MIT
8
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Cisco Developer Network
10
Developer Community developer.cisco.com/web/unifiedcomputing/home
Cisco UCS Platform Emulator (UCSPE)
Cisco UCS PowerTool PowerShell Library
Demo: Cisco UCS PowerTool
Downloads UCS Platform Emulator (UCSPE)
goUCS Automation Tool
Cisco UCS Powertool (PowerShell Module)
XML API, PowerShell code examples
Microsoft SCOM Management Pack for Cisco UCS
Microsoft SCOM Management Pack for Cisco UCS
Microsoft SCVMM UI Extension for Cisco UCS
Microsoft SCO Integration Pack for Cisco UCS
Documentation Developer Guides
Whitepapers
Reference Guides
Collaboration Blogs, videos and access to subject matter experts
Peer to peer forums
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
UCS Platform Emulator (UCS PE)
11
Hardware Independent Integration – Downloadable Virtual Machine
– Full feature emulator for UCS Manager
– Complete support for XML API calls
– Object Browser to navigate UCSM MIT
– Import and replicate physical UCS Manager physical inventory
– Share physical inventories among UCS Platform Emulators
– Drag-n-drop hardware builder to create custom physical inventory
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Cisco compute and network infrastructure with WS2012, SC2012/SP1, and Hyper-V
12
Software
“Single Pane
of Glass”
Operations
Manager SCO
UC
S P
ow
erT
oo
l fo
r P
ow
erS
he
ll
Unified Compute System
UCS Manager
Physical Virtual &
SCVMM
Windows Server 2012 with Hyper-V
VM-FEX
Cisco Virtual Networking Solutions
for Hyper-V
Storage
N1KV
Provision and manage Windows Server 2012 physical and virtual environments supported by Cisco UCS and Cisco Virtual Networking Infrastructure.
Cisco UCS PowerTool – UCS Manager version 1.0 released
– Standalone C-Series beta (coming soon)
– UCS Central beta (coming soon)
Cisco UCS SCOM Management Pack – UCS Manager release 2.6 coming soon
– Standalone C-series coming soon
Cisco UCS SCVMM UI Extension – UCS Manager beta available now
Integrated
Cisco and
Microsoft stack
Infrastructure
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Cisco UCS PowerTool
14
Architected for flexibility and coverage – PowerShell wrapper
Cmdlet definition and support
Get-Help support
– .NET UCS Namespace Library XML API call construction
Class definition
Validation
PowerShell Design – In-line get-help support
– Pipelining
– Fully classed object definition
– All “legal” verbs
.NET namespace provides common base for Microsoft focused integration
Targeted to support full UCS manageability across multiple releases
Cisco UCS
PowerTool Module
UCS .NET Namespace
UCS XML API
cmdlets
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Automated Activity Generation from UCS XML Schema
15
UCS XML
Schema
Processor
XML Method
& MO Meta
Information
PowerShell
Generator
Microsoft SCO IP
Generator
XYZ
Generator
UCSM-IN.xsd
UCSM-OUT.xsd
Augment
Schema
Cisco UCS
PowerTool
(1700+ cmdlets)
Microsoft SCO
Integration Pack
XYZ
Integration Pack
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Cisco UCS PowerTool Supported Objects
16
Service Profiles – Policies (Firmware, Boot
Order, vNIC / vHBA config, Storage, IPMI, SoL, BIOS)
– Pools (WWN, UUID, MAC)
– Configuration Faults
– Launch UCS KVM for SP
Servers – Hardware - CPU, Memory,
Adaptors, CIMC)
– Power Operations
– Power / cooling / network /environmental statistical data
– Hardware Faults
Configuration Operations
‾ Pools (WWN, UUID, MAC, IP)
‾ Policy creation, manipulation, deletion, and consumption
‾ vNIC / vHBA Templates
‾ Service profile template creation, cloning, deletion, instantiation
‾ Simple service profile creation (default other policies / options)
‾ Expert SP creation (use variabilized XML w/ config file)
‾ Compare Managed Objects across orgs and/or domains
‾ Sync Managed Objects across orgs and/or domains
Chassis – Hardware – Power Supply / Fan
Modules / IO Modules
– Power / cooling / network / environmental statistical data
– Config and Hardware Faults
Fabric Interconnect – Hardware – Power Supply / Fan
Modules / Network Expansion Modules
– Power / cooling / network/ environmental statistical data
– Network Elements (VLAN, VSAN, QoS, Port Profiles)
– Configuraton and Hardware Faults
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Cisco UCS UI Extension for SCVMM
21
Manage your private cloud from a single console – Physical, compute and virtual
infrastructure in one place
Show UCS inventory in SCVMM – Launch UCSM GUI from SCVMM
– Summary status of servers
Basic server functions – SP association
– Launch KVM
– Change power/server status
Service Profile Template Support – Instantiate service profiles
– View templates
Correlate from service profile to physical servers and hypervisor
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
UCS Management with Operations Manager
24
Holistic View of Converged
Infrastructure Health
Monitor alerts and faults on Chassis,
Blades, Fabric Interconnects, I/O Power
Supply, Fan Modules, etc.
Manage multiple UCS domains with
single management pack
Simple and Powerful
Visualizations
Graphical Views of UCS topology
Graphical views of physical and logical
entities and relationships
Reliable Information
UCS XML API provides a powerful,
supported interface for Operations
Manager
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Automating tasks for Cisco UCS with Orchestrator
27
Automate UCS management – Improve predictability and reduce manual
errors with UCS integration pack
– Reduce time to delivery and reduce TCO
– Packaged UCS activities for consistent
delivery of UCS operations
Deliver Scalable and Reliable UCS
management through Orchestrated
Workflows
– Deliver consistent service across multiple
systems and departments
– Packaged workflows to automate UCS
operations
– UCS XML API provides a powerful interface
for Orchestrator workflow operations
Optimize and extend UCS capabilities
Integrate with 3rd party tools using Cisco
UCS integration pack
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Automating tasks for Cisco UCS with Orchestrator
28
14 UCS activities,
including Run-
PowerTool, which
provide the capability to
automate virtually any
task in UCS.
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Automating tasks for Cisco UCS with Orchestrator
29
Many sample run books
are provided with the
Cisco UCS Integration
pack for SCO to
automate tasks in UCS
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Automatic Service Profile Fail-over
Demo purposes only – fail-over should be based on monitoring entire software stack
VM Management tools can do it more effectively;
Achieved with the following PowerTool commands:
– Get SP Hierarchy: $lSpMos = (Get-UcsServiceProfile -dn $aInSpDn -hierarchy)
– Get Blade Hierarchy: $lBladeMos = (Get-UcsManagedObject -dn $aInDn -hierarchy)
– Delete our requirement: Get-UcsServiceProfile -dn $aInSpDn | Disconnect-UcsServiceProfile –force
– Decomission our blade: Set-UcsManagedObject -force -XmlTag computeBlade -PropertyMap @{dn = $lPnDn ; lc= "decommission"}
– Associate a service profile with a blade: Get-UcsServiceProfile -dn $aInSpDn | Associate-UcsServiceProfile -ServerPoolName $lPoolName -force
31
© 2013 Cisco and/or its affiliates. All rights reserved. BRKCOM-1004 Cisco Public
Maximize your Cisco Live experience with your
free Cisco Live 365 account. Download session
PDFs, view sessions on-demand and participate in
live activities throughout the year. Click the Enter
Cisco Live 365 button in your Cisco Live portal to
log in.
Complete Your Online Session Evaluation
Give us your feedback and you could win fabulous prizes. Winners announced daily.
Receive 20 Cisco Daily Challenge points for each session evaluation you complete.
Complete your session evaluation online now through either the mobile app or internet kiosk stations.
33