Provisioning and managing your Content Runtime infrastructure

Complete the following steps to configure your Content Runtime environment.

About this task

The Content Runtime is a virtual machine. A Chef server is installed on the virtual machine as part of the configuration of the Content Runtime. Two docker containers are installed on the machine to help communicate with the Chef server and to manage the software repository.

There are four templates:

The VMware template deploys a virtual machine to the target VMware vSphere cloud. The Other template deploys the Content Runtime to an existing virtual machine. This allows you to instantiate a virtual machine and perform as much or as little configuration as needed to create the Content Runtime. IBM and Amazon templates use a cloud provided Ubuntu 14.04 image as a deployment virtual machine.

The configuration process installs the following components on the Content Runtime virtual machine:

These components are illustrated in Figure 2. Components on the Content Runtime virtual machine.

Figure 2. Components on the Content Runtime virtual machine Content Runtime

After you complete the task, you must populate the software repository on the file system of the Content Runtime virtual machine. See Populating the Software Repository and Populating the Install Manager Repository for more details.

Selecting a template

Before selecting a template, consider the following:

Input parameter

For more information about public and private keys, see SSH Keys and related input required while deploying content runtime. Deploying a content runtime requires the following categories of parameters:

Parameter values which are grayed out are immutable values that are displayed as part of the Content Runtime template for informational value only.

The virtual machine must have a connection to the internet for the duration of the configuration process.

Template variables

The following tables contain a list of values which are required for creating the Content Runtime. In the first table, there are the values which are common for all providers followed by a table for specific values for each cloud provider.

Procedure

  1. Start the creation process by displaying the menu in the Managed services user interface.
  2. Select Manage > Content runtimes.
  3. Click Create content runtime.
  4. Select a namespace value from the Namespace drop-down list.
  5. Enter a name for your Content Runtime. This name is used for selecting environment value to inject, so the name should be descriptive of the environment.
  6. Select the Cloud Provider.
  7. Select a value from the Runtime drop-down list. The values populated in the list are dependent on your cloud provider.
  8. Click Create.
  9. Select a cloud connection from the Cloud connection drop-down list.
  10. Enter the remaining values for your Cloud Provider.
  11. Click Deploy.

Result

  1. A virtual machine is created. The Content Runtime is configured on the virtual machine.
  2. Two disks are created:
  3. Docker-compose is installed on the machine to manage Docker images.
  4. Docker runs on the machine, with the following containers:
  5. Cookbooks are pulled from GitHub and uploaded to the Chef server.
  6. When you deploy a new advanced content runtime, a data object containing it's meta-data is created. The name of the data object is same as the content runtime name and is of type advanced_content_runtime_chef Data Type. The namespace of the data object is same as the namespace of the content runtime. Optionally, if you want this data object to be available to middleware template deployments that are in a different namespaces, then make this data object as globally accessible.

If any problem occurs, see Troubleshooting and known issues.

Search for content runtimes

In Content runtimes page, you can use the following methods to search for content runtimes:

Production Docker

Docker recommends configuring direct lvm mode for production environments External link icon.

The following two methods can be used to allow the Content Runtime to configure production docker:

  1. Other template

  2. On an existing Content Runtime virtual machine.

Note: There is an underlying option missing on the lvcreate command on Ubuntu 14.04, therefore the Content Runtime does not attempt to configure direct-lvm on Ubuntu 14.04.

What to do next