462 lines
6.7 KiB
HTML
462 lines
6.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Example: create a shared cluster 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 private cluster container"
|
|
HREF="x2382.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Example: convert a private container to a shared container"
|
|
HREF="x2604.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="x2382.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="x2604.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="AEN2496"
|
|
></A
|
|
>14.3. Example: create a shared cluster container</H1
|
|
><P
|
|
>This section tells how to create a sample shared container and provides
|
|
instructions to help you complete the following task:</P
|
|
><A
|
|
NAME="AEN2499"
|
|
></A
|
|
><BLOCKQUOTE
|
|
CLASS="BLOCKQUOTE"
|
|
><DIV
|
|
CLASS="example"
|
|
><A
|
|
NAME="AEN2500"
|
|
></A
|
|
><P
|
|
><B
|
|
>Example 14-2. Create a shared cluster container</B
|
|
></P
|
|
><P
|
|
>Given a system with three available shared disks
|
|
(<TT
|
|
CLASS="filename"
|
|
>sdd</TT
|
|
>, <TT
|
|
CLASS="filename"
|
|
>sde</TT
|
|
>, and
|
|
<TT
|
|
CLASS="filename"
|
|
>sdf</TT
|
|
>),
|
|
use the EVMS Cluster Segment Manager to combine these disk drives into a shared
|
|
container called <TT
|
|
CLASS="filename"
|
|
>Shar1</TT
|
|
>.
|
|
</P
|
|
></DIV
|
|
></BLOCKQUOTE
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN2507"
|
|
></A
|
|
>14.3.1. Using the EVMS GUI</H2
|
|
><P
|
|
>To create a shared cluster 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"
|
|
>Create</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Container</SPAN
|
|
> to see a list of plug-ins that support container creation.
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Select the <SPAN
|
|
CLASS="guimenuitem"
|
|
>Cluster Segment Manager</SPAN
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Click <SPAN
|
|
CLASS="guibutton"
|
|
>Next</SPAN
|
|
>.</P
|
|
><P
|
|
>The next dialog window contains a list of storage objects that
|
|
the CSM can use to create a container.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Select <TT
|
|
CLASS="filename"
|
|
>sdd</TT
|
|
>, <TT
|
|
CLASS="filename"
|
|
>sde</TT
|
|
>, and <TT
|
|
CLASS="filename"
|
|
>sdf</TT
|
|
> from the list.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Click <SPAN
|
|
CLASS="guibutton"
|
|
>Next</SPAN
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>You do not need to change the "Node Id" field. Select
|
|
Storage Type as
|
|
<SPAN
|
|
CLASS="guimenuitem"
|
|
>shared</SPAN
|
|
> from the second pull-down menu.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Enter the name <TT
|
|
CLASS="userinput"
|
|
><B
|
|
>Shar1</B
|
|
></TT
|
|
> for the Container Name.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Click <SPAN
|
|
CLASS="guibutton"
|
|
>Create</SPAN
|
|
>. A window opens to display the outcome.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Commit the changes.</P
|
|
></LI
|
|
></OL
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN2543"
|
|
></A
|
|
>14.3.2. Using Ncurses</H2
|
|
><P
|
|
>To create a shared cluster contained with the Ncurses interface, follow these steps:</P
|
|
><P
|
|
></P
|
|
><OL
|
|
TYPE="1"
|
|
><LI
|
|
><P
|
|
>Select <SPAN
|
|
CLASS="guimenu"
|
|
>Actions</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Create</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Container</SPAN
|
|
> to see a list of plug-ins that support container creation.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Scroll down with the <B
|
|
CLASS="keycap"
|
|
>down</B
|
|
> arrow and select Cluster Segment Manager by
|
|
pressing <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
>. The plug-in you selected is marked with an "x." </P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.</P
|
|
><P
|
|
>The next submenu contains a list of disks that the Cluster Segment Manager finds
|
|
acceptable to use for the creation of a container.</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 Create Storage Container - Configuration Options menu open;
|
|
ignore the "Node Id" menu.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Scroll down with the <B
|
|
CLASS="keycap"
|
|
>down</B
|
|
> arrow and press <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
> on the
|
|
Storage Type. A list of storage types opens.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Scroll down with the <B
|
|
CLASS="keycap"
|
|
>down</B
|
|
> arrow to
|
|
<SPAN
|
|
CLASS="guimenuitem"
|
|
>shared entry</SPAN
|
|
> and press <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Scroll down with the <B
|
|
CLASS="keycap"
|
|
>down</B
|
|
> arrow to
|
|
<SPAN
|
|
CLASS="guimenuitem"
|
|
>Container Name</SPAN
|
|
> and press <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
>.</P
|
|
><P
|
|
>The Change Option Value menu opens and asks for the Container Name. Type
|
|
in the name of the container as <TT
|
|
CLASS="userinput"
|
|
><B
|
|
>Shar1</B
|
|
></TT
|
|
>, and press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
> to complete the operation.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Quit Ncurses and run <B
|
|
CLASS="command"
|
|
>evms_activate</B
|
|
> on each of the cluster
|
|
nodes. This process will be automated in future releases of EVMS.</P
|
|
></LI
|
|
></OL
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN2598"
|
|
></A
|
|
>14.3.3. Using the CLI</H2
|
|
><P
|
|
>An operation to create a shared cluster container with the CLI takes two parameters:
|
|
the name of the container and the type of the container.</P
|
|
><P
|
|
>On the CLI, type the following command to create shared container <TT
|
|
CLASS="filename"
|
|
>Shar1</TT
|
|
>:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="programlisting"
|
|
>create: container,CSM={name="Shar1",type="shared"},sdd,sde,sdf</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="x2382.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="x2604.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Example: create a private 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 private container to a shared container</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |