398 lines
5.3 KiB
HTML
398 lines
5.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Example: deport a private or 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: convert a shared container to a private container"
|
|
HREF="x2688.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Deleting a cluster container"
|
|
HREF="x2849.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="x2688.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="x2849.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="AEN2773"
|
|
></A
|
|
>14.6. Example: deport a private or shared container</H1
|
|
><P
|
|
> When a container is deported, the node disowns the container and deletes
|
|
all the objects created in memory that belong to that container.
|
|
No node in
|
|
the cluster can discover objects residing on a deported container or
|
|
create objects for a deported container.
|
|
This section explains how to deport a private or shared container.
|
|
</P
|
|
><A
|
|
NAME="AEN2776"
|
|
></A
|
|
><BLOCKQUOTE
|
|
CLASS="BLOCKQUOTE"
|
|
><DIV
|
|
CLASS="example"
|
|
><A
|
|
NAME="AEN2777"
|
|
></A
|
|
><P
|
|
><B
|
|
>Example 14-5. Deport a cluster container</B
|
|
></P
|
|
><P
|
|
>Given a system with a private or shared storage container named
|
|
<TT
|
|
CLASS="filename"
|
|
>c1</TT
|
|
>, deport <TT
|
|
CLASS="filename"
|
|
>c1</TT
|
|
>.
|
|
</P
|
|
></DIV
|
|
></BLOCKQUOTE
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN2782"
|
|
></A
|
|
>14.6.1. Using the EVMS GUI</H2
|
|
><P
|
|
> To deport a container with the EVMS GUI, follow these steps:
|
|
</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
|
|
>Select the container <TT
|
|
CLASS="filename"
|
|
>c1</TT
|
|
> and press
|
|
<B
|
|
CLASS="keycap"
|
|
>Next</B
|
|
>.
|
|
</P
|
|
><P
|
|
> A Modify Properties dialog opens.
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Change "Type" to "deported." 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="AEN2803"
|
|
></A
|
|
>14.6.2. Using Ncurses</H2
|
|
><P
|
|
> To deport a container with Ncurses, follow these steps:
|
|
</P
|
|
><P
|
|
></P
|
|
><OL
|
|
TYPE="1"
|
|
><LI
|
|
><P
|
|
>Scroll down the list with the <B
|
|
CLASS="keycap"
|
|
>down</B
|
|
> arrow to
|
|
<SPAN
|
|
CLASS="guimenuitem"
|
|
>Modify</SPAN
|
|
>. Press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.
|
|
</P
|
|
><P
|
|
> A submenu is displayed.
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Scroll down until Container is highlighted. Press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.
|
|
</P
|
|
><P
|
|
> The Modify Container Properties dialog opens.
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Select the container <TT
|
|
CLASS="filename"
|
|
>csm/c1</TT
|
|
> by pressing
|
|
<B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
>. The container you selected is marked with an "x."
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
> Press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.
|
|
</P
|
|
><P
|
|
> The Modify Container Properties - Configuration Options dialog opens.
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Scroll down and press <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
> on the "Type" field.
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
> Press <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
>.
|
|
</P
|
|
><P
|
|
> The Change Option Value dialog opens.
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Type <TT
|
|
CLASS="userinput"
|
|
><B
|
|
>deported</B
|
|
></TT
|
|
> and press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.
|
|
</P
|
|
><P
|
|
> The changed value is displayed 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
|
|
>Commit 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="AEN2845"
|
|
></A
|
|
>14.6.3. Using the CLI</H2
|
|
><P
|
|
> To deport a container from the CLI, execute the following command
|
|
at the CLI prompt:
|
|
</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="programlisting"
|
|
> modify: c1,type=deported
|
|
</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="x2688.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="x2849.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Example: convert a shared container to a private 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"
|
|
>Deleting a cluster container</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |