Download the attached .ZIP file below to your computer. *Remember the location of the saved file on your computer.
Unzip the file on your computer. Should end up with a .WFD file.
Log in to UCS Director as a user that has "system-admin" privileges.
Navigate to "Policies-->Orchestration" and click on "Import".
Click "Browse" and navigate to the location on your computer where the .WFD file resides. Choose the .WFD file and click "Open".
Click "Upload" and then "OK" once the file upload is completed. Then click "Next".
Click the "Select" button next to "Import Workflows". Click the "Check All" button to check all checkboxes and then the "Select" button.
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.
Cisco Enterprise Cloud Suite, and UCS Director specifically, is a fantastic tool for managing Data Center Infrastructure delivery all the way to having VMs or Bare Metal Servers loaded and ready to go. However, that is only the start of the process of delivering automated solutions for applications. Managing Operating System and Applications are very important, but not a core feature of UCS Director.
Many customers leverage Puppet for OS and Application Management of both Linux and Windows server. To this end, I've built custom tasks and workflow examples to allow UCS Director to work with Open Source Puppet through Foreman to add a Host to a Host Group. These can be used either as a User Action button for a VM, or as part of post-provisioning of a server.
** Note, in this first version there are some requirements for this to work
1) Newly added hosts to Puppet/Foreman need to have Certificates Signed. In my lab, I autosign for testing. If a cert isn't signed before running the tasks, they will not work. I plan to add tasks to allow UCSD to initiate signing in future releases.
1) Now fixed. See the second attachment for tasks to Sign the Cert as well as Kick Off a run of the Agent.
2) It is recommended to build a Custom Workflow Input as a LOV (dropdown) listing all the Host Group Names that you want to allow hosts to be placed in. Currently this needs to be done manually, and as new host groups are added to Foreman, you would need to add them to the LOVs
The first attached file includes the following:
1) 2 Custom Tasks to Get and Set the Host Group ID
2) 2 Workflow Examples. One setup for "VM Context" to be a button, another as a Post-Provisioning Workflow.
3) Other Custom Tasks Used in Examples
- Get VM Details - Take VMID and return VM Name and IP Address
- Basic Username CleanUp - Allows for some basic string manipulation such as appending text
4) Custom Workflow Input - A sample LOV of Host Group Names
The second file includes two other features
1) Custom task to sign the puppet certificate
2) Custom task to initiate a puppet agent run on a server
3) Workflow examples for User Action buttons or Compound Workflows that take a VMID as input.
What it looks like
2015-09-01 Puppet Utilities v1.wfdx.zip
2015-08-28 - Puppet Foreman Host Group Management.wfdx.zip
uHi, We have enabled LDAP in ucs director and this works great.However now we want to enable SLDAP so we check the "Enable SSL" box in de LDAP settings.When we try to save this we get an error "Connection Failed - root.int:636 : java.security.cert.Ce...
Hi to all, I need to merge two workflow.The first workflow is about the creation of a thin device on a VMAX storage ,the second is about the creation of a distributed device on a vplex controller.The two workflow works fine if I use them separately, ...
Hi Team,sorry for the basic question.... is there any feature parity issue with UCS Director compared to UCS Central.. so if the customer wants to replace the Central with Director is it a valid ask and are there any caveats to know? ThanksJay&n...
Hi, I am testing an APIC and UCSD integration scenario in my lab environment.When trying to create an application container from the template, I am getting this error log: Feb 14, 2020 11:49:34 UTC Optional Resource Pool Input for container: nul...