ONTAP Select
ONTAP Select as software-defined NFS and iSCSI for OpenShift: the Deploy utility, HA pairs, the SVM the cluster uses, and where Trident takes over.
ONTAP Select is NetApp ONTAP running as a virtual machine on VMware ESXi or on KVM (KVM support was reinstated in 9.14.1). The CLI, the REST API, the storage virtual machine (SVM), FlexVol volumes, NFS, iSCSI, snapshots, SnapMirror and QoS are the same ONTAP you get on an AFF or FAS controller. What changes is the platform under it: a hypervisor datastore, usually on hardware RAID, instead of NetApp disks in a shelf.
OpenShift never talks to that hypervisor. Pods talk to an SVM data LIF, and they do it through Trident, the CSI driver. This page gets you as far as a healthy SVM with an NFS data LIF and an iSCSI data LIF. The Trident series turns that SVM into StorageClasses. The current ONTAP Select line at the time of writing is 9.19.1.
The Trident overview records the lab this series attaches to: OpenShift 4.22, Trident 26.06, one ONTAP Select SVM, NFS 4.1 and iSCSI, StorageClasses ontap-nas and ontap-san.
What you deploy
Two virtual machines are involved, and they are not the same:
- ONTAP Select Deploy is the administration VM. You import an OVA on ESXi or a raw image on KVM, give it an address, and sign in as
admin. Deploy registers hypervisor hosts and creates the Select cluster. It is not on the data path for NFS or iSCSI, except in one case below. - ONTAP Select nodes are the ONTAP VMs. Each node is one VM. A cluster has 1, 2, 4, 6, 8, 10 or 12 nodes.
| Cluster | High availability | Use it for |
|---|---|---|
| Single node | None. No cluster network | A lab or NetApp's evaluation install. A node outage is a storage outage |
| Two nodes | An HA pair. The mediator runs inside the Deploy VM | A small platform. If Deploy is down, this pair cannot fail over |
| Four or more | HA pairs, with an internal cluster network. No mediator | The shape that survives a node loss without depending on Deploy |
A two-node cluster loses its mediator if you lose the Deploy VM, so back that VM up and treat its restore as part of storage DR. NetApp documents that restore. Four nodes put the HA traffic on the internal network and keep client traffic on the external network. Do not collapse those onto one uplink and then expect a switch failure to be survivable.
Each node size (the standard, premium and premium XL offerings) needs a licence that matches it. Deploy refuses a node whose licence is too small. Changing a Select VM's disks or vCPUs in vSphere or virsh, outside Deploy, is a good way to make the node unusable. Capacity changes go through Deploy.
Networks
A multi-node cluster needs two networks.
- External. Management LIFs, data LIFs (NFS and iSCSI), and intercluster LIFs for SnapMirror. OpenShift workers must have a route to the data LIFs. Trident's controller must have a route to the management LIF.
- Internal. Cluster and HA traffic between Select nodes. Isolated from the external network. A single-node cluster does not have this network.
On KVM, both are Open vSwitch bridges, and Select expects bonded ports for the HA case. On ESXi, they are port groups. The Deploy wizard asks which is which when you create the cluster. Mixing them up shows up later as a cluster that cannot form, or as clients that cannot mount.
An SVM OpenShift can use
After Deploy reports the cluster up, SSH to the cluster management LIF as admin. The names below match a single SVM that serves both protocols. 192.0.2.10 is the cluster management LIF in this text; use the address Deploy assigned. 192.0.2.0/24 is documentation space, not a network you should type unchanged.
ssh admin@192.0.2.10
cluster show
version
network interface show
cluster show lists the nodes and their health. Create the SVM, then one data LIF per protocol. NFS 4.1 matches what the Trident lab mounts. iSCSI needs its own LIF with the block service policy.
vserver create -vserver ocp -subtype default -rootvolume ocp_root \
-rootvolume-security-style unix -aggregate aggr1 -snapshot-policy none
vserver nfs create -vserver ocp
vserver nfs modify -vserver ocp -v3 disabled -v4.1 enabled
network interface create -vserver ocp -lif nfs_data1 \
-service-policy default-data-files -address 192.0.2.21 -netmask 255.255.255.0 \
-home-node node1 -home-port e0c
vserver iscsi create -vserver ocp
network interface create -vserver ocp -lif iscsi_data1 \
-service-policy default-data-blocks -address 192.0.2.22 -netmask 255.255.255.0 \
-home-node node1 -home-port e0c
network interface show -vserver ocp
Home the LIFs on the port Deploy connected to the external network. e0c is a placeholder until network port show tells you the real port. An export policy that allows the worker subnet is required before Trident can mount NFS; the NAS backend lab sets that policy with the backend. iSCSI needs the worker IQNs in an igroup, which Trident maintains once the SAN backend lab is in place. You do not create a FlexVol per application from this CLI. A PersistentVolumeClaim does that.
The same check over the REST API, from a workstation that can reach the management LIF:
curl -sk -u "admin:${ONTAP_PASS}" \
"https://192.0.2.10/api/cluster?fields=version,name"
curl -sk -u "admin:${ONTAP_PASS}" \
"https://192.0.2.10/api/svm/svms?name=ocp&fields=name,state"
A SVM whose state is running, with both data LIFs up, is the handoff point.
| What you see | What it usually means |
|---|---|
network interface show lists a LIF as down |
The home port is on the wrong network, or the hypervisor uplink is not where Deploy was told |
| NFS from a worker hangs | No route to 192.0.2.21, NFS 4.1 is off, or the export policy does not include the worker subnet |
| A two-node cluster will not fail over | The mediator in the Deploy VM is down. Four-node clusters do not use that mediator |
Trident backend offline |
The management LIF, the SVM name, or the credentials. Diagnosis continues in the Trident troubleshooting lab |
Where Trident starts
Trident is a set of pods in the trident namespace. A StorageClass names a backend, the backend names this SVM, and a claim becomes a FlexVol (NFS, driver ontap-nas) or a LUN (iSCSI, driver ontap-san). The lab's classes are ontap-nas and ontap-san. After the install lab and the NAS and SAN labs:
oc get sc ontap-nas ontap-san
oc get tridentbackendconfig -n trident
Crunchy Postgres, Kafka and the other stateful services on this platform use those classes. Their YAML does not mention NetApp. If a claim stays Pending, the Trident controller logs and tridentctl get backend -n trident say whether the SVM was unreachable, the credentials were wrong, or the aggregate was full. That diagnosis is lab 11.
SnapMirror between two Select clusters (or between Select and an AFF) is a storage replica of the volumes. Trident lab 8 drives it from Kubernetes. It does not replace the PostgreSQL WAL archive in the Crunchy DC/DR lab. Use SnapMirror so the volumes exist on the second site. Use pgBackRest so you can recover to a transaction.
ONTAP can also serve S3 from an SVM. The object store in this series is StorageGRID. Select remains the NFS and iSCSI system.
What's next
StorageGRID is the S3 side. Then the Trident labs, in order: overview, install, NFS, iSCSI and NVMe/TCP, StorageClasses.