Merge lp:~dsmythies/serverguide/lp1129649_plus into lp:~ubuntu-core-doc/serverguide/raring

Proposed by Doug Smythies
Status: Merged
Approved by: Doug Smythies
Approved revision: 120
Merged at revision: 120
Proposed branch: lp:~dsmythies/serverguide/lp1129649_plus
Merge into: lp:~ubuntu-core-doc/serverguide/raring
Diff against target: 325 lines (+57/-55)
7 files modified
serverguide/C/dm-multipath.xml (+10/-10)
serverguide/C/installation.xml (+9/-2)
serverguide/C/lamp-applications.xml (+1/-1)
serverguide/C/network-auth.xml (+13/-14)
serverguide/C/network-config.xml (+1/-1)
serverguide/C/security.xml (+1/-1)
serverguide/C/virtualization.xml (+22/-26)
To merge this branch: bzr merge lp:~dsmythies/serverguide/lp1129649_plus
Reviewer Review Type Date Requested Status
Doug Smythies Approve
Review via email: mp+156227@code.launchpad.net

Description of the change

This MP addresses:
LP: #1129649
LP: #1103870 (although not to the extent that was desired by the poster)
I thought maybe LP: #922251 , but some inforomation was just added to the bug report, so no.

Some odd strange garbage bytes in the .xml files were removed.
All non single byte UTF-8 characters in the .xml files were removed, and now this:
grep --color='auto' -P -n "[\x80-\xFF]" *.xml
doesn't find anything. Now the only multi byte UTF-8 characters in the master source files are two in ubuntu.xsl defining the double >> character used in the link trails, and such is consitent with other Ubuntu docs.

Some other minor edits.

I am looking for peer review for this merge proposal, but will not wait long for it, as time is running out.

To post a comment you must log in.
Revision history for this message
Doug Smythies (dsmythies) wrote :

I forgot:
Also a slight change related to LP: #1050595
And several of the multibyte UTF-8 characters in dm-multipath.xml were for quotes characters that were not needed anyhow as both the PDF and the HTML differentiate the text anyhow, so I took them out.

Note: the colored diff used herein might make some line changes difficult to see. The non-colored "bzr diff" display gets really confused by multi-byte UTF-8 characters.

Revision history for this message
Doug Smythies (dsmythies) wrote :

