Installing and Administering Solaris Container Manager 3.6.1

Activating or Deactivating Projects

A project's resource boundaries are not enforced while the project is in a defined or inactive state. You must activate the project to enable this enforcement. Conversely, when you do not want these limits enforced, you must deactivate the project. An active project can be deactivated without losing the resource boundaries you have established. For more information, see Project States.

An existing container can be used to create new active projects with the Associate Host to Container wizard. You activate an inactive project or deactivate an active project with a button.

ProcedureTo Activate a Project

Steps
  1. If the Container Manager GUI is not already open, access it as described in To Start the Container Manager GUI.

  2. In the Containers view, select the name of the container.

    If the container is part of a group, select the group from the navigation window to display the containers in the right pane.

  3. Select the Hosts tab in the right pane.

    The Hosts Associated with this Container Definition table appears. All hosts that the selected container is currently associated with are listed in the table.

  4. Click the Associate Host to Container button.

    The Associate Host to Container wizard appears.

    Associate to Host Wizard screen
  5. Follow the wizard instructions for typing a host name or finding an appropriate host.

ProcedureTo Activate an Inactive Project

Steps
  1. If the Container Manager GUI is not already open, access it as described in To Start the Container Manager GUI.

  2. In the Hosts view, select the host with which the container is associated.

  3. Select the Projects tab in the right panel.

    A table appears that lists all projects that are associated with that host.

  4. To enable the Activate button, select the check box of the project to be activated.

  5. (Optional) View and modify the properties of the project.

    1. Click the name of the project in the Project Name column of the table.

      The Properties tab appears.

    2. (Optional) Modify the resource reservations for the project and click Save.

    For more information, see Modifying Containers and Projects.

  6. Click the Activate button.

    The project is activated and the resource boundaries are being enforced by the kernel.

ProcedureTo Deactivate an Active Project

Steps
  1. If the Container Manager GUI is not already open, access it as described in To Start the Container Manager GUI.

  2. In the Hosts view, select the host with which the project is associated.

  3. Select the Projects tab in the right panel.

    A table appears that lists all projects that are associated with that host.

  4. To enable the Deactivate button, select the check box of the project to be activated.

  5. (Optional) View and modify the properties of the project.

    1. Click the name of the project in the Project Name column of the table.

      The Properties tab appears.

    2. (Optional) Modify the resource reservations for the project and click Save.

    For more information, see Modifying Containers and Projects.

  6. Click the Deactivate button.

    The project is deactivated and the resource boundaries are not enforced by the kernel.