7.1

Table Of Contents
Scenario: Import the Dukes Bank for vSphere Sample Application
You download the Dukes Bank for vSphere application from your vRealize Automation appliance. You
import the sample application into your vRealize Automation tenant to view a working sample of a multi-
tiered vRealize Automation blueprint that includes multiple machine components with networking and
software components.
Procedure
1 Log in to your vRealize Automation appliance as root by using SSH.
2 Download the Dukes Bank for vSphere sample application from your vRealize Automation appliance
to /tmp.
wget --no-check-certificate https://vRealize_VA_Hostname_fqdn:
5480/blueprints/DukesBankAppForvSphere.zip
Do not unzip the package.
3 Download Cloud Client version 4.x from hp://developercenter.vmware.com/tool/cloudclient to /tmp.
4 Unzip the cloudclient-4x-dist.zip package.
5 Run Cloud Client under the /bin directory.
$>./bin/cloudclient.sh
6 If prompted, accept the license agreement.
7 Using Cloud Client, log in to the vRealize Automation appliance as a user with software architect and
infrastructure architect privileges.
CloudClient>vra login userpass --server https://vRealize_VA_Hostname_fqdn --user
<user@domain.com> --tenant <TenantName>
8 When prompted, enter your login password.
9 Validate that the DukesBankAppForvSphere.zip content is available.
vra content import --path /<Path>/DukesBankAppForvSphere.zip --dry-run true --resolution
overwrite
By conguring the resolution to overwrite instead of skip, you allow vRealize Automation to correct
conicts when possible.
10 Import the Dukes Bank sample application.
vra content import --path /<Path>/DukesBankAppForvSphere.zip --dry-run false --resolution
overwrite
When you log on to the vRealize Automation console as a user with software architect and infrastructure
architect privileges, you see Dukes Bank blueprints and software components on the Design > Blueprints
tab and the Design > Software Components tab.
Chapter 4 Providing On-Demand Services to Users
VMware, Inc. 241