14.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. |
14.4.1. Using the EVMS GUI
Follow these steps to convert a private cluster container to a shared cluster
container with the EVMS GUI:
Select ->-> to see a list of containers.
Select the container and press Next.
A Modify Properties dialog box opens.
Change "Type" to "shared" and click Modify.
A window opens that displays the outcome.
Commit the changes.
14.4.2. Using Ncurses
Follow these steps to convert a private cluster container to a shared cluster
container with the Ncurses interface:
Select ->-> to see a list of containers.
The Modify Container Properties dialog opens. Select the container
Priv1 by
pressing spacebar. The container you selected is marked with an "x."
Press Enter.
Use spacebar to select sdd, sde,
and sdf from the list. The disks you select are marked with an "x."
Press Enter.
The Modify Container Properties - Configuration Options" dialog opens. Scroll down with the down arrow and press spacebar on "Type".
Press spacebar.
The Change Option Value dialog opens. Type shared and press Enter.
The changed value now displays in the Modify Container Properties -
Configuration Options dialog.
Press Enter.
The outcome of the command is displayed at the bottom of the screen.
Save the changes by clicking Save in the pulldown menu.
14.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 |