Installing and Administering N1 Grid Console - Container Manager 1.0

Deleting Containers

You can delete a container and its definition when both is no longer needed. Before deleting, you must first remove the container from all the hosts with which it is associated. Deletion removes the container definition from the database, and the data previously collected for the container is no longer stored. Therefore, you can not obtain any historical data for a deleted container as all data for the container is removed from the database. Being deleted is not considered a container state because the record and all historical data has been removed.

You cannot delete a container on the Solaris 8 OS unless all processes running in that container have been stopped.

When a container is deleted, the following happens depending on the Solaris version you are running:

Solaris 8 OS

The lnode is deleted, followed by the project.

Solaris 9 OS

Processes running in the container are moved to the default project, and the entry is deleted from the /etc/project database.

To Delete a Container Definition
  1. If the Container Manager GUI is not already open, access it as described in To Launch the Container Manager GUI.

  2. Verify that no inactive or active containers exist for the container definition.

  3. Select the Containers view in the navigation window.

  4. Select the container definition that is to be deleted.

  5. Click Delete.

    The container definition is removed from the Containers view, and is removed from the database.