15.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 15-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).

NoteCAUTION
 

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

15.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 Actions->Modify->Container to see a list of containers.

  2. Select the container csm/Shar1 and press Next.

    A Modify Properties dialog opens.

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

    A window opens that displays the outcome.

  4. Commit the changes.

  5. Quit the GUI and run evms_activate on the other nodes to deactivate the volumes of the shared container on the other nodes. This process will be automated in a future release of EVMS.

15.5.2. Using Ncurses

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

  1. Select Actions->Modify->Container

  2. The Modify Container Properties dialog opens. Select the container csm/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. Type 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. Enter 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 clickting Save in the Actions pulldown.

  10. Quit Ncurses and run evms_activate on all the cluster nodes to deactivate the volumes of the shared container on all the other nodes. This process will be automated in a future release of EVMS.

15.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: csm/Shar1,type=private,nodeid=node1

Run evms_activate on all the cluster nodes to deactivate the volumes of the shared container on all the other nodes. This process will be automated in a future release of EVMS.