2. Example: create a private cluster container

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

Example 14.1. Create a private 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 container called Priv1 owned by node1.


2.1. Using the EVMS GUI

To create a 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. In the first pull-down menu, select the "Node Id" of the cluster node that owns this container (node1). Select "Storage Type" as private from the second pull-down menu.

  7. Enter the name Priv1 for the Container Name.

  8. Click Create.

    A window opens that displays the outcome.

  9. Commit the changes.

2.2. Using Ncurses

To create the private container 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. On the Create Storage Container - Configuration Options menu, press spacebar on the Node Id, which will provide a list of nodes from which to select.

  7. Press spacebar on the node node1 and then press Enter.

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

  9. Scroll down with the down arrow to private entry and press spacebar.

  10. Press Enter.

  11. 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 Priv1, and press Enter.

  12. Press Enter to complete the operation.

2.3. Using the CLI

An operation to create a private cluster container with the CLI takes three parameters: the name of the container, the type of the container, and the nodeid to which the container belongs.

On the CLI, type the following command to create the private container Priv1:

create: container,CSM={name="Priv1",type="private",nodeid="node1"},sdd,sde,sdf