Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kvm networking examples with "netplan" #341

Merged
merged 7 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions source/adminguide/storage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,15 @@ be restarted.
Instance's root disk is allowed from one PowerFlex/ScaleIO storage pool
to another, without stopping the Instance.

Finding Primary Storage for Migration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When you click on migrate volume, CloudStack lists the available primary storage. CloudStack uses its storage pool allocators to identify the primary storages that are available and returns a list that is suitable for the selected volume's migration.
The list also could include primary storages that are mentioned as 'Not suitable'. The criteria for which the primary storages are not suitable are:
- Storage tag mismatch with the volume's Disk offering's storage tag
- Doesn't have enough capacity.
- Reached its disable threshold
- Disabled.
- Mismatch in the type of storage such as Shared /Local.

Resizing Volumes
~~~~~~~~~~~~~~~~
Expand Down
46 changes: 46 additions & 0 deletions source/installguide/hypervisor/kvm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,52 @@ Modify the interfaces file to look like this:
bridge_stp off
bridge_maxwait 1

If you are using *netplan* with Ubuntu, below is a sample configuration.

.. parsed-literal::

$vi /etc/netplan/01-KVM-config.yaml

Modify the *YAML* file to look like this:

.. parsed-literal::

---
network:
version: 2
ethernets:
eth0: {}
eth1: {}
bridges:
cloudbr0:
addresses:
- 192.168.42.11/24
dhcp4: false
routes:
- to: default
via: 192.168.42.1
nameservers:
addresses:
- 8.8.8.8
- 8.8.4.4
search: []
interfaces:
- eth0
parameters:
stp: true
cloudbr1:
dhcp4: false
interfaces:
- eth1
parameters:
stp: true

To apply the above configuration:

.. parsed-literal::

netplan apply

With this configuration you should be able to restart the network,
although a reboot is recommended to see if everything works properly.

Expand Down