Set IPv4 or IPv6 using the preferences file
The preferences files contain settings that control ONTAP tools for VMware vSphere operations. Under most circumstances, you do not have to modify the settings in these files. It is helpful to know which preference files ONTAP tools uses.
ONTAP tools has several preference files. These files include entry keys and values that determine how ONTAP tools performs various operations. The following are some of the preference files that ONTAP tools uses:
/opt/netapp/vscserver/etc/kamino/kaminoprefs.xml
/opt/netapp/vscserver/etc/vsc/vscPreferences.xml
You might have to modify the preferences files in certain situations. For example, if you use iSCSI, or NFS and the subnet is different between your ESXi hosts and your storage system, you have to modify the preferences files. If you do not modify the settings in the preferences file, datastore provisioning fails because ONTAP tools cannot mount the datastore.
There is a new option added to the preference file kaminoprefs.xml
that you can set to enable support for IPv4 or IPv6 for all storage systems added to ONTAP tools.
-
The
default.override.option.provision.mount.datastore.address.family
parameter has been added to thekaminoprefs.xml
preference file to set a preferred data LIF protocol for datastore provisioning.This preference is applicable for all of the storage systems added to ONTAP tools.
-
The values for the new option are
IPv4
,IPv6
, andNONE
. -
By default the value is set to
NONE
.
Value |
Description |
NONE |
|
IPv4 |
|
IPv6 |
|
To configure the IPv4 or IPv6 using the user interface, see the following sections: