Dynamic Bootstrapping

Overview

The CloudCenter Suite platform enables enterprises to use the init script through user data option to dynamically bootstrap custom cloud images.

Subsequently, the Management Agent (Worker) communicates with the bundle store and package store and installs the remaining components.

Workload Manager Detection

Images built on any OS version listed in OOB Base OS Images, allow Workload Manager to detect if the agent is missing on such VM images and automatically pushes the agent to the VMs at provisioning time. 

Cloud Support

The Workload Manager management agent can be dynamically installed on Application VMs launched from images if they do not have the management agent installed.

IndicatorDescription
YesIf Dynamic Bootstrapping is supported, you have two options:
  • Use your own publicly available images.
  • Build your own custom image and install the Workload Manager-provided image in this custom image.
NoIf Dynamic Bootstrapping is not supported (for example, VMware), you have two options:
  • Use your own custom image.
  • Build your own custom image and install the Workload Manager-provided image in this custom image.

The following table shows the clouds and images for which dynamic bootstrapping is supported.

Cloud NameAWSAzureRMGoogleOpenStack
Windows 2008Yes2
Windows 2012Yes2
Windows 2016YesYesNoYes
CentOS 6Depends on the setupOpenlogicYesYes
CentOS 7YesOpenlogicYesYes
RHEL 6YesYesYesNo
RHEL 7YesYesYesNo
Ubuntu14YesYesYesYes
Ubuntu161YesYesNoYes

1 The default Ubuntu 16.04 image from cloud providers uses Python 3. However, the CloudCenter Suite platform expects a dynamically bootstrapped VM to use Python 2. Ensure to install Python 2 in any VM that uses this version of Ubuntu. This Python 2 requirement does not apply to worker images on application VMs.

2 Windows with cloud-init (set to automatically run the user data as a script (default behavior).


Google Cloud Nuances

Windows Bootstrapping does not work on default public images due to the lack of an administrator user for Google cloud. As a result, cloud-Init (bootstrap) scripts are not executed on these instances.

OpenStack Nuances

Linux images used for dynamic bootstrapping in OpenStack must have the net-tools package preinstalled.


HTTPS Dependencies

The Bundle Store configuration procedure defaults to using the HTTP protocol. If you prefer to use HTTPS to ensure a secure connection, adhere to the following requirements:

  • Pre-install certificates on the Worker image.

  • Verify your cloud dependencies. For example, if your cloud is running a Python script to dynamically bootstrap a Linux VM, be aware that the Linux Worker image uses Python Version 2.7.9 or later.

    The Worker image (see Pre-bootstrapped Images (Conditional)) requires Python Version 2.7.9 or later, to use Python scripts for dynamic bootstrapping purposes.

    Administrators need to assign explicit privileges to the cliqruser role if additional software must be installed.

    As part of our Security Hardening, the umask settings for all Workload Manager components is set to 077. As a result, you must set the unmask rule to 022 to install any additional software.

  • Additionally, the Python script requires that you install openssl-devel lib to support HTTPS certificate validation.

  • No labels
© 2017-2019 Cisco Systems, Inc. All rights reserved