|
| 1 | +<?xml version='1.0' encoding='utf-8' ?> |
| 2 | +<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
| 3 | +<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent"> |
| 4 | +%BOOK_ENTITIES; |
| 5 | +]> |
| 6 | +<!-- Licensed to the Apache Software Foundation (ASF) under one |
| 7 | + or more contributor license agreements. See the NOTICE file |
| 8 | + distributed with this work for additional information |
| 9 | + regarding copyright ownership. The ASF licenses this file |
| 10 | + to you under the Apache License, Version 2.0 (the |
| 11 | + "License"); you may not use this file except in compliance |
| 12 | + with the License. You may obtain a copy of the License at |
| 13 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | + Unless required by applicable law or agreed to in writing, |
| 15 | + software distributed under the License is distributed on an |
| 16 | + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 17 | + KIND, either express or implied. See the License for the |
| 18 | + specific language governing permissions and limitations |
| 19 | + under the License. |
| 20 | +--> |
| 21 | +<section id="inline-config-lb-fw"> |
| 22 | + <title>Configuring Network Devices in Inline and Side by Side Modes</title> |
| 23 | + <para>The external network elements, such as load balancer and firewall devices, supported in |
| 24 | + &PRODUCT; can be deployed in either of the following modes: Side by Side and Inline. Inline mode |
| 25 | + was originally supported in &PRODUCT; 2.2.x versions, and is now added back in the 3.0.6 |
| 26 | + release.</para> |
| 27 | + <para>In Inline mode, one firewall device is placed in front of a load balancing device. The |
| 28 | + firewall acts as the gateway for all incoming traffic, then redirect the load balancing traffic |
| 29 | + to the load balancer behind it. The load balancer in this case will not have the direct access |
| 30 | + to the public network. Deploying network devices in Inline mode ensures that the resources are |
| 31 | + protected.</para> |
| 32 | + <mediaobject> |
| 33 | + <imageobject> |
| 34 | + <imagedata fileref="./images/parallel-inline-mode.png"/> |
| 35 | + </imageobject> |
| 36 | + <textobject> |
| 37 | + <phrase>parallel-inline-mode.png: external networks in different deployment modes</phrase> |
| 38 | + </textobject> |
| 39 | + </mediaobject> |
| 40 | + <para>In Side by Side mode, a firewall device is deployed in parallel with the load balancer |
| 41 | + device. So the traffic to the load balancer public IP is not routed through the firewall, and |
| 42 | + therefore, is exposed to the public network. </para> |
| 43 | + <mediaobject> |
| 44 | + <imageobject> |
| 45 | + <imagedata fileref="./images/parallel-mode.png"/> |
| 46 | + </imageobject> |
| 47 | + <textobject> |
| 48 | + <phrase>parallel-mode.png: adding a firewall and load balancer in side by side mode</phrase> |
| 49 | + </textobject> |
| 50 | + </mediaobject> |
| 51 | + <para>The following table gives you an overview of the supported services and devices for inline |
| 52 | + and side by side mode.</para> |
| 53 | + <informaltable> |
| 54 | + <tgroup cols="4" align="left" colsep="1" rowsep="1"> |
| 55 | + <colspec colwidth="1.08*" colname="c1" colnum="1"/> |
| 56 | + <colspec colwidth="1.2*" colname="c2" colnum="2"/> |
| 57 | + <colspec colnum="3" colname="c3" colwidth="1.0*"/> |
| 58 | + <colspec colnum="4" colname="c4" colwidth="5.15*"/> |
| 59 | + <thead> |
| 60 | + <row> |
| 61 | + <entry><para>Mode</para></entry> |
| 62 | + <entry><para>Firewall</para></entry> |
| 63 | + <entry><para>Load Balancer</para></entry> |
| 64 | + <entry><para>Supported</para></entry> |
| 65 | + </row> |
| 66 | + </thead> |
| 67 | + <tbody> |
| 68 | + <row> |
| 69 | + <entry><para>Side by Side</para></entry> |
| 70 | + <entry><para>Virtual Router</para></entry> |
| 71 | + <entry><para>F5</para></entry> |
| 72 | + <entry><para>Yes</para></entry> |
| 73 | + </row> |
| 74 | + <row> |
| 75 | + <entry><para>Side by Side</para></entry> |
| 76 | + <entry><para>Virtual Router</para></entry> |
| 77 | + <entry><para>Virtual Router</para></entry> |
| 78 | + <entry><para>Yes</para></entry> |
| 79 | + </row> |
| 80 | + <row> |
| 81 | + <entry><para>Side by Side</para></entry> |
| 82 | + <entry><para>Virtual Router</para></entry> |
| 83 | + <entry><para>NetScaler</para></entry> |
| 84 | + <entry><para>Yes</para></entry> |
| 85 | + </row> |
| 86 | + <row> |
| 87 | + <entry><para>Side by Side</para></entry> |
| 88 | + <entry><para>Juniper SRX</para></entry> |
| 89 | + <entry><para>F5</para></entry> |
| 90 | + <entry><para>Yes</para></entry> |
| 91 | + </row> |
| 92 | + <row> |
| 93 | + <entry><para>Side by Side</para></entry> |
| 94 | + <entry><para>Juniper SRX</para></entry> |
| 95 | + <entry><para>NetScaler</para></entry> |
| 96 | + <entry><para>Yes</para></entry> |
| 97 | + </row> |
| 98 | + <row> |
| 99 | + <entry><para>Inline</para></entry> |
| 100 | + <entry><para>Virtual Router</para></entry> |
| 101 | + <entry><para>F5</para></entry> |
| 102 | + <entry><para>No</para></entry> |
| 103 | + </row> |
| 104 | + <row> |
| 105 | + <entry><para>Inline</para></entry> |
| 106 | + <entry><para>Virtual Router</para></entry> |
| 107 | + <entry><para>NetScaler</para></entry> |
| 108 | + <entry><para>No</para></entry> |
| 109 | + </row> |
| 110 | + <row> |
| 111 | + <entry><para>Inline</para></entry> |
| 112 | + <entry><para>Juniper SRX</para></entry> |
| 113 | + <entry><para>F5</para></entry> |
| 114 | + <entry><para>Yes</para></entry> |
| 115 | + </row> |
| 116 | + <row> |
| 117 | + <entry><para>Inline</para></entry> |
| 118 | + <entry><para>Juniper SRX</para></entry> |
| 119 | + <entry><para>NetScaler</para></entry> |
| 120 | + <entry><para>No</para></entry> |
| 121 | + </row> |
| 122 | + <row> |
| 123 | + <entry><para>Inline</para></entry> |
| 124 | + <entry><para>Juniper SRX</para></entry> |
| 125 | + <entry><para>Virtual Router</para></entry> |
| 126 | + <entry><para>No</para></entry> |
| 127 | + </row> |
| 128 | + </tbody> |
| 129 | + </tgroup> |
| 130 | + </informaltable> |
| 131 | + <para>To configure SRX and F5 in Inline mode:</para> |
| 132 | + <orderedlist> |
| 133 | + <listitem> |
| 134 | + <para>Configure F5 Big IP and Juniper SRX.</para> |
| 135 | + <para>See the respective product documentation for more information.</para> |
| 136 | + </listitem> |
| 137 | + <listitem> |
| 138 | + <para>Add SRX and F5 to the same zone in &PRODUCT;.</para> |
| 139 | + <note> |
| 140 | + <para>Ensure that you select per zone sourceNAT when creating the network offering. When |
| 141 | + adding F5 BigIP, do not make it a dedicated device.</para> |
| 142 | + </note> |
| 143 | + </listitem> |
| 144 | + <listitem> |
| 145 | + <para>Enable both the devices.</para> |
| 146 | + </listitem> |
| 147 | + <listitem> |
| 148 | + <para>Create a network offering:</para> |
| 149 | + <para>Use SRX as provider for Firewall, Port Forwarding, SourceNAT, and StaticNat. Select F5 |
| 150 | + BigIP as the service provider for Load Balancing. Use Virtual Router as the service provider |
| 151 | + for DNS, DHCP, user data.</para> |
| 152 | + </listitem> |
| 153 | + <listitem> |
| 154 | + <para>Select Inline mode.</para> |
| 155 | + <para>For more information, see <phrase condition="admin"><xref |
| 156 | + linkend="creating-network-offerings"/>.</phrase> |
| 157 | + <phrase condition="install">Creating Network Offerings in the Administration Guide.</phrase> |
| 158 | + </para> |
| 159 | + </listitem> |
| 160 | + <listitem> |
| 161 | + <para>Start a new VM with this new network offering.</para> |
| 162 | + </listitem> |
| 163 | + <listitem> |
| 164 | + <para>Add firewall and load balancing rules. For more information, see <phrase |
| 165 | + condition="admin"><xref linkend="add-load-balancer-rule"/></phrase> |
| 166 | + <phrase condition="install">Adding a Load Balancer Rule</phrase> and <phrase |
| 167 | + condition="admin"><xref linkend="firewall-rules"/>.</phrase> |
| 168 | + <phrase condition="install">IP Forwarding and Firewalling in the Administration |
| 169 | + Guide.</phrase> |
| 170 | + </para> |
| 171 | + </listitem> |
| 172 | + </orderedlist> |
| 173 | +</section> |
0 commit comments