Bootstrapping Process

Bootstrapping usually refers to the starting of a self-sustaining process that is supposed to proceed without external input.

UUID and Revision are required to operate with  CM. If you update to Ooyala Flex 5.1.1 and above, and you have Objects created in older versions of Ooyala Flex, you should use bootstrapping in order to assign UUIDs to those Objects, as they will not have UUIDs.

Whenever you start over with a new environment, it is recommended to bootstrap the live environment first, and reverse the configuration process to pre-live, UAT etc. Here, the live Objects act as a source and other environments as a target.

Configuration Manager is used to execute this operation process. The process is executed promoting backwards configuration, from the master (e.g. live or production) environment, to the previous working environments (e.g.: stage, QA, development, local User…)

These steps will take you through the Bootstrapping process:

1) Prepare the process with a Database backup.

2) Open a new Change Request with the source and target pointing to the live environment: open --source <<source name>> --target <<target name>> --bootstrapping_type

3) Next you must bootstrap by ID: open --source <<source_name>> --target <<target_name>> --bootstrapping_type BOOTSTRAP_BY_ID

If you want to bootstrap using the same environment you must bootstrap by ID. On the other hand, if you were to bootstrap across multiple environments, you would add BOOTSTRAP_BY_NAME instead. e.g.- You have an environment already bootstrapped (LIVE in 5.1.x), and you want to match the UUID to downward environments -UAT, QA, DEV...-.

4) Pull all the Objects from source environment that you intend to bootstrap (e.g. by type). For Example: pull --type action

5) Enter the prepare-bootstrap command, and the target will bootstrap the UUID and revision code for any Objects that don’t have them. In this case we'll bootstrap by Object Type (Action). For Example: prepare-bootstrap --type action

6) Now update the Target environment, by entering the bootstrap command.

Note: In the context of bootstrapping, the bootstrap command replaces the commit command.

7) When Configuration Manager asks you "Please confirm that you want to bootstrap configurations on Target <Y,N>", type Y to confirm.

8) Configuration Manager will then inform you that: "Commit was successful"

Note: The commands that are available during a bootstrapping change request, and a regular change request will differ. In order to find out which commands are available during a bootstrapping session, press the Tab key whilst in a change request.

Was this article helpful?