Skip to content

Commit cf9bfc0

Browse files
marciocloudflarethomasgauvin
authored andcommitted
[Mconn] KVM (#23840)
* added vmware to vmware tab * added proxmox * added custom property * refined text * refined text * refined text * added aside * added vlan tagging to partial * refined text * refined text * renamed to configure virtual machine * removed numbers from setup cf dash * added beta * corrected name * reordered components * refined step 1 of boot vm * added elevated privileges * refined text
1 parent bed2272 commit cf9bfc0

File tree

4 files changed

+98
-30
lines changed

4 files changed

+98
-30
lines changed

src/content/docs/magic-wan/configuration/connector/configure-virtual-connector.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
pcx_content_type: how-to
3-
title: Configure virtual Connector
3+
title: Configure Virtual Connector
4+
description: Learn how to configure Magic WAN Virtual Connector on VMWare ESXi or Proxmox Virtual Environment
45
sidebar:
56
order: 4
67
---
@@ -14,7 +15,7 @@ import { Render } from "~/components";
1415
productName: "Virtual Connector",
1516
wan: "needs to correspond to the virtual network interface on the Virtual Connector instance you have set up in VMware. Following our example from the previous steps, you need to choose port `1` since that is what corresponds to the `eno1` port we set up in VMware.",
1617
lan: "needs to correspond to the virtual LAN interface on the Virtual Connector instance you have set up in VMware. Following our example from the previous steps, you need to choose port `2` since that is what corresponds to the `eno2` port we set up in VMware.",
17-
noConnectorShows: "For a Virtual Connector to show up you need to have already obtained your [OVA package and licence keys](#obtain-the-virtual-connector-image).",
18+
noConnectorShows: "For a Virtual Connector to show up you need to: <br /><ul><li><strong>VMWare:</strong> Have already obtained your OVA package and license keys if you are installing on VMWare.</li><li><strong>Proxmox:</strong> Have already obtained your Virtual Connector Script and license keys if you are installing on Proxmox.</li></ul>\nFor more information, refer to [Configure a virtual machine](#configure-a-virtual-machine) and select the appropriate tab.\n",
1819
shippedLanguage: "Virtual Magic WAN Connector is deactivated after you install it",
1920
hardSoftConn: "You need to install two Virtual Connectors before you can set up a site in high availability.",
2021
finalInstructions: "Follow the instructions in [Activate Connector](#activate-connector) to finish setting up your Connectors."

src/content/partials/networking-services/mconn/configure-connectors.mdx

Lines changed: 67 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ params:
1010
- finalInstructions
1111
---
1212

13-
import { AnchorHeading, Aside, Card, Code, GlossaryTooltip, Markdown, Render, TabItem, Tabs } from "~/components";
13+
import { AnchorHeading, Aside, Card, Code, GlossaryTooltip, Markdown, Render, Tabs, TabItem } from "~/components";
1414

1515
{ props.magicWord === "virtual" && (
1616
<>
17-
<p>Virtual Magic WAN Connector (Virtual Connector) is a virtual appliance alternative to the hardware based Magic WAN Connector appliance. These two versions of Connector are identical otherwise.</p>
17+
<p>Virtual Magic WAN Connector (Virtual Connector) is a virtual appliance alternative to the hardware based Magic WAN Connector appliance. These two versions of Connector are identical otherwise.</p> <p>Currently, you can set up Virtual Connector on VMWare ESXi and Proxmox Virtual Environment. Support for Proxmox is in beta.</p>
1818
</>
1919
)
2020
}
@@ -39,7 +39,7 @@ import { AnchorHeading, Aside, Card, Code, GlossaryTooltip, Markdown, Render, Ta
3939
<>
4040
<Markdown
4141
text={`
42-
Before you can install Virtual Connector, you need an Enterprise account with Magic WAN enabled. Additionally, you need to have a VMware host with sufficient compute, memory, and storage to run the virtual machine with Virtual Connector. This includes:
42+
Before you can install Virtual Connector, you need an Enterprise account with Magic WAN enabled. Additionally, you need to have a VMware or Proxmox host with sufficient compute, memory, and storage to run the virtual machine with Virtual Connector. This includes:
4343
- Intel x86 CPU architecture
4444
- ESXi hypervisor 7.0U1 or higher
4545
- 4 virtual CPUs per virtual connector (We recommend deployment with a 1:1 virtual CPU to physical core allocation to avoid CPU over contention which will cause packet loss.)
@@ -48,7 +48,9 @@ import { AnchorHeading, Aside, Card, Code, GlossaryTooltip, Markdown, Render, Ta
4848
- One vSwitch port group or VLAN with access to the Internet (for example, through a WAN)
4949
- One or more vSwitch port group or VLAN that will be the internal LAN
5050
51-
Refer to [VMware's documentation](https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.esxi.install.doc/GUID-B2F01BF5-078A-4C7E-B505-5DFFED0B8C38.html) for more information on how to install ESXi and configure a virtual machine.
51+
If you are installing Virtual Connector on ESXi, refer to [VMware's documentation](https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.esxi.install.doc/GUID-B2F01BF5-078A-4C7E-B505-5DFFED0B8C38.html) for more information on how to install ESXi and configure a virtual machine.
52+
53+
If you are installing Virtual Connector on Virtual Environment, refer to [Proxmox documentation](https://www.proxmox.com/en/products/proxmox-virtual-environment/get-started) for more information on how to install Virtual environment and configure a virtual machine.
5254
`}
5355
inline={false}
5456
/>
@@ -65,11 +67,11 @@ There are a couple of decisions you need to make when installing your {props.pro
6567

6668
### Determine the need for a high availability configuration
6769

68-
You can install up to two {props.productName}s for redundancy at each of your sites. If one of your Connectors fail, traffic will fail over to the other Connector ensuring that you never lose connectivity to that site.
70+
You can install up to two {props.productName}s for redundancy at each of your sites. If one of your Connectors fails, traffic will fail over to the other Connector ensuring that you never lose connectivity to that site.
6971

7072
In this type of high availability (HA) configuration, you will choose a reliable LAN interface as the HA link which will be used to monitor the health of the peer connector. HA links can be dedicated links or can be shared with other LAN traffic.
7173

72-
You must decide the type of configuration you want for your site from the beginning: no redundancy or with redundancy. You cannot add redundancy after finishing configuring your dashboard settings. If, at a later stage, you decide to enable redundancy, you will need to delete your Connector on-ramp in the Cloudflare dashboard, and start again.
74+
You must decide the type of configuration you want for your site from the beginning: no redundancy or with redundancy. You cannot add redundancy after finishing the configuration of your dashboard settings. If, at a later stage, you decide to enable redundancy, you will need to delete your Connector on-ramp in the Cloudflare dashboard, and start again.
7375

7476
<Card title="Do you need a high availability configuration?" icon="information">
7577

@@ -147,10 +149,15 @@ You cannot enable high availability for an existing Connector on-ramp. To add hi
147149

148150
{ props.magicWord === "virtual" && (
149151
<>
150-
<AnchorHeading title="Obtain the Virtual Connector image" depth={2} />
152+
<AnchorHeading title="Configure a virtual machine" depth={2} />
153+
<p>Select the appropriate tab below to learn how to configure Virtual Connector on VMWare ESXi or Proxmox Virtual Environment.</p>
154+
155+
<Tabs> <TabItem label="VMWare ESXi">
151156

152157
<Markdown
153158
text={`
159+
**1. Obtain the VMWare image**
160+
154161
Contact your account team at Cloudflare to obtain the Virtual Connector OVA package and license keys. The OVA image includes the files required to install and configure the virtual machine (VM) for Virtual Connector with the appropriate settings. Refer to [VMWare VMs documentation](https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-AE61948B-C2EE-436E-BAFB-3C7209088552.html) for more information on this topic.
155162
156163
This image can be deployed multiple times to create several instances of a Virtual Connector, in different locations or on the same ESXi host.
@@ -160,10 +167,11 @@ You cannot enable high availability for an existing Connector on-ramp. To add hi
160167
inline={false}
161168
/>
162169

163-
<AnchorHeading title="Deploy the Virtual Connector on VMware" depth={2} />
164-
165170
<Markdown
166171
text={`
172+
173+
**2. Deploy the Virtual Connector on VMware**
174+
167175
The following instructions assume you already have VMware ESXi hypervisor installed with sufficient resources. Refer to [Prerequisites](#prerequisites) for more information.
168176
169177
1. When setting up your VMware ESXi, you need to create port groups for Virtual Connector. Go to **Networking** > **Port groups**, and prepare your vSwitch port groups and/or VLANs for your desired network topology. For example, a simple deployment typically has:
@@ -174,23 +182,7 @@ You cannot enable high availability for an existing Connector on-ramp. To add hi
174182
inline={false}
175183
/>
176184

177-
<Aside title="VLAN tagging">
178-
<Markdown
179-
text={`
180-
Virtual Connector supports creating subinterfaces through the use of [802.1Q VLAN tagging](https://en.wikipedia.org/wiki/IEEE_802.1Q).
181-
182-
Use VLAN ID <code>0</code> when:
183-
184-
- Connected to a Port Group or Distributed Port Group that is associated with a specific VLAN.
185-
- Connected to a Port Group or Distributed Port Group that is configured as a trunk that requires untagged packets.
186-
187-
You can also configure subinterfaces on the Virtual Connector by associating the network interface with a Port Group or Distributed Port Group trunk and specifying a VLAN ID in addition to the port associated with the network interface (VLAN ID <code>1</code>-<code>4094</code>).
188-
189-
Refer to [VMware's documentation](https://kb.vmware.com/s/article/1003825) for more information.
190-
`}
191-
inline={false}
192-
/>
193-
</Aside>
185+
<Render file="mconn/vlan-tagging" product="networking-services" params={{ url: "[VMware's documentation](https://kb.vmware.com/s/article/1003825)" }}/>
194186

195187
<Markdown
196188
text={`
@@ -234,7 +226,7 @@ You cannot enable high availability for an existing Connector on-ramp. To add hi
234226
inline={false}
235227
/>
236228

237-
<Aside>You cannot use the same license key twice, or reuse a key once the virtual machine has been registered with Cloudflare. You need a new key from your account team for every new Virtual Connector.</Aside>
229+
<Render file="mconn/licence-keys" product="networking-services" />
238230

239231
<Markdown
240232
text={`
@@ -243,6 +235,53 @@ You cannot enable high availability for an existing Connector on-ramp. To add hi
243235
`}
244236
inline={false}
245237
/>
238+
239+
</TabItem> <TabItem label="Proxmox Virtual Environment (beta)">
240+
241+
<Markdown
242+
text={`
243+
**1. Obtain the Virtual Connector script**
244+
245+
Contact your account team at Cloudflare to obtain your license keys and the Virtual Connector script for Proxmox. The script will set up and configure a Proxmox virtual machine with the appropriate settings for Virtual Connector. Refer to [Prerequisites](#prerequisites) for more information on system requirements.
246+
247+
The script can be deployed multiple times to create several instances of a Virtual Connector, in different locations or on the same Proxmox host. You will consume one license key for each instance created. For example, if you want to deploy 10 Virtual Connectors you should request 10 license keys.
248+
249+
**2. Deploy the Virtual Connector on Proxmox**
250+
251+
The following instructions assume you already have Proxmox Virtual Environment installed with sufficient resources. Refer to [Prerequisites](#prerequisites) for more information.
252+
253+
1. In the terminal prompt of your Proxmox server, load the script provided by your account team. For example: \`bash YOUR_SCRIPT\`. You need elevated privileges to run the script.
254+
2. You will be prompted to create a new Virtual Connector. Select **yes** to proceed.
255+
3. Set up your Virtual Connector name.
256+
4. Enter your license key.
257+
`}
258+
inline={false}
259+
/>
260+
261+
<Render file="mconn/licence-keys" product="networking-services" />
262+
263+
<Markdown
264+
text={`
265+
5. Select the network interface card (NIC) you want to use with Virtual Connector.
266+
6. Select the network bridge that corresponds to the physical network interface card (NIC) on your host machine. This bridge allows the network adapter in the virtual machine to communicate through the NIC in the host, as if it were directly connected to the physical network.
267+
7. (Optional) Configure your VLAN setting if needed.
268+
`}
269+
inline={false}
270+
/>
271+
272+
<Render file="mconn/vlan-tagging" product="networking-services" params={{ url: "[Proxmox documentation](https://www.proxmox.com/en/products/proxmox-virtual-environment/get-started)" }}/>
273+
274+
<Markdown
275+
text={`
276+
8. Finish your configuration.
277+
9. The script will apply your settings and configure the virtual machine template for Virtual Connector.
278+
10. In the **Hardware settings** for the new VM, make sure the hardware settings match the minimum requirements for running Virtual Connector. Make changes to the RAM and CPU if needed.
279+
11. Continue setup in your [Cloudflare dashboard](#set-up-cloudflare-dashboard).
280+
`}
281+
inline={false}
282+
/>
283+
284+
</TabItem> </Tabs>
246285
</>
247286
)
248287
}
@@ -498,7 +537,7 @@ When you are ready to connect your Magic WAN Connector to the Cloudflare network
498537

499538
<Markdown
500539
text={`
501-
1. Go to **Virtual Machines** in VMware, and boot up Virtual Connector's VM.
540+
1. Boot up Virtual Connector's VM in your virtual machine.
502541
2. The Virtual Connector will make a request to Cloudflare. This is the step where Virtual Connector registers your provided license key and downloads the [configuration you provided](#set-up-cloudflare-dashboard).
503542
3. The Virtual Connector will set up the LAN and WAN connections according to the configuration downloaded from the site you created on the Cloudflare dashboard. The Virtual Connector will also establish IPsec tunnels.
504543
4. If successful, the [tunnel health checks](/magic-wan/configuration/common-settings/check-tunnel-health-dashboard/) will show as healthy.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
{}
3+
---
4+
5+
import { Aside } from "~/components";
6+
7+
<Aside> You cannot use the same license key twice, or reuse a key once the virtual machine has been registered with Cloudflare. You need a new key from your account team for every new Virtual Connector.</Aside>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
params:
3+
- url
4+
---
5+
6+
import { Aside, Markdown } from "~/components";
7+
8+
<Aside title="VLAN tagging">
9+
10+
Virtual Connector supports creating subinterfaces through the use of [802.1Q VLAN tagging](https://en.wikipedia.org/wiki/IEEE_802.1Q).
11+
12+
Use VLAN ID <code>0</code> when:
13+
14+
- Connected to a Port Group or Distributed Port Group that is associated with a specific VLAN.
15+
- Connected to a Port Group or Distributed Port Group that is configured as a trunk that requires untagged packets.
16+
17+
You can also configure subinterfaces on the Virtual Connector by associating the network interface with a Port Group or Distributed Port Group trunk and specifying a VLAN ID in addition to the port associated with the network interface (VLAN ID <code>1</code>-<code>4094</code>).
18+
19+
Refer to <Markdown text={props.url} /> for more information.
20+
21+
</Aside>

0 commit comments

Comments
 (0)