Deployment Procedure
This section discusses the deployment procedure for the vector database solution for NetApp.
Deployment procedure
In this deployment section, we used milvus vector database with Kubernetes for the lab setup as below.
The netapp storage provides the storage for the cluster to keep customers data and milvus cluster data.
NetApp storage setup – ONTAP
-
Storage system initialization
-
Storage virtual machine (SVM) creation
-
Assignment of logical network interfaces
-
NFS, S3 configuration and licensing
Please follow the steps below for NFS (Network File System):
-
Create a FlexGroup volume for NFSv4. In our set up for this validation, we have used 48 SSDs, 1 SSD dedicated for the controller’s root volume and 47 SSDs spread across for NFSv4]].Verify that the NFS export policy for the FlexGroup volume has read/write permissions for the Kubernetes (K8s) nodes network. If these permissions are not in place, grant read/write (rw) permissions for the K8s nodes network.
-
On all K8s nodes, create a folder and mount the FlexGroup volume onto this folder through a Logical Interface (LIF) on each K8s nodes.
Please follow the steps below for NAS S3 (Network Attached Storage Simple Storage Service):
-
Create a FlexGroup volume for NFS.
-
Set up an object-store-server with HTTP enabled and the admin status set to 'up' using the "vserver object-store-server create" command. You have the option to enable HTTPS and set a custom listener port.
-
Create an object-store-server user using the "vserver object-store-server user create -user <username>" command.
-
To obtain the access key and secret key, you can run the following command: "set diag; vserver object-store-server user show -user <username>". However, moving forward, these keys will be supplied during the user creation process or can be retrieved using REST API calls.
-
Establish an object-store-server group using the user created in step 2 and grant access. In this example, we have provided "FullAccess".
-
Create a NAS bucket by setting its type to "nas" and supplying the path to the NFSv3 volume. It's also possible to utilize an S3 bucket for this purpose.
NetApp storage setup – StorageGRID
-
Install the storageGRID software.
-
Create a tenant and bucket.
-
Create user with required permission.
Please check more details in https://docs.netapp.com/us-en/storagegrid-116/primer/index.html