Replace all post_url with Hugo ref blocks
This commit is contained in:
@ -7,11 +7,11 @@ title: VPP Lab - Setup
|
||||
|
||||
# Introduction
|
||||
|
||||
In a previous post ([VPP Linux CP - Virtual Machine Playground]({% post_url 2021-12-23-vpp-playground %})), I
|
||||
In a previous post ([VPP Linux CP - Virtual Machine Playground]({{< ref "2021-12-23-vpp-playground" >}})), I
|
||||
wrote a bit about building a QEMU image so that folks can play with the [Vector Packet Processor](https://fd.io)
|
||||
and the Linux Control Plane code. Judging by our access logs, this image has definitely been downloaded a bunch,
|
||||
and I myself use it regularly when I want to tinker a little bit, without wanting to impact the production
|
||||
routers at [AS8298]({% post_url 2021-02-27-network %}).
|
||||
routers at [AS8298]({{< ref "2021-02-27-network" >}}).
|
||||
|
||||
The topology of my tests has become a bit more complicated over time, and often just one router would not be
|
||||
enough. Yet, repeatability is quite important, and I found myself constantly reinstalling / recheckpointing
|
||||
@ -22,7 +22,7 @@ the `vpp-proto` virtual machine I was using. I got my hands on some LAB hardware
|
||||
{{< image width="300px" float="left" src="/assets/lab/physical.png" alt="Physical" >}}
|
||||
|
||||
First, I specc'd out a few machines that will serve as hypervisors. From top to bottom in the picture here, two
|
||||
FS.com S5680-20SQ switches -- I reviewed these earlier [[ref]({% post_url 2021-08-07-fs-switch %})], and I really
|
||||
FS.com S5680-20SQ switches -- I reviewed these earlier [[ref]({{< ref "2021-08-07-fs-switch" >}})], and I really
|
||||
like these, as they come with 20x10G, 4x25G and 2x40G ports, an OOB management port and serial to configure them.
|
||||
Under it, is its larger brother, with 48x10G and 8x100G ports, the FS.com S5860-48SC. Although it's a bit more
|
||||
expensive, it's also necessary because I often test VPP at higher bandwidth, and as such being able to make
|
||||
@ -66,7 +66,7 @@ On this production hypervisor (`hvn0.chbtl0.ipng.ch`), I'll also prepare and mai
|
||||
image, which will serve as a consistent image to boot the LAB virtual machines. This _main_ image will be replicated
|
||||
over the network into all three `hvn0 - hvn2` hypervisor machines. This way, I can do periodical maintenance on the
|
||||
_main_ `vpp-proto` image, snapshot it, publish it as a QCOW2 for downloading (see my [[VPP Linux CP - Virtual Machine
|
||||
Playground]({% post_url 2021-12-23-vpp-playground %})] post for details on how it's built and what you can do with it
|
||||
Playground]({{< ref "2021-12-23-vpp-playground" >}})] post for details on how it's built and what you can do with it
|
||||
yourself!). The snapshots will then also be sync'd to all hypervisors, and from there I can use simple ZFS filesystem
|
||||
_cloning_ and _snapshotting_ to maintain the LAB virtual machines.
|
||||
|
||||
@ -83,7 +83,7 @@ of the runtime directly from the `lab.ipng.ch` headend, not having to log in to
|
||||
# Implementation Details
|
||||
|
||||
I start with image management. On the production hypervisor, I create a 6GB ZFS dataset that will serve as my `vpp-proto`
|
||||
machine, and install it using the exact same method as the playground [[ref]({% post_url 2021-12-23-vpp-playground %})].
|
||||
machine, and install it using the exact same method as the playground [[ref]({{< ref "2021-12-23-vpp-playground" >}})].
|
||||
Once I have it the way I like it, I'll poweroff the VM, and see to this image being replicated to all hypervisors.
|
||||
|
||||
## ZFS Replication
|
||||
|
Reference in New Issue
Block a user