The sample Nanotrader application is a three-tier Web application that deploys the NanoTrader application using the vFabric Web Server, vFabric tc Server, vFabric RabbitMQ, and vFabric SQLFire components.

Use the predefined sample application only in a test environment.

Register the uploaded CentOS 6.3 32-bit template to a cloud provider. See Register the vCloud Director Cloud Provider and Template, Register the vCloud Automation Center Cloud Provider and Template, or Register the Amazon EC2 Cloud Provider and Template.

Map the cloud template to the CentOS63 32bit logical template. See Add a Logical Template to the Catalog.

Verify that your user account has the ROLE_APP_ARCHITECT application architect role and ROLE_DEPLOYER deployer role assigned to it.

Log in to vCloud Application Director with a user account that belongs to the Default group.

Understand the basic concepts of creating a deployment profile and deploying an application. See Deploying Applications.

Verify that the spring-nanotrader-asynch-services.war, spring-nanotrader-services.war, spring-nanotrader-web.tgz, and spring-nanotrader-web.war files are downloaded to an HTTPD server.

1

On the vCloud Application Director title bar, click the drop-down menu and select Applications.

2

Select Nanotrader.

3

Click the Blueprint screenshot at the top of the screen.

4

In the blueprint editor, select the service and SCRIPT component and add URL values to download the applicable files.

Service and Component

Description

vFabric_Web_Server

spring-nanotrader-web.tgz file for the deployment_archive property

vFabric_tc_Server

spring-nanotrader-web.war file for the external_template property

spring-nanotrader-services

spring-nanotrader-services.war file for the war_file property

5

Click Save.

6

On the vCloud Application Director title bar, click the drop-down menu and select Applications.

7

Open the Nanotrader application that you configured.

8

Create a deployment profile and deploy the application.

9

To access the deployed application, open a supported Web browser and type the http://Load_Balancer_IP/#login URL.

The Load_Balancer_IP is the IP address of the deployed load balancer.

10

Create a NanoTrader account to set a user name and password.

Initiate an update process to scale or modify configuration of the Nanotrader application. See Initiate an Update Process to Scale Sample Applications and Initiate an Update Process to Modify Configurations in Sample Applications.