com-mkcdslinfrastructure

Langue: en

Version: 22 July 2009 (fedora - 01/12/10)

Section: 1 (Commandes utilisateur)

NAME

com-mkcdslinfrastructure - Builds needed infrastructure to create cdsls.

SYNOPSIS

com-mkcdslinfrastructure [-d|--verbose] [-L|--cdslLink value] [-n|--noexecute] [-t|--mountpoint value] [-h|--help] [-s|--cdsltreeShared value] [-V|--defaultvalues] [-d|--defaultDir value] [-v|--version] [-m|--maxnodeidnum value] [-q|--quiet] [-C|--createInventory] [-t|--cdsltree value] [-p|--nodePrefix value] [-c|--clusterconf filename] [-l|--inventoryfile filename] [-r|--root value] [-i|--useNodeids]

DESCRIPTION

Builds needed infrastructure to create cdsls, this contains creating directories and symbolic links. Does not include mounting of needed bindmounts. Uses a inventoryfile to get needed values. If inventoryfile does not exist, create it by using predefined defaultvalues and/or values which are specified via parameters. When using a existing inventoryfile, passing parameters which could be content of a inventoryfile will have no effect. These values would be ignored.

If a cdsl-inventoryfile is created, it does only contain a default section which contains important values for later cdsl-operations. These tools do not add information about preexisting cdsls.

OPTIONS

The available options are compatible to the obsolete com_create_cdsl script.
-d|--verbose
Extends output by adding debugging messages
-L|--cdslLink value
Path for cdsl link (default: /cdsl.local)
-n|--noexecute
If set, execution will be only simulated
-t|--mountpoint value
Path to mountpoint to use (default: None)
-h|--help
Shows a short help
-s|--cdsltreeShared value
Path for shared cdsltree (default: cluster/shared)
-V|--defaultvalues
Use defaultvalues to create infrastructure/inventoryfile. (This option prevents that only help is displayed.)
-d|--defaultDir value
Set default directory (default: None)
-v|--version
Show version
-m|--maxnodeidnum value
Set maxnodeidnum (default: 0)
-q|--quiet
Reduces output to critical messages (supress debug and info messages)
-C|--createInventory
Does only create Inventoryfile without building infrastructure
-t|--cdsltree value
Path for hostdependent tree (default: cluster/cdsl)
-p|--nodePrefix value
Set nodeprefix (default: None)
-c|--clusterconf filename
Specify the path of cluster configuration file (default: /etc/cluster/cluster.conf)
-l|--inventoryfile filename
Specify the path of inventoryfile to create/use (default: /var/lib/cdsl/cdsl_inventory.xml)
-r|--root value
Set chroot-path (default: None)
-i|--useNodeids
Set to use nodeids

EXAMPLES

 $ com-mkcdslinfrastructure
 

Creates a inventoryfile and builds the infrastructure needed for creating cdsls. Depends on /etc/cluster/cluster.conf. Uses parameters from /var/lib/cdsl/cdsl_inventory.xml, if file does not exist it will be created with defaultvalues.

 $ com-mkcdslinfrastructure -C
 

Same as above example, but skips creating of infrastructure. Does nothing if inventoryfile at /var/lib/cdsl/cdsl_inventory.xml already exists.

 $ com-mkcdslinfrastructure -d -i -p node_ -l /my_inventory.xml
 

Creates a inventoryfile and build the infrastructure needed for creating cdsls. Needs /etc/cluster/cluster.conf. Only use this if /my_inventory.xml does not already exists! Creates inventoryfile with given values (use_nodeids, nodePrefix: node_, inventoryfile: /my_inventory.xml). Consider values when building infrastructure. Show debugging output because -d is set.

FILES

bin/com-mkcdslinfrastructure
lib/comoonics/cdsl/*

The above files are distributed and installed by the com-cdsl-py package.

AUTHOR

This manual page was written by Andrea Offermann <andrea2@atix.de>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.

SEE ALSO

com-mkcdsl, com-rmcdsl, com-cdslinvchk, com-searchcdsls