=head1 NAME B - Used to list information for one or more kit components. =head1 SYNOPSIS B [B<-V> | B<--verbose>] [B<-x> | B<--xml> | B<--XML>] [B<-C> | B<--compattr> I] [B<-O> | B<--osdistro> I] [B<-S> | B<--serverrole> I] [kitcomp_names] B [B<-?> | B<-h> | B<--help> | B<-v> | B<--version>] =head1 DESCRIPTION The B command is used to list information for one or more kit components. A kit is made up of one or more kit components. Each kit component is a meta package used to install a software product component on one or more nodes in an xCAT cluster. The B command outputs the kit component info in two formats: human-readable format (default), and XML format. Use the -x option to view the info in XML format. Input to the command can specify any number or combination of the input options. Note: The xCAT support for Kits is only available for Linux operating systems. =head1 OPTIONS =over 10 =item B<-C|--compattr> I where I is a comma-delimited list of kit component attribute names. The names correspond to attribute names in the B table. The B command will only display the specified kit component attributes. =item B<-O|--osdistro> I where I is the name of an osdistro in B table. The B command will only display the kit components matching the specified osdistro. =item B<-S|--serverrole> I where I is the name of a server role. The typical server roles are: mgtnode, servicenode, computenode, loginnode, storagennode. The B command will only display the kit components matching the specified server role. =item I is a comma-delimited list of kit component names. The B command will only display the kit components matching the specified names. =item B<-x|--xml|--XML> Return the output with XML tags. The data is returned as: ... ... ... Each tag contains info for a group of kit compoonents belonging to the same kit. The info inside is structured as follows: The sub-tag contains the kit's name. The sub-tags store info about the kit's components. The data inside is returned as: ... ... ... =item B<-V|--verbose> Display additional progress and error messages. =item B<-v|--version> Command Version. =item B<-?|-h|--help> Display usage message. =back =head1 RETURN VALUE =over 3 =item 0 The command completed successfully. =item 1 An error has occurred. =back =head1 EXAMPLES =over 3 =item 1. To list all kit components, enter: lskitcomp =item 2. To list the kit component "comp-server-1.0-1-rhels-6-x86_64", enter: lskitcomp comp-server-1.0-1-rhels-6-x86_64 =item 3. To list the kit component "comp-server-1.0-1-rhels-6-x86_64" for selected kit component attributes, enter: lskitcomp -C kitcompname,desc comp-server-1.0-1-rhels-6-x86_64 =item 4. To list kit components compatible with "rhels-6.2-x86_64" osdistro, enter: lskitcomp -O rhels-6.2-x86_64 =item 5. To list kit components compatible with "rhels-6.2-x86_64" osdistro and "computenode" server role, enter: lskitcomp -O rhels-6.2-x86_64 -S computenode =back =head1 FILES /opt/xcat/bin/lskitcomp =head1 SEE ALSO L, L, L, L, L, L