1com-mkcdslinfrastructure(1) com-mkcdslinfrastructure(1)
2
3
4
6 com-mkcdslinfrastructure - Builds needed infrastructure to create
7 cdsls.
8
10 com-mkcdslinfrastructure [-d|--verbose] [-L|--cdslLink value]
11 [-n|--noexecute] [-t|--mountpoint value]
12 [-h|--help] [-s|--cdsltreeShared value]
13 [-V|--defaultvalues] [-d|--defaultDir value]
14 [-v|--version] [-m|--maxnodeidnum value]
15 [-q|--quiet] [-C|--createInventory]
16 [-t|--cdsltree value] [-p|--nodePrefix value]
17 [-c|--clusterconf filename]
18 [-l|--inventoryfile filename] [-r|--root
19 value] [-i|--useNodeids]
20
22 Builds needed infrastructure to create cdsls, this contains creating
23 directories and symbolic links. Does not include mounting of needed
24 bindmounts. Uses a inventoryfile to get needed values. If inventoryfile
25 does not exist, create it by using predefined defaultvalues and/or val‐
26 ues which are specified via parameters. When using a existing invento‐
27 ryfile, passing parameters which could be content of a inventoryfile
28 will have no effect. These values would be ignored.
29
30 If a cdsl-inventoryfile is created, it does only contain a default sec‐
31 tion which contains important values for later cdsl-operations. These
32 tools do not add information about preexisting cdsls.
33
35 The available options are compatible to the obsolete com_create_cdsl
36 script.
37
38 -d|--verbose
39 Extends output by adding debugging messages
40
41 -L|--cdslLink value
42 Path for cdsl link (default: /cdsl.local)
43
44 -n|--noexecute
45 If set, execution will be only simulated
46
47 -t|--mountpoint value
48 Path to mountpoint to use (default: None)
49
50 -h|--help
51 Shows a short help
52
53 -s|--cdsltreeShared value
54 Path for shared cdsltree (default: cluster/shared)
55
56 -V|--defaultvalues
57 Use defaultvalues to create infrastructure/inventoryfile. (This
58 option prevents that only help is displayed.)
59
60 -d|--defaultDir value
61 Set default directory (default: None)
62
63 -v|--version
64 Show version
65
66 -m|--maxnodeidnum value
67 Set maxnodeidnum (default: 0)
68
69 -q|--quiet
70 Reduces output to critical messages (supress debug and info mes‐
71 sages)
72
73 -C|--createInventory
74 Does only create Inventoryfile without building infrastructure
75
76 -t|--cdsltree value
77 Path for hostdependent tree (default: cluster/cdsl)
78
79 -p|--nodePrefix value
80 Set nodeprefix (default: None)
81
82 -c|--clusterconf filename
83 Specify the path of cluster configuration file (default:
84 /etc/cluster/cluster.conf)
85
86 -l|--inventoryfile filename
87 Specify the path of inventoryfile to create/use (default:
88 /var/lib/cdsl/cdsl_inventory.xml)
89
90 -r|--root value
91 Set chroot-path (default: None)
92
93 -i|--useNodeids
94 Set to use nodeids
95
97 $ com-mkcdslinfrastructure
98
99 Creates a inventoryfile and builds the infrastructure needed for creat‐
100 ing cdsls. Depends on /etc/cluster/cluster.conf. Uses parameters from
101 /var/lib/cdsl/cdsl_inventory.xml, if file does not exist it will be
102 created with defaultvalues.
103
104 $ com-mkcdslinfrastructure -C
105
106 Same as above example, but skips creating of infrastructure. Does noth‐
107 ing if inventoryfile at /var/lib/cdsl/cdsl_inventory.xml already ex‐
108 ists.
109
110 $ com-mkcdslinfrastructure -d -i -p node_ -l /my_inventory.xml
111
112 Creates a inventoryfile and build the infrastructure needed for creat‐
113 ing cdsls. Needs /etc/cluster/cluster.conf. Only use this if /my_inven‐
114 tory.xml does not already exists! Creates inventoryfile with given val‐
115 ues (use_nodeids, nodePrefix: node_, inventoryfile: /my_inventory.xml).
116 Consider values when building infrastructure. Show debugging output be‐
117 cause -d is set.
118
120 bin/com-mkcdslinfrastructure
121 lib/comoonics/cdsl/*
122
123 The above files are distributed and installed by the com-cdsl-py pack‐
124 age.
125
127 This manual page was written by Andrea Offermann <andrea2@atix.de>.
128 Permission is granted to copy, distribute and/or modify this document
129 under the terms of the GNU Free Documentation License, Version 1.1 or
130 any later version published by the Free Software Foundation; with no
131 Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
132
134 com-mkcdsl, com-rmcdsl, com-cdslinvchk, com-searchcdsls
135
136
137
138 22 July 2009 com-mkcdslinfrastructure(1)