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

NoteCAUTION
 

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

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

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

    A Modify Properties dialog box opens.

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

    A window opens that displays the outcome.

  4. Commit the changes.

  5. Quit the GUI and run evms_activate on all the cluster nodes so that the nodes discover all the volumes on the csm/Priv1 container. This process will be automated in a future release of EVMS.

15.4.2. Using Ncurses

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

  1. Select Actions->Modify->Container to see a list of containers.

  2. The Modify Container Properties dialog opens. Select the container csm/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 the "Type field".

  6. Press spacebar.

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

    The changed value is 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.

  10. Quit Ncurses and run evms_activate on all the cluster nodes so that the nodes discover all the volumes on the csm/Priv1 container. This process will be automated in a future release of EVMS.

15.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: csm/Priv1,type=shared

Run evms_activate on all the cluster nodes so that the nodes discover all the volumes on the csm/Priv1 container. This process will be automated in a future release of EVMS.