421 lines
6.1 KiB
HTML
421 lines
6.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Example: convert a private container to a shared container</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="EVMS User Guide"
|
|
HREF="index.html"><LINK
|
|
REL="UP"
|
|
TITLE="Clustering operations"
|
|
HREF="clusterops.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Example: create a shared cluster container"
|
|
HREF="x2496.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Example: convert a shared container to a private container"
|
|
HREF="x2688.html"></HEAD
|
|
><BODY
|
|
CLASS="sect1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>EVMS User Guide</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x2496.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 14. Clustering operations</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x2688.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="AEN2604"
|
|
></A
|
|
>14.4. Example: convert a private container to a shared container</H1
|
|
><P
|
|
>This section tells how to convert a sample private container to a shared
|
|
container and provides instructions for completing the following task:</P
|
|
><A
|
|
NAME="AEN2607"
|
|
></A
|
|
><BLOCKQUOTE
|
|
CLASS="BLOCKQUOTE"
|
|
><DIV
|
|
CLASS="example"
|
|
><A
|
|
NAME="AEN2608"
|
|
></A
|
|
><P
|
|
><B
|
|
>Example 14-3. Convert a private container to shared</B
|
|
></P
|
|
><P
|
|
>Given a system with a private storage container <TT
|
|
CLASS="filename"
|
|
>Priv1</TT
|
|
> owned
|
|
by <TT
|
|
CLASS="filename"
|
|
>evms1</TT
|
|
>, convert
|
|
<TT
|
|
CLASS="filename"
|
|
>Priv1</TT
|
|
> to a shared storage container with the same name.</P
|
|
></DIV
|
|
></BLOCKQUOTE
|
|
><DIV
|
|
CLASS="note"
|
|
><P
|
|
></P
|
|
><TABLE
|
|
CLASS="note"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="25"
|
|
ALIGN="CENTER"
|
|
VALIGN="TOP"
|
|
><IMG
|
|
SRC="../images/note.gif"
|
|
HSPACE="5"
|
|
ALT="Note"></TD
|
|
><TH
|
|
ALIGN="LEFT"
|
|
VALIGN="CENTER"
|
|
><B
|
|
>CAUTION</B
|
|
></TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
> </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
>Ensure that no application
|
|
is using the volumes on the container on any node of the cluster.</P
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN2617"
|
|
></A
|
|
>14.4.1. Using the EVMS GUI</H2
|
|
><P
|
|
>Follow these steps to convert a private cluster container to a shared cluster
|
|
container with the EVMS GUI:</P
|
|
><P
|
|
></P
|
|
><OL
|
|
TYPE="1"
|
|
><LI
|
|
><P
|
|
>Select <SPAN
|
|
CLASS="guimenu"
|
|
>Actions</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Modify</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Container</SPAN
|
|
> to see a list of containers.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Select the container <SPAN
|
|
CLASS="guimenuitem"
|
|
>Priv1</SPAN
|
|
> and press <B
|
|
CLASS="keycap"
|
|
>Next</B
|
|
>.</P
|
|
><P
|
|
>A Modify Properties dialog box opens.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Change "Type" to "shared" and click <B
|
|
CLASS="keycap"
|
|
>Modify</B
|
|
>.</P
|
|
><P
|
|
>A window opens that displays the outcome.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Commit the changes.</P
|
|
></LI
|
|
></OL
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN2638"
|
|
></A
|
|
>14.4.2. Using Ncurses</H2
|
|
><P
|
|
>Follow these steps to convert a private cluster container to a shared cluster
|
|
container with the Ncurses interface:</P
|
|
><P
|
|
></P
|
|
><OL
|
|
TYPE="1"
|
|
><LI
|
|
><P
|
|
>Select <SPAN
|
|
CLASS="guimenu"
|
|
>Actions</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Modify</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Container</SPAN
|
|
> to see a list of containers.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>The Modify Container Properties dialog opens. Select the container
|
|
<TT
|
|
CLASS="filename"
|
|
>Priv1</TT
|
|
> by
|
|
pressing <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
>. The container you selected is marked with an "x."</P
|
|
><P
|
|
>Press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Use <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
> to select <TT
|
|
CLASS="filename"
|
|
>sdd</TT
|
|
>, <TT
|
|
CLASS="filename"
|
|
>sde</TT
|
|
>,
|
|
and <TT
|
|
CLASS="filename"
|
|
>sdf</TT
|
|
> from the list. The disks you select are marked with an "x."</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>The Modify Container Properties - Configuration Options" dialog opens. Scroll down with the <B
|
|
CLASS="keycap"
|
|
>down</B
|
|
> arrow and press <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
> on "Type".</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Press <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>The Change Option Value dialog opens. Type <TT
|
|
CLASS="userinput"
|
|
><B
|
|
>shared</B
|
|
></TT
|
|
> and press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.</P
|
|
><P
|
|
>The changed value now displays in the Modify Container Properties -
|
|
Configuration Options dialog.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.</P
|
|
><P
|
|
>The outcome of the command is displayed at the bottom of the screen.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Save the changes by clicking <B
|
|
CLASS="keycap"
|
|
>Save</B
|
|
> in the <SPAN
|
|
CLASS="guimenuitem"
|
|
>Actions</SPAN
|
|
> pulldown menu.</P
|
|
></LI
|
|
></OL
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN2683"
|
|
></A
|
|
>14.4.3. Using the CLI</H2
|
|
><P
|
|
>The <B
|
|
CLASS="command"
|
|
>modify</B
|
|
> 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:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="programlisting"
|
|
>modify: Priv1,type=shared</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x2496.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x2688.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Example: create a shared cluster container</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="clusterops.html"
|
|
ACCESSKEY="U"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Example: convert a shared container to a private container</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |