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
- From the BMC Cloud Lifecycle Management Administration Console, click the vertical Workspaces menu on the left side of the window, and click Service Catalog.
- In the Service Catalog, click Create a New Service.
- Enter the service name.
- 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.
- Enter a description of the service.
- 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
- From the BMC Cloud Lifecycle Management Administration Console, click the vertical Workspaces menu on the left side of the window, and click Service Catalog.
- From the Service Catalog, edit or create a service.
In the Service Offering tab, a default service offering is available, which you can edit. - Click Create a New Service Offering.
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.Definition Specify how to deploy the selected service blueprint. From the list, select a definition that is available for the chosen service blueprint. - Add a Base Customer Price to define the amount charged to the customer for the service offering.
- Add a Base Deployment Cost to define the amount that it costs to provide the service offering.
- 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:
- 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.
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:
Parameter Description Name Of Bucket Buckets are used to compartmentalize data within a Couchbase Server. This parameter represents the name of the bucket. Password Of Cluster Administrator password for accessing the cluster. Confirm Administrator password for accessing the cluster. RAM Size Bucket The logical size of a bucket. RAM Size Of Cluster RAM size quota for a specific cluster. Replica Count Of Bucket This represents the bucket replication count. Type Of Bucket This represents the bucket type. Username Of Cluster Administrator username for accessing the cluster. To complete the Service Request for Couchbase node, specify the following Parameters:
Parameter Description IP Address of Cluster IP address for Couchbase server. Password of Cluster Password for Couchbase server. Confirm Password for Couchbase server. Username of Cluster Username for Couchbase server. Click Next.
- 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.
- 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 name | How to verify | Results |
---|---|---|
Verify Selinux status | To verify Selinux status, run the following command:
| It displays the Selinux status which is disabled. |
Couchbase installation | To verify the Couchbase installation, run the following command:
| It displays the following output:
|
Couchbase server status | To verify the Couchbase server status, run the following command:
| It displays the following output:
|
Start Couchbase server | To start the Couchbase server, run the following command:
| Starts the Couchbase service. |
Couchbase server port | To verify the Couchbase listening ports, run the following command:
| It displays Couchbase listening ports. |
Check Couchbase server list | To check the Couchbase server list, run the following command:
| 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:
| It displays the Couchbase server details. |
Check bucket list | To check bucket list in a cluster, run the following command:
| 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.
Comments
Log in or register to comment.