cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
878
Views
1
Helpful
0
Comments
Patrick Horner
Cisco Employee
Cisco Employee

Task Name

This workflow extracts the domain to be joined later in order to pre-provision the FQDN in AD.

Description

Prerequisites

Tested on UCSD 6.0.1.0 and 6.1

CategoryWorkflow
ComponentsvSphere 5.x and HyperV
User InputsCatalogID and VDC_ID
OutputSPDomainName


Instructions for Regular Workflow Use:

  1. Download the attached .ZIP file below to your computer. *Remember the location of the saved file on your computer.
  2. Unzip the file on your computer. Should end up with a .WFD file.
  3. Log in to UCS Director as a user that has "system-admin" privileges.
  4. Navigate to "Policies-->Orchestration" and click on "Import".
  5. Click "Browse" and navigate to the location on your computer where the .WFD file resides. Choose the .WFD file and click "Open".
  6. Click "Upload" and then "OK" once the file upload is completed. Then click "Next".
  7. Click the "Select" button next to "Import Workflows". Click the "Check All" button to check all checkboxes and then the "Select" button.
  8. Click "Submit".
  9. A new folder should appear in "Policies-->Orchestration" that contains the imported workflow. You will now need to update the included tasks with information about the specific environment.

I want to give credit to Orf Gelbrich and his expertise and all the help he and Russ Whittier gave me to complete this!

User Need: Had to find out what domain the category VM would be joining into PRIOR to VM deployment. They were pre-creating the computer entry in AD using PowerShell to alleviate the need for reboot etc. when the VM actually joined.

Solve: What I thought would be an easy task, turned into a myriad of procedures and methods! I had to use API calls, XML parsing, Cloupia scripting, Tabular Report gleaning, etc. etc. The output of this workflow (Could be saved as a compound task) is just the Domain Name or Workgroup the VM will be joining when provisioned. With a little tweaking, what information element from which policy do you need?

Step 1: Get the Category ID

Step 2: Does the Category have an Application Category over ride Deployment Policy?

Step 3:a If override was in place, run a report to extract the Domain Name from the Policy.

Step 3:b If override was not in place, go to VDC to find the System Policy.

Step 3:c If no name was found in the Policy, It could be HyperV, Check that policy API for the data.

Step 3:d Need to parse the API returned XML data for the Domain name…

Step3:e Log the Domain Name in Red in the SR Log and set a workflow output with the Domain Name.

From 3:b Get the System Policy from the VDC

Repeat 3:a , 3:c , 3:d and 3:e

A picture is better:

Workflow:

Unknown.png

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links