#!/bin/sh # SHLINT:yes ####################################################################### # copyright (C) 2017 by NetApp. All Rights Reserved. # ####################################################################### . /etc/netapp_common.subr pre_ft_kmip_file="/var/kmip/kmip_server.ini" cloudOntap=0 if IsKenvTrue "bootarg.vm.aws" || \ KenvMatches "bootarg.vm.provider" "azure" || \ ( IsKenvTrue "bootarg.vm.vsa" && ! IsKenvTrue "bootarg.vm.sdot_script" ); then cloudOntap=1 fi if [ $cloudOntap -ne 1 -a -f "$pre_ft_kmip_file" ]; then /bin/cat << EOF Error: External key management is configured on the cluster. Please unconfigure the external key management before upgrading to Data ONTAP 9.3. To unconfigure, run the command: "security key-manager delete-kmip-config" EOF exit 1 fi exit 0