Você está na página 1de 129

Automate your Data Center Today

with UCS Director


Hank Preston, ccie 38336
Cloud Solutions Architect
@hfpreston
BRKPCA-2020
About Me
Live in Ohio
Enjoy
Bike Riding, Scuba Diving, Rollercoasters, & Road
Trips

Past lives before Cisco


Web and Database Programmer
Microsoft/VMware/Citrix Admin
Network Architect

Now at Cisco All things Cloud


Infrastructure Automation and Programmability,
Self-Service Catalogs and Portals, Enabling
DevOps for Enterprises

Looking forward to
Meeting and learning from lots of new people Summer Vacation in the Black Hills South Dakota

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
BRKPCA-2020 Automate your Data Center Today
with UCS Director
10 Minute UCS Director Overview
Understanding the UCS Director
Workflow Engine
Workflow Designer Walkthrough
Service Requests and Rollback
Understanding Inputs and Outputs
Leveraging Workflow Tasks
Using Processing Logic in Workflows
Intro to Scripting and Custom Tasks
Example Use Case and Demo
10 Minute UCS Director Overview
Cisco ONE Enterprise Cloud Suite
Best Cloud Infrastructure
Self-Service Hybrid Cloud Best Cloud Mgmt Solution

ITaaS and ITOM/ITSM


Prime Service Catalog, Service Now, Remedy, etc
Business User

Application model, deploy and multi-cloud management


Cisco CloudCenter (CliQr)
Developer

Traditional Private Cloud Public Cloud

Application Security - Isolation


Policy Driven Infrastructure Automation and Management
Cisco UCS Director

IT Admin

UCS Integrated Infrastructure/Multi-vendor hardware solutions

Performance & Energy Management, 3rd party integration

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Cisco UCS Director Turn-Key Solution
Comprehensive Data Center Automation

Bare
Network Compute VMs Storage
VM VM Metal

Virtualized and Bare-Metal

Policy-Driven
Service Physical Compute
Provisioning
Delivery Team

A B C
Network and Services

Tenant Tenant Tenant


A B C

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Converged Infrastructure Management
Organization Structure of UCS Director
Main Infrastructure Hierarchy
Site
Pod
Virtual Data Center (vDC)

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Converged Infrastructure Management
Adding Managed Infrastructure
Virtual Accounts
Hypervisors ex vCenter
Physical Accounts
Compute ex UCS Manager
Storage ex EMC VNX
Network ex Nexus Switch
Multi-Domain ex APIC

Discovery Wizard or Ad Hoc


Credential Policies

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Converged Infrastructure Management
Common Heuristics for Administration and Operations
Dashboard Details
Tabbed Organization

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Converged Infrastructure Management
Common Heuristics for Administration and Operations
Dashboard Details
Tabbed Organization
Double-Click for Details

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Converged Infrastructure Management
Common Heuristics for Administration and Operations
Dashboard Details
Tabbed Organization
Double-Click for Details
Contextual Actions

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
Enabling End User Resource Management
The Virtual Data Center (vDC)
How Virtual Machine Policies are Virtual Data Center
Defined
Owned by a Single Group
New VMs must exist in a vDC
Discovered VMs placed in a vDC
Self-Service and Reporting Only
vDC exists within single Virtual
Account

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Enabling End User Resource Management
The Virtual Data Center (vDC)
How Virtual Machine Policies are Virtual Data Center
Defined
Owned by a Single Group Compute Policy
Which
New VMs must exist in a vDC clusters/hosts?
Host Selection

Discovered VMs placed in a vDC


Self-Service and Reporting Only
vDC exists within single Virtual
Account

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Enabling End User Resource Management
The Virtual Data Center (vDC)
How Virtual Machine Policies are Virtual Data Center
Defined
Owned by a Single Group Compute Policy System Policy
VM Name,
New VMs must exist in a vDC Guest Config
Timezone,
Host Selection DNS
Discovered VMs placed in a vDC
Self-Service and Reporting Only
vDC exists within single Virtual
Account

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Enabling End User Resource Management
The Virtual Data Center (vDC)
How Virtual Machine Policies are Virtual Data Center
Defined
Owned by a Single Group Compute Policy System Policy

New VMs must exist in a vDC Guest Config


Host Selection

Discovered VMs placed in a vDC Storage Policy


Which
Self-Service and Reporting Only array/datastores

Datastore Selection
vDC exists within single Virtual
Account

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Enabling End User Resource Management
The Virtual Data Center (vDC)
How Virtual Machine Policies are Virtual Data Center
Defined
Owned by a Single Group Compute Policy System Policy

New VMs must exist in a vDC Guest Config


Host Selection

Discovered VMs placed in a vDC Storage Policy Action Policies


Self-Service and Reporting Only
Datastore Selection Self-Service Options
vDC exists within single Virtual
Account End user
can power
on/off,
snap, etc.

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Enabling End User Resource Management
The Virtual Data Center (vDC)
How Virtual Machine Policies are Virtual Data Center
Defined
Owned by a Single Group Compute Policy System Policy

New VMs must exist in a vDC Guest Config


Host Selection

Discovered VMs placed in a vDC Storage Policy Action Policies


Self-Service and Reporting Only
Datastore Selection Self-Service Options
vDC exists within single Virtual
Account Network Policy

What
Virtual Network VLANs,
virtual load
balancers,
etc.
BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Enabling End User Resource Management
The Virtual Data Center (vDC)
How Virtual Machine Policies are
Defined
Owned by a Single Group
New VMs must exist in a vDC
Discovered VMs placed in a vDC
Self-Service and Reporting Only
vDC exists within single Virtual
Account Per cpu,
memory,
etc.

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Enabling End User Resource Management
The Virtual Data Center (vDC)
How Virtual Machine Policies are
Defined
Owned by a Single Group
New VMs must exist in a vDC
Discovered VMs placed in a vDC
Self-Service and Reporting Only
vDC exists within single Virtual
Account

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Enabling End User Resource Management
The Virtual Data Center (vDC) Categories
Different Policies for VM Type
Examples
Web, Application, Database
High Performance
High IO

Common Use Case


Different Networks and Security
Policies
Different Tier (Gold vs Bronze)

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Enabling End User Resource Management
The Virtual Data Center (vDC) System Policies (Service Delivery)
Virtual Machine and Guest OS Info
Naming Conventions
Licensing Info

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Enabling End User Resource Management
The Virtual Data Center (vDC) Compute Policies
Determines the Hypervisor Target
Host and/or Cluster
Resource Groups
Thresholds
# VMs
Resource Utilization

Folder Organization

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Enabling End User Resource Management
The Virtual Data Center (vDC) Network Policies
Guest Network Connectivity Info
Number of virtual adapters
Mandatory or Optional Policies
Adapter Configuration
Port-Group
IP Configuration (Static/DHCP)

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Enabling End User Resource Management
The Virtual Data Center (vDC) Storage Policies
Host Datastore Target
Datastore and Datastore Clusters
Thresholds
% Free Space
# of VMs

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Enabling End User Resource Management
Groups Resource Limits
Set amount of Cloud Consumed
Simple
Complex

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
Enabling End User Resource Management
The Virtual Data Center (vDC) Self Service and End User Actions
End User Self-Service Policy
Out of the Box Actions Options
Configured from Service Delivery
Menu
User Action Policy
Custom Actions Backed by Workflows
Configured from Orchestration Menu

From vDC Properties

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
Become a Data Center
Automation Superhero
with UCS Director
Model Based Orchestration
Object, not script, based
2,000+ atomic infrastructure tasks
included
Graphical Design Interface
Logical processing of Conditionals
and Loops
Versioning Support

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
Accessing the Workflow Engine
Administrative Portal
Policies -> Orchestration
Key Tabs
Workflows
Custom Workflow Inputs
Custom Workflow Tasks

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
Creating a New Workflow
Key Properties
Workflow Name
Description
Workflow Context
Save as Compound Task

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Leveraging Compound Tasks for Modularity
Expand the Included Task Library
Refactor large workflows
Linking Inputs and Outputs
Parent/Child Service Requests

From Workflow Properties

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Workflow Designer Walkthrough
Workflow Designer Walkthrough
Task Library Searching and
organization
Task Details

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Workflow Designer Walkthrough
Task Library Searching and
organization
Task Details
Edit Workflow Properties

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Workflow Designer Walkthrough
Task Library Searching and
organization
Task Details
Edit Workflow Properties
Version Control

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Workflow Designer Walkthrough
Task Library Searching and
organization
Task Details
Edit Workflow Properties
Version Control
Execute and Validate

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Service Requests and Rollback
The Service Request Log
Administrator and End User Views
Administrative Portal
Organizations -> Service Requests
Active vs Archive

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Service Request Details
Audit Trail

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Service Request Details
Audit Trail
Review details shown and tabs
Quick Status

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Service Request Details
Audit Trail
Review details shown and tabs
Quick Status
Detailed Log

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Service Request Details
Audit Trail
Review details shown and tabs
Quick Status
Detailed Log
Objects touched

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Service Request Details
Audit Trail
Review details shown and tabs
Quick Status
Detailed Log
Objects touched
Investigating inputs/outputs

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Integrated Rollback of Workflows
Model based benefit
Workflow object tracking

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Integrated Rollback of Workflows
Model based benefit
Workflow object tracking
Complete or Partial Rollback

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Integrated Rollback of Workflows
Model based benefit
Workflow object tracking
Complete or Partial Rollback
Original submitter approval

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Understanding Workflow and Task
Inputs and Outputs
Connecting Activities Together
Workflows take Inputs and generate
Outputs

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Connecting Activities Together
Workflows take Inputs and generate
Outputs
Input Sources
User or Administrator

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
Connecting Activities Together
Workflows take Inputs and generate
Outputs
Input Sources
User or Administrator

Workflow Tasks take Inputs and


generate Outputs

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
Connecting Activities Together
Workflows take Inputs and generate
Outputs
Input Sources
User or Administrator

Workflow Tasks take Inputs and


generate Outputs
Input Sources
Workflow Inputs

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Connecting Activities Together
Workflows take Inputs and generate
Outputs
Input Sources
User or Administrator

Workflow Tasks take Inputs and


generate Outputs
Input Sources
Workflow Inputs
Outputs from previous tasks

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
Connecting Activities Together
Workflows take Inputs and generate
Outputs
Input Sources
User or Administrator

Workflow Tasks take Inputs and


generate Outputs
Input Sources
Workflow Inputs
Outputs from previous tasks
Administratively Defined

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
Strong Typing in UCS Director
Every Input and Output has a Type
Types must match when connecting
tasks
Generic Text Input typically allowed
anywhere
Beware Sometimes multiple types
for similar details
Eg VMware Generic PortGroup vs
VMware Distributed Vswitch
PortGroup

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Configuring Task Inputs and Outputs
Dynamically influence
orchestration
Strongly Typed

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
Configuring Task Inputs and Outputs
Dynamically influence orchestration
Strongly Typed
Input Sources
User Input

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Configuring Task Inputs and Outputs
Dynamically influence orchestration
Strongly Typed
Input Sources
User Input
Task Output

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Configuring Task Inputs and Outputs
Dynamically influence orchestration
Strongly Typed
Input Sources
User Input
Task Output
Administratively Defined

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Leveraging Workflow Tasks
Types of Workflow Tasks
UCS Director Tasks
eg Creating a new vDC

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Types of Workflow Tasks
UCS Director Tasks
eg Creating a new vDC
Infrastructure Tasks
eg Creating a new Service Profile

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Types of Workflow Tasks
UCS Director Tasks
eg Creating a new vDC
Infrastructure Tasks
eg Creating a new Service Profile
Procedural Tasks
eg If/Then and Loops

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Types of Workflow Tasks
UCS Director Tasks
eg Creating a new vDC
Infrastructure Tasks
eg Creating a new Service Profile
Procedural Tasks
eg If/Then and Loops
Compound Tasks
Another workflow

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Types of Workflow Tasks
UCS Director Tasks
eg Creating a new vDC
Infrastructure Tasks
eg Creating a new Service Profile
Procedural Tasks
eg If/Then and Loops
Compound Tasks
Another workflow
Custom Tasks
Not out of the box, created or
imported

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Example Infrastructure Task
Model Based Tasks, no CLI
Easily identify task inputs
Map in from workflow inputs or task
outputs
Administratively Set

Generate Task Outputs

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
Using Processing Logic in
Workflows
Understanding Processing Logic in Workflows
Execution
Starts

Basic Task

Conditional

Basic Task Conditional

Conditional Basic Task

Basic Task

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
Understanding Processing Logic in Workflows
Basic Tasks
Execution
Starts Succeed Green Arrow
Fail Red Arrow
Task Success
Path
Basic Task Task Fail
Path

Conditional

Basic Task Conditional

Conditional Basic Task

