SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Automation Tools for UCS Sysadmins
Eric Williams
Technical Marketing Engineer

Presentation_ID

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

Cisco Public
What is the Cisco UCS XML API?
Cisco Unified Computing System
Optimized and Designed as an Integrated System
Cisco UCSℱ Manager
(Read / Write Configuration Interfaces)
UCS Manager GUI and CLI

Cisco UCS Fabric Interconnects
(Read Only / Cut Through Interfaces)
SNMP, Syslog, SMTP, SMASH CLP, CIM XML, Smart Call Home

20, 40, 48, and 96 ports
Cisco UCS I/O modules

Cisco UCS Blade Server Chassis

Cisco UCS Blade and Rack Servers
(Cut through Interfaces to CIMC)
Serial over LAN, KVM, IPMI

Cisco UCS I/O Adapters
Presentation_ID

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

Cisco Public
Programmatic Infrastructure
 Comprehensive XML API, standards-based interfaces
 Bi-Directional access to physical & logical internals
Self Serve portals
Management Tools
Auditing Tools

Direct

UCS CLI

3rd Party

UCS GUI

Customer

XML API
System Status
Physical Inventory
Logical Inventory
‱ Broad 3rd party integration support
‱ Faster custom integration for customer use cases
‱ Consistent data and views across ALL interfaces

Presentation_ID

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

Cisco Public
Use Case Examples for the UCS XML API
Manage Multiple UCS Systems

‱ Overarching system to maintain resource pools, users, policies, etc

Monitor and Integrate the Event Stream
‱ Capture events, parse, store, report
‱ Create event gateway to monitoring solutions
Automate Issue Remediation
‱ Generate appropriate responses to events
Configuration Backup
‱ Export entire UCS Information Model
Firmware Image Management

‱ Ensure Firmware consistency across all components

Presentation_ID

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

Cisco Public
Managed Objects (MO)
Everything is an object

Root

Objects are hierarchically organized
Class identifies object type
Card, Port, VNIC


Class Inheritance
Server port is a subclass of port.
A server blade is a subclass of compute entity.

Set of attributes
identity

Managed Object

references

states
lifecycle

UCS XML Database contains comprehensive system information
 Discovered components
 System configuration
 Operational status including statistics and faults
Presentation_ID

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

Cisco Public

descriptions
What toolkits are available for Cisco UCS
automation development?
Cisco Developer Network
Web based developer community
http://developer.cisco.com/web/unifiedcomputing/home

 Downloads:






UCS Platform Emulator (UCSPE)
goUCS Automation Tool
XML API, Perl, PowerShell code samples
(44 and counting)
Microsoft – PowerShell library, SCOM MP
HP Software – HPOM, HPOO integration
modules

 Documentation:




Programming & developer guides
White papers
Reference guides (XML model, Faults)

 Collaboration:





Presentation_ID

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

Blogs
Peer to peer forums
Videos
Access to Cisco subject matter experts

Cisco Public
goUCS Automation Toolkit
goUCS Automation Toolkit
 UCS Manager: Know XML, no problem
 With goUCS: No XML, no problem
 Convert UCS Manager actions into
automation scripts

Linux & Mac OS X Support
HTTPS Communication Support
Tagged Based User Arguments
Performance Enhancements

1

Perform single action on UCS Manager and capture it

2

Create script in goUCS framework with variable substitutions

3

Re-run script over and over against single or multiple UCSMs

Presentation_ID

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

Cisco Public
goUCS Automation Toolkit
Invocation Syntax
goucs <session> <xml/cmd wrapper> <process type> <output type> <user args>
 IP address
 Web server port
 Credentials

 Determines execution
mode for commands
 REALTIME
 RAW
 OUTCACHE
 INCACHE
 Controls data output
location for returned data

 Multiple concurrent
sessions possible
 Sessions to multiple UCS
Managers

 Collection of XML
“functions” available to be
executed
 Can be derived from
running UCS Manager
 Storable for repetitive use
 Parameterized with
arguments passing

Presentation_ID

 Arguments to be used in
conjunction with
parameters on the XML
wrapper
 Up to 10 arguments are
passable
 More than 10 arguments
can be passed answer
files

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

 Output format control
 Indented XML
 Raw XML
 Quiet – no output
 xPath
 Comma Separated
Values (CSV)
 Table

Cisco Public
goUCS Automation Toolkit
Example: Automating VLAN Creation
1

2

Capture

Create

Perform the task in UCS Manager
Use goUCS filterlog to capture the transaction

