29.01.2013 Views

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

mmcrcluster Comm<strong>and</strong><br />

Name<br />

mmcrcluster – Creates a <strong>GPFS</strong> cluster from a set of nodes.<br />

Synopsis<br />

mmcrcluster -N {NodeDesc[,NodeDesc...] | NodeFile} -p PrimaryServer [-s SecondaryServer] [-r<br />

RemoteShellComm<strong>and</strong>] [-R RemoteFileCopyComm<strong>and</strong>] [-C ClusterName] [-U DomainName] [-A] [-c<br />

ConfigFile]<br />

Description<br />

Use the mmcrcluster comm<strong>and</strong> to create a <strong>GPFS</strong> cluster.<br />

Upon successful completion of the mmcrcluster comm<strong>and</strong>, the /var/mmfs/gen/mmsdrfs <strong>and</strong> the<br />

/var/mmfs/gen/mmfsNodeData files are created on each of the nodes in the cluster. Do not delete these<br />

files under any circumstances. For further information, see the General Parallel File System: Concepts,<br />

Planning, <strong>and</strong> Installation Guide.<br />

You must follow these rules when creating your <strong>GPFS</strong> cluster:<br />

v While a node may mount file systems from multiple clusters, the node itself may only be added to a<br />

single cluster using the mmcrcluster or mmaddnode comm<strong>and</strong>.<br />

v The nodes must be available for the comm<strong>and</strong> to be successful. If any of the nodes listed are not<br />

available when the comm<strong>and</strong> is issued, a message listing those nodes is displayed. You must correct<br />

the problem on each node <strong>and</strong> issue the mmaddnode comm<strong>and</strong> to add those nodes.<br />

v You must designate at least one node as a quorum node. You are strongly advised to designate the<br />

cluster configuration servers as quorum nodes. How many quorum nodes altogether you will have<br />

depends on whether you intend to use the node quorum with tiebreaker algorithm. or the regular node<br />

based quorum algorithm. For more details, see the General Parallel File System: Concepts, Planning,<br />

<strong>and</strong> Installation Guide <strong>and</strong> search for designating quorum nodes.<br />

Parameters<br />

-A Specifies that <strong>GPFS</strong> daemons are to be automatically started when nodes come up. The default is<br />

not to start daemons automatically.<br />

-C ClusterName<br />

Specifies a name for the cluster. If the user-provided name contains dots, it is assumed to be a<br />

fully qualified domain name. Otherwise, to make the cluster name unique, the domain of the<br />

primary configuration server will be appended to the user-provided name.<br />

If the -C flag is omitted, the cluster name defaults to the name of the primary <strong>GPFS</strong> cluster<br />

configuration server.<br />

-c ConfigFile<br />

Specifies a file containing <strong>GPFS</strong> configuration parameters with values different than the<br />

documented defaults. A sample file can be found in /usr/lpp/mmfs/samples/mmfs.cfg.sample.<br />

See the mmchconfig comm<strong>and</strong> for a detailed description of the different configuration<br />

parameters.<br />

The -c ConfigFile parameter should be used only by experienced administrators. Use this file to<br />

set up only those parameters that appear in the mmfs.cfg.sample file. Changes to any other<br />

values may be ignored by <strong>GPFS</strong>. When in doubt, use the mmchconfig comm<strong>and</strong> instead.<br />

-N NodeDesc[,NodeDesc...] | NodeFile<br />

NodeFile specifies the file containing the list of node descriptors (see below), one per line, to be<br />

included in the <strong>GPFS</strong> cluster.<br />

114 <strong>GPFS</strong>: <strong>Administration</strong> <strong>and</strong> <strong>Programming</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!