diff --git a/README.md b/README.md index ad98789..ee6c7aa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,45 @@ -appdirector -=========== +Creating a Couchbase Server database service in Application Director + +The set of scripts in this GitHub repository help you to create a Couchbase Server database service in vFabric Application Director. + +The two scripts correspond to the two lifecycle stages of a service: + +* cb-install.sh: Installs Couchbase Server using an RPM from the Couchbase Downloads site +* cb-configure.sh: Configures the Couchbase Server by automatically clustering all Couchbase nodes in the deployment and creating a default bucket + +You do not need to run these scripts yourself. Rather, you specify their contents when you create a new service using the Application Direcotr Wizard. + +Note: Because it is assumed that you already know how to use Application Director, the following procedures concentrate on showing specific vFabric Web Server information rather than detailed steps about using the user interface. See the documentation for general information about using Application Director. + +To create a Couchbase Server database service in vFabric Application Director, follow these steps: + +1. Add a new service to the catalog. +2. When entering details about the new service, use the following values, as shown in this screenshot: https://github.com/alexmacouchbase/appdirector/blob/master/cb-details.png +3. Add the following required Properties to the service, as show in this screenshot: +https://github.com/alexmacouchbase/appdirector/blob/master/cb-properties.png + + + + + + + + + + + + + + + + + +
Property NameTypeValue
ssh_port String 80
node_array_index String
console_password String couchbase123
ssh_password String couchbase123
couchbase_port String 8080
cluster_ips Array
replica_count String 1
bucket_type String couchbase
bucket_name String default
+ +Leave the values of node_array_index and cluster_ips blank. These will be set at deploy time through app directors built in paramaters. Use default values for the other columns as shown. + + +Creating and Deploying an Application that uses a Couchbase Server database Service + + -\ \ No newline at end of file