Processes and content process sets

In BMC Release Package and Deployment (RPD) 5.0, there are two types of process sets:

Processes

Processes are sets of instructions with the following primary uses: 

  • Deploying package instance content
  • Working with channel and environment configurations

Processes fall into the following categories:

Process typeDescription
Content deployment processDeploys pieces of instance content to a channel. It is associated with content and interacts with the appropriate APIs to have that content correctly consumed or prepared.
Content post-processActivates deployed instance content on the particular channels. It is associated with content and activates servers and services that consume the deployed content. 
This process runs after all content deployment processes for a deployment have finished. For example, the content deployment processes could deploy content on a cluster of servers before the content post-processes restart those servers to serve the content.
Content removal processRemoves pieces of instance content from a channel during an instance removal. It is associated with content, and it undoes the actions of content processes. 
Content removal process can be only run in case of a successful deployment by clicking the Remove  button on the Deployment Results page.
Environment pre-processPrepares the environment for deployment. It is associated with environments. It does not interact with channels directly, instead it performs global tasks on the environment itself. Add only activities that do  not  interact with channels to an environment preprocess.
Environment post-processFinalizes an environment after a deployment. It is associated with environments. It does not interact with channels directly, instead it performs global tasks on the environment itself. Add only activities that do  not  interact with channels to an environment post-process. If you restart a deployment, these processes run again.

Configuration drift process

Specifies what to do in the event of a configuration failure or drift. It is associated with channel templates.

Channel provisioning process

Prepares specific channels for a deployment. It is associated with channel templates and runs before the content being handled for a deployment. It configures computers for the servers, services, and tools that are necessary to perform and complete a deployment.

It depends on its type where a process can be used. Each process evaluation produces log output that you can view in the console. Deployment-related process results are available when you are viewing the Deployment Results page. You can view channel process results by using the  System Procs  menu command on the  Report  tab. Processes are run by engines. If no engine services are connected to your database, no processes run.

Note

During the content deployment, the processes are executed in the following order: Environment Pre-Process, Channel Provisioning, Content Deployment, Content Post Deployment, Channel Post-Process, and then Environment Post-Process.
During the content removal, the processes are executed in the following order: Content Remove, Channel Provisioning Remove, and then Channel Configuration.

Content process sets

Content process sets are critical to configuring the system to deploy content correctly. These sets:

  • Identify processes to use for deploying and removing content
  • Can be generic or specific. The more specific they are, the more control you have over deployment processes and infrastructure management. Ideally, you should have a content process set specification for each type of content and each type of destination identified in the package definitions.

For example, suppose that you have a business need or policy to apply extra protection activities when deploying a WAR file to an application server in a production environment, compared with the application servers in a test environment. You would create content process set specifications that identify each set of processes that apply to the business policies of each environment, such as "WAR file for production" and for "WAR file for test."

Also, if the WAR file had to be deployed to both IBM WebSphere and JBoss, you would create content process set specifications to identify each set of processes for the application servers, such as "WAR file for WebSphere" and "WAR file for JBoss." So, the entire resulting set of content specifications would be:

  • WAR file for test JBoss
  • WAR file for test WebSphere
  • WAR file for production JBoss
  • WAR file for production WebSphere

When the system deploys a package, it evaluates the package instance, and then runs the content-deployment processes. Next, it runs the content post-deployment processes. Using these processes, you can deploy content into an infrastructure during the deployment phase and then activate or reactivate services to consume and serve that content during the post-deployment phase.

The following image shows the deployment activities of the Install App on Tomcat process:
(click the image to expand it)

To learn more about how to create and manage processes and content process sets, see Creating and managing processes and content process sets.

Related topic

Enabling role-based access permissions for a process

Was this page helpful? Yes No Submitting... Thank you

Comments