Skip to content

Commit 7627e19

Browse files
authored
Merge pull request #57960 from ousleyp/cnv-25138
CNV-25138: storage volume requirements/removing assembly
2 parents a6d1c5d + c84118e commit 7627e19

File tree

7 files changed

+44
-80
lines changed

7 files changed

+44
-80
lines changed

_topic_maps/_topic_map.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3658,8 +3658,6 @@ Topics:
36583658
- Name: Virtual machine disks
36593659
Dir: virtual_disks
36603660
Topics:
3661-
- Name: Features for storage
3662-
File: virt-features-for-storage
36633661
- Name: Configuring local storage for virtual machines
36643662
File: virt-configuring-local-storage-for-vms
36653663
- Name: Creating data volumes
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/about-virt.adoc
4+
5+
:_content-type: CONCEPT
6+
[id="virt-about-storage-volumes-for-vm-disks_{context}"]
7+
= About storage volumes for virtual machine disks
8+
9+
If you use the storage API with known storage providers, volume and access modes are selected automatically. However, if you use a storage class that does not have a storage profile, you must select the volume and access mode.
10+
11+
For best results, use `accessMode: ReadWriteMany` and `volumeMode: Block`. This is important for the following reasons:
12+
13+
* The ReadWriteMany (RWX) access mode is required for live migration.
14+
15+
* The `Block` volume mode performs significantly better in comparison to the `Filesystem` volume mode. This is because the `Filesystem` volume mode uses more storage layers, including a file system layer and a disk image file. These layers are not necessary for VM disk storage.
16+
+
17+
For example, if you use {rh-storage-first}, Ceph RBD volumes are preferable to CephFS volumes.
18+
19+
// the note below was in the original features-for-storage assembly
20+
[IMPORTANT]
21+
====
22+
You cannot live migrate virtual machines that use:
23+
24+
* A storage volume with ReadWriteOnce (RWO) access mode
25+
26+
* Passthrough features such as GPUs
27+
28+
Do not set the `evictionStrategy` field to `LiveMigrate` for these virtual machines.
29+
====

modules/virt-features-for-storage-matrix.adoc

Lines changed: 0 additions & 57 deletions
This file was deleted.

virt/about-virt.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ include::snippets/technology-preview.adoc[]
2222
2323
include::modules/virt-supported-cluster-version.adoc[leveloffset=+2]
2424
25+
include::modules/virt-about-storage-volumes-for-vm-disks.adoc[leveloffset=+1]
26+
2527
include::modules/virt-sno-differences.adoc[leveloffset=+1]
2628
2729
[role="_additional-resources"]
2830
[id="additional-resources_about-virt"]
2931
== Additional resources
3032
33+
* xref:../storage/index.adoc#openshift-storage-common-terms_storage-overview[Glossary of common terms for {product-title} storage]
34+
3135
* xref:../installing/installing_sno/install-sno-preparing-to-install-sno.adoc#install-sno-about-installing-on-a-single-node_install-sno-preparing[About {sno}]
3236
3337
* link:https://cloud.redhat.com/blog/using-the-openshift-assisted-installer-service-to-deploy-an-openshift-cluster-on-metal-and-vsphere[Assisted installer]

virt/install/preparing-cluster-for-virt.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ include::modules/virt-hardware-os-requirements.adoc[leveloffset=+1]
3030
3131
include::modules/virt-cluster-resource-requirements.adoc[leveloffset=+1]
3232

33+
include::modules/virt-about-storage-volumes-for-vm-disks.adoc[leveloffset=+1]
34+
35+
[role="_additional-resources"]
36+
.Additional resources
37+
38+
* xref:../../storage/index.adoc#openshift-storage-common-terms_storage-overview[Glossary of common terms for {product-title} storage]
39+
3340
[id="object-maximums_{context}"]
3441
== Object maximums
3542

@@ -54,11 +61,6 @@ Live migration has the following requirements:
5461
* Sufficient RAM and network bandwidth.
5562
* If the virtual machine uses a host model CPU, the nodes must support the virtual machine's host model CPU.
5663

57-
[id="snapshots-and-cloning_{context}"]
58-
== Snapshots and cloning
59-
60-
See xref:../../virt/virtual_machines/virtual_disks/virt-features-for-storage.adoc#virt-features-for-storage[{VirtProductName} storage features] for snapshot and cloning requirements.
61-
6264
// The HA section actually belongs to OpenShift, not Virt
6365
[id="cluster-high-availability-options_{context}"]
6466
== Cluster high-availability options

virt/virt-getting-started.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ Plan and install {VirtProductName} on an {product-title} cluster:
2424
* xref:../virt/install/virt-installing-virtctl.adoc#virt-installing-virtctl[Install the `virtctl` command line interface (CLI) tool].
2525

2626
[discrete]
27-
[id="additional-resources-planning-and-installing"]
27+
[id="additional-resources_planning-and-installing"]
2828
[role="_additional-resources"]
2929
=== Planning and installation resources
30+
31+
* xref:../virt/install/preparing-cluster-for-virt.adoc#virt-about-storage-volumes-for-vm-disks_preparing-cluster-for-virt[About storage volumes for virtual machine disks].
3032
* xref:../storage/container_storage_interface/persistent-storage-csi.adoc#persistent-storage-csi[Using a CSI-enabled storage provider].
3133
* xref:../virt/virtual_machines/virtual_disks/virt-configuring-local-storage-for-vms.adoc#virt-configuring-local-storage-for-vms[Configuring local storage for virtual machines].
3234
* xref:../networking/k8s_nmstate/k8s-nmstate-about-the-k8s-nmstate-operator.adoc#installing-the-kubernetes-nmstate-operator-cli[Installing the Kubernetes NMState Operator].
@@ -52,7 +54,7 @@ Manage the VMs:
5254
* xref:../virt/virtual_machines/virt-controlling-vm-states.adoc#virt-controlling-vm-states[Stop, start, pause, and restart a VM by using the web console].
5355
* xref:../virt/virt-using-the-cli-tools.adoc#virt-virtctl-commands_virt-using-the-cli-tools[Manage a VM, expose a port, or connect to the serial console by using the `virtctl` CLI tool].
5456

55-
[id="next-steps"]
57+
[id="next-steps_{context}"]
5658
== Next steps
5759

5860
* Connect the VMs to secondary networks:

virt/virtual_machines/virtual_disks/virt-features-for-storage.adoc

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)