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

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

Example 14.3. Convert a private container to shared

Given a system with a private storage container Priv1 owned by evms1, convert Priv1 to a shared storage container with the same name.


CAUTION

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

4.1. Using the EVMS GUI

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

  1. Select ActionsModifyContainer to see a list of containers.

  2. Select the container Priv1 and press Next.

    A Modify Properties dialog box opens.

  3. Change "Type" to "shared" and click Modify.

    A window opens that displays the outcome.

  4. Commit the changes.

4.2. Using Ncurses

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

  1. Select ActionsModifyContainer to see a list of containers.

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

    Press Enter.

  3. Use spacebar to select sdd, sde, and sdf from the list. The disks you select are marked with an "x."

  4. Press Enter.

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

  6. Press spacebar.

  7. The Change Option Value dialog opens. Type shared and press Enter.

    The changed value now displays in the Modify Container Properties - Configuration Options dialog.

  8. 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 menu.

4.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 private container to a shared container in the example is:

modify: Priv1,type=shared