Then the directory structure for the deployment will be as follows.
As you can see there are a number of files, including properties files, build files and shell scripts. All of these files are generated, based on the deployment defined in model. For instance the RackspaceTest_BusinessOrganisation.properties is the derived config properties for the Business Organisation Processing Unit. The shell scripts start and deploy the application on the Rackspace servers. The build.xml is an ant file that controls the deployment process. This makes use of Whirr and JClouds as well as classes in CloudTran.jar to perform the deployment.
For the Rackspace deployment to work some additional properties are needed. These currently are the 'whirr.identity' and 'whirr.credential'. They should be placed in the 'Rackspace.properties'. The 'whirr.identity' is your Rackspace login name and the 'whirr.credential' is your Rackspace API key. The Rackspace API key can be found by logging into your Rackspace account and This file has two parts - the first half is regenerated and the values are determined from the deployment option values. The second part of the file is not regenerated (all the values here are maintained) and this is where the 'whirr.identity' and 'whirr.credential' value should go. Any additional propertiest hat you wish to maintain for your deployment should be set in this section.
7.9.3 Deploying |
startGrid Starts the grid on the servers deployApplication Deploys the application by copying and running the appropriate shell scripts to the running servers stopApplication Stops the running application on the servers. allocateServers Starts a new cluster of servers based on the deployment configuration deallocateServers Destroys the running servers, even if the application is still running. listServers Lists the existing machines used in the cluster. |
ant <target> |


