NetApp OnTAP Python API Installation

To install the NetApp OnTAP Python API, run the following commands as root:

# pip3 install netapp-ontap --target /opt/bacula/python

Unfortunately, the information needed to access the OnTAP API is usually different from the NDMP information, so it requires to specify a few new parameters on the plugin command line such as:

  • ontap_user

  • ontap_password

  • ontap_host

  • ontap_vserver

  • ontap_ignore_ssl

  • ontap_profile

To test the connectivity with the OnTAP API interface of your NetApp system, you may use the following command to list the volumes on the vserver:

# /opt/bacula/bin/snapmgr.py -e "vserver" -u "user" -f "host" -p "password" -x -V
vol1
svm1_root
backup_data1_1

If you have an error such as 401 Client Error: Unauthorized for url, you may have to use an other interface to query the OnTAP data.

See also

Previous articles:

Go back to: Installation.