3. Example: create a shared cluster container

This section tells how to create a sample shared container and provides instructions to help you complete the following task:

Example 14.2. Create a shared cluster container

Given a system with three available shared disks (sdd, sde, and sdf), use the EVMS Cluster Segment Manager to combine these disk drives into a shared container called Shar1.


3.1. Using the EVMS GUI

To create a shared cluster container with the EVMS GUI, follow these steps:

  1. Select ActionsCreateContainer to see a list of plug-ins that support container creation.

  2. Select the Cluster Segment Manager.

  3. Click Next.

    The next dialog window contains a list of storage objects that the CSM can use to create a container.

  4. Select sdd, sde, and sdf from the list.

  5. Click Next.

  6. You do not need to change the "Node Id" field. Select Storage Type as shared from the second pull-down menu.

  7. Enter the name Shar1 for the Container Name.

  8. Click Create. A window opens to display the outcome.

  9. Commit the changes.

3.2. Using Ncurses

To create a shared cluster contained with the Ncurses interface, follow these steps:

  1. Select ActionsCreateContainer to see a list of plug-ins that support container creation.

  2. Scroll down with the down arrow and select Cluster Segment Manager by pressing spacebar. The plug-in you selected is marked with an "x."

  3. Press Enter.

    The next submenu contains a list of disks that the Cluster Segment Manager finds acceptable to use for the creation of a container.

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

  5. Press Enter.

  6. The Create Storage Container - Configuration Options menu open; ignore the "Node Id" menu.

  7. Scroll down with the down arrow and press spacebar on the Storage Type. A list of storage types opens.

  8. Scroll down with the down arrow to shared entry and press spacebar.

  9. Press Enter.

  10. Scroll down with the down arrow to Container Name and press spacebar.

    The Change Option Value menu opens and asks for the Container Name. Type in the name of the container as Shar1, and press Enter.

  11. Press Enter to complete the operation.

  12. Quit Ncurses and run evms_activate on each of the cluster nodes. This process will be automated in future releases of EVMS.

3.3. Using the CLI

An operation to create a shared cluster container with the CLI takes two parameters: the name of the container and the type of the container.

On the CLI, type the following command to create shared container Shar1:

create: container,CSM={name="Shar1",type="shared"},sdd,sde,sdf