mkdir <GOUCS_PATH>/xmlwrappers/CreateVlan
goucs filterlog trueco vlan10 vlan10:NAME @id:10:ID > CreateVlan.xml

Create the XML wrapper using the captured logs
Create variables for parameters

3

Execute

goucs createvlan realtime indent /name:TestVLAN /id:321

Run the command on one or more UCS systems substituting values for variables

Available now on Cisco Developer Network: http://developer.cisco.com/web/unifiedcomputing/goucs

Presentation_ID

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

Cisco Public
Cisco UCS PowerTool
Cisco UCS PowerTool
Bringing More Power to PowerShell
UCS PowerTool

UCS

The Essential Tool Kit
 PowerShell is the common management
platform used across all Microsoft operating
systems and applications
 UCS PowerTool is a Cisco-built, user-friendly,
PowerShell-based library that Microsoft tools
understand
 A simple way to utilize Windows PowerShell and
customize tools to business needs

Don’t reinvent the wheel


build on it

Presentation_ID

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

Cisco Public
Cisco UCS PowerTool
Key Supported Objects and Assets
 Service Profiles

 Chassis

‒ Policies (Firmware, Boot
Order, vNIC / vHBA config,
Storage, IPMI, SoL, BIOS)

‒ Hardware – Power Supply /
Fan Modules / IO Modules

‒ Pools (WWN, UUID, MAC)

‒ Power / cooling / network /
environmental statistical data

‒ Configuration Faults

‒ Config and Hardware Faults

‒ Launch UCS KVM for SP

 Servers
‒ Hardware - CPU, Memory,
Adaptors, CIMC)
‒ Power / cooling / network
/environmental statistical data

Presentation_ID

‒ Pools (WWN, UUID, MAC, IP)
‒ Policy creation, manipulation,
deletion, and consumption
‒ vNIC / vHBA Templates

‒ Service profile template creation,
cloning, deletion, and consumption
Simplistic service profile creation (with a
limited scope of what is available to
configure)

‒ Hardware – Power Supply /
Fan Modules / Network
Expansion Modules
‒ Power / cooling / network/
environmental statistical data

‒ Power Operations

‒ Hardware Faults

 Fabric Interconnect

 Configuration Operations

‒ Network Elements (VLAN,
VSAN, QoS, Port Profiles)
‒ Config and Hardware Faults

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

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

Cisco Public

15
Q&A
Presentation_ID

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

Cisco Public

Weitere Àhnliche Inhalte

Mehr von idquygbaru

Tugas jarkom firdanita sk
Tugas jarkom firdanita skTugas jarkom firdanita sk
Tugas jarkom firdanita skidquygbaru
 
Kelompok 10
Kelompok 10Kelompok 10
Kelompok 10idquygbaru
 
Kelompok 9
Kelompok 9Kelompok 9
Kelompok 9idquygbaru
 
Kelompok 8
Kelompok 8Kelompok 8
Kelompok 8idquygbaru
 
Kelompok 7
Kelompok 7Kelompok 7
Kelompok 7idquygbaru
 
Kelompok 6
Kelompok 6Kelompok 6
Kelompok 6idquygbaru
 
Kelompok 5
Kelompok 5Kelompok 5
Kelompok 5idquygbaru
 
Kelompok 4
Kelompok 4Kelompok 4
Kelompok 4idquygbaru
 
Kelompok 3
Kelompok 3Kelompok 3
Kelompok 3idquygbaru
 
Kelompok 2
Kelompok 2Kelompok 2
Kelompok 2idquygbaru
 
Kelompok 1
Kelompok 1Kelompok 1
Kelompok 1idquygbaru
 
Tugas Individu
Tugas IndividuTugas Individu
Tugas Individuidquygbaru
 
Kelompok 10
Kelompok 10Kelompok 10
Kelompok 10idquygbaru
 
Kelompok 9
Kelompok 9Kelompok 9
Kelompok 9idquygbaru
 
Kelompok 7
Kelompok 7Kelompok 7
Kelompok 7idquygbaru
 
Kelompok 8
Kelompok 8Kelompok 8
Kelompok 8idquygbaru
 
Kelompok 6
Kelompok 6Kelompok 6
Kelompok 6idquygbaru
 
Kelompok 5
Kelompok 5Kelompok 5
Kelompok 5idquygbaru
 
Kelompok 4
Kelompok 4Kelompok 4
Kelompok 4idquygbaru
 
Kelompok 3
Kelompok 3Kelompok 3
Kelompok 3idquygbaru
 

