Use Packstack to Deploy a Proof-of-Concept Data Processing Service

Updated

This article covers the deployment of a single-node, proof-of-concept (PoC) OpenStack cloud with Data Processing enabled. This particular deployment is suitable for users looking for a quick and easy method for deploying OpenStack Data Processing. As this is a PoC deployment, it is recommended for testing environments, and should not be used for production. In this article, you will be instructed to use Packstack to deploy the OpenStack cloud.

This deployment requires:

  • A single host running the latest version of Red Hat Enterprise Linux 7.
  • A Red Hat subscription.

NOTE: If you are testing OpenStack Data Processing for evaluation, you can obtain a temporary subscription for both This content is not included.Red Hat Enterprise Linux 7 and This content is not included.Red Hat Enterprise Linux OpenStack Platform 7.

Upon deploying OpenStack with the Data Processing service enabled, see This content is not included.Red Hat Enterprise Linux OpenStack Platform 7 OpenStack Data Processing for instructions on how to use the deployment to provision Hadoop clusters and use them to process large datasets.

You can deploy OpenStack with the Data Processing service enabled using the Packstack utility. Doing so will allow Packstack to configure the endpoints, identities, databases, and other settings/components required by the Data Processing service:

  1. Log in as root to the node that should host OpenStack and the Data Processing service.
  2. Register the node and enable the required repositories. This procedure requires a Red Hat Subscription:

    #  subscription-manager register
    #  subscription-manager subscribe --auto
    #  subscription-manager repos --disable=*
    #  subscription-manager repos --enable=rhel-7-server-rpms
    #  subscription-manager repos --enable=rhel-7-server-rh-common-rpms
    #  subscription-manager repos --enable=rhel-7-server-openstack-7.0-rpms
  3. Install the yum utility packages and update all the packages:

    #  yum install -y yum-utils
    #  yum update -y
  4. Disable NetworkManager and reboot the system:

    #  systemctl disable NetworkManager
    #  reboot
  5. After rebooting the system, install the Packstack utility:

    #  yum install -y openstack-packstack
  6. Create a answer file named answer.txt for Packstack. The answer file allows you to configure the OpenStack deployment:

    #  packstack --gen-answer-file=answer.txt
  7. Enable the Data Processing in the answer file. To do so, open answer.txt and set the CONFIG_SAHARA_INSTALL option to y:

    # Specify y to install OpenStack Data Processing (sahara).
    CONFIG_SAHARA_INSTALL=y
  8. Run Packstack with answer.txt:

    #  packstack --answer-file=answer.txt

    NOTE: For detailed instructions on deploying a single-node, all-in-one instance of OpenStack (without Data Processing enabled), see Evaluating OpenStack: Single-Node Deployment

Article Type