Deshabilitar o habilitar BranchCache en recursos compartidos SMB de ONTAP
Es posible deshabilitar BranchCache en la máquina virtual de almacenamiento (SVM) si se cambia el modo operativo de BranchCache a disabled. Puede habilitar BranchCache en cualquier momento cambiando el modo operativo para ofrecer servicios de BranchCache por recurso compartido o automáticamente para todos los recursos compartidos.
-
Ejecute el comando apropiado:
Si desea… Introduzca lo siguiente… Deshabilite BranchCache
vserver cifs branchcache modify -vserver vserver_name -operating-mode disableHabilite BranchCache por recurso compartido
vserver cifs branchcache modify -vserver vserver_name -operating-mode per-shareHabilite BranchCache para todos los recursos compartidos
vserver cifs branchcache modify -vserver vserver_name -operating-mode all-shares -
Compruebe que el modo operativo BranchCache esté configurado con la configuración deseada:
vserver cifs branchcache show -vserver vserver_name
En el siguiente ejemplo, se deshabilita BranchCache en la SVM vs1:
cluster1::> vserver cifs branchcache modify -vserver vs1 -operating-mode disable
cluster1::> vserver cifs branchcache show -vserver vs1
Vserver: vs1
Supported BranchCache Versions: enable_all
Path to Hash Store: /hash_data
Maximum Size of the Hash Store: 20GB
Encryption Key Used to Secure the Hashes: -
CIFS BranchCache Operating Modes: disable