Mehr von idquygbaru (20)

Tugas jarkom firdanita sk
Tugas jarkom firdanita skTugas jarkom firdanita sk
Tugas jarkom firdanita sk
 
Kelompok 10
Kelompok 10Kelompok 10
Kelompok 10
 
Kelompok 9
Kelompok 9Kelompok 9
Kelompok 9
 
Kelompok 8
Kelompok 8Kelompok 8
Kelompok 8
 
Kelompok 7
Kelompok 7Kelompok 7
Kelompok 7
 
Kelompok 6
Kelompok 6Kelompok 6
Kelompok 6
 
Kelompok 5
Kelompok 5Kelompok 5
Kelompok 5
 
Kelompok 4
Kelompok 4Kelompok 4
Kelompok 4
 
Kelompok 3
Kelompok 3Kelompok 3
Kelompok 3
 
Kelompok 2
Kelompok 2Kelompok 2
Kelompok 2
 
Kelompok 1
Kelompok 1Kelompok 1
Kelompok 1
 
Tugas Individu
Tugas IndividuTugas Individu
Tugas Individu
 
Kelompok 10
Kelompok 10Kelompok 10
Kelompok 10
 
Kelompok 9
Kelompok 9Kelompok 9
Kelompok 9
 
Kelompok 7
Kelompok 7Kelompok 7
Kelompok 7
 
Kelompok 8
Kelompok 8Kelompok 8
Kelompok 8
 
Kelompok 6
Kelompok 6Kelompok 6
Kelompok 6
 
Kelompok 5
Kelompok 5Kelompok 5
Kelompok 5
 
Kelompok 4
Kelompok 4Kelompok 4
Kelompok 4
 
Kelompok 3
Kelompok 3Kelompok 3
Kelompok 3
 

KĂŒrzlich hochgeladen

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Navi Mumbai Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls đŸ„° 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls đŸ„° 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vĂĄzquez
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĂșjo
 

KĂŒrzlich hochgeladen (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Navi Mumbai Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls đŸ„° 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Williams cisco

  • 1. Automation Tools for UCS Sysadmins Eric Williams Technical Marketing Engineer Presentation_ID © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
  • 2. What is the Cisco UCS XML API?
  • 3. Cisco Unified Computing System Optimized and Designed as an Integrated System Cisco UCSℱ Manager (Read / Write Configuration Interfaces) UCS Manager GUI and CLI Cisco UCS Fabric Interconnects (Read Only / Cut Through Interfaces) SNMP, Syslog, SMTP, SMASH CLP, CIM XML, Smart Call Home 20, 40, 48, and 96 ports Cisco UCS I/O modules Cisco UCS Blade Server Chassis Cisco UCS Blade and Rack Servers (Cut through Interfaces to CIMC) Serial over LAN, KVM, IPMI Cisco UCS I/O Adapters Presentation_ID © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
  • 4. Programmatic Infrastructure  Comprehensive XML API, standards-based interfaces  Bi-Directional access to physical & logical internals Self Serve portals Management Tools Auditing Tools Direct UCS CLI 3rd Party UCS GUI Customer XML API System Status Physical Inventory Logical Inventory ‱ Broad 3rd party integration support ‱ Faster custom integration for customer use cases ‱ Consistent data and views across ALL interfaces Presentation_ID © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
  • 5. Use Case Examples for the UCS XML API Manage Multiple UCS Systems ‱ Overarching system to maintain resource pools, users, policies, etc
 Monitor and Integrate the Event Stream ‱ Capture events, parse, store, report ‱ Create event gateway to monitoring solutions Automate Issue Remediation ‱ Generate appropriate responses to events Configuration Backup ‱ Export entire UCS Information Model Firmware Image Management ‱ Ensure Firmware consistency across all components Presentation_ID © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
  • 6. Managed Objects (MO) Everything is an object Root Objects are hierarchically organized Class identifies object type Card, Port, VNIC
 Class Inheritance Server port is a subclass of port. A server blade is a subclass of compute entity. Set of attributes identity Managed Object references states lifecycle UCS XML Database contains comprehensive system information  Discovered components  System configuration  Operational status including statistics and faults Presentation_ID © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public descriptions
  • 7. What toolkits are available for Cisco UCS automation development?
  • 8. Cisco Developer Network Web based developer community http://developer.cisco.com/web/unifiedcomputing/home  Downloads:      UCS Platform Emulator (UCSPE) goUCS Automation Tool XML API, Perl, PowerShell code samples (44 and counting) Microsoft – PowerShell library, SCOM MP HP Software – HPOM, HPOO integration modules  Documentation:    Programming & developer guides White papers Reference guides (XML model, Faults)  Collaboration:     Presentation_ID © 2012 Cisco and/or its affiliates. All rights reserved. Blogs Peer to peer forums Videos Access to Cisco subject matter experts Cisco Public
  • 10. goUCS Automation Toolkit  UCS Manager: Know XML, no problem  With goUCS: No XML, no problem  Convert UCS Manager actions into automation scripts Linux & Mac OS X Support HTTPS Communication Support Tagged Based User Arguments Performance Enhancements 1 Perform single action on UCS Manager and capture it 2 Create script in goUCS framework with variable substitutions 3 Re-run script over and over against single or multiple UCSMs Presentation_ID © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
  • 11. goUCS Automation Toolkit Invocation Syntax goucs <session> <xml/cmd wrapper> <process type> <output type> <user args>  IP address  Web server port  Credentials  Determines execution mode for commands  REALTIME  RAW  OUTCACHE  INCACHE  Controls data output location for returned data  Multiple concurrent sessions possible  Sessions to multiple UCS Managers  Collection of XML “functions” available to be executed  Can be derived from running UCS Manager  Storable for repetitive use  Parameterized with arguments passing Presentation_ID  Arguments to be used in conjunction with parameters on the XML wrapper  Up to 10 arguments are passable  More than 10 arguments can be passed answer files © 2012 Cisco and/or its affiliates. All rights reserved.  Output format control  Indented XML  Raw XML  Quiet – no output  xPath  Comma Separated Values (CSV)  Table Cisco Public
  • 12. goUCS Automation Toolkit Example: Automating VLAN Creation 1 2 Capture Create Perform the task in UCS Manager Use goUCS filterlog to capture the transaction mkdir <GOUCS_PATH>/xmlwrappers/CreateVlan goucs filterlog trueco vlan10 vlan10:NAME @id:10:ID > CreateVlan.xml Create the XML wrapper using the captured logs Create variables for parameters 3 Execute goucs createvlan realtime indent /name:TestVLAN /id:321 Run the command on one or more UCS systems substituting values for variables Available now on Cisco Developer Network: http://developer.cisco.com/web/unifiedcomputing/goucs Presentation_ID © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
  • 14. Cisco UCS PowerTool Bringing More Power to PowerShell UCS PowerTool UCS The Essential Tool Kit  PowerShell is the common management platform used across all Microsoft operating systems and applications  UCS PowerTool is a Cisco-built, user-friendly, PowerShell-based library that Microsoft tools understand  A simple way to utilize Windows PowerShell and customize tools to business needs Don’t reinvent the wheel
 
build on it Presentation_ID © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
  • 15. Cisco UCS PowerTool Key Supported Objects and Assets  Service Profiles  Chassis ‒ Policies (Firmware, Boot Order, vNIC / vHBA config, Storage, IPMI, SoL, BIOS) ‒ Hardware – Power Supply / Fan Modules / IO Modules ‒ Pools (WWN, UUID, MAC) ‒ Power / cooling / network / environmental statistical data ‒ Configuration Faults ‒ Config and Hardware Faults ‒ Launch UCS KVM for SP  Servers ‒ Hardware - CPU, Memory, Adaptors, CIMC) ‒ Power / cooling / network /environmental statistical data Presentation_ID ‒ Pools (WWN, UUID, MAC, IP) ‒ Policy creation, manipulation, deletion, and consumption ‒ vNIC / vHBA Templates ‒ Service profile template creation, cloning, deletion, and consumption Simplistic service profile creation (with a limited scope of what is available to configure) ‒ Hardware – Power Supply / Fan Modules / Network Expansion Modules ‒ Power / cooling / network/ environmental statistical data ‒ Power Operations ‒ Hardware Faults  Fabric Interconnect  Configuration Operations ‒ Network Elements (VLAN, VSAN, QoS, Port Profiles) ‒ Config and Hardware Faults © 2012 Cisco and/or its affiliates. All rights reserved. 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 Cisco Public 15
  • 16. Q&A
  • 17. Presentation_ID © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public

Hinweis der Redaktion

  1. PowerShell is the common management platform used across all Microsoft operating systems and applications, as well as a growing number of 3rd party platforms By creating a PowerShell Toolkit, Cisco UCS can be managed by PowerShell commands, called cmdlets, along with those operating systems and applications side-by-side.