cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

UCSD - UCS Central Inventory Refresh / Any System Task Inventory

3280
Views
0
Helpful
4
Comments
Task Name

UCS Central inventory refresh

Description

Prerequisites
  1. Tested on 5.4.0.2
CategoryWorkflow
ComponentsvSphere 5.x
User Inputse-mail address
Outpute-mail with counter

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 .WFDX file resides. Choose the .WFDX 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

Start any system task in UCSD by providing the name of that system task just as it is seen under :

     “Administration—>System—>System Task”.


Every account, when added to UCSD gets a specific system task created for inventory collection.

All is needed is the system task name of UCS Central inventory system task into this custom task, and it will kick off the inventory.

For example, here is a system task name for my UCS Manager account in an environment  From the “label” column feed that name for your UCS Central inventory system task into the custom task provided


Unknown.png


Screen Shot 2016-04-20 at 7.18.35 AM.png


Screen Shot 2016-04-20 at 7.19.19 AM.png


Screen Shot 2016-04-20 at 7.19.27 AM.png


Task may have an error:


- var task = SystemScheduler.getInstance().getTaskByName(system_task_name;

+ var task = SystemScheduler.getInstance().getTaskByName(system_task_name);

Comments
thom.schumacher
Beginner

Is there a means to remove a single VM from inventory if it was removed by another director, using the same VCenter? Instead of issuing a re-scan of the entire inventory. Where the situation is you have one Vcenter being used by two different environments.

Orf Gelbrich
Cisco Employee

Yes you can…

In the GUI

and there is an API call

Orf Gelbrich
Cisco Employee

Try this thing here…

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

number 392 on the community site.

thom.schumacher
Beginner

Super thank you ogelbric

Content for Community-Ad
This widget could not be displayed.