N1 Grid Service Provisioning System 5.0 Plan and Component Developer's Guide

Component Type: system#container

A system#container component type should be used whenever components must be grouped together and installed as a single component. The container component has an install, uninstall, and snapshot block. These blocks automatically call in to the child components. These calls enable a container to have child components added directly by using the Component Builder user interface, without having to edit the container component's XML.

Browsing

The container component type is a composite component and cannot be browsed.

Model to Install Difference

This comparison optionally takes a snapshot of all child components.

The default snapshot block captures snapshots of all child components with installMode=“NESTED” by using the default snapshot blocks of each child.

Extended Control Procedures

The following procedures are defined for the system#container component type:

Snapshots are not always enabled. If the component is deployed as a nested component of another component, it should be deployed with createSnapshot=“false” because the container component will capture a snapshot of this component after all of its contained components have been deployed. If the component is being deployed as a top-level component, you can enable snapshots by setting createSnapshot=“true”.

Snapshots are not captured when a component is contained in a container component. The deployment of the other contained components after this component might affect the installed state of this component. Thus, the snapshot is captured after the top-level installations have completed.