blob: 27359b8b7d833e50a611f6f5ebd528f0c9adf4d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
|
<?xml version='1.0'?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
]>
<chapter id="genome-SelfTests">
<title>Self Tests</title>
<para>
To walk away with a deeper understanding than just honed copy
and paste skills when using the Cookbook, you need some
knowledge about the underlying technologies. These self tests
will access your ability to use the &PRODUCT; tooling.
</para>
<section id="genome-LVM-SelfTest">
<title>LVM</title>
<para>
<orderedlist numeration="arabic">
<listitem>
<para>
How can you find out how many
free extents are in your
available volume groups?
</para>
</listitem>
<listitem>
<para>
What command will tell you how
much free space is left on your
logical volume snapshot?
</para>
</listitem>
<listitem>
<para>
What happens if your snapshot
becomes full?
</para>
</listitem>
<listitem>
<para>
How can you determine the
origin logical volume of a
snapshot?
</para>
</listitem>
<listitem>
<para>
If your root paritition is a
single volume group that
occupies all extents on your
only volume group. How can you
free up space for creating
other logical volumes / volume
groups?
</para>
</listitem>
<listitem>
<para>
If you are using LVM to back a
Xen guest why does simply
growing the logical volume not
give your guest more disk
space?
</para>
</listitem>
<listitem>
<para>
If your volume groups or
logical volumes are not showing
up at their appropriate device
mount points under
<filename>/dev</filename>, what
command(s) can you run to
create the necessary device
nodes? (Useful for working with
LVM in rescue mode)
</para>
</listitem>
</orderedlist>
</para>
</section>
<section id="genome-Xen-SelfTest">
<title>Xen</title>
<para>
<orderedlist numeration="arabic">
<listitem>
<para>
How can you make your Xen
guests start at boot time?
</para>
</listitem>
<listitem>
<para>
Explain the relationship
between the Dom0 (or Domain-0)
and the DomU.
</para>
</listitem>
<listitem>
<para>
From a user's point of view,
what are the main differences
between using
para-virtualization and
hardware assisted
virtualization?
</para>
</listitem>
<listitem>
<para>
What is the name of the library
that both xm and virsh use?
</para>
</listitem>
<listitem>
<para>
What service must be running
for this library to make
hypercalls? (When you figure it
out, temporarily shut it off
and try running +virt-install+)
</para>
</listitem>
<listitem>
<para>
Where does virt-install create
its guest configuration files?
</para>
</listitem>
<listitem>
<para>
How can you completely delete a
guest from the command line?
(Say, if you created it
originally with virt-manager).
</para>
</listitem>
<listitem>
<para>
When you are running Xen's
default bridged network what is
the default name for your real
ethernet device?
</para>
</listitem>
<listitem>
<para>
What will the affect be on your
guests when running a Xen host
without network connectivity?
Why?
</para>
</listitem>
<listitem>
<para>
Give a highlevel explaination
of the difference between a
bridged and a routed network.
</para>
</listitem>
<listitem>
<para>
If you wanted to use NAT
instead of the default bridged
network setup what config file
would you edit?
</para>
</listitem>
</orderedlist>
</para>
</section>
<section id="genome-Git-SelfTest">
<title>Git</title>
<para>
<orderedlist numeration="arabic">
<listitem>
<para>
Name a command that is not safe
to run while other people are
using your repo.
</para>
</listitem>
<listitem>
<para>
Say you just made a bad commit
on your private branch, how can
you fix it?
</para>
</listitem>
<listitem>
<para>
What does git pull do under the
covers? How is that different
than +git fetch+?
</para>
</listitem>
<listitem>
<para>
What is a bare repo? How can
you convert a working repo into
a bare one?
</para>
</listitem>
<listitem>
<para>
How many bytes does it take to
create a new branch?
</para>
</listitem>
<listitem>
<para>
What do the commit SHA1 sums
represent?
</para>
</listitem>
<listitem>
<para>
What is unique about cloning a
repo to a location on the same
filesystem?
</para>
</listitem>
<listitem>
<para>
What is the danger in using git
rebase on a public branch?
</para>
</listitem>
<listitem>
<para>
How can you erase all traces of
a bad commit on your private
branch?
</para>
</listitem>
<listitem>
<para>
How can you checkout the state
of your current branch 6
commits ago?
</para>
</listitem>
</orderedlist>
</para>
</section>
</chapter>
|