Skip to content

Commit 1837632

Browse files
authored
Merge pull request #91472 from lpettyjo/OSDOCS-12804
OSDOCS-12804#Increase vSphere max vols per node
2 parents b3d3649 + dd5947a commit 1837632

File tree

3 files changed

+90
-1
lines changed

3 files changed

+90
-1
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * storage/container_storage_interface/persistent-storage-csi-vsphere.adoc
4+
//
5+
6+
:_mod-docs-content-type: CONCEPT
7+
[id="persistent-storage-csi-vsphere-increase-max-vols-per-node-overview_{context}"]
8+
= Increasing maximum volumes per node for vSphere
9+
10+
For VMware vSphere version 7, {product-title} restricts the maximum number of volumes per node to 59.
11+
12+
However, for vSphere version 8 or later, you can increase the allowable number of volumes per node to a maximum of 255. Otherwise, the default value remains at 59.
13+
14+
[IMPORTANT]
15+
====
16+
You must have an homogeneous vSphere 8 environment that only contains ESXi 8 hypervisors. Heterogeneous environments that contain a mix of versions of ESXi other than 8 are not allowed. In such heterogenous environment, if you set a value greater than 59, the cluster degrades.
17+
====
18+
19+
.Limitations
20+
21+
* You must be running VMware vSphere version 8 or later.
22+
23+
* You can potentially exceed the limit of 2048 virtual disks per host if you increase the maximum number of volumes per node on enough nodes. This can occur because there is no Distributed Resource scheduler (DRS) validation for vSphere to ensure you do not exceed this limit.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * storage/container_storage_interface/persistent-storage-csi-vsphere.adoc
4+
//
5+
6+
:_mod-docs-content-type: PROCEDURE
7+
[id="persistent-storage-csi-vsphere-increase-max-vols-per-node_{context}"]
8+
= Increasing the maximum allowable volumes per node for vSphere
9+
10+
.Prerequisites
11+
* Access to the {product-title} web console.
12+
13+
* Access to the cluster as a user with the cluster-admin role.
14+
15+
* Access to VMware vSphere vCenter.
16+
17+
* In vCenter, ensure that the parameter `pvscsiCtrlr256DiskSupportEnabled` is set to 'True'.
18+
+
19+
[IMPORTANT]
20+
====
21+
Changing the `pvscsiCtrlr256DiskSupportEnabled` parameter is not fully supported by VMware. Also, the parameter is a cluster-wide option.
22+
====
23+
24+
.Procedure
25+
26+
Use the following procedure to increase the maximum number of volumes per node for vSphere:
27+
28+
. Click *Administration* > *CustomResourceDefinitions*.
29+
30+
. On the *CustomResourceDefinitions* page next to the *Name* dropdown box, type "clustercsidriver".
31+
32+
. Click *CRD ClusterCSIDriver*.
33+
34+
. Click the *Instances* tab.
35+
36+
. Click *csi.vsphere.vmware.com*.
37+
38+
. Click the *YAML* tab.
39+
40+
. Set the parameter `spec.driverConfig.driverType` to `vSphere`.
41+
42+
. Add the parameter `spec.driverConfig.vSphere.maxAllowedBlockVolumesPerNode` to the YAML file, and provide a value for the desired maximum number of volumes per node as in the following sample YAML file:
43+
+
44+
[source,yaml]
45+
.Sample YAML file for adding the parameter maxAllowedBlockVolumesPerNode
46+
----
47+
...
48+
spec:
49+
driverConfig:
50+
driverType: vSphere
51+
vSphere:
52+
maxAllowedBlockVolumesPerNode: <1>
53+
...
54+
----
55+
<1> Enter the desired value here for the maximum number of volumes per node. The default is 59. The minimum value is 1 and the maximum value is 255.
56+
57+
. Click *Save*.

storage/container_storage_interface/persistent-storage-csi-vsphere.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To create CSI-provisioned persistent volumes (PVs) that mount to vSphere storage
1616

1717
* *vSphere CSI Driver Operator*: The Operator provides a storage class, called `thin-csi`, that you can use to create persistent volumes claims (PVCs). The vSphere CSI Driver Operator supports dynamic volume provisioning by allowing storage volumes to be created on-demand, eliminating the need for cluster administrators to pre-provision storage. You can disable this default storage class if desired (see xref:../../storage/container_storage_interface/persistent-storage-csi-sc-manage.adoc#persistent-storage-csi-sc-manage[Managing the default storage class]).
1818

19-
* *vSphere CSI driver*: The driver enables you to create and mount vSphere PVs. In {product-title} 4.18, the driver version is 3.3.1 The vSphere CSI driver supports all of the file systems supported by the underlying Red Hat Core operating system release, including XFS and Ext4. For more information about supported file systems, see link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_file_systems/overview-of-available-file-systems_managing-file-systems[Overview of available file systems].
19+
* *vSphere CSI driver*: The driver enables you to create and mount vSphere PVs. In {product-title} 4.19, the driver version is 3.3.1 The vSphere CSI driver supports all of the file systems supported by the underlying Red Hat Core operating system release, including XFS and Ext4. For more information about supported file systems, see link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_file_systems/overview-of-available-file-systems_managing-file-systems[Overview of available file systems].
2020

2121
//Please update driver version as needed with each major OCP release starting with 4.13.
2222

@@ -118,7 +118,16 @@ include::modules/persistent-storage-csi-vsphere-disable-storage-consequences.ado
118118

119119
include::modules/persistent-storage-csi-vsphere-disable-storage-procedure.adoc[leveloffset=+2]
120120

121+
include::modules/persistent-storage-csi-vsphere-increase-max-vols-per-node-overview.adoc[leveloffset=+1]
122+
123+
:FeatureName: Increasing volumes per node
124+
include::snippets/technology-preview.adoc[leveloffset=+2]
125+
126+
include::modules/persistent-storage-csi-vsphere-increase-max-vols-per-node-procedure.adoc[leveloffset=+2]
127+
121128
== Additional resources
122129
* xref:../../storage/container_storage_interface/persistent-storage-csi.adoc#persistent-storage-csi[Configuring CSI volumes]
123130

124131
* link:https://kb.vmware.com/s/article/1025279[Best practices for using VMware snapshots in the vSphere environment]
132+
133+
* link:https://techdocs.broadcom.com/us/en/vmware-cis/vsphere.html[VMware vCenter documentation]

0 commit comments

Comments
 (0)