429 lines
6.3 KiB
HTML
429 lines
6.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Example: convert a shared container to a private 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: convert a private container to a shared container"
|
|
HREF="x2604.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Example: deport a private or shared container"
|
|
HREF="x2773.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="x2604.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="x2773.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="AEN2688"
|
|
></A
|
|
>14.5. Example: convert a shared container to a private container</H1
|
|
><P
|
|
>This section tells how to convert a sample shared container to a private
|
|
container and provides instructions for completing the following task:</P
|
|
><A
|
|
NAME="AEN2691"
|
|
></A
|
|
><BLOCKQUOTE
|
|
CLASS="BLOCKQUOTE"
|
|
><DIV
|
|
CLASS="example"
|
|
><A
|
|
NAME="AEN2692"
|
|
></A
|
|
><P
|
|
><B
|
|
>Example 14-4. Convert a shared container to private</B
|
|
></P
|
|
><P
|
|
>Given a system with a shared storage container <TT
|
|
CLASS="filename"
|
|
>Shar1</TT
|
|
>, convert
|
|
<TT
|
|
CLASS="filename"
|
|
>Shar1</TT
|
|
> to a private storage container owned by node <TT
|
|
CLASS="filename"
|
|
>node1</TT
|
|
> (where
|
|
<TT
|
|
CLASS="filename"
|
|
>node1</TT
|
|
> is the nodeid of one of the cluster nodes).</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 of any node in the cluster.</P
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN2702"
|
|
></A
|
|
>14.5.1. Using the EVMS GUI</H2
|
|
><P
|
|
>Follow these steps to convert a shared cluster container to a private 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"
|
|
>Shar1</SPAN
|
|
> and press <B
|
|
CLASS="keycap"
|
|
>Next</B
|
|
>.</P
|
|
><P
|
|
>A Modify Properties dialog opens.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Change "Type" to "private" and the "Node" field to <TT
|
|
CLASS="filename"
|
|
>node1</TT
|
|
>. 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="AEN2724"
|
|
></A
|
|
>14.5.2. Using Ncurses</H2
|
|
><P
|
|
>Follow these steps to convert a shared cluster container to a private 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
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>The Modify Container Properties dialog opens. Select the container
|
|
<TT
|
|
CLASS="filename"
|
|
>Shar1</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
|
|
>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 the "Type" field.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Press <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>The Change Option Value dialog opens. Select <TT
|
|
CLASS="userinput"
|
|
><B
|
|
>private</B
|
|
></TT
|
|
> and press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>The Modify Container Properties -
|
|
Configuration Options dialog opens. Scroll down the list to <SPAN
|
|
CLASS="guimenuitem"
|
|
>NodeId</SPAN
|
|
>
|
|
with the <B
|
|
CLASS="keycap"
|
|
>down</B
|
|
> arrow
|
|
and press <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>The Change Option Value dialog opens. Select <TT
|
|
CLASS="userinput"
|
|
><B
|
|
>node1</B
|
|
></TT
|
|
> and press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>The changed values now display in the Modify Container Properties -
|
|
Configuration Options dialog. 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.</P
|
|
></LI
|
|
></OL
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN2768"
|
|
></A
|
|
>14.5.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 shared container to a private container in the example is:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="programlisting"
|
|
>modify: Shar1,type=private,node=node1</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="x2604.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="x2773.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Example: convert a private container to a shared 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: deport a private or shared container</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |