From 3bc8d22c23950dca10efea613e1f2f5c4ec04fa2 Mon Sep 17 00:00:00 2001 From: nott Date: Wed, 5 Dec 2007 14:14:45 +0000 Subject: [PATCH] Pod source for mkdef man page. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client-2.0/pods/man1/mkdef.1.pod | 90 +++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 xCAT-client-2.0/pods/man1/mkdef.1.pod diff --git a/xCAT-client-2.0/pods/man1/mkdef.1.pod b/xCAT-client-2.0/pods/man1/mkdef.1.pod new file mode 100644 index 000000000..c76d86b7b --- /dev/null +++ b/xCAT-client-2.0/pods/man1/mkdef.1.pod @@ -0,0 +1,90 @@ +=head1 NAME + +B - Use this command to create xCAT data object definitions. + +=head1 SYNOPSIS + +I + +I +I<[-z | --stanza ] [-x | --xml] [-f | --force] [-w attr=val,[attr=val...]]> +I<[noderange] [attr=val [attr=val...]] > + +=head1 DESCRIPTION + +This command is used to create xCAT object definitions which are stored in the xCAT database. If the definition already exists it will return an error message. The force option may be used to re-create a definition. In this case the old definition will be remove and the new definition will be created. + +=head1 OPTIONS + +B Specifies one or more "attribute equals value" pairs, separated by spaces. Attr=val pairs must be specified last on the command line. Use the help option to get a list of valid attributes for each object type. + +B<-f |--force> Use the force option to re-create object definitions. This option removes the old definition before creating the new one. + +B<-h |--help> Display usage message. + +B A set of comma delimited node names and/or group names. (must be the first parameter) See the "noderange" man page for details on supported formats. + +B<-o object-names> A set of comma delimited object names. + +B<-t object-types> A set of comma delimited object types. Use the help option to get a list of valid object types. + +B<-V |--verbose> Verbose mode. + +B<-w attr=val,[attr=val...]> A comma-separated list of attributes and values that can be used to select objects. Use the help option to get a list of validattributes for each object type. + +B<-x | --xml> Indicates that the file being piped to the command is in XML format. + +B<-z | --stanza> Indicates that the file being piped to the command is in stanza format. + +=head1 RETURN VALUE + +0 The command completed successfully. + +1 An error has occurred. + +=head1 EXAMPLES + +1. To create a site definition. + +I + +2. To create a basic node definition. + +I + +3. To re-create the current definition of "node01". + +I + +(The group definitions are also created if they don't already exist.) + +4. To create a set of different types of definitions based on information contained in a stanza file. + +I + +5. To create a group definition called LinuxNodes containing the nodes clstrn01 and clstrn02. + +I + +6. To create a node definition for an FSP node using the attributes provided by the group fspnodes. + +I + +7. To create node definitions for a set of node host names contained in the node range "node1,node2,node3" + +I + +=head1 FILES + +/usr/sbin/mkdef + + +=head1 NOTES + +This command is part of the xCAT software product. + + +=head1 SEE ALSO + +See the chdef, lsdef and rmdef commands. +