5. Example: convert a shared container to a private container

This section tells how to convert a sample shared container to a private container and provides instructions for completing the following task:

Example 14.4. Convert a shared container to private

Given a system with a shared storage container Shar1, convert Shar1 to a private storage container owned by node node1 (where node1 is the nodeid of one of the cluster nodes).


CAUTION

Ensure that no application is using the volumes on the container of any node in the cluster.

5.1. Using the EVMS GUI

Follow these steps to convert a shared cluster container to a private cluster container with the EVMS GUI:

  1. Select ActionsModifyContainer to see a list of containers.

  2. Select the container Shar1 and press Next.

    A Modify Properties dialog opens.

  3. Change "Type" to "private" and the "Node" field to node1. Click Modify.

    A window opens that displays the outcome.

  4. Commit the changes.

5.2. Using Ncurses

Follow these steps to convert a shared cluster container to a private cluster container with the Ncurses interface:

  1. Select ActionsModifyContainer

  2. The Modify Container Properties dialog opens. Select the container Shar1 by pressing spacebar. The container you selected is marked with an "x."

    Press Enter.

  3. The Modify Container Properties - Configuration Options" dialog opens. Scroll down with the down arrow and press spacebar on the "Type" field.

  4. Press spacebar.

  5. The Change Option Value dialog opens. Select private and press Enter.

  6. The Modify Container Properties - Configuration Options dialog opens. Scroll down the list to NodeId with the down arrow and press spacebar.

  7. The Change Option Value dialog opens. Select node1 and press Enter.

  8. The changed values now display in the Modify Container Properties - Configuration Options dialog. Press Enter.

    The outcome of the command is displayed at the bottom of the screen.

  9. Save the changes by clicking Save in the Actions pulldown.

5.3. Using the CLI

The modify command modifies the properties of a container. The first argument of the command is the object to modify, followed by its new properties. The command to convert the shared container to a private container in the example is:

modify: Shar1,type=private,node=node1