the state of automation in compute · • deep dive into automaon tools • customer use cases ......

25
Jim Triestman Steve Daigle Phi Yim Consulting Systems Engineer – GSP Senior CSE Manager – GSP Product Sales Specialist – GSP [email protected] [email protected] [email protected] Oct 18, 2016 Tools, and Approaches to Streamlining Management The State of Automation in Compute

Upload: others

Post on 23-Jun-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Jim Triestman Steve Daigle Phi Yim Consulting Systems Engineer – GSP Senior CSE Manager – GSP Product Sales Specialist – GSP

[email protected] [email protected] [email protected]

Oct 18, 2016

Tools, and Approaches to Streamlining Management

The State of Automation in Compute

2 © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Programmatic Infrastructure

XML API

UCS CLI UCS GUI

System Status Physical Inventory Logical Inventory

Programmability

Agenda

•  Whyisautoma,onneeded?

•  UCSalignmenttoautoma,on

•  DeepDiveintoautoma,ontools

•  Customerusecases

•  Summaryandques,ons?

What is happening with Device to Admin Ra6os

In2009

•  Tradi,onalIT50:1(TypicalGUI/CLIadmin)•  MassiveE-tailer200:1•  MassiveSearch10000:1

In2013

•  Tradi,onalIT50:1(TypicalGUI/CLIAdmin)•  MassiveE-tailer10000:1•  MassiveSearch50000:1

Web-Scaletrendfueledbyautoma3onframeworksandtools

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5

API to Cisco UCSM

Enterprise Systems Integration

LDAP, CMDB, Metering DB

•  Single, unified product built from the ground up

•  Modular architecture •  Extensibility through

APIs •  Deployed as an on-

premise Virtual Appliance(s)

Cloupia Network Services

Agent

vCenter SCVMM Blade Server Managers

Network API/CLI Storage APIs RM

Provides: •  Policy-Driven •  Self-Service

Infrastructure •  Lifecycle Management

Physical Infrastructure Virtual Infrastructure

UCS Director Multi-tenant Infrastructure Management Platform

Mobile Platform

IT Admins IT Operations End Users

UCS Director Provides Unified, Centralized Management of Physical and Virtualization Infrastructure in Private and Hybrid Clouds

VMware Hyper-V KVM

Self Service Catalog

Admin Console Dashboard

Cisco UCS Cisco Nexus

Automate server deployment

What we are hearing from customers (Programma'cally Driven) – Focus on “Automa'on”

APIRedfish

UCSPowerTool

Protocols

Programma,cTools

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

BRKINI-1010

8

9 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

UCS Unified API One API model used by the entire UCS Management Ecosystem

Unified API

Cisco UCS Central

Cisco UCS Manager

Cisco IMC

Cisco Solutions and Third Party Integrations Programmability

UCS PowerTool

One API Model, scales as needed

One API Model, scales as needed

10 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  Best of both worlds: Expansion of standard interfaces with Cisco UCS Unified API •  UCS can adopt evolving

standards (e.g., Redfish) and fill gaps with the Unified API

•  UCS supports legacy interfaces (IPMI and SNMP) “alongside” the Unified API

Standards Based Management without Compromise

Power Fans CPU

Memory IO Storage

GPU Sensors

SNMP API

Which interface has what you need?

Other Vendors may need different APIs per device type

BIOS

FW

API

Redfish addressed

Native API

11 © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

How does UCS Adapt in Agile world

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

sys

Cisco IMC XML Hierarchy Overview Managed Object Tree

12

rack-unit-1

adaptor-1

eth0

biosUnit

fc0

bios settings

bios defaults

compute board

temp stats

power stats

fan module

memory array

boot definition

LAN storage virt media EFI

local hyper threading

turbo boost

cpu cores enabled

fan0

power supply

processor unit-1 memory

unit-1

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Python SDK API

New features–Code snippet generation, compare and sync, event handlers

Regular expression support

Open source

Python 2.7 and 3.1 support

300 Sample code snippets

All the objects are exposed

14 © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Code Generation made Easy ! •  Connect to UCS

from ucsmsdk.ucshandle import UcsHandle

handle=UcsHandle(“<ip>”,”<username>”,”<password>”)

handle.login()

•  Launch the GUI •  Start the GUI from the browser or through the code from ucsmsdk.utils import ucsguilaunch

Ucsguilaunch.ucs_gui_launch(handle)

•  Code snippet from ucsmsdk.utils import converttoucspython

converttoucspython.convert_to_ucs_python()

14

15 © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Configuration of UCSM Creation of IP pool

Creation of Mac Pool

Creation of VLAN

Creation of vNIC template

Creation of Policies

Creation of service profile

Leverage the code generate.

15

Playbook to execute script

16 © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Cisco UCS PowerTool Suite •  Set of PowerShell Modules for

•  Cisco UCS Manager •  Cisco IMC Supervisor •  Cisco UCS Central

•  Requires •  Windows PowerShell 2.0 or above •  .NET Framework Version 2.0 SP1 or later

•  PowerTool cmdlet growth

1800 1850 1900 1950 2000 2050 2100 2150 2200

1.2 1.3 1.4 1.5.1 1.5.2 2

cmdlets

cmdlets

16

API

Version

# of

Cm

dlet

s

17 © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Convert_to_cmdlet •  Connect to UCS

Connect-Ucs 192.168.240.35

•  Launch the GUI

Start-UcsGuiSession -Name 192.168.240.35

•  Code snippet generation

ConvertTo-UcsCmdlet

17

18 © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Transactions •  Add, Set, Remove operations on a managed object

• Add-UcsVnicTemplate • Set-UcsVnicTemplate • Remove-UcsVnicTemplate

18

19 © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Puppet + Razor Module

Server Name UUID, MAC, WWN

Boot Information LAN, SAN Config Firmware Policy

Service Profile Name: centos7_db_row1rack10

Simple prefix matching

20 © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Hostside setup with UCS configuration utility

21 © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Some Customer Use Cases in Action

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Automation Use Case – Standalone Manage through host OS

Set to PXE boot & reboot server

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Automation Use Case – UCS Central Python SDK

Cisco UCS Central

Server Name UUID, MAC, WWN

Boot Information LAN, SAN Config Firmware Policy

24 © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

• Admin/Server Ratios can now vary tremendously based on design Modern Distributed Apps Drive Change in Mgmt

• Native Element Managers and Dynamic Reusable Virtualized IT UCSD & Other Orchestrators have place

• DevOps/Agile approaches programmatically supercharge management Mode2/Containerization and Web Scale drive change

• APIs like Redfish, and Python SDKs can make heterogeneity doable. Gaps filled in by native APIs

Emerging Industry Standards and Tools

• UCSM, IMC Supervisor, CIMC, UCS Central >> Uniquely designed unified API UCS Unified API

• Python SDK 2.0, PowerTool, GUI Driven code capture, Puppet/Razor UCS Config Tool Python/PowerShell/Puppet

• Cisco committed to open APIs, emerging standards and management flexibility More to Come

What have we talked about today

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25

Thank you.