Skip to main content
SnapCenter Software 4.5
A newer release of this product is available.

Custom plug-in in SnapCenter

Contributors netapp-nsriram

Custom plug-in in SnapCenter

The custom plug-in created using Java, PERL, or NATIVE style can be installed on the host using SnapCenter Server to enable data protection of your application. You must have exported the plug-in to install it on the SnapCenter host using the procedure provided in this tutorial.

Creating a plug-in description file

For every plug-in created, you must have a description file. The description file describes the details of the plug-in. The name of the file must be Plugin_descriptor.xml.

Using plug-in descriptor file attributes and its significance

Attribute Description


Name of the plug-in. Alpha numeric characters are allowed. For example, DB2, MYSQL, MongoDB

For plug-ins created in NATIVE style, ensure that you do not provide the extension of the file. For example, if the plug-in name is, specify the name as MongoDB.


Plug-in version. Can include both major and minor version. For example, 1.0, 1.1, 2.0, 2.1


The plug-in name to be displayed in SnapCenter Server. If multiple versions of the same plug-in are written, ensure that the display name is the same across all versions.


Language used to create the plug-in. Supported values are Perl, Java and Native. Native plug-in type includes Unix/Linux shell scripts, Windows scripts, Python or any other scripting language.


The host OS name where the plug-in is installed. Valid values are Windows and Linux. It is possible for a single plug-in to be available for deployment on multiple OS types, like PERL type plug-in.


The host OS version where plug-in is installed.


Name of resource type that the plug-in can support. For example, database, instance, collections.


In case, the ResourceName is hierarchically dependent on another Resource type, then Parent determines the parent ResourceType.

For instance, DB2 plug-in, the ResourceName “Database” has a parent “Instance”.


Yes or No. Determines if the recovery tab is displayed in the restore wizard.


Yes or No. Determines if the resources, which are auto discovered or have not been auto discovered need credentials to perform the data protection operations after discovering the storage.


Yes or No. Determines if the plug-in requires FileSystem plug-in integration for clone workflow.

An example of the Plugin_descriptor.xml file for custom plug-in DB2 is as follows:

<DisplayName>Custom DB2 Plugin</DisplayName>

Creating a ZIP file

After a plug-in is developed and a descriptor file is created, you must add the plug-in files and the Plugin_descriptor.xml file to a folder and zip it.

You must consider the following before creating a ZIP file:

  • The script name must be same as the plug-in name.

  • For PERL plug-in, the ZIP folder must contain a folder with the script file and the descriptor file must be outside this folder. The folder name must be the same as the plug-in name.

  • For plug-ins other than the PERL plug-in, the ZIP folder must contain the descriptor and the script files.

  • The OS version must be a number.


  • DB2 plug-in: add and Plugin_descriptor.xml file to “”.

  • Plug-in developed using Java: add jar files, dependent jar files, and Plugin_descriptor.xml file to a folder and zip it.

Uploading the plug-in ZIP file

You must upload the plug-in ZIP file to SnapCenter Server so that the plug-in is available for deployment on the desired host.

You can upload the plug-in using the UI or cmdlets.


  • Upload the plug-in ZIP file as part of Add or Modify Host workflow wizard

  • Click “Select to upload custom plug-in”


  • Upload-SmPluginPackage cmdlet

    For example, PS> Upload-SmPluginPackage -AbsolutePath c:\

    For detailed information about PowerShell cmdlets, use the SnapCenter cmdlet help or see the cmdlet reference information.

Deploying the custom plug-ins

The uploaded custom plug-in is now available for deployment on the desired host as part of the Add and Modify Host workflow. You can have multiple version of plug-ins uploaded to the SnapCenter Server and you can select the desired version to deploy on a specific host.

For more information on how to upload the plug-in see, Add hosts and install plug-in packages on remote hosts