Data Backup and Recovery Discussions

DB2 Plugin version

francoisbnc

I planned to use SC with DB2 plugin for cloning purpose and I saw there are many activities on https://github.com/NetApp/SC-DB2.

What version I should use, the Snapcreator framework 4.0 with out of the box DB2 plugin or is there a way to integrate that latest from github?

I'm confused,  is that someone can enlighten me.

François

1 ACCEPTED SOLUTION

sivar

If you are simply looking for SC to run a PERL script, it is easy.

example: PRE_APP_QUIESCE_CMD01=perl /scripts/myperlscript.pl

You may use sh, ksh, bash etc as well with CMD01, CMD02 syntax.

If you are asking about a custom APP that you put together as a perl module, then you can use the below example.

Example: YOURPLUGIN.pm

  1. scAgentX.X.X/plugins/YOURPLUGIN/YOURPLUGIN.pm
  2. scServerX.X.X/plugins/ YOURPLUGIN/YOURPLUGIN.pm

The plug-in will be loaded in Snap Creator with the APP_NAME parameter, in this case APP_NAME=YOURPLUGIN

###########

You will need to restart the scAgent after placing the YOURPLUGIN.pm file.

(Example: for POSTRGRES, you download the plugin from repository and place them under corresponding locations as mentioned above).

Please let me know if you have questions.

View solution in original post

3 REPLIES 3

sivar

Hello François,

Please use the integrated DB2 plugin that comes with SnapCreator Framework 4.0.

Thanks,

Siva Ramanathan

francoisbnc

Just by curiosity, if I need use git repo, how can I integrate perl script in SC.

Is there a documentation to explain that?

Thanx

sivar

If you are simply looking for SC to run a PERL script, it is easy.

example: PRE_APP_QUIESCE_CMD01=perl /scripts/myperlscript.pl

You may use sh, ksh, bash etc as well with CMD01, CMD02 syntax.

If you are asking about a custom APP that you put together as a perl module, then you can use the below example.

Example: YOURPLUGIN.pm

  1. scAgentX.X.X/plugins/YOURPLUGIN/YOURPLUGIN.pm
  2. scServerX.X.X/plugins/ YOURPLUGIN/YOURPLUGIN.pm

The plug-in will be loaded in Snap Creator with the APP_NAME parameter, in this case APP_NAME=YOURPLUGIN

###########

You will need to restart the scAgent after placing the YOURPLUGIN.pm file.

(Example: for POSTRGRES, you download the plugin from repository and place them under corresponding locations as mentioned above).

Please let me know if you have questions.

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public