I'm going ahead and merging this.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'serverguide/C/dm-multipath.xml'
2--- serverguide/C/dm-multipath.xml 2013-03-14 21:49:37 +0000
3+++ serverguide/C/dm-multipath.xml 2013-03-29 23:04:23 +0000
4@@ -173,8 +173,8 @@
5 <sect2 id="multipath-dm-multipath-components">
6 <title>&DMM; components</title>
7
8- <para>Table <link linkend="multipath-components-table">“DM-Multipath
9- Components”</link> describes the components of the DM-Multipath package.</para>
10+ <para>Table <link linkend="multipath-components-table">DM-Multipath
11+ Components</link> describes the components of the DM-Multipath package.</para>
12 <xi:include href="multipath-components-table.xml"
13 xmlns:xi="http://www.w3.org/2001/XInclude"/>
14 </sect2>
15@@ -272,16 +272,16 @@
16 defaults, including the <emphasis role="bold"><link
17 linkend="attribute-user_friendly_names">user_friendly_names</link></emphasis>
18 configuration option, see Section , <link
19- linkend="multipath-config-defaults">“Configuration File
20- Defaults”</link>. You can also set the name of a multipath device to a
21+ linkend="multipath-config-defaults">Configuration File
22+ Defaults</link>. You can also set the name of a multipath device to a
23 name of your choosing by using the <emphasis role="bold"><link
24 linkend="attribute-alias">alias</link></emphasis> option in the
25 <emphasis role="bold">multipaths</emphasis> section of the multipath
26 configuration file. For information on the <emphasis
27 role="bold">multipaths</emphasis> section of the multipath configuration
28 file, see Section, <link
29- linkend="multipath-config-multipath">“Multipaths Device Configuration
30- Attributes”</link>.</para>
31+ linkend="multipath-config-multipath">Multipaths Device Configuration
32+ Attributes</link>.</para>
33 </sect2>
34
35 <sect2 id="multipath-device-names-in-cluster">
36@@ -518,8 +518,8 @@
37 role="bold">/dev/sda</emphasis>, in the multipath map. For further
38 information on the <emphasis role="bold">multipath</emphasis>
39 command output, see Section <link
40- linkend="multipath-command-output">“Multipath Command
41- Output”</link>.</para>
42+ linkend="multipath-command-output">Multipath Command
43+ Output</link>.</para>
44
45 <screen>
46 # multipath -v2
47@@ -602,8 +602,8 @@
48 <command>multipath -ll</command> command to display the current
49 multipath configuration. For information on the <command>multipath
50 -ll</command> command, see Section <link
51- linkend="multipath-queries-and-commands">“Multipath Queries with
52- multipath Command”</link>. To check that the blacklisted device was
53+ linkend="multipath-queries-and-commands">Multipath Queries with
54+ multipath Command</link>. To check that the blacklisted device was
55 not added back, you can run the multipath command, as in the
56 following example. The multipath command defaults to a verbosity
57 level of <emphasis role="bold">v2</emphasis> if you do not specify a
58
59=== modified file 'serverguide/C/installation.xml'
60--- serverguide/C/installation.xml 2012-10-10 11:20:12 +0000
61+++ serverguide/C/installation.xml 2013-03-29 23:04:23 +0000
62@@ -1,4 +1,4 @@
63-<?xml version="1.0" encoding="UTF-8"?>
64+<?xml version="1.0" encoding="UTF-8"?>
65 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
66 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
67 <!ENTITY % globalent SYSTEM "../../libs/global.ent">
68@@ -53,13 +53,20 @@
69 <row>
70 <entry><para>Server (Minimal)</para></entry>
71 <entry><para>300 megahertz</para></entry>
72- <entry><para>256 megabytes</para></entry>
73+ <entry><para>128 megabytes</para></entry>
74 <entry><para>700 megabytes</para></entry>
75 <entry><para>1.4 gigabytes</para></entry>
76 </row>
77 </tbody>
78 </tgroup>
79 </table>
80+
81+ <note>
82+ <para>
83+ A virtual installation requires a minimum of 256 megabytes of RAM during the installation phase.
84+ </para>
85+ </note>
86+
87 <para>
88 The Server Edition provides a common base for all sorts of server applications.
89 It is a minimalist design providing a platform for the desired services, such
90
91=== modified file 'serverguide/C/lamp-applications.xml'
92--- serverguide/C/lamp-applications.xml 2013-03-05 01:04:42 +0000
93+++ serverguide/C/lamp-applications.xml 2013-03-29 23:04:23 +0000
94@@ -381,7 +381,7 @@
95 </listitem>
96 <listitem>
97 <para>
98- The <ulink url="http://www.packtpub.com/Mediawiki/book">MediaWiki Administrators’ Tutorial Guide</ulink>
99+ The <ulink url="http://www.packtpub.com/Mediawiki/book">MediaWiki Administrators' Tutorial Guide</ulink>
100 contains a wealth of information for new MediaWiki administrators.
101 </para>
102 </listitem>
103
104=== modified file 'serverguide/C/network-auth.xml'
105--- serverguide/C/network-auth.xml 2013-03-18 23:44:19 +0000
106+++ serverguide/C/network-auth.xml 2013-03-29 23:04:23 +0000
107@@ -200,20 +200,19 @@
108 <screen>
109 <computeroutput>
110 /etc/ldap/slapd.d/
111-
112- ├── cn=config
113- │ ├── cn=module{0}.ldif
114- │ ├── cn=schema
115- │ │ ├── cn={0}core.ldif
116- │ │ ├── cn={1}cosine.ldif
117- │ │ ├── cn={2}nis.ldif
118- │ │ └── cn={3}inetorgperson.ldif
119- │ ├── cn=schema.ldif
120- │ ├── olcBackend={0}hdb.ldif
121- │ ├── olcDatabase={0}config.ldif
122- │ ├── olcDatabase={-1}frontend.ldif
123- │ └── olcDatabase={1}hdb.ldif
124- └── cn=config.ldif
125+ /etc/ldap/slapd.d/cn=config
126+ /etc/ldap/slapd.d/cn=config/cn=module{0}.ldif
127+ /etc/ldap/slapd.d/cn=config/cn=schema
128+ /etc/ldap/slapd.d/cn=config/cn=schema/cn={0}core.ldif
129+ /etc/ldap/slapd.d/cn=config/cn=schema/cn={1}cosine.ldif
130+ /etc/ldap/slapd.d/cn=config/cn=schema/cn={2}nis.ldif
131+ /etc/ldap/slapd.d/cn=config/cn=schema/cn={3}inetorgperson.ldif
132+ /etc/ldap/slapd.d/cn=config/cn=schema.ldif
133+ /etc/ldap/slapd.d/cn=config/olcBackend={0}hdb.ldif
134+ /etc/ldap/slapd.d/cn=config/olcDatabase={0}config.ldif
135+ /etc/ldap/slapd.d/cn=config/olcDatabase={-1}frontend.ldif
136+ /etc/ldap/slapd.d/cn=config/olcDatabase={1}hdb.ldif
137+ /etc/ldap/slapd.d/cn=config.ldif
138 </computeroutput>
139 </screen>
140
141
142=== modified file 'serverguide/C/network-config.xml'
143--- serverguide/C/network-config.xml 2012-08-20 08:09:16 +0000
144+++ serverguide/C/network-config.xml 2013-03-29 23:04:23 +0000
145@@ -959,7 +959,7 @@
146 </varlistentry>
147 </variablelist>
148 <para>
149- The last two methods can be considered “automatic” because in each case the DHCP server
150+ The last two methods can be considered "automatic" because in each case the DHCP server
151 assigns an address with no extra intervention needed. The only difference between them
152 is in how long the IP address is leased, in other words whether a client's address varies
153 over time.
154
155=== modified file 'serverguide/C/security.xml'
156--- serverguide/C/security.xml 2012-09-20 15:06:36 +0000
157+++ serverguide/C/security.xml 2013-03-29 23:04:23 +0000
158@@ -1644,7 +1644,7 @@
159 <title>eCryptfs</title>
160
161 <para>
162- <emphasis>eCryptfs</emphasis> is a POSIX-compliant enterprise-class stacked cryptographic filesystem for Linux.  Layering on
163+ <emphasis>eCryptfs</emphasis> is a POSIX-compliant enterprise-class stacked cryptographic filesystem for Linux. Layering on
164 top of the filesystem layer <emphasis>eCryptfs</emphasis> protects files no matter the underlying filesystem, partition
165 type, etc.
166 </para>
167
168=== modified file 'serverguide/C/virtualization.xml'
169--- serverguide/C/virtualization.xml 2013-03-23 22:09:27 +0000
170+++ serverguide/C/virtualization.xml 2013-03-29 23:04:23 +0000
171@@ -38,7 +38,7 @@
172 </para>
173 <note>
174 <para>
175- On most computer whose processor supports virtualization, it is
176+ On many computers with processors supporting hardware assisted virtualization, it is
177 necessary to activate an option in the BIOS to enable it.
178 </para>
179 </note>
180@@ -46,13 +46,14 @@
181 <title>Virtual Networking</title>
182
183 <para>
184- There are a few different ways to allow a virtual machine access to the external network. The default virtual network configuration is
185- <emphasis>usermode</emphasis> networking, which uses the SLIRP protocol and traffic is NATed through the host interface to the outside network.
186+ There are a few different ways to allow a virtual machine access to the external network. The default virtual network configuration includes
187+ <emphasis>bridging</emphasis> and <emphasis>iptables</emphasis> rules implementing <emphasis>usermode</emphasis> networking, which uses the
188+ SLIRP protocol. Traffic is NATed through the host interface to the outside network.
189 </para>
190
191 <para>
192- To enable external hosts to directly access services on virtual machines a <emphasis>bridge</emphasis> needs to be configured. This allows
193- the virtual interfaces to connect to the outside network through the physical interface, making them appear as normal hosts to the rest
194+ To enable external hosts to directly access services on virtual machines a different type of <emphasis>bridge</emphasis> than the default needs
195+ to be configured. This allows the virtual interfaces to connect to the outside network through the physical interface, making them appear as normal hosts to the rest
196 of the network. For information on setting up a bridge see <xref linkend="bridging"/>.
197 </para>
198
199@@ -63,7 +64,7 @@
200 To install the necessary packages, from a terminal prompt enter:
201 </para>
202 <screen>
203-<command>sudo apt-get install kvm libvirt-bin</command>
204+<command>sudo apt-get install qemu-kvm libvirt-bin</command>
205 </screen>
206 <para>
207 After installing <application>libvirt-bin</application>, the user used to manage virtual machines will need to be added to
208@@ -116,8 +117,8 @@
209 <screen>
210 <command>sudo virt-install -n web_devel -r 256 \
211 --disk path=/var/lib/libvirt/images/web_devel.img,bus=virtio,size=4 -c \
212-jeos.iso --accelerate --network network=default,model=virtio \
213---connect=qemu:///system --vnc --noautoconsole -v</command>
214+jeos.iso --network network=default,model=virtio \
215+--graphics vnc,listen=0.0.0.0 --noautoconsole -v</command>
216 </screen>
217 <itemizedlist>
218 <listitem>
219@@ -145,18 +146,14 @@
220 </listitem>
221 <listitem>
222 <para>
223- <emphasis>--accelerate:</emphasis> enables the kernel's acceleration technologies.
224- </para>
225- </listitem>
226- <listitem>
227- <para>
228 <emphasis>--network</emphasis> provides details related to the VM's network interface. Here the <emphasis>default</emphasis>
229 network is used, and the interface model is configured for <emphasis>virtio</emphasis>.
230 </para>
231 </listitem>
232 <listitem>
233 <para>
234- <emphasis>--vnc:</emphasis> exports the guest's virtual console using VNC.
235+ <emphasis>--graphics vnc,listen=0.0.0.0:</emphasis> exports the guest's virtual console using VNC and on all host interfaces.
236+ Typically servers have no GUI, so another GUI based computer on the Local Area Network (LAN) can connect via VNC to complete the installation.
237 </para>
238 </listitem>
239 <listitem>
240@@ -172,7 +169,7 @@
241 </itemizedlist>
242 <para>
243 After launching <application>virt-install</application> you can connect to the virtual machine's console either locally
244- using a GUI or with the <application>virt-viewer</application> utility.
245+ using a GUI (if your server has a GUI), or via a remote VNC client from a GUI based computer.
246 </para>
247 </sect2>
248 <sect2 id="libvirt-virt-clone" status="review">
249@@ -730,7 +727,7 @@
250 line of the partition file should specify (root first):
251 mountpoint size
252 where size is in megabytes. You can have up to 4 virtual disks, a new disk starts
253- on a line with ’---’. ie :
254+ on a line with '---'. ie :
255 root 1000
256 /opt 1000
257 swap 256
258@@ -939,7 +936,7 @@
259 <para>
260 By default, <application>apt-mirror</application> uses the configuration file in <filename>/etc/apt/mirror.list</filename>.
261 As it is set up, it will replicate only the architecture of the local machine. If you would like to support other
262- architectures on your mirror, simply duplicate the lines starting with “deb”, replacing the deb keyword by /deb-{arch}
263+ architectures on your mirror, simply duplicate the lines starting with "deb", replacing the deb keyword by /deb-{arch}
264 where arch can be i386, amd64, etc... For example, on an amd64 machine, to have the i386 archives as well, you will have
265 (some lines have been split to fit the format of this document):
266 </para>
267@@ -1115,7 +1112,7 @@
268 <sect2 id="ubuntu-cloud-prerequisites" status="review">
269 <title>Prerequisites</title>
270 <para>
271- To deploy a minimal Ubuntu Cloud infrastructure, you’ll need at least:
272+ To deploy a minimal Ubuntu Cloud infrastructure, you'll need at least:
273 </para>
274
275 <itemizedlist>
276@@ -1153,8 +1150,8 @@
277 time server (ntp). This will assure that we have instantiated machines and hosts in sync.
278 </para>
279 <para>
280- In this example the “private network” will be in the 10.0.0.0/24 range on eth1. All the internal communication between instances will happen
281- there while the “public network” will be in the 10.153.107.0/29 range on eth0.
282+ In this example the "private network" will be in the 10.0.0.0/24 range on eth1. All the internal communication between instances will happen
283+ there while the "public network" will be in the 10.153.107.0/29 range on eth0.
284 </para>
285
286 <sect3 id="ubuntu-cloud-config-bridge" status="review">
287@@ -1225,7 +1222,7 @@
288 <command>sudo service libvirt-bin restart</command>
289 </screen>
290 <para>
291- Install RabbitMQ – Advanced Message Queuing Protocol (AMQP)
292+ Install RabbitMQ - Advanced Message Queuing Protocol (AMQP)
293 </para>
294 <screen>
295 <command>sudo apt-get install rabbitmq-server</command>
296@@ -1293,7 +1290,7 @@
297 <command>sudo nova-manage service list</command>
298 <command>sudo nova-manage version list</command>
299 </screen>
300- <para>If nova services don’t show up correctly restart OpenStack services as described previously. For more information please
301+ <para>If nova services don't show up correctly restart OpenStack services as described previously. For more information please
302 refer to the troubleshooting section on this guide.</para>
303
304 </sect2>
305@@ -1353,9 +1350,8 @@
306
307 <para>Download, register and publish an Ubuntu cloud image</para>
308 <screen>
309-<command>distro=lucid</command>
310-<command>wget http://cloud-images.ubuntu.com/$distro/current/$distro-server-cloudimg-amd64.tar.gz</command>
311-<command>cloud-publish-tarball "$distro"-server-cloudimg-amd64.tar.gz "$distro"_amd64</command>
312+<command>wget http://cloud-images.ubuntu.com/&distro-short-codename;/current/&distro-short-codename;-server-cloudimg-amd64.tar.gz</command>
313+<command>cloud-publish-tarball &distro-short-codename;-server-cloudimg-amd64.tar.gz &distro-short-codename;_amd64</command>
314 </screen>
315 <para>Create a key pair and start an instance</para>
316 <screen>
317@@ -1509,7 +1505,7 @@
318 </listitem>
319 <listitem>
320 <para>
321- <emphasis>IaaS</emphasis> - Infrastructure as a Service — Cloud infrastructure services, whereby a virtualized
322+ <emphasis>IaaS</emphasis> - Infrastructure as a Service -- Cloud infrastructure services, whereby a virtualized
323 environment is delivered as a service over the Internet by the provider. The infrastructure can include servers,
324 network equipment, and software.
325 </para>

Subscribers

People subscribed via source and target branches