Basic Task

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
Understanding Processing Logic in Workflows
Basic Tasks
Execution
Starts Succeed Green Arrow
Fail Red Arrow
Task Success
Path
Basic Task Task Fail
Path Conditional Tasks
Condition 2 1 or more conditions True Blue
Condition 1
True
Conditional True
Arrow
Basic Task Conditional

Conditional Basic Task

Basic Task

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
Understanding Processing Logic in Workflows
Basic Tasks
Execution
Starts Succeed Green Arrow
Fail Red Arrow
Task Success
Path
Basic Task Task Fail
Path Conditional Tasks
Condition 2 1 or more conditions True Blue
Condition 1
True
Conditional True
Arrow
Fail
Basic Task ConditionalTask
Condition
When Conditional Logic doesnt process
Fails

Conditional Basic Task

Basic Task

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Understanding Processing Logic in Workflows
Basic Tasks
Execution
Starts Succeed Green Arrow
Fail Red Arrow
Task Success
Path
Basic Task Task Fail
Path Conditional Tasks
Condition 2 1 or more conditions True Blue
Condition 1
True
Conditional True
Arrow
Fail
Basic Task ConditionalTask
Condition
When Conditional Logic doesnt process
Fails

Conditional Basic Task Workflows end in Success or


Failed
Basic Task A Failed Task doesnt mean workflow
must Fail
Execution Completes Execution Completes
Successfully Failed
BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
Example Procedural Task
Leverages Boolean Logic
Reference Inputs/Outputs by Name
Do NOT use ${..} format

Example conditions:
TaskName.OUTPUT_NAME == "2"

WORKFLOW_USER_INPUT contains "xyz"

TaskName.OUTPUT_ATTRIBUTE_NAME == WORKFLOW_USER_INPUT ||
WORKFLOW_USER_INPUT != "123"

* Supported Operators: ==, !=, <, <=, >, >=, contains, startsWith, endsWith, ||, &&
BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
Intro to Scripting and Custom Tasks
Scripting and Customization when needed
Majority of workflows should
leverage tasks
Scripting available when needed
Available Methods
Cloupia Script (Javascript + libraries)
Powershell (through PSA)
Remote Execution
Device CLI Options

Javascript Reference
http://www.w3schools.com/js/default.asp
https://repl.it/languages/javascript

Resource: UCSD Programming Guides


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
Scripting Task Example: Building Names
Formulaic Name Algorithm
Based on User Inputs
Meet Organizational Standards

Resource: UCSD Programming Guides


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
Scripting Task Example: Changing Input Types
When output doesnt match input
Prepare Admin Inputs of Desired
Type
Convert Value of Output if Needed
Example DV Port-Group -> Port-Group

From Workflow Properties


Resource: UCSD Programming Guides
BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Building Workflow Custom Tasks Why?
Replace often used CloupiaScript
tasks
Customize and extend Out of the
Box workflow tasks
Integrate with external system
Help Desk Ticketing
IP Address Management
CMDB
etc

Resource: UCSD Programming Guides


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
Using Custom Task Example: Name Cleanup
Build a Standard, Reusable Task
for Creating Names

Resource: UCSD Programming Guides


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Using Custom Task Example: Name Cleanup
Build a Standard, Reusable Task for
Creating Names
Map in User Input to manipulate

Resource: UCSD Programming Guides


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Using Custom Task Example: Name Cleanup
Build a Standard, Reusable Task for
Creating Names
Map in User Input to manipulate -${SR_ID}

Define the name format rules

Resource: UCSD Programming Guides


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
Using Custom Task Example: Name Cleanup
Build a Standard, Reusable Task for
Creating Names
Map in User Input to manipulate
-${SR_ID}
Define the name format rules
Inline Variable Reference
${VARIABLE NAME}

Resource: UCSD Programming Guides


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
Using Custom Task Example: Name Cleanup
Build a Standard, Reusable Task for
Creating Names
Map in User Input to manipulate
Define the name format rules
Use like any other Task Output
No need for Placeholder Workflow
Inputs!

Resource: UCSD Programming Guides


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
Creating Custom Task Example: Name Cleanup
Policies -> Orchestration -> Custom
Workflow Tasks -> Add
Provide Basic Details

Resource: UCSD Programming Guides


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
Creating Custom Task Example: Name Cleanup
Policies -> Orchestration -> Custom
Workflow Tasks -> Add
Provide Basic Details
Define Task Inputs

