Beruflich Dokumente
Kultur Dokumente
Limitations
This UCS Director demonstration begins with a database restore. This means that when a saved session is restarted, database
changes will be overwritten and lost. To save a customized session, use the procedure in Appendix A to back up and restore the
database.
Requirements
The table below outlines the requirements for this preconfigured demonstration.
Table 1. Requirements
Required Optional
Topology
This content includes preconfigured users and components to illustrate the scripted scenarios and features of the solution. Most
components are fully configurable with predefined administrative user accounts. You can see the IP address and user account
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 1 of 63
Cisco dCloud
credentials to use to access a component by clicking the component icon in the Topology menu of your active session and in the
scenario steps that require their use.
Figure 1. Topology
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 2 of 63
Cisco dCloud
Get Started
BEFORE PRESENTING
Cisco dCloud strongly recommends that you perform the tasks in this document with an active session before presenting in front of
a live audience. This will allow you to become familiar with the structure of the document and content.
It may be necessary to schedule a new session after following this guide in order to reset the environment to its original
configuration.
Follow the steps to schedule a session of the content and configure your presentation environment.
2. For best performance, connect to the workstation with Cisco AnyConnect VPN [Show Me How] and the local RDP client on
your laptop [Show Me How]
NOTE: You can also connect to the workstation using the Cisco dCloud Remote Desktop client [Show Me How]. The dCloud
Remote Desktop client works best for accessing an active session with minimal interaction.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 3 of 63
Cisco dCloud
Once you deploy this iteration of UCS Director, use the previously configured UCS Director to follow the script.
Steps
1. From the demonstration workstation, double-click the VMware vSphere icon to open vSphere. Check Windows Session
Credentials and click Log In.
2. From the top menu, select File > Deploy OVF Template.
c. Click Next.
d. Click Next through the OVF Template Details window – no changes needed.
e. Click Accept in the End User License Agreement window and click Next.
f. Click Next through the Name and Location window – no changes needed.
j. In the Network Mapping window, select n1kv_mgmt_vlan under Destination Networks and click Next.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 4 of 63
Cisco dCloud
4. Click Next, then Finish to begin the process of VM deployment. The process will take approximately ten minutes.
5. When the process has completed, the CUCSD-6.0.0 VM will show in the Hosts and Clusters window in vSphere in the
Powered On state.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 5 of 63
Cisco dCloud
• Network
• Computing
• Service delivery
• Cost Model
Steps
Guided Setup
2. Click the UCSD Login shortcut on the bookmarks tab and log in (admin/C1sco12345).
NOTE : The browser shortcut opens the default Lab iteration of UCS Director. If you have deployed your own UCS Director in
Section 1 and wish to run this scenario in that iteration, open Chrome and go to 198.18.133.110 (admin/C1sco12345).
3. From the top UCS Director menu, click Administration > Guided Setup.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 6 of 63
Cisco dCloud
NOTE: There may be a pop-up that asks whether to work from a saved session or start a new one. Always click Start A New
Session.
b. Click Skip through the Licensing window, as the license has already been updated.
c. Click Next through the Locale window, which is already set to English.
d. It is not necessary to modify the DNS Server, which is configured to 198.18.133.1. If desired, check the Modify DNS
Servers checkbox to see where a different DNS IP could be entered. Uncheck the box and click Next.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 7 of 63
Cisco dCloud
e. In the Mail Server window, enter the parameters shown below. The Password is C1sco12345.
f. Click Next.
g. In the Email Address window, no changes are necessary as the email address is configured. If desired, click the
Modify Email Address checkbox to see the fields that are used to configure an email address.
i. Click Next through the NTP Server window, no changes are necessary.
j. Verify the details in the Summary window and click Next. Note that the License will show a status of Skipped,
because license configuration is not a part of this lab.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 8 of 63
Cisco dCloud
8. In the Recommended Next Steps window, click the Launch button under FlexPod Wizard.
9. In the FlexPod Configuration window, perform the following operations. The purpose of the FlexPod configuration is to allow
UCS Director to communicate with UCSM, NetApp, Nexus Virtual devices and VMware.
c. In the Add POD window, enter dCloud Datacenter in the Name field.
e. In the Add Site dialog box, enter dCloud-Site in the Site Name field.
f. Enter administrator in the Contact Name field and click Submit, then OK to close the Add Site dialog box.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 9 of 63
Cisco dCloud
j. Select dCloud Datacenter from the Pod drop-down and click Next to proceed to Cisco UCS Manager configuration.
k. Enter the UCS Manager configuration parameters as shown in the following figure. The Password is C1sco12345.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 10 of 63
Cisco dCloud
l. Click Next to proceed to the NetApp window, and add a NetApp account to the POD.
m. Enter the NetApp account parameters as shown in the following figure. The Password is C1sco12345.
o. Click Skip to proceed to Nexus Virtual Device configuration – Nexus Physical Devices are outside the scope of this
lab.
p. Enter the Nexus Virtual Device parameters as shown in the following figure. The Password is C1sco12345.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 11 of 63
Cisco dCloud
q. Click Next to proceed to VMware, and add a VMware account to the POD.
r. Enter the VMware account parameters as shown in the figure below. The Password is C1sco12345.
s. Click Next to review the Summary. The Nexus Physical Device will show as Skipped, because the configuration of
physical devices is not within the scope of this lab.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 12 of 63
Cisco dCloud
11. Click Close. Device Discovery and the vDC Creation Wizard are outside the scope of this lab.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 13 of 63
Cisco dCloud
A policy is a group of rules that determine where and how a new VM is provisioned within the infrastructure based on the
availability of system resources.
Cisco UCS Director requires that you set up the following policies to provision VMs:
• Computing
• Storage
• Network
• System
Steps
The purpose of this section is to configure a Network Policy, which includes resources such as network settings, DHCP or static IP,
and the option to add multiple vNICs for VMs provisioned using this policy
1. From the top UCS Director menu select Policies > Virtual/Hypervisor Policies > Network.
3. In the Network Policy Information dialog box, perform the following steps:
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 14 of 63
Cisco dCloud
4. In the Add Entry to VM Networks dialog box, enter eth0 in the NIC Alias field.
9. Click Submit to close the Add Entry to Port Groups dialog box, then click OK.
10. Click Submit to close the Add Entry dialog box, then click OK.
11. Click Submit to create the Sales Network Policy, then click OK.
12. Verify the presence of the Sales Network Policy in the VMware Network Policy list.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 15 of 63
Cisco dCloud
The purpose of this section is to configure the Sales Bronze Storage Policy.
A storage policy defines resources such as the datastore scope, type of storage to use, minimum conditions for capacity, latency,
and so on.
1. From the main UCSD menu click Policies > Virtual/Hypervisor Policies > Storage.
3. Click .
4. In the Add Storage Resource Allocation Policy dialog box, configure the following parameters:
e. Click Next.
13. Click Next through the Additional Disk Policies window – no changes are required.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 16 of 63
Cisco dCloud
15. Verify the presence of the Sales Bronze Storage Policy in the VMware Storage Policy list.
Computing Policy
The purpose of this section is to create the computing policies that determine the compute resources that can be used during
provisioning that satisfy group or workload requirements.
Administrators can define advanced policies by mixing and matching various conditions in the computing policy.
1. From the top menu, select Policies > Virtual/Hypervisor Policies > Computing.
3. In the Add Computing Policy dialog box, perform the following steps:
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 17 of 63
Cisco dCloud
4. Verify the presence of the newly created Compute Policy in the list.
System Policies
The purpose of this section is to deploy the Service Delivery policy – including the System policy, Cost Model, and End User Self-
Service policy.
A system policy defines the system-specific information such as the template to use, time zone, OS specific information, and so on.
1. From the main UCSD menu, select Policies > Virtual/Hypervisor Policies > Service Delivery.
3. In the System Policy Information dialog box, perform the following steps:
e. Select Windows and Linux from the VM Image Type drop-down, which enables Windows-only parameters.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 18 of 63
Cisco dCloud
f. Scroll down and enter dCloud in the License Owner Name field.
m. Verify the presence of the Service Delivery Policy in the VMware System Policy list.
Cost Model
A cost model is used to define the unit level costs of virtual resources such as CPU, RAM, and storage. These costs are used for
chargeback calculations of VMs within the virtual infrastructure.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 19 of 63
Cisco dCloud
1. From the top UCSD menu, click Policies > Virtual/Hypervisor > Service Delivery.
3. Click . .
4. Configure the Cost Model by changing the values as shown in the following figure, and click Add, then OK.
5. Verify the presence of the Sales Bronze Cost Model in the Cost Model list.
The purpose of this section is to set up the End User Self-Service policy. This policy governs which actions will be allowed on VMs
that are created as a result of self-service workflows.
1. Still in the Service Delivery window, scroll over to the End User Self-Service Policy tab and click .
2. In the Add End User Policy pop-up, select VMware from the Account Type drop-down.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 20 of 63
Cisco dCloud
3. Click Submit.
5. Click the VM Power Management checkbox. Scroll down to see what other options are available,
A Virtual Data Center (vDC) is a logical grouping that combines virtual resources, operational details, rules, and policies to manage
specific group requirements.
A group or organization can manage multiple vDCs. images, templates, and policies. Organizations can allocate quotas and assign
resource limits for individual groups at the vDC level.
You can also define approvers specific to a vDC. The approvers assigned to a particular vDC must approve all service requests
from users for VM provisioning.
A VM that is provisioned using a service request can be associated with a specific vDC. When you create a service request, you
can choose the vDC on which this VM is provisioned. You can view a list of the vDCs that are available for a particular group and
choose the required vDC when provisioning VMs. You will see vDC selection in later when ordering a VM.
1. From the main UCS Director menu, select Policies > Virtual/Hypervisor Policies > Virtual Data Centers.
3. Select VMware from the Account Type drop-down and click Submit.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 21 of 63
Cisco dCloud
c. Configure the Group as follows in the Add Group dialog box and click Add, then OK.
d. Click Select and select the newly created Sales group from the Group list. Click Select.
e. Under Approvers and Contacts, click Select to see the dialog box where approvers can be added to this vDC.
NOTE: If you do not select an approver, any service request for a VM in the vDC will be completed without approval being
required.
g. Scroll down to the Policies section and select policies from the drop-downs as follows:
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 22 of 63
Cisco dCloud
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 23 of 63
Cisco dCloud
To aid in managing catalogs, Cisco UCS Director allows you to group similar catalogs within a folder.
• Create a Standard catalog of self-service workflows that can be accessed by that account
Steps
The purpose of this section is to create the demouser user in UCS Director.
1. From the top UCS Director menu select Administration > Users and Groups.
3. Click .
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 24 of 63
Cisco dCloud
Create a Catalog
The purpose of this section is to create a catalog of self-service operations that are available to the recently created demouser.
1. From the top UCS Director menu select Policies > Catalogs.
2. Click .
3. In the Add Catalog pop-up, select Standard from the Catalog Type drop-down and click Submit.
c. Next to Selected Groups, click the Select button and check the Sales Group checkbox in the resulting list. Click
Select.
d. Next to Image, click Select and select the ubuntu12srv image from the list. Click Select.
e. Verify the Basic Information parameters and click Next to proceed to Application Details.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 25 of 63
Cisco dCloud
f. Click Next through the Application Details window, without making any changes.
g. Click Next through the User Credentials window, without making any changes.
h. Click Next through the Customization window, without making any changes.
i. Click Next through the VM Access window, without making any changes.
Set up external email to receive notifications based on requests submitted and completed during the demo.
1. From the demonstration workstation, open the Scripts folder and double-click Cisco UCS Director Email Setup.
4. A console window will open and then close, which indicates that the script is working in the background.
5. In the External Email Address popup window, enter the email address you want emails related to the demo sent. Click OK.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 26 of 63
Cisco dCloud
1. Open a Firefox browser window. Click the Cisco UCS Director shortcut and log into UCS Director (demouser/C1sco12345).
4. In the Create Service Request dialog box, perform the following steps:
a. Click Next through the Catalog Selection window, without making any changes.
b. Click Next through the Deployment Configuration window, without making any changes.
c. Click Next through the Custom Specification window, without making any changes.
d. Click Next through the Custom Workflow window, without making any changes.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 27 of 63
Cisco dCloud
c. Click the service request and click the View Details icon.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 28 of 63
Cisco dCloud
6. The Admin must approve the service request in order for it to be processed. Use option a (if you are connected to the
demonstration using Cisco AnyConnect) or option b (if you are connected to the demonstration using the Cisco dCloud
Remote Desktop Client) to approve the service request.
a. If you are connected to the demonstration using Cisco AnyConnect, follow the bulleted steps below:
• Go to the email client that you configured for the demo and open the email with the subject Approval Required.
NOTE: If you receive a warning, click Advanced and proceed to the IP address to continue.
• The Cisco UCS Director log in window will open in a web browser on your laptop. Log in with the following
credentials: Username: admin, Password: C1sco12345.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 29 of 63
Cisco dCloud
NOTE: The entire process to create and customize the VM may take up to 15 minutes to complete. The Complete status may
display within 5-6 minutes, but wait until you receive notification that the request is complete.
b. If you are connected to the demonstration using the Cisco dCloud Remote Desktop Client with HTML5,
follow the bulleted steps below:
• From the demonstration workstation, go to the Cisco UCS Director window for the user admin.
• Either click the service request that needs approval and click or right-click on the service request
and choose Approve from the drop-down list.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 30 of 63
Cisco dCloud
• In the Service Request window, you may enter an optional Comment and then click Approve.
7. Click OK.
8. Return to the demouser UCS Director window. Click the View Details button to show that the workflow has progressed
through Step 7: Approval and proceeded to Step 8: VMware VM Provision.
NOTE: The entire process to create and customize the VM may take up to 15 minutes to complete. You may see a status of
Complete within 5-6 minutes, but the scenario has not completed until the email is received. Continue with the rest of the scenario
while waiting for completion.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 31 of 63
Cisco dCloud
a. Show and explain how the VMware Recent Tasks and Summary windows correlate with the request submitted via
UCS Director.
a. You should still be on the My Approvals page. If not, click Organizations > My Approvals.
11. Continue to monitor the status of the service request in all three windows until it is completed.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 32 of 63
Cisco dCloud
• The account will receive an email with the subject Service Request for provisioning of VM(s) has been completed,
when the request is complete.
Figure 57. Example Service Request for Provisioning VM(s) Completed Email
13. Close all windows except the UCS Director admin window in preparation for Scenario 5.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 33 of 63
Cisco dCloud
Steps
The purpose of this section is to configure the Baremetal Agent on UCS Director. It is performed in the administrator window.
1. From the top menu of UCS Director, click Administration > Physical Accounts.
3. In the Add Bare Metal Agent Appliance dialog box, perform the following steps:
b. Check the Baremetal Agent Uses Different Interfaces for Management and PXE Traffic checkbox.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 34 of 63
Cisco dCloud
4. In the Baremetal Agents window, verify that the newly created ucsd-bma agent is Reachable. Click ucsd-bma.
NOTE: It may be necessary to click the ancillary menu drop-down to see the Configure DHCP option.
6. Verify that the IP addresses are the same as those shown in the figure below, and click Submit, then OK.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 35 of 63
Cisco dCloud
9. Click
10. Click Start in the Start Bare Metal Agent Appliance dialog box. This starts the Enabled Services – DHCP, TFTP, and HTTP.
It may take a minute or two before the confirmation dialog box appears. Click OK.
11. Back in the Bare Metal Agents window, verify that the Enabled Services show as Running.
This procedure provisions an OS image for installation by Baremetal Agent. You must provision the OS image before you can
request a PXE boot for the OS image.
1. From the Windows Start button on the lab workstation, open WinSCP.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 36 of 63
Cisco dCloud
2. In the WinSCP Login dialog box, enter the login parameters to login to the recently configured Baremetal Agent:
• Password: C1sco12345
3. Click Login.
4. In the resulting window, navigate to the ftproot directory on the local side.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 37 of 63
Cisco dCloud
6. Right-click the VMware-VMvisor-Installer… file on the local side and click Rename on the menu. Ctrl-C to copy the filename
to the clipboard for future use. Do not change the file name.
7. Drag the VMware-VMvisor-Installer-6.0.0.update02.iso file to the Baremetal Agent side and click Copy in the resulting
dialog box.
Figure 67. Drag the VMware File to the Baremetal Agent Side
10. Double-click ucsd-bma in the Saved Sessions window, and log in to the console window (root/C1sco12345).
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 38 of 63
Cisco dCloud
NOTE: The filename may be different from the filename in the above command. If so, Ctrl+V to paste the filename into the
command.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 39 of 63
Cisco dCloud
16. Return to the WinSCP window. On the Baremetal Agent side, navigate to the /opt/cnsaroot/templates directory, and verify
the presence of the newly created ESXI-6 template.
17. Return to the UCS Director admin window, which is still open to the Physical Accounts > Baremetal Agents page.
19. Click Refresh to see the new ESXI-6 image in the BMA OS List. This may take a few minutes.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 40 of 63
Cisco dCloud
20. From the top UCS Director menu, select Physical > Compute.
21. Click dCloud Datacenter, then click the PXE Boot Requests tab.
23. The first field in the PXE Boot Request Add dialog box requires the MAC Address of the server. Obtain it as follows:
24. Return to UCS Director and complete the PXE Boot Request Add as follows:
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 41 of 63
Cisco dCloud
25. Click the new PXE Boot Request, then click Setup PXE Environment to make sure the PXE request is executed with the
correct boot options.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 42 of 63
Cisco dCloud
VMware vSphere and vCloud Director contain the VMRC browser plug-in that can be loaded in supported web browsers. Web
applications running in the browser can use the VMRC browser plug-in to access virtual machine console functions by using the
VMRC JavaScript API. With a web application that uses VMRC browser plug-in and the VMRC API, users can remotely access,
and interact with, a virtual machine from any system with the appropriate web browser and operating system.
1. From the top UCS Director menu select Virtual > Compute.
4. Scroll all the way to the bottom of the list and click Enable/Disable VMRC.
5. In the resulting pop-up, click the Enable VMRC Console checkbox and click Submit, then OK.
6. Select vesx4 again. Click and select Power ON from the menu.
10. Select VMRC Console (Browser Plugin) from the Access Scheme drop-down and click Proceed, then OK.
11. The VMRC Console tab opens in Chrome and shows the ESXI-6 image loading. This can take 10-15 minutes.
NOTE: Proceed with the rest of the scenario and check back on the VMRC Console tab later to confirm the successful boot.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 43 of 63
Cisco dCloud
The purpose of this section is to create a workflow that can be used to deploy the three-tier application container from the template
created in the previous section, by cloning an existing workflow and modifying it.
Steps
1. From the top UCS Director menu select Policies > Orchestration.
2. On the Workflows tab, expand the Default > Containers folder and review the existing workflows. A Fenced Container Setup
workflow already exists.
5. Scroll down to Save Options and check Place in New Folder. Enter dCloud in the Folder Name field.
6. Under Notifications, select Send e-mail to User Group and Admin from the Email Policy drop-down.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 44 of 63
Cisco dCloud
7. Click Next.
8. Click Next through the Add User Inputs screen – no changes are necessary.
9. Click Submit without making any changes in the Add User Outputs screen, then click OK.
10. Verify that the dCloud folder now exists, with the newly created dCloud Fenced Container workflow in it.
NOTE: The dCloud Fenced Container workflow is currently an exact copy of the original Fenced Container workflow. The next few
steps edit the workflow to work in this lab environment.
13. In the Edit Task dialog box, click Next through Task Information and User Input Mapping.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 45 of 63
Cisco dCloud
a. Select Distributed Virtual Portgroup N1K from the Virtual Network Type drop-down.
c. Click Next.
Application containers are a templatized approach to provisioning applications for end users. Each application container is a
collection of VMware virtual machines (VMs) and/or Baremetal servers (BMs) with an internal private network that is based on
rules specified by the administrator. An application container can have one or more VMs and BMs and can be secured by a fencing
gateway (for example, a Virtual Secure Gateway) to the external or public cloud.
• Creating application policies, including a gateway policy and a virtual infrastructure policy.
• Creating a container template:
o Add networks (one network per application tier)
o Add virtual machines and Baremetal servers
o (Optional) Add load balancing and firewall services
o Add deployment policies
1. In the UCS Director admin window, click Policies > Application Containers from the top menu.
2. Click the Virtual Infrastructure Policies tab, and click Add Policy.
3. In the Add Virtual Infrastructure Policy dialog box, perform the following steps:
a. Enter Sales_3Tier_APP in the Policy Name field and click Next to advance to the Gateway screen.
b. Click Next through the following three screens without making any other changes.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 46 of 63
Cisco dCloud
4. Click the Application Container Templates tab and click Add Template.
5. In the Add Application Container Template dialog box, perform the following steps:
a. In the Template Specification window, enter Sales_3Tier_Template in the Template Name field.
b. Click Next.
c. In the Virtual Infrastructure Policy window, the recently created Sales_3Tier_APP policy is selected by default.
Click Next.
e. Change the defaults to match the figure below and click Submit, then OK.
f. Click Next.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 47 of 63
Cisco dCloud
h. Add three VMs – db-server, web-server, and app-server – with the following parameters:
j. In the Policies window, select policies as shown in the figure below and click Next.
k. In the Options window, select End User Self Service from the drop-down and check both checkboxes.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 48 of 63
Cisco dCloud
l. Click Next.
n. Type dcloud in the Search bar to locate the dCloud Fenced Container workflow.
The purpose of this section is to add the application container template to the catalog. This will allow users to deploy a three-tier
application from the Sales_3Tier_Template, using the dCloud Fenced Container workflow.
1. From the top UCS Director menu, click Policies > Catalogs.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 49 of 63
Cisco dCloud
2. Click .
3. Select Service Container from the Catalog Type drop-down and click Submit.
5. Click the Select button next to Group and select Sales Group.
6. Click Next.
8. Double-click the Service Container folder to see the Sales_3TierAPP dCloud-Cluster workflow, which can be deployed by a
user.
9. Return to the IE browser window, where demouser is already logged into UCS Director. If the window is not open, open an IE
browser and log into UCS Director as demouser (demouser/C1sco12345).
a. Double-click the Sales_3TierAPP dCloud-Cluster workflow or click Create Request to create a service request.
c. In the Deployment Configuration screen, enter contain in the Service Container Name field and click Next.
d. Click Submit.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 50 of 63
Cisco dCloud
a. Click the Menu icon and click Services in the top UCS Director menu.
b. Double-click the most recent request, or click it and click View Details.
c. Click Refresh until the workflow completes successfully, which will take approximately ten minutes.
13. Return to the vSphere window, where the three VMs (app-server, db-server, and web-server) have been created.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 51 of 63
Cisco dCloud
14. Navigate to VMs and Templates to see the Fenced Container with the three VMs.
15. Click any VM, then click the Summary tab to see its IP Address.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 52 of 63
Cisco dCloud
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 53 of 63
Cisco dCloud
The purpose of this scenario is to add a workflow to the catalog that allows users to create a VLAN, and then to demonstrate
deploying that workflow.
Steps
1. Login to UCS Manager (admin/C1sco12345). Click LAN in the left menu and review the existing VLANs.
2. In the admin window of UCS Director, click Policies > Orchestration to display the workflows.
3. Click .
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 54 of 63
Cisco dCloud
b. In the Save Options section, select dCloud from the Select Folder drop-down.
c. In the Notifications section, select Send e-mail to User Group and Admin from the Email Policy drop-down.
d. Click Next.
g. Click Select and select VLAN ID from the list of inputs. Click Select.
k. Click Select and select Generic Text Input from the list of inputs. Click Select.
m. Click Next.
5. Review the workflow as it appears in the Workflow Designer. The shell of the workflow is there, but no tasks are associated to
it.
6. In the Available Tasks list, expand Physical Compute Tasks > Cisco UCS Tasks.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 55 of 63
Cisco dCloud
b. In the User Input Mapping window, scroll to the VLAN Name section and click the Map to User Input checkbox.
g. Click Next through Task Inputs, where the UCSM mapping is pre-selected.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 56 of 63
Cisco dCloud
12. Click Execute Now to execute the workflow – the User Inputs box pops up, requesting the VLAN name and ID -
16. Click Show Detail Status to monitor the workflow, clicking Refresh until it completes.
17. Return to UCSM and check the VLANs – the newly created VLAN exists in UCSM.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 57 of 63
Cisco dCloud
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 58 of 63
Cisco dCloud
Complete all desired customizations, and then use this procedure to back up the UCS Director database.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 59 of 63
Cisco dCloud
6. Enter y <Enter> at the Services will be stopped before Database Backup. Do you want to continue? [y/n] prompt.
8. Wait for the process to complete, which will take a few minutes, and note the name of the remote backup file.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 60 of 63
Cisco dCloud
9. Open a Windows Explorer window, and navigate to the ftproot drive. Verify that the backup file exists.
10. Return to the PuTTY window. Hit <Enter> at the Press return to continue… prompt to return to the list of actions.
12. Go to the Cisco dCloud UI. Click Dashboard and save the customized UCS Director demonstration.
1. On the workstation desktop, open Windows Explorer and navigate to the Z: drive.
2. Single-click the backup file twice, and copy the filename to the clipboard.
6. Enter y <Enter> at the Services will be stopped before Database Restore. Do you want to continue? [y/n] prompt.
• Remote Backup File (Absolute Path to File): <paste backup file name>
8. Enter y <Enter> at the Do you want to restore from file <filename> [y/n] ? prompt.
NOTE: The filename listed in the above prompt will be a temporary filename that mirrors the saved backup filename.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 61 of 63
Cisco dCloud
9. Wait until the process has finished, which will take a few minutes, and the Press return to continue… prompt appears.
14. If any services are still down, hit <Enter> to return to the list of Actions. Keep displaying the list of services until all services
are up.
15. Double-click the UCS Director shortcut on the wkst1 desktop, and make sure UCS Director is reachable.
16. Go to the Cisco dCloud UI. Click Dashboard and save the customized UCS Director demonstration.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 62 of 63
Cisco dCloud
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 63 of 63