Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Creating a Couchbase 2.0 on RHEL 5.4 service offering

This topic describes the tasks that you must perform in BMC Cloud Lifecycle Management to create the service offering that the end user could then use to provision the application infrastructure (for example, an OS and an application package). It includes the following topics:

To create the service and the service offering

In the BMC Cloud Lifecycle Management Administrator console, you must add a service and a service offering.

For Couchbase service blueprint, you can create a service and service offering based on the available deployment model. The Couchbase service blueprint supports the following service deployment models:

Deployment model
Description
Setup Cluster deployment model

In the setup cluster deployment model, the Couchbase cluster is created on single server instance.

Add Node To Cluster deployment model

In the add node to cluster deployment model, a Couchbase node is created which is then associated to the Couchbase cluster.

To create a service

  1. From the BMC Cloud Lifecycle Management Administration Console, click the vertical Workspaces menu on the left side of the window, and click Service Catalog.
  2. In the Service Catalog, click Create a New Service.
  3. Enter the service name.
  4. For Type, select a service type.
    • Business service — Services that customers use and that show the customer view of services, such as email or an online store.
    • Technical service — Supporting IT and infrastructure resources required to support business services that are not visible to customers, such as servers, applications, and network CIs.

      Note

      After you select the type and save the service, you cannot change the type.

  5. Enter a description of the service.
  6. Do one of the following actions:
    • To create the service offering, click Apply.
    • To create the service offering later, click Save to save your selections and close the window.

To create a service offering

  1. From the BMC Cloud Lifecycle Management Administration Console, click the vertical Workspaces menu on the left side of the window, and click Service Catalog.
  2. From the Service Catalog, edit or create a service.
    In the Service Offering tab, a default service offering is available, which you can edit.
  3. Click Create a New Service Offering.
  4. In the General Information tab, define the options described in the following table. 

    Option

    Description

    Default Service Offering

    Enable this option to make the selected service offering the default for the service. Unless users select a different service offering, the default service offering is used.

    Name

    A short, descriptive name for the service offering.

    Description

    A more detailed description of the service offering.

    Service Blueprint

    Specify the software and hardware to associate with the service offering by selecting one of the available blueprints.

    Reference Definition

    Specify which version of the blueprint to use for this offering. Choose one of the following:
    Latest version—Use the latest version of the specified service blueprint.
    Specific Version—Use the version of the service blueprint that you select.
    Identified by Tag—Select the tag that is used to identify a version of a service blueprint. Because no two versions of a service blueprint can have the same tag, if the association of the tag to a version changes, your blueprint will use whichever version makes use of that tag.

    DefinitionSpecify how to deploy the selected service blueprint. From the list, select a definition that is available for the chosen service blueprint.
  5. Add a Base Customer Price to define the amount charged to the customer for the service offering.
  6. Add a Base Deployment Cost to define the amount that it costs to provide the service offering.
  7. Click Apply.
    This action activates the Options tab. You now also can create a requestable offering (for example, a request definition or a post-deploy action). For additional information, see Creating a requestable offering in the BMC Cloud Lifecycle Management online technical documentation.

To make the provisioning request

To make provisioning request for Couchbase cluster or node:

  1. Access Workspaces > Service Instances to display the Service Instances workspace, and click the New Service Request icon to display the New Service Request dialog box.

  2. In the New Service Request dialog box, click the server provisioning service you want to request to display the Submit Request dialog box.To complete the Service Request for Couchbase cluster, specify the following Parameters:

    ParameterDescription
    Name Of Bucket
    Buckets are used to compartmentalize data within a Couchbase Server. This parameter represents the name of the bucket.
    Password Of ClusterAdministrator password for accessing the cluster.
    ConfirmAdministrator password for accessing the cluster.  
    RAM Size BucketThe logical size of a bucket.
    RAM Size Of ClusterRAM size quota for a specific cluster.
    Replica Count Of BucketThis represents the bucket replication count.
    Type Of BucketThis represents the bucket type.
    Username Of ClusterAdministrator username for accessing the cluster.
  3. To complete the Service Request for Couchbase node, specify the following Parameters:

    ParameterDescription
    IP Address of ClusterIP address for Couchbase server.
    Password of ClusterPassword for Couchbase server.
    ConfirmPassword for Couchbase server.
    Username of Cluster
    Username for Couchbase server.
  4. Click Next.
     

  5. Enter the data in the required fields to complete the request for an instance of the service request. You can click Next to review the details.
  6. Click Submit. The request is added to the Pending Activity list in the Service Instances window.

The request status is displayed in the Pending Activity list of the Service Instances window. You can double-click on the service request to see its detailed information.

For more detailed procedures, see Requesting cloud services.

To validate the provisioned components

After provisioning the service blueprint, you can validate the Couchbase components setup in your environment.

Component nameHow to verifyResults
Verify Selinux status

To verify Selinux status, run the following command:

sestatus
It displays the Selinux status which is disabled.
Couchbase installation

To verify the Couchbase installation, run the following command:

rpm -qa | grep -i couchbase

It displays the following output:

couchbase-server-2.0.1-170.x86_64
Couchbase server status

To verify the Couchbase server status, run the following command:

service couchbase-server status

It displays the following output:

couchbase-server is running
Start Couchbase server

To start the Couchbase server, run the following command:

service couchbase-server start
Starts the Couchbase service.
Couchbase server port

To verify the Couchbase listening ports, run the following command:

netstat -atpn | grep -i beam
It displays Couchbase listening ports.
Check Couchbase server list

To check the Couchbase server list, run the following command:

server-list
It displays the list of all Couchbase servers present in a cluster.
Check Couchbase server information

To check Couchbase server information, run the following command:

server-info
It displays the Couchbase server details.

Check bucket list

To check bucket list in a cluster, run the following command:

bucket-list
It displays all the buckets of a cluster.

Where to go next

Once you have created the service offering, the cloud end user can request a service offering from the My Cloud Services Console. To view a list of tasks the cloud end user can perform to manage your cloud services, see Managing cloud services in the BMC Cloud Lifecycle Management online technical documentation.

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments