<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Run script after db unquiesce in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12258#M2685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here are the config files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Main Configuration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;### Required Options ###&lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;CONFIG_TYPE=STANDARD&lt;/P&gt;&lt;P&gt;SNAME=S-Landschaft&lt;/P&gt;&lt;P&gt;SNAP_TIMESTAMP_ONLY=N&lt;/P&gt;&lt;P&gt;VOLUMES=xxx:sarch,sdata,slogs,ssoft&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_RETENTIONS=daily:5,weekly:1&lt;/P&gt;&lt;P&gt;NTAP_USERS=xxx:xxx&lt;/P&gt;&lt;P&gt;NTAP_PWD_PROTECTION=Y&lt;/P&gt;&lt;P&gt;TRANSPORT=HTTPS&lt;/P&gt;&lt;P&gt;PORT=443&lt;/P&gt;&lt;P&gt;LOG_NUM=30&lt;/P&gt;&lt;P&gt;LOG_TRACE_ENABLE=Y&lt;/P&gt;&lt;P&gt;SC_TMP_DIR=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;### Snapshot Options ###&lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_RETENTION_AGE=5&lt;/P&gt;&lt;P&gt;SNAPDRIVE=N&lt;/P&gt;&lt;P&gt;SNAPDRIVE_DISCOVERY=N&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_DISABLE=N&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_NODELETE=N&lt;/P&gt;&lt;P&gt;NTAP_CONSISTENCY_GROUP_SNAPSHOT=Y&lt;/P&gt;&lt;P&gt;NTAP_CONSISTENCY_GROUP_TIMEOUT=medium&lt;/P&gt;&lt;P&gt;NTAP_CONSISTENCY_GROUP_WAFL_SYNC=N&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_DELETE_BY_AGE_ONLY=N&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_DEPENDENCY_IGNORE=N&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_RESTORE_AUTO_DETECT=N&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;#####################&lt;/P&gt;&lt;P&gt;### Post Commands ###&lt;/P&gt;&lt;P&gt;#####################&lt;/P&gt;&lt;P&gt;POST_APP_QUIESCE_CMD01=&lt;/P&gt;&lt;P&gt;POST_NTAP_CMD01=&lt;/P&gt;&lt;P&gt;POST_NTAP_DATA_TRANSFER_CMD01=&lt;/P&gt;&lt;P&gt;POST_APP_UNQUIESCE_CMD01=/tmp/delete.sh&lt;/P&gt;&lt;P&gt;POST_RESTORE_CMD01=&lt;/P&gt;&lt;P&gt;POST_CLONE_CREATE_CMD01=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SC_AGENT=&lt;/P&gt;&lt;P&gt;SC_AGENT_TIMEOUT=&lt;/P&gt;&lt;P&gt;SC_AGENT_UNQUIESCE_TIMEOUT=&lt;/P&gt;&lt;P&gt;SC_CLONE_TARGET=&lt;/P&gt;&lt;P&gt;SC_AGENT_WATCHDOG_ENABLE=Y&lt;/P&gt;&lt;P&gt;SC_AGENT_LOG_ENABLE=Y&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;APP_QUIESCE_CMD01=snapcreator.exe -profile S-Landschaft -config xxx1 -action quiesce&lt;/P&gt;&lt;P&gt;APP_QUIESCE_CMD02=snapcreator.exe -profile S-Landschaft -config xxx2 -action quiesce&lt;/P&gt;&lt;P&gt;APP_UNQUIESCE_CMD01=snapcreator.exe -profile S-Landschaft -config xxx1 -action unquiesce&lt;/P&gt;&lt;P&gt;APP_UNQUIESCE_CMD02=snapcreator.exe -profile S-Landschaft -config xxx2 -action unquiesce&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DB 1 specific Configuration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;### Required Options ###&lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;CONFIG_TYPE=PLUGIN&lt;/P&gt;&lt;P&gt;SNAME=&lt;/P&gt;&lt;P&gt;SNAP_TIMESTAMP_ONLY=N&lt;/P&gt;&lt;P&gt;VOLUMES=&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_RETENTIONS=&lt;/P&gt;&lt;P&gt;NTAP_USERS=&lt;/P&gt;&lt;P&gt;NTAP_PWD_PROTECTION=Y&lt;/P&gt;&lt;P&gt;TRANSPORT=&lt;/P&gt;&lt;P&gt;PORT=80&lt;/P&gt;&lt;P&gt;LOG_NUM=30&lt;/P&gt;&lt;P&gt;LOG_TRACE_ENABLE=Y&lt;/P&gt;&lt;P&gt;SC_TMP_DIR=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SC_AGENT=name.domain.xx:9090&lt;/P&gt;&lt;P&gt;SC_AGENT_TIMEOUT=60&lt;/P&gt;&lt;P&gt;SC_AGENT_UNQUIESCE_TIMEOUT=&lt;/P&gt;&lt;P&gt;SC_CLONE_TARGET=&lt;/P&gt;&lt;P&gt;SC_AGENT_WATCHDOG_ENABLE=Y&lt;/P&gt;&lt;P&gt;SC_AGENT_LOG_ENABLE=Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APP_NAME=db2&lt;/P&gt;&lt;P&gt;FS_NAME= &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the debug out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;########## POST APPLICATION UNQUIESCE COMMANDS ##########&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] INFO: Running post application unquiesce command POST_APP_UNQUIESCE_CMD01 [/tmp/delete.sh]&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] DEBUG: Executing command [/tmp/delete.sh]&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] TRACE: Command [/tmp/delete.sh] finished with&lt;/P&gt;&lt;P&gt;exit code: [256]&lt;/P&gt;&lt;P&gt;stdout: []&lt;/P&gt;&lt;P&gt;stderr: []&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] ERROR: Command [/tmp/delete.sh] failed with return code [256] and message []&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] ERROR: [scf-00103] Running post application unquiesce command [/tmp/delete.sh] failed with exit code [256] and message []&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;########## POST APPLICATION UNQUIESCE COMMANDS FINISHED WITH FAILURES ##########&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;########## PRE EXIT COMMANDS ##########&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] INFO: No commands defined&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;########## PRE EXIT COMMANDS FINISHED SUCCESSFULLY ##########&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] DEBUG: Exiting with error code - 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2012 11:03:13 GMT</pubDate>
    <dc:creator>ANDREAS_JANKOWIAK</dc:creator>
    <dc:date>2012-09-11T11:03:13Z</dc:date>
    <item>
      <title>Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12233#M2679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to run a script after my db2 database is unquiesced. &lt;/P&gt;&lt;P&gt;I use SnapCreator 3.5 and Linux. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I created a test script and stored this in /tmp&amp;nbsp; directory. &lt;/P&gt;&lt;P&gt;Then I implemented the script in my SnapCreator configuration file &lt;/P&gt;&lt;P&gt;PRE_APP_UNQUIESCE_CMD01=/tmp/delete.sh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I allowed this script to run in the Agent agent.conf &lt;/P&gt;&lt;P&gt;host: scServer@*&lt;/P&gt;&lt;P&gt;command:*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run this I get an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mon Sep 10 13:46:14 2012] ERROR: Command [/tmp/delete.sh] failed with return code [256] and message []&lt;/P&gt;&lt;P&gt;[Mon Sep 10 13:46:14 2012] ERROR: [scf-00103] Running pre application unquiesce command [/tmp/delete.sh] failed with exit code [256] and message []&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I miss something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:19:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12233#M2679</guid>
      <dc:creator>ANDREAS_JANKOWIAK</dc:creator>
      <dc:date>2025-06-05T06:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12238#M2680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you need a space between command: and * so "command: *" in agent.conf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 12:24:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12238#M2680</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2012-09-10T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12242#M2681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your fast reply.&amp;nbsp; I fixed this but I get the same error.&lt;/P&gt;&lt;P&gt;I now tested this with a standard db2 pluging configuration and it's working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have another configuration here: &lt;/P&gt;&lt;P&gt;The customer wants to snapshot 4 dbs at the same time so I quiesce them serially, take a snapshot and unquiesce them again.&lt;/P&gt;&lt;P&gt;So I have a configuration for each database containing the db2 (un)quiesce command (db2 plugin), and one main configuration file with the filer logon and volumes.&amp;nbsp; The main configuration calls each db2 configuration by e.g command&lt;/P&gt;&lt;P&gt;APP_QUIESCE_CMD01=snapcreator.exe -profile xxxx -config xxx -action quiesce&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I entered my "delete.sh" in the main configuration and also for testing in the database relevant configuration file, I always get the error &lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;Mon Sep 10 13:46:14 2012] ERROR: Command [/tmp/delete.sh] failed with return code [256] and message []&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;[Mon Sep 10 13:46:14 2012] ERROR: [scf-00103] Running pre application unquiesce command [/tmp/delete.sh] failed with exit code [256] and message []&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;Any idea?&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;Thank you very much.&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;BR,&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 12:55:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12242#M2681</guid>
      <dc:creator>ANDREAS_JANKOWIAK</dc:creator>
      <dc:date>2012-09-10T12:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12247#M2682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to put script under some other directory probably, not /tmp and not the directory where scAgent is. The 256 error is comming from your script so you need to troubleshoot why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 15:15:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12247#M2682</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2012-09-10T15:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12250#M2683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the script is working well when I use a standard db2 plugin configuration. &lt;/P&gt;&lt;P&gt;I just have this lines:&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;BR /&gt;/usr/bin/touch /tmp/test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nothing special... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 15:29:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12250#M2683</guid>
      <dc:creator>ANDREAS_JANKOWIAK</dc:creator>
      <dc:date>2012-09-10T15:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12254#M2684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you run with --debug argument and send output as well as config file settings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 09:30:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12254#M2684</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2012-09-11T09:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12258#M2685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here are the config files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Main Configuration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;### Required Options ###&lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;CONFIG_TYPE=STANDARD&lt;/P&gt;&lt;P&gt;SNAME=S-Landschaft&lt;/P&gt;&lt;P&gt;SNAP_TIMESTAMP_ONLY=N&lt;/P&gt;&lt;P&gt;VOLUMES=xxx:sarch,sdata,slogs,ssoft&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_RETENTIONS=daily:5,weekly:1&lt;/P&gt;&lt;P&gt;NTAP_USERS=xxx:xxx&lt;/P&gt;&lt;P&gt;NTAP_PWD_PROTECTION=Y&lt;/P&gt;&lt;P&gt;TRANSPORT=HTTPS&lt;/P&gt;&lt;P&gt;PORT=443&lt;/P&gt;&lt;P&gt;LOG_NUM=30&lt;/P&gt;&lt;P&gt;LOG_TRACE_ENABLE=Y&lt;/P&gt;&lt;P&gt;SC_TMP_DIR=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;### Snapshot Options ###&lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_RETENTION_AGE=5&lt;/P&gt;&lt;P&gt;SNAPDRIVE=N&lt;/P&gt;&lt;P&gt;SNAPDRIVE_DISCOVERY=N&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_DISABLE=N&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_NODELETE=N&lt;/P&gt;&lt;P&gt;NTAP_CONSISTENCY_GROUP_SNAPSHOT=Y&lt;/P&gt;&lt;P&gt;NTAP_CONSISTENCY_GROUP_TIMEOUT=medium&lt;/P&gt;&lt;P&gt;NTAP_CONSISTENCY_GROUP_WAFL_SYNC=N&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_DELETE_BY_AGE_ONLY=N&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_DEPENDENCY_IGNORE=N&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_RESTORE_AUTO_DETECT=N&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;#####################&lt;/P&gt;&lt;P&gt;### Post Commands ###&lt;/P&gt;&lt;P&gt;#####################&lt;/P&gt;&lt;P&gt;POST_APP_QUIESCE_CMD01=&lt;/P&gt;&lt;P&gt;POST_NTAP_CMD01=&lt;/P&gt;&lt;P&gt;POST_NTAP_DATA_TRANSFER_CMD01=&lt;/P&gt;&lt;P&gt;POST_APP_UNQUIESCE_CMD01=/tmp/delete.sh&lt;/P&gt;&lt;P&gt;POST_RESTORE_CMD01=&lt;/P&gt;&lt;P&gt;POST_CLONE_CREATE_CMD01=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SC_AGENT=&lt;/P&gt;&lt;P&gt;SC_AGENT_TIMEOUT=&lt;/P&gt;&lt;P&gt;SC_AGENT_UNQUIESCE_TIMEOUT=&lt;/P&gt;&lt;P&gt;SC_CLONE_TARGET=&lt;/P&gt;&lt;P&gt;SC_AGENT_WATCHDOG_ENABLE=Y&lt;/P&gt;&lt;P&gt;SC_AGENT_LOG_ENABLE=Y&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;APP_QUIESCE_CMD01=snapcreator.exe -profile S-Landschaft -config xxx1 -action quiesce&lt;/P&gt;&lt;P&gt;APP_QUIESCE_CMD02=snapcreator.exe -profile S-Landschaft -config xxx2 -action quiesce&lt;/P&gt;&lt;P&gt;APP_UNQUIESCE_CMD01=snapcreator.exe -profile S-Landschaft -config xxx1 -action unquiesce&lt;/P&gt;&lt;P&gt;APP_UNQUIESCE_CMD02=snapcreator.exe -profile S-Landschaft -config xxx2 -action unquiesce&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DB 1 specific Configuration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;### Required Options ###&lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;CONFIG_TYPE=PLUGIN&lt;/P&gt;&lt;P&gt;SNAME=&lt;/P&gt;&lt;P&gt;SNAP_TIMESTAMP_ONLY=N&lt;/P&gt;&lt;P&gt;VOLUMES=&lt;/P&gt;&lt;P&gt;NTAP_SNAPSHOT_RETENTIONS=&lt;/P&gt;&lt;P&gt;NTAP_USERS=&lt;/P&gt;&lt;P&gt;NTAP_PWD_PROTECTION=Y&lt;/P&gt;&lt;P&gt;TRANSPORT=&lt;/P&gt;&lt;P&gt;PORT=80&lt;/P&gt;&lt;P&gt;LOG_NUM=30&lt;/P&gt;&lt;P&gt;LOG_TRACE_ENABLE=Y&lt;/P&gt;&lt;P&gt;SC_TMP_DIR=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SC_AGENT=name.domain.xx:9090&lt;/P&gt;&lt;P&gt;SC_AGENT_TIMEOUT=60&lt;/P&gt;&lt;P&gt;SC_AGENT_UNQUIESCE_TIMEOUT=&lt;/P&gt;&lt;P&gt;SC_CLONE_TARGET=&lt;/P&gt;&lt;P&gt;SC_AGENT_WATCHDOG_ENABLE=Y&lt;/P&gt;&lt;P&gt;SC_AGENT_LOG_ENABLE=Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APP_NAME=db2&lt;/P&gt;&lt;P&gt;FS_NAME= &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the debug out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;########## POST APPLICATION UNQUIESCE COMMANDS ##########&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] INFO: Running post application unquiesce command POST_APP_UNQUIESCE_CMD01 [/tmp/delete.sh]&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] DEBUG: Executing command [/tmp/delete.sh]&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] TRACE: Command [/tmp/delete.sh] finished with&lt;/P&gt;&lt;P&gt;exit code: [256]&lt;/P&gt;&lt;P&gt;stdout: []&lt;/P&gt;&lt;P&gt;stderr: []&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] ERROR: Command [/tmp/delete.sh] failed with return code [256] and message []&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] ERROR: [scf-00103] Running post application unquiesce command [/tmp/delete.sh] failed with exit code [256] and message []&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;########## POST APPLICATION UNQUIESCE COMMANDS FINISHED WITH FAILURES ##########&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;########## PRE EXIT COMMANDS ##########&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] INFO: No commands defined&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;########## PRE EXIT COMMANDS FINISHED SUCCESSFULLY ##########&lt;/P&gt;&lt;P&gt;[Tue Sep 11 12:23:43 2012] DEBUG: Exiting with error code - 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 11:03:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12258#M2685</guid>
      <dc:creator>ANDREAS_JANKOWIAK</dc:creator>
      <dc:date>2012-09-11T11:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12262#M2686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where does the /tmp/delete.sh script exist? On the SC server or SC agent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default if SC_AGENT is set all CMDs will be run on agent. If SC_AGENT is not set then all CMDs will be run on server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can override this behavior by specifying SERVER: or AGENT: and a space before command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking SC is running your script on the SC server and that isnt where it exists which is consistent with error 256 it means command not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SC_AGENT=myhost.mydomain.com&lt;/P&gt;&lt;P&gt;POST_APP_UNQUIESCE_CMD01=AGENT: /tmp/delete.sh&lt;/P&gt;&lt;P&gt;APP_QUIESCE_CMD01=SERVER: snapcreator.exe -profile S-Landschaft -config xxx1 -action quiesce&lt;/P&gt;&lt;P&gt;APP_QUIESCE_CMD02=SERVER: snapcreator.exe -profile S-Landschaft -config xxx2 -action quiesce&lt;/P&gt;&lt;P&gt;APP_UNQUIESCE_CMD01=SERVER: snapcreator.exe -profile S-Landschaft -config xxx1 -action unquiesce&lt;/P&gt;&lt;P&gt;APP_UNQUIESCE_CMD02=SERVER: snapcreator.exe -profile S-Landschaft -config xxx2 -action unquiesce&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 11:09:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12262#M2686</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2012-09-11T11:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12267#M2687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;Keith&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot, that's the solution ;o) &lt;/P&gt;&lt;P&gt;The script is running now on the first system.&lt;/P&gt;&lt;P&gt;As you can see we have two system in the configuration, is it also possible to specify different commands for the two agents? &lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;Agent1 should execute script delete.sh&lt;/P&gt;&lt;P&gt;Agent2 should execute script touch.sh &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 12:00:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12267#M2687</guid>
      <dc:creator>ANDREAS_JANKOWIAK</dc:creator>
      <dc:date>2012-09-11T12:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12271#M2688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem andreas!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah I didnt understand that there was two systems involved until I saw the use of the CMDs and your configs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a really cool feature of SC where you can run CMDs in different places but unfortunately not well documented, we will fix that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition the one thing I didnt tell you is there is a third location you can run CMDs CLONETARGET the CLONETARGET acts as a second agent SC_CLONE_TARGET and is used mostly for cloning applications but you can also use it to fire CMDs, just an FYI in case your setup requires talking to a second host.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SC 4.0 you can send CMDs to any agent so this is only getting better &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 12:58:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12271#M2688</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2012-09-11T12:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12274#M2689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks ;o)&amp;nbsp; Look forward to see Version 4.0 ;o) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how should the configuration look like now if I want to specify script A on system A and script B on system B ?&lt;/P&gt;&lt;P&gt;Is there a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a good documentation about the configuration options of snapcreator?&amp;nbsp; (beside the installation dokumentation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 13:35:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12274#M2689</guid>
      <dc:creator>ANDREAS_JANKOWIAK</dc:creator>
      <dc:date>2012-09-11T13:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12278#M2690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If neither System A or B are SC server then you would&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) install agent on both hosts&lt;/P&gt;&lt;P&gt;2) use AGENT: in front of cmds to specify commands going to SC_AGENT&lt;/P&gt;&lt;P&gt;3) use CLONETARGET: in front of cmds to specify commands going to SC_CLONE_TARGET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If one of the systems is SC server then use SERVER: to specify cmds which should run on server and AGENT: command which should run on agent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 12:06:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12278#M2690</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2012-09-12T12:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Run script after db unquiesce</title>
      <link>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12283#M2691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for your help.&lt;/P&gt;&lt;P&gt;Have a nice weekend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 11:26:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Run-script-after-db-unquiesce/m-p/12283#M2691</guid>
      <dc:creator>ANDREAS_JANKOWIAK</dc:creator>
      <dc:date>2012-09-14T11:26:17Z</dc:date>
    </item>
  </channel>
</rss>

