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 django - Python Web framework 1.5 on RHEL 5.9 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 can 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 django service blueprint, create a service and service offering based on the available deployment model. The django ZipKit supports single-tier service deployment model. In the single tier deployment model, django is installed on one instance of a server.

To create a service

Excerpt named creatingservice was not found in document xwiki:Automation-DevSecOps.Client-Management.BMC-Cloud-Lifecycle-Management.clm31._CSMinclusionsLib._inclusionsLibZipKits._createServiceOfferings.WebHome.

To create a service offering

Excerpt named creatingserviceoffering was not found in document xwiki:Automation-DevSecOps.Client-Management.BMC-Cloud-Lifecycle-Management.clm31._CSMinclusionsLib._inclusionsLibZipKits._createServiceOfferings.WebHome.

To make the provisioning request

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

    serviceinstances_request1.png
  2. In the New Service Request dialog box, click the server provisioning service you want to display the Submit Request dialog box.To complete the Service Request for CMS Drupal 7, specify the following Parameters:

    DjangoParams.PNG

    Parameter

    Description

    Django DB Name

    Django Database Name

    Django Project Name

    Django Project Name

    MySQL Port No

    MySQL User Defined Port No, eg. 3309 etc

    MySQL Root Password

    MySQL Root User Password to Set

    Confirm

    MySQL Root User Password to Set

    Project Password

    Django Admin Password

    Confirm

    Django Admin Password

    Project Username

    Django Admin User

  3. 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.
  4. 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 blueprint, you can validate the django components setup in your environment.

Component name

How to verify

Results

To verify django admin URL

To verify django installation, visit following URL:

http://ServerIPAddress/ProjectName/admin

Note: Edit the URL as per your environment.

This displays django - Python Web framework admin console login page.

 

To verify django on provisioned machine

To verify django on provisioned machine, run the following command:

python -c "import django; print(django.get_version())"

 

 

This command displays django version.

To verify MySQL

To verify MySQL on provisioned machine, run the following command:

mysql -v

This command displays MySQL version.

To verify Apache Web Server

To verify Apache Web Server on provisioned machine, run the following command:

httpd -v

This command displays Apache version.

Where to go next

After 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 that the cloud end user can perform to manage your cloud services, see Managing cloud services.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*