Resource: UCSD Programming Guides


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
Creating Custom Task Example: Name Cleanup
Policies -> Orchestration -> Custom
Workflow Tasks -> Add
Provide Basic Details
Define Task Inputs
Define Task Outputs

Resource: UCSD Programming Guides


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
Creating Custom Task Example: Name Cleanup
Policies -> Orchestration -> Custom
Workflow Tasks -> Add
Provide Basic Details
Define Task Inputs
Define Task Outputs
Write CloupiaScript

Resource: UCSD Programming Guides


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
Example Use Case
Goals of the Use Case Walkthrough
Strategy for approaching automation
Get familiar with building workflows
Understand capabilities of toolset
Provide general steps involved
Get excited to go and try in your lab

NOT Intended to be Step by Step


Instructions

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
Use Case Planning Phase
New Project Environment
Who
Any consumer looking to group a
number of IT Resources
What
A reserved segment of IT
Infrastructure within shared
environment
Traditional Delivery Method
Formal Project Process
Each IT silo independently delivering
Complex interaction of dependencies
Often much back and forth and waiting

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
Network Structure Options

ACI Fabric Based Traditional VLAN Based

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
Use Case Preparation
Prep Work Needed
Determine Degree of Flexibility
Define Relevant Tiers
Web, App, Data
Gold, Silver, Bronze
Standard, Advanced, Extreme
Virtual Compute Environment
Clusters, Resource Groups
Storage Environment
NFS, iSCSI
Network Pools (IPs, VLANs)
Network Service Delivery Method
Physical/Virtual, Shared/Dedicated

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
Initial White Boarding

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
Use Case Planning Docs
User Form & High Level Automation

User Experience Form


High Level Automation Planning

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
Use Case Planning Docs

UCSD vDC mapping to ACI Policy

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
Working with Compound/Child Workflows
How we think

Top Level Automation Structure


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
Working with Compound/Child Workflows
How we think

Internal Automation Level 1


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
Working with Compound/Child Workflows
How we think

Internal Automation Level 2


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
Working with Compound/Child Workflows
How we have to build

Step 1 Nested Workflows to Build


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
Working with Compound/Child Workflows
How we have to build

Step 2 Nested Workflows to Build


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
Working with Compound/Child Workflows
How we have to build

Step 3 Full User Workflow to Build


BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
Use Case Planning Docs
ACI Application Policy Planning

ACI Policy Structure

ACI Automation Planning

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
Use Case Planning Docs
Virtual Data Center Planning

UCSD vDC Automation


Planning
BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
Use Case Build Phase
Child Workflow: New EPG and Contract
Workflow Inputs and Outputs

Inputs Outputs
* - Important.. Do NOT configure Admin Input values on Compound Workflow Inputs

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
Child Workflow: New EPG and Contract
Workflow Designer
You cant automate what you
dont understand
Order of operations
String of individual atomic actions

Workflow Designer
(partial view)
BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
Child Workflow: New EPG and Contract
Service Request Status and Sample Outputs

Outputs
Status

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 108
Child Workflow: New 3 Tier ACI Policy
Workflow Inputs and Outputs

Inputs Outputs
* - Important.. Do NOT configure Admin Input values on Compound Workflow Inputs

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
Child Workflow: New 3 Tier ACI Policy
Workflow Designer
Modular design with Compound
Workflows
Passing Task Outputs -> Child
Workflow Inputs

Child Workflow

Workflow Designer
(partial view)
BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
Child Workflow: New 3 Tier ACI Policy
Service Request Status and Sample Outputs

Outputs
Status

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
Child Workflow: New 3 Tier vDC
Workflow Inputs and Outputs

Inputs Outputs
* - Important.. Do NOT configure Admin Input values on Compound Workflow Inputs

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
Child Workflow: New 3 Tier vDC
Workflow Designer
Building a vDC Network Structure to
align to ACI Policy

Workflow Designer
(partial view)
BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
Child Workflow: New 3 Tier vDC
Service Request Status and Sample Outputs

Outputs
Status

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
Parent Workflow: New Project
Workflow Properties and Inputs

Properties Inputs
* - Using Admin Inputs within Parent Workflow to map resources

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
Parent Workflow: New Project
Workflow Designer
Much simpler Parent Workflow
Leverage all the repeatable
compound workflows

Child
Workflows

Workflow Designer
(partial view)

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
Parent Workflow: New Project
Service Request Status
End Users see Simplified Status
Without Child Workflows, would be
50+ steps

Status
BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 117
Use Case Demo Video

https://youtu.be/RiUldvpHMYM
Use Case Demo vCenter View

Add VMs

Project Order

UCS Manager

ACI Application Policy


End User VM Management BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 119
Closing
Okay now what?
Learn by doing
Brainstorm example use cases
Identify your users, and ask them
what they need
Get UCS Director into your labs
Use dCloud for some Hands-On

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 121
Links and resources
UCS Director Cisco Community
http://tinyurl.com/UCSDLibrary

Download Use Case Example Resources


https://communities.cisco.com/docs/DOC-68468

Demo Video on YouTube


https://youtu.be/RiUldvpHMYM

14+ Demos related to UCS Director


http://dcloud.cisco.com

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 122
Feedback Please!
So much, so fast hard to keep up
Sessions and Content is for YOU!
Come ask questions here at Live
Find me after live
@hfpreston
hapresto@cisco.com
https://github.com/hpreston

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 123
Complete Your Online Session Evaluation
Give us your feedback to be
entered into a Daily Survey
Drawing. A daily winner will
receive a $750 Amazon gift card.
Complete your session surveys
through the Cisco Live mobile
app or from the Session Catalog
on CiscoLive.com/us.

Dont forget: Cisco Live sessions will be available


for viewing on-demand after the event at
CiscoLive.com/Online

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 124
Continue Your Education
Demos in the Cisco campus
Walk-in Self-Paced Labs
Lunch & Learn
Meet the Engineer 1:1 meetings
Related sessions

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 125
Thank you
Network Programmability Cisco Education Offerings
Course Description Cisco Certification
Integrating Business Applications with Network Learn networking concepts, and how to deploy and troubleshoot Cisco Business Application
Programmability (NIPBA); programmable network architectures with these self-paced courses. Engineer Specialist Certification
Integrating Business Applications with Network
Programmability for Cisco ACI (NPIBAACI)

Developing with Cisco Network Programmability Learn how to build applications for network environments and effectively Cisco Network Programmability
(NPDEV); bridge the gap between IT professionals and software developers. Developer Specialist Certification
Developing with Cisco Network Programmability
for Cisco ACI (NPDEVACI)

Designing with Cisco Network Programmability Learn how to expand your skill set from traditional IT infrastructure to Cisco Network Programmability
(NPDES); application integration through programmability. Design Specialist Certification
Designing with Cisco Network Programmability
for Cisco ACI (NPDESACI)

Implementing Cisco Network Programmability Learn how to implement and troubleshoot open IT infrastructure Cisco Network Programmability
(NPENG); technologies. Engineer Specialist Certification
Implementing Cisco Network Programmability
for Cisco ACI (NPENGACI)

For more details, please visit: http://learningnetwork.cisco.com


Questions? Visit the Learning@Cisco Booth or contact ask-edu-pm-dcv@cisco.com

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 128
Cloud Cisco Education Offerings
Course Description Cisco Certification
Understanding Cloud Fundamentals Learn how to perform foundational tasks related to Cloud computing, and the essentials
(CLDFND) of Cloud infrastructure
CCNA Cloud
Introducing Cloud Administration Learn the essentials of Cloud administration and operations, including how to provision,
(CLDADM) manage, monitor, report and remediate.

Implementing and Troubleshooting the Learn how to implement and troubleshoot Cisco Cloud infrastructure: compute,
Cisco Cloud Infrastructure (CLDINF) network, storage.

Learn how to design private and hybrid Clouds including infrastructure, automation,
Designing the Cisco Cloud (CLDDES)*
security and virtual network services
CCNP Cloud
Automating the Cisco Enterprise Cloud Learn how to automate Cloud deployments provisioning IaaS (private, private with
(CLDAUT)* network automation and hybrid) and applications, life cycle management
Building the Cisco Cloud with Application Learn how to build Cloud infrastructures based on Cisco Application Centric
Centric Infrastructure (CLDACI)* Infrastructure, including design, implementation and automation

Learn how to manage physical and virtual infrastructure using orchestration and
UCS Director Foundation (UCSDF)
automation functions of UCS Director.

* Available Q2CY2016

For more details, please visit: http://learningnetwork.cisco.com


Questions? Visit the Learning@Cisco Booth or contact ask-edu-pm-dcv@cisco.com

BRKPCA-2020 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 129

Você também pode gostar