Wednesday, February 19, 2014

Various states of BCC Deployment

BCC deployment will go through various states. Each of the state performs a specific task.
The entire task combine is known as deployment.

Below are the states/tasks which are part of BCC deployment and what will each task performing.
  1.  Preparing
  2. Prepared
  3. Gathering Data
  4. Applying
  5. Applied
  6. Activating Switch (only if agent has switchable datasource)
  7. Activated Switch (only if agent has switchable datasource)
  8. Applying (only if agent has switchable datasource)
  9. Applied (only if agent has switchable datasource)
  10. Deployment Deleted
  11. Completed

Preparing: This is 1st state in BCC deployment, where the system analysis the snapshot of the old project which got deployed and will take if the agent has different snapshot, which means that the agent JVM missed some of the file.

Prepared:  This is 2nd state in BCC deployment, where the system analysis the snapshot of the old project which got deployed is completed successfully.

Gathering Data: It is the 3rd state in the deployment. It is part of pre-switching deployment. In the state the deployment collects the entire asset which needed to be deployed as part of deployment. Will creates the marker for the repository items which are part of the deployment.

 Applying: It is the 4th state in the deployment process, in the state the BCC writes the data to the passive schema of the non-versioned schema using the marker.

Applied: It is the next state after the applying state, as part of this event the agent JVM runs the CMS and other service which are configured in the Deployment Agent of the agent JVM.

Activating Switch: In this state where pre-switch activity is performed in the agent JVM. It is performed only when the agent is configured as switching data sources. As part of the pre-switch activity it will invalidate the cache.

Activated Switch: In this state of deployment the Agent JVM’s perform switching of data source from active to passive. Before perform the switching it will wait until the entire queries made to the active data source are completed, new query will be made to the passive data source.

Deployment Deleted & Completed: These are the last state in all the deployment where the BCC clean up the deployment data from the Deployment Repository and publishes the message for the successfully completion of the deployment of the respective project which are involved in the deployment.

No comments:

Post a Comment