/
planning-architecture-alternative-without_dvr.xml
108 lines (108 loc) · 3.36 KB
/
planning-architecture-alternative-without_dvr.xml
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
<?xml version="1.0"?>
<!DOCTYPE section [
<!ENTITY % entities SYSTEM "entity-decl.ent"> %entities;
]>
<section xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="without-dvr" version="5.1">
<title>Configuring &productname; without DVR</title>
<para>
By default in the KVM model, the neutron service utilizes distributed routing
(DVR). This is the recommended setup because it allows for high availability.
However, if you would like to disable this feature, here are the steps to
achieve this.
</para>
<para>
On your &clm;, make the following changes:
</para>
<procedure>
<step>
<para>
In the
<filename>~/openstack/my_cloud/config/neutron/neutron.conf.j2</filename>
file, change the line below from:
</para>
<screen>router_distributed = {{ router_distributed }}</screen>
<para>
to:
</para>
<screen>router_distributed = False</screen>
</step>
<step>
<para>
In the
<filename>~/openstack/my_cloud/config/neutron/ml2_conf.ini.j2</filename>
file, change the line below from:
</para>
<screen>enable_distributed_routing = {{ enable_distributed_routing }}</screen>
<para>
to:
</para>
<screen>enable_distributed_routing = False</screen>
</step>
<step>
<para>
In the
<filename>~/openstack/my_cloud/config/neutron/l3_agent.ini.j2</filename>
file, change the line below from:
</para>
<screen>agent_mode = {{ neutron_l3_agent_mode }}</screen>
<para>
to:
</para>
<screen>agent_mode = legacy</screen>
</step>
<step>
<para>
In the
<filename>~/openstack/my_cloud/definition/data/control_plane.yml</filename>
file, remove the following values from the Compute resource
<literal>service-components</literal> list:
</para>
<screen>- neutron-l3-agent
- neutron-metadata-agent</screen>
<warning>
<para>
If you fail to remove the above values from the Compute resource
service-components list from file
<filename>~/openstack/my_cloud/definition/data/control_plane.yml</filename>,
you will end up with routers (non_DVR routers) being deployed in the
compute host, even though the lifecycle manager is configured for
non_distributed routers.
</para>
</warning>
</step>
<step>
<para>
Commit your changes to your local git repository:
</para>
<screen>&prompt.ardana;cd ~/openstack/ardana/ansible
&prompt.ardana;git add -A
&prompt.ardana;git commit -m "My config or other commit message"</screen>
</step>
<step>
<para>
Run the configuration processor:
</para>
<screen>&prompt.ardana;cd ~/openstack/ardana/ansible
&prompt.ardana;ansible-playbook -i hosts/localhost config-processor-run.yml</screen>
</step>
<step>
<para>
Run the ready deployment playbook:
</para>
<screen>&prompt.ardana;cd ~/openstack/ardana/ansible
&prompt.ardana;ansible-playbook -i hosts/localhost ready-deployment.yml</screen>
</step>
<step>
<para>
Continue installation. More information on cloud deployments are available
in the <xref linkend="cloudinstallation-overview"/>
</para>
</step>
<!-- Original bullet item
<li>Run the reconfigure playbook:
<codeblock>cd ~/scratch/ansible/next/ardana/ansible
ansible-playbook -i hosts/verb_hosts barbican-reconfigure.yml</codeblock></li>
-->
</procedure>
</section>