Git Product home page Git Product logo

ucspe-power-control's Introduction

Cisco UCSPE Power Control

The Microsoft PowerShell scripts provided in this repository enable automation for the powered state of the Cisco UCS Platform Emulator (UCSPE). This can be useful for scenarios that require rebooting or shutting down the UCSPE for maintenance.

Prerequisites:

  1. Microsoft Windows PowerShell 3 or above.
  2. A running Cisco UCSPE virtual machine accessible over your network. More information and downloads for the Cisco UCSPE can be found here.

Getting Started:

  1. Please ensure that the above prerequisites have been met.
  2. Download the ucspe_vm_reboot.ps1 and ucspe_vm_shutdown.ps1 files from this repository here on GitHub.
  3. Document the IP address of the targeted Cisco UCSPE.

How to Use:

Available UCSPE Power Control Operations
  • Performing a UCSPE Reboot

    The ucspe_vm_reboot.ps1 script provides the ability to perform an automated reboot of a targeted UCSPE. The following is an example of the command usage and mandatory parameters, in which the targeted UCSPE for a reboot has an IP address of 192.168.1.7:

    ucspe_vm_reboot.ps1 -IP 192.168.1.7

    The ucspe_vm_reboot.ps1 script does not require the parameter names and will accept just the positional values. Here is an example:

    ucspe_vm_reboot.ps1 192.168.1.7
  • Performing a UCSPE Shutdown

    The ucspe_vm_shutdown.ps1 script provides the ability to perform an automated shutdown of a targeted UCSPE. The following is an example of the command usage and mandatory parameters, in which the targeted UCSPE for a shutdown has an IP address of 192.168.1.7:

    ucspe_vm_shutdown.ps1 -IP 192.168.1.7

    The ucspe_vm_shutdown.ps1 script does not require the parameter names and will accept just the positional values. Here is an example:

    ucspe_vm_shutdown.ps1 192.168.1.7

Parameters:

-IP

The IP parameter is mandatory and specifies the IP address of the targeted UCSPE VM. A resolvable hostname for the targeted UCSPE will also be accepted for the value.

Use Cases:

A modified version of the script in this repository is a part of the automation used to support and enable the following Cisco Data Center product demonstrations on Cisco dCloud:

  1. Cisco UCS Management with Intersight v1
  2. Cisco UCS Central 2.0 v1
  3. Cisco UCS Central 2.0 Lab v1
  4. Cisco UCS Programmability and Automation Lab v1

Cisco dCloud is available at https://dcloud.cisco.com, where product demonstrations and labs can be found in the Catalog.

Author:

Ugo Emekauwa

Contact Information:

[email protected] or [email protected]

ucspe-power-control's People

Contributors

ugo-emekauwa avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.