Code Monkey home page Code Monkey logo

stageworkshop's Introduction

This script supports staging HPoC clusters for Nutanix Workshops. It automates the majority of the Workshop Setup Guide. After HPoC Foundation, you can have push-button Calm in about half an hour!


Table of Contents


How To Workshop

Please review the How To Workshop for the latest instructions http://ntnx.tips/howto

Available Workshops

  1. Calm Introduction Workshop (AOS/AHV 5.5+)
  2. Citrix Desktop on AHV Workshop (AOS/AHV 5.6)

See the WORKSHOPS list at the top of stage_workshop.sh.

HPoC Cluster Reservation

Make your new reservation on https://rx.corp.nutanix.com/ with:

  • AOS + Hypervisor: proper versions for your workshop, specified above
    • Recommended: AOS and AHV 5.8
    • Older or newer versions may not function as expected
  • VM Images: you do not need to specify images (CentOS, Windows2012, etc.) for your reservation

Staging Your HPoC

All clusters must be Foundationed prior to Workshop staging.

This script should be run from a host on the corporate/lab network, such as a CentOS VM running on an HPoC cluster or your laptop with VPN access. Execute the following:

git clone https://github.com/nutanixworkshops/stageworkshop.git
cd stageworkshop
chmod +x stage_workshop.sh

Next, you'll need to create or reuse and update a text file (e.g.: example_pocs.txt) containing your cluster IP and password details. It's easiest to create this file in the same directory as the stage_workshop.sh script. Input files must use the following format:

<Nutanix Cluster #1 IP>|<Cluster #1 Password>|[email protected]
<Nutanix Cluster #2 IP>|<Cluster #2 Password>|[email protected]
...
<Nutanix Cluster #N IP>|<Cluster #N Password>|[email protected]

For example:

10.21.1.37|nx2Tech123!|[email protected]
10.21.7.37|nx2Tech517!|[email protected]
#10.21.5.37|nx2Tech789!|[email protected] <-- The script will ignore commented out clusters
10.21.55.37|nx2Tech456!|[email protected]

Finally, execute the script to stage the HPOC clusters defined in your text file.

Interactive Usage

./stage_workshop.sh

Running the script interactively will prompt you to input the name of your text file containing your cluster IP and password details. You will then be prompted to choose a Workshop to stage.

Non-interactive Usage

./stage_workshop.sh -f [example_pocs.txt] -w [workshop number]

Each staging option will deploy:

  • all images required to complete a given workshop
  • a domain controller (ntnxlab.local)
  • Prism Central
  • configuring AHV networks for your Primary and Secondary VLANs.

Ask questions not covered here to the Global Sales Technical Enablement team via Slack, review the pinned items in the channel first:

  • #technology-bootcamps:

Validate Staged Clusters

After staging (~1.5 Hrs - 3 Hrs ), you can re-run the stage_workshop script and select "Validate Staged Clusters" to perform a quick check to ensure all images were uploaded and that Prism Central was provisioned as expected.

Example:

./stage_workshop.sh
Cluster Input File: example_pocs.txt
1) Calm Introduction Workshop (AOS/AHV 5.6)
2) Citrix Desktop on AHV Workshop (AOS/AHV 5.6)
3) Change Cluster Input File
4) Validate Staged Clusters
5) Quit
Select an option: 4
10.21.44.37 - Prism Central staging FAILED
10.21.44.37 - Review logs at 10.21.44.37:/home/nutanix/config.log and 10.21.44.39:/home/nutanix/pcconfig.log

Authentication

One can use Windows Server: Active Directory, but for simpler and faster results, the automation leverages also AutoDC.

stageworkshop's People

Contributors

jncox avatar wessenstam avatar mlavi avatar mattbator avatar nutanixtest avatar steak-sauce avatar panlm avatar

Watchers

James Cloos 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.