Data Backup and Recovery

how to integrate with protection manager local backup only policy

pascalc
5,087 Views

I have AIX luns provisionned by snapdrive with an AIX JFS2 on them.

I want to take snapshots of them using snapdrive, schedule it with snapcreator and have this registered on protection manager.

I have created a snapcreator script calling snapdrive snap create... on AIX and installed the snapcreator agent there too

From snapcreator I have verified I can call and make it eecute the snapshot using this script.

Now I want to integrate with protection manager. So I put in my SC config the following lines :

NTAP_PM_UPDATE=Y

NTAP_DFM_DATA_SET=fas3140b:snapcreator_testthin/testthin

NTAP_PM_RUN_BACKUP=N

Q1:

How do I create the dataset snapcreator_testthin  outside of the SC gui ?

The pm dataset creation is only proposed at the sc profile creation time, not on profile updates.

Q2:

If I have created the PM dataset through SC the first time, and use the preceeding configuration lines, I see no PM updates in PM for this dataset.

In the log I can only see :

[Thu Jun 16 15:00:00 2011] DEBUG: GMT - Thu Jun 16 13:00:00 2011

[Thu Jun 16 15:00:00 2011] DEBUG: Version: NetApp Snap Creator Framework 3.3.0

[Thu Jun 16 15:00:00 2011] DEBUG: Profile: ientfr02

[Thu Jun 16 15:00:00 2011] DEBUG: Action: snap

[Thu Jun 16 15:00:00 2011] DEBUG: Plugin: null

[Thu Jun 16 15:00:00 2011] DEBUG: Policy: hourly

[Thu Jun 16 15:00:00 2011] DEBUG: Snapshot Name: sc-testthin-hourly-20110616150000

[Thu Jun 16 15:00:00 2011] DEBUG: Timestamp: 20110616150000

[Thu Jun 16 15:00:00 2011] INFO: Removing log testthin.out.20110608160001

[Thu Jun 16 15:00:00 2011] INFO: Removing log testthin.debug.20110608160001

########## Parsing Environment Parameters ##########

[Thu Jun 16 15:00:00 2011] DEBUG: Parsing VOLUMES - filer: fas3140b volume: testthin

[Thu Jun 16 15:00:00 2011] DEBUG: Parsing NTAP_USERS - filer: fas3140a user: snapcreator

[Thu Jun 16 15:00:00 2011] DEBUG: Parsing NTAP_USERS - filer: fas3140b user: snapcreator

[Thu Jun 16 15:00:00 2011] DEBUG: Parsing NTAP_SNAPSHOT_RETENTIONS - policy: hourly retention: 0

[Thu Jun 16 15:00:00 2011] DEBUG: Parsing NTAP_SNAPSHOT_RETENTIONS - policy: daily retention: 7

[Thu Jun 16 15:00:00 2011] DEBUG: Parsing NTAP_DFM_DATA_SET - filer: fas3140b volume: testthin DFM dataset: snapcreator_testthin

########## PRE APPLICATION QUIESCE COMMANDS ##########

[Thu Jun 16 15:00:00 2011] INFO: No commands defined

########## PRE APPLICATION QUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## APPLICATION QUIESCE COMMANDS ##########

[Thu Jun 16 15:00:00 2011] INFO: Running application quiesce command APP_QUIESCE_CMD01 [/usr/local/snapcreator/scripts/quiece hourly sc-testthin]

[Thu Jun 16 15:00:00 2011] DEBUG: Executing command [/usr/local/snapcreator/scripts/quiece hourly sc-testthin]

[Thu Jun 16 15:00:02 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Command [/usr/local/snapcreator/scripts/quiece hourly sc-testthin] finished with

exit code: [0]

stdout: [hourly sc-testthin]

stderr: []

[Thu Jun 16 14:55:02 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Executing command [/usr/local/snapcreator/scripts/quiece hourly sc-testthin]

[Thu Jun 16 14:55:03 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Command [/usr/local/snapcreator/scripts/quiece hourly sc-testthin] finished with

exit code: [0]

stdout: [hourly sc-testthin]

stderr: []

[Thu Jun 16 14:55:03 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Command [/usr/local/snapcreator/scripts/quiece hourly sc-testthin] finished successfully with message

[hourly sc-testthin]

[Thu Jun 16 15:00:02 2011] INFO: Running application quiesce command [/usr/local/snapcreator/scripts/quiece hourly sc-testthin] finished successfully

########## APPLICATION QUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## POST APPLICATION QUIESCE COMMANDS ##########

[Thu Jun 16 15:00:02 2011] INFO: No commands defined

########## POST APPLICATION QUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## PRE NETAPP COMMANDS ##########

[Thu Jun 16 15:00:02 2011] INFO: No commands defined

########## PRE NETAPP COMMANDS FINISHED SUCCESSFULLY ##########

[Thu Jun 16 15:00:02 2011] INFO: Checking API version on fas3140b

[Thu Jun 16 15:00:05 2011] DEBUG: ZAPI

<system-get-ontapi-version></system-get-ontapi-version>

[Thu Jun 16 15:00:07 2011] DEBUG: API Version 1.9 Detected, using that version for fas3140b

[Thu Jun 16 15:00:07 2011] DEBUG: Connected to fas3140b using API Version 1.9

########## Generating Info ASUP on fas3140b ##########

[Thu Jun 16 15:00:07 2011] DEBUG: ZAPI

<ems-autosupport-log>

    <app-version>NetApp Snap Creator Framework 3.3.0</app-version>

    <auto-support>false</auto-support>

    <category>Backup Started</category>

    <computer-name>SRVMGTNETAPP02</computer-name>

    <event-description>INFO: NetApp Snap Creator Framework 3.3.0 Backup for sc-testthin ACTION: snap POLICY: hourly Plugin: null Volumes: fas3140b:testthin Started</event-description>

    <event-id>0</event-id>

    <event-source>SNAPCREATOR</event-source>

    <log-level>6</log-level>

</ems-autosupport-log>

[Thu Jun 16 15:00:07 2011] INFO: NetApp ASUP create on fas3140b finished successfully

########## Gathering Information for fas3140b:testthin ##########

[Thu Jun 16 15:00:07 2011] INFO: Performing NetApp Snapshot Inventory for testthin on fas3140b

[Thu Jun 16 15:00:07 2011] DEBUG: ZAPI

<snapshot-list-info>

    <volume>testthin</volume>

    <terse>true</terse>

</snapshot-list-info>

[Thu Jun 16 15:00:07 2011] INFO: NetApp Snapshot Inventory of testthin on fas3140b completed Successfully

########## Running NetApp Snapshot Rename on Primary fas3140b ##########

########## SNAPSHOT CREATE COMMANDS ##########

[Thu Jun 16 15:00:07 2011] INFO: Running snapshot create command NTAP_SNAPSHOT_CREATE_CMD01 [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110616150000]

[Thu Jun 16 15:00:07 2011] DEBUG: Executing command [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110616150000]

[Thu Jun 16 15:00:25 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Command [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110616150000] finished with

exit code: [0]

stdout: [Starting snap create /testthin

  WARNING:  DO NOT CONTROL-C!

            If snap create is interrupted, incomplete snapdrive

         generated data may remain on the filer volume(s)

         which may interfere with other snap operations.

Successfully created snapshot sc-testthin-hourly-20110616150000 on fas3140b:/vol/testthin

    snapshot sc-testthin-hourly-20110616150000 contains:

    disk group testvg containing host volumes

        testlv (filesystem: /testthin)]

stderr: []

[Thu Jun 16 14:55:09 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Executing command [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110616150000]

[Thu Jun 16 14:55:26 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Command [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110616150000] finished with

exit code: [0]

stdout: [Starting snap create /testthin

  WARNING:  DO NOT CONTROL-C!

            If snap create is interrupted, incomplete snapdrive

         generated data may remain on the filer volume(s)

         which may interfere with other snap operations.

Successfully created snapshot sc-testthin-hourly-20110616150000 on fas3140b:/vol/testthin

    snapshot sc-testthin-hourly-20110616150000 contains:

    disk group testvg containing host volumes

        testlv (filesystem: /testthin)]

stderr: []

[Thu Jun 16 14:55:26 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Command [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110616150000] finished successfully with message

[Starting snap create /testthin

  WARNING:  DO NOT CONTROL-C!

            If snap create is interrupted, incomplete snapdrive

         generated data may remain on the filer volume(s)

         which may interfere with other snap operations.

Successfully created snapshot sc-testthin-hourly-20110616150000 on fas3140b:/vol/testthin

    snapshot sc-testthin-hourly-20110616150000 contains:

    disk group testvg containing host volumes

        testlv (filesystem: /testthin)]

[Thu Jun 16 15:00:25 2011] INFO: Running snapshot create command [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110616150000] finished successfully

########## SNAPSHOT CREATE COMMANDS FINISHED SUCCESSFULLY ##########

########## PRE APPLICATION UNQUIESCE COMMANDS ##########

[Thu Jun 16 15:00:25 2011] INFO: No commands defined

########## PRE APPLICATION UNQUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## APPLICATION UNQUIESCE COMMANDS ##########

[Thu Jun 16 15:00:25 2011] INFO: No commands defined

########## APPLICATION UNQUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## POST APPLICATION UNQUIESCE COMMANDS ##########

[Thu Jun 16 15:00:25 2011] INFO: No commands defined

########## POST APPLICATION UNQUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## Generating Info ASUP on fas3140b ##########

[Thu Jun 16 15:00:25 2011] DEBUG: ZAPI

<ems-autosupport-log>

    <app-version>NetApp Snap Creator Framework 3.3.0</app-version>

    <auto-support>false</auto-support>

    <category>Backup Completed</category>

    <computer-name>SRVMGTNETAPP02</computer-name>

    <event-description>INFO: NetApp Snap Creator Framework 3.3.0 Backup for sc-testthin ACTION: snap POLICY: hourly Plugin: null Volumes: fas3140b:testthin Completed</event-description>

    <event-id>0</event-id>

    <event-source>SNAPCREATOR</event-source>

    <log-level>6</log-level>

</ems-autosupport-log>

[Thu Jun 16 15:00:25 2011] INFO: NetApp ASUP create on fas3140b finished successfully

########## Checking Protection Manager dataset snapcreator_testthin ##########

[Thu Jun 16 15:00:25 2011] INFO: Checking if Protection Manager dataset snapcreator_testthin is conformant

[Thu Jun 16 15:00:25 2011] DEBUG: ZAPI

<dataset-list-info-iter-start>

    <object-name-or-id>snapcreator_testthin</object-name-or-id>

</dataset-list-info-iter-start>

I have set up a PM protection policy of  "local backup only" to the dataset, with a schedule including hourly,daily, monthly frequency.

After SC snapshot, the dataset still remains with protection status "uninitialized"

Changing NTAP_PM_RUN_BACKUP=N to Y   does not change anything.

Is it possible to have this kind of snapshot registered in PM ? and how ?

1 ACCEPTED SOLUTION

ktenzer
5,087 Views

The reason you are getting an error is that OM_PORT=8443 is wrong. That is the https admin port we use the management port. Change it to OM_PORT=8488 and it should work for TRANSPORT=HTTPS. If TRANSPORT=HTTP then OM_PORT=8088.

Let us know if this works

Regards,

Keith

View solution in original post

4 REPLIES 4

ktenzer
5,087 Views

Hi

Q1: You can create SC dataset outside of GUI w/the following command: snapcreator --profile <profile> --action pmsetup

Q2: This configuration should work. The issue seems to be that the dataset in PM is blank so SC is not finding any members. Make sure you add volumes or qtrees to dataset in PM, SC does not do this for you. Also you need to set a protection policy to dataset in PM, make sure that is done.

There is a demo I did using db2 and PM a while back, it is a video on SC community page called db2 dr demo, I would check that out 🙂

Regards,

Keith

pascalc
5,087 Views

Q1: I get the following error when doing trying the pmsetup on a profile not having the PM dataset created ...

Répertoire de F:\snapcreator\scServer3.3.0\configs\ientfr02

28/05/2011  16:03    <REP>          .

28/05/2011  16:03    <REP>          ..

01/06/2011  23:52            50 337 aix-rootvg.conf

16/06/2011  15:15            50 470 echange.conf

01/06/2011  23:24            50 432 jde.conf

28/05/2011  16:02            50 551 ora-owpy.conf

28/05/2011  14:07            50 454 produit.conf

16/06/2011  15:57            50 474 testthin.conf

08/06/2011  14:35            50 468 usrlocal.conf

               7 fichier(s)          353 186 octets

     Total des fichiers listés :

              14 fichier(s)          706 372 octets

              11 Rép(s)   3 982 225 408 octets libres

F:\snapcreator\scServer3.3.0>snapcreator --profile echange  --action pmsetup --

onfig_dir f:\snapcreator\scServer3.3.0\configs\ientfr02

Uncaught exception from user code:

syntax error at line 1, column 49, byte 49:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

================================================^

<html><head>

<title>404 Not Found</title>

at /<F:\snapcreator\scServer3.3.0\snapcreator.exe>XML/Parser.pm line 187

at /<F:\snapcreator\scServer3.3.0\snapcreator.exe>XML/Parser.pm line 192

        XML::Parser::parse('XML::Parser=HASH(0x33ad0a8)', '<!DOCTYPE HTML PUBLI

"-//IETF//DTD HTML 2.0//EN">\x{a}<html><hea...') called at /<F:\snapcreator\sc

erver3.3.0\snapcreator.exe>NaServer.pm line 887

        NaServer::parse_xml('NaServer=HASH(0x5505ff8)', '<!DOCTYPE HTML PUBLIC

-//IETF//DTD HTML 2.0//EN">\x{a}<html><hea...', '<dataset-create><dataset-name>

napcreator_echange</dataset-na...') called at /<F:\snapcreator\scServer3.3.0\sn

pcreator.exe>NaServer.pm line 724

        NaServer::invoke_elem('NaServer=HASH(0x5505ff8)', 'NaElement=HASH(0x550

2c8)') called at snapcreator.pl line 3729

        main::NETAPP_PM_DATA_SET_CREATE called at snapcreator.pl line 1499

The logs contains :

[Fri Jun 17 18:16:30 2011] DEBUG: GMT - Fri Jun 17 16:16:30 2011

[Fri Jun 17 18:16:30 2011] DEBUG: Version: NetApp Snap Creator Framework 3.3.0

[Fri Jun 17 18:16:30 2011] DEBUG: Profile: echange

[Fri Jun 17 18:16:30 2011] DEBUG: Action: pmsetup

[Fri Jun 17 18:16:30 2011] DEBUG: Plugin: null

[Fri Jun 17 18:16:30 2011] DEBUG: Policy: null

[Fri Jun 17 18:16:30 2011] DEBUG: Snapshot Name: null

[Fri Jun 17 18:16:30 2011] DEBUG: Timestamp: 20110617181630

########## Parsing Environment Parameters ##########

[Fri Jun 17 18:16:30 2011] DEBUG: Parsing VOLUMES - filer: fas3140a volume: v_ientfr02_echange

[Fri Jun 17 18:16:30 2011] DEBUG: Parsing NTAP_USERS - filer: fas3140a user: snapcreator

[Fri Jun 17 18:16:30 2011] DEBUG: Parsing NTAP_USERS - filer: fas3140b user: snapcreator

[Fri Jun 17 18:16:30 2011] DEBUG: Parsing NTAP_SNAPSHOT_RETENTIONS - policy: daily retention: 7

[Fri Jun 17 18:16:30 2011] DEBUG: Parsing NTAP_DFM_DATA_SET - filer: fas3140a volume: v_ientfr02_echange DFM dataset: echange

[Fri Jun 17 18:16:31 2011] DEBUG: ZAPI

<dataset-create>

        <dataset-name>snapcreator_echange</dataset-name>

        <dataset-description>NetApp Snap Creator Framework dataset</dataset-description>

        <is-application-data>true</is-application-data>

        <application-info>

                <application-name>NetApp Snap Creator Framework</application-name>

                <application-server-name>snapcreator</application-server-name>

                <application-version>NetApp Snap Creator Framework 3.3.0</application-version>

                <is-application-responsible-for-primary-backup>true</is-application-responsible-for-primary-backup>

        </application-info>

</dataset-create>

Q2: For the testthin profile whose dataset was created initially by snapcreator, as you can see, I have  already setup correctly the dataset, but as I said, the protection always appears uninitialised

Here is the debug log when snapcreator schedules a snapshot using the testthin profile :

Cannot encode 'config' element as 'hash'. Will be encoded as 'map' instead

Cannot encode 'config' element as 'hash'. Will be encoded as 'map' instead

Uncaught exception from user code:

syntax error at line 1, column 49, byte 49:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

================================================^

<html><head>

<title>404 Not Found</title>

at /<F:\snapcreator\scServer3.3.0\snapcreator.exe>XML/Parser.pm line 187

at /<F:\snapcreator\scServer3.3.0\snapcreator.exe>XML/Parser.pm line 192

        XML::Parser::parse('XML::Parser=HASH(0x474dc28)', '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\x{a}<html><hea...') called at /<F:\snapcreator\scServer3.3.0\snapcreator.exe>NaServer.pm line 887

        NaServer::parse_xml('NaServer=HASH(0x474db98)', '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\x{a}<html><hea...', '<dataset-list-info-iter-start><object-name-or-id>snapcreator_...') called at /<F:\snapcreator\scServer3.3.0\snapcreator.exe>NaServer.pm line 724

        NaServer::invoke_elem('NaServer=HASH(0x474db98)', 'NaElement=HASH(0x4755028)') called at snapcreator.pl line 3767

        main::NETAPP_PM_DATA_SET_CHECK('fas3140b', 'snapcreator_testthin') called at snapcreator.pl line 3344

        main::NETAPP_PM('fas3140b') called at snapcreator.pl line 2031

and the normal log file :

[Fri Jun 17 18:00:00 2011] DEBUG: GMT - Fri Jun 17 16:00:00 2011

[Fri Jun 17 18:00:00 2011] DEBUG: Version: NetApp Snap Creator Framework 3.3.0

[Fri Jun 17 18:00:00 2011] DEBUG: Profile: ientfr02

[Fri Jun 17 18:00:00 2011] DEBUG: Action: snap

[Fri Jun 17 18:00:00 2011] DEBUG: Plugin: null

[Fri Jun 17 18:00:00 2011] DEBUG: Policy: hourly

[Fri Jun 17 18:00:00 2011] DEBUG: Snapshot Name: sc-testthin-hourly-20110617180000

[Fri Jun 17 18:00:00 2011] DEBUG: Timestamp: 20110617180000

[Fri Jun 17 18:00:00 2011] INFO: Removing log testthin.out.20110617080000

[Fri Jun 17 18:00:00 2011] INFO: Removing log testthin.debug.20110617080000

########## Parsing Environment Parameters ##########

[Fri Jun 17 18:00:00 2011] DEBUG: Parsing VOLUMES - filer: fas3140b volume: testthin

[Fri Jun 17 18:00:00 2011] DEBUG: Parsing NTAP_USERS - filer: fas3140a user: snapcreator

[Fri Jun 17 18:00:00 2011] DEBUG: Parsing NTAP_USERS - filer: fas3140b user: snapcreator

[Fri Jun 17 18:00:00 2011] DEBUG: Parsing NTAP_SNAPSHOT_RETENTIONS - policy: hourly retention: 0

[Fri Jun 17 18:00:00 2011] DEBUG: Parsing NTAP_SNAPSHOT_RETENTIONS - policy: daily retention: 7

[Fri Jun 17 18:00:00 2011] DEBUG: Parsing NTAP_DFM_DATA_SET - filer: fas3140b volume: testthin DFM dataset: snapcreator_testthin

########## PRE APPLICATION QUIESCE COMMANDS ##########

[Fri Jun 17 18:00:00 2011] INFO: No commands defined

########## PRE APPLICATION QUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## APPLICATION QUIESCE COMMANDS ##########

[Fri Jun 17 18:00:00 2011] INFO: Running application quiesce command APP_QUIESCE_CMD01 [/usr/local/snapcreator/scripts/quiece hourly sc-testthin]

[Fri Jun 17 18:00:00 2011] DEBUG: Executing command [/usr/local/snapcreator/scripts/quiece hourly sc-testthin]

[Fri Jun 17 18:00:01 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Command [/usr/local/snapcreator/scripts/quiece hourly sc-testthin] finished with

exit code: [0]

stdout: [hourly sc-testthin]

stderr: []

[Fri Jun 17 17:55:01 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Executing command [/usr/local/snapcreator/scripts/quiece hourly sc-testthin]

[Fri Jun 17 17:55:02 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Command [/usr/local/snapcreator/scripts/quiece hourly sc-testthin] finished with

exit code: [0]

stdout: [hourly sc-testthin]

stderr: []

[Fri Jun 17 17:55:02 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Command [/usr/local/snapcreator/scripts/quiece hourly sc-testthin] finished successfully with message

[hourly sc-testthin]

[Fri Jun 17 18:00:02 2011] INFO: Running application quiesce command [/usr/local/snapcreator/scripts/quiece hourly sc-testthin] finished successfully

########## APPLICATION QUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## POST APPLICATION QUIESCE COMMANDS ##########

[Fri Jun 17 18:00:02 2011] INFO: No commands defined

########## POST APPLICATION QUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## PRE NETAPP COMMANDS ##########

[Fri Jun 17 18:00:02 2011] INFO: No commands defined

########## PRE NETAPP COMMANDS FINISHED SUCCESSFULLY ##########

[Fri Jun 17 18:00:02 2011] INFO: Checking API version on fas3140b

[Fri Jun 17 18:00:04 2011] DEBUG: ZAPI

<system-get-ontapi-version></system-get-ontapi-version>

[Fri Jun 17 18:00:04 2011] DEBUG: API Version 1.9 Detected, using that version for fas3140b

[Fri Jun 17 18:00:04 2011] DEBUG: Connected to fas3140b using API Version 1.9

########## Generating Info ASUP on fas3140b ##########

[Fri Jun 17 18:00:04 2011] DEBUG: ZAPI

<ems-autosupport-log>

        <app-version>NetApp Snap Creator Framework 3.3.0</app-version>

        <auto-support>false</auto-support>

        <category>Backup Started</category>

        <computer-name>SRVMGTNETAPP02</computer-name>

        <event-description>INFO: NetApp Snap Creator Framework 3.3.0 Backup for sc-testthin ACTION: snap POLICY: hourly Plugin: null Volumes: fas3140b:testthin Started</event-description>

        <event-id>0</event-id>

        <event-source>SNAPCREATOR</event-source>

        <log-level>6</log-level>

</ems-autosupport-log>

[Fri Jun 17 18:00:04 2011] INFO: NetApp ASUP create on fas3140b finished successfully

########## Gathering Information for fas3140b:testthin ##########

[Fri Jun 17 18:00:04 2011] INFO: Performing NetApp Snapshot Inventory for testthin on fas3140b

[Fri Jun 17 18:00:04 2011] DEBUG: ZAPI

<snapshot-list-info>

        <volume>testthin</volume>

        <terse>true</terse>

</snapshot-list-info>

[Fri Jun 17 18:00:05 2011] INFO: NetApp Snapshot Inventory of testthin on fas3140b completed Successfully

########## Running NetApp Snapshot Rename on Primary fas3140b ##########

########## SNAPSHOT CREATE COMMANDS ##########

[Fri Jun 17 18:00:05 2011] INFO: Running snapshot create command NTAP_SNAPSHOT_CREATE_CMD01 [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110617180000]

[Fri Jun 17 18:00:05 2011] DEBUG: Executing command [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110617180000]

[Fri Jun 17 18:00:28 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Command [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110617180000] finished with

exit code: [0]

stdout: [Starting snap create /testthin

  WARNING:  DO NOT CONTROL-C!

            If snap create is interrupted, incomplete snapdrive

         generated data may remain on the filer volume(s)

         which may interfere with other snap operations.

Successfully created snapshot sc-testthin-hourly-20110617180000 on fas3140b:/vol/testthin

        snapshot sc-testthin-hourly-20110617180000 contains:

        disk group testvg containing host volumes

                testlv (filesystem: /testthin)]

stderr: []

[Fri Jun 17 17:55:06 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Executing command [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110617180000]

[Fri Jun 17 17:55:28 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Command [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110617180000] finished with

exit code: [0]

stdout: [Starting snap create /testthin

  WARNING:  DO NOT CONTROL-C!

            If snap create is interrupted, incomplete snapdrive

         generated data may remain on the filer volume(s)

         which may interfere with other snap operations.

Successfully created snapshot sc-testthin-hourly-20110617180000 on fas3140b:/vol/testthin

        snapshot sc-testthin-hourly-20110617180000 contains:

        disk group testvg containing host volumes

                testlv (filesystem: /testthin)]

stderr: []

[Fri Jun 17 17:55:28 2011] [ientfr02:9999(3.3.0.1)] DEBUG: Command [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110617180000] finished successfully with message

[Starting snap create /testthin

  WARNING:  DO NOT CONTROL-C!

            If snap create is interrupted, incomplete snapdrive

         generated data may remain on the filer volume(s)

         which may interfere with other snap operations.

Successfully created snapshot sc-testthin-hourly-20110617180000 on fas3140b:/vol/testthin

        snapshot sc-testthin-hourly-20110617180000 contains:

        disk group testvg containing host volumes

                testlv (filesystem: /testthin)]

[Fri Jun 17 18:00:28 2011] INFO: Running snapshot create command [/usr/bin/snapdrive snap create -fs /testthin -snapname sc-testthin-hourly-20110617180000] finished successfully

########## SNAPSHOT CREATE COMMANDS FINISHED SUCCESSFULLY ##########

########## PRE APPLICATION UNQUIESCE COMMANDS ##########

[Fri Jun 17 18:00:28 2011] INFO: No commands defined

########## PRE APPLICATION UNQUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## APPLICATION UNQUIESCE COMMANDS ##########

[Fri Jun 17 18:00:28 2011] INFO: No commands defined

########## APPLICATION UNQUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## POST APPLICATION UNQUIESCE COMMANDS ##########

[Fri Jun 17 18:00:28 2011] INFO: No commands defined

########## POST APPLICATION UNQUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## Generating Info ASUP on fas3140b ##########

[Fri Jun 17 18:00:28 2011] DEBUG: ZAPI

<ems-autosupport-log>

        <app-version>NetApp Snap Creator Framework 3.3.0</app-version>

        <auto-support>false</auto-support>

        <category>Backup Completed</category>

        <computer-name>SRVMGTNETAPP02</computer-name>

        <event-description>INFO: NetApp Snap Creator Framework 3.3.0 Backup for sc-testthin ACTION: snap POLICY: hourly Plugin: null Volumes: fas3140b:testthin Completed</event-description>

        <event-id>0</event-id>

        <event-source>SNAPCREATOR</event-source>

        <log-level>6</log-level>

</ems-autosupport-log>

[Fri Jun 17 18:00:28 2011] INFO: NetApp ASUP create on fas3140b finished successfully

########## Checking Protection Manager dataset snapcreator_testthin ##########

[Fri Jun 17 18:00:28 2011] INFO: Checking if Protection Manager dataset snapcreator_testthin is conformant

[Fri Jun 17 18:00:28 2011] DEBUG: ZAPI

<dataset-list-info-iter-start>

        <object-name-or-id>snapcreator_testthin</object-name-or-id>

</dataset-list-info-iter-start>

And the profile testthin :

########################

### Required Options ###

########################

SNAME=sc-testthin

SNAP_TIMESTAMP_ONLY=Y

VOLUMES=fas3140b:testthin

NTAP_SNAPSHOT_RETENTIONS=hourly:0,daily:7

NTAP_USERS=fas3140a:snapcreator/xxxxxxxxxxx;fas3140b:snapcreator/xxxxxxxxxxxxxxxxx

NTAP_PWD_PROTECTION=Y

TRANSPORT=HTTPS

PORT=443

LOG_NUM=10

SC_TMP_DIR=

##########################

### Connection Options ###

##########################

VFILERS=

MANAGEMENT_INTERFACES=

SECONDARY_INTERFACES=

########################

### Snapshot Options ###

########################

NTAP_SNAPSHOT_RETENTION_AGE=1

SNAPDRIVE=N

SNAPDRIVE_DISCOVERY=N

NTAP_SNAPSHOT_DISABLE=N

NTAP_SNAPSHOT_NODELETE=Y

NTAP_CONSISTENCY_GROUP_SNAPSHOT=N

NTAP_CONSISTENCY_GROUP_TIMEOUT=medium

NTAP_SNAPSHOT_DELETE_BY_AGE_ONLY=N

NTAP_SNAPSHOT_DEPENDENCY_IGNORE=Y

#########################

### SnapVault Options ###

#########################

NTAP_SNAPVAULT_UPDATE=N

SNAPVAULT_VOLUMES=

SNAPVAULT_QTREE_INCLUDE=

NTAP_SNAPVAULT_RETENTIONS=

NTAP_SNAPVAULT_RETENTION_AGE=

NTAP_SNAPVAULT_SNAPSHOT=N

NTAP_SNAPVAULT_NODELETE=N

NTAP_SNAPVAULT_RESTORE_WAIT=N

NTAP_SNAPVAULT_WAIT=0

NTAP_SNAPVAULT_MAX_TRANSFER=

##########################

### SnapMirror Options ###

##########################

NTAP_SNAPMIRROR_UPDATE=N

NTAP_SNAPMIRROR_CASCADING_UPDATE=N

SNAPMIRROR_VOLUMES=

SNAPMIRROR_CASCADING_VOLUMES=

NTAP_SNAPMIRROR_WAIT=0

NTAP_SNAPMIRROR_USE_SNAPSHOT=N

NTAP_SNAPMIRROR_MAX_TRANSFER=

#######################

### Cloning Options ###

#######################

NTAP_VOL_CLONE_RESERVE=none

NTAP_LUN_CLONE_RESERVATION=false

NTAP_CLONE_IGROUP_MAP=

NTAP_CLONE_FOR_BACKUP=Y

NTAP_CLONE_SECONDARY=N

NTAP_CLONE_SECONDARY_VOLUMES=

NTAP_NUM_VOL_CLONES=1

NTAP_NFS_EXPORT_HOST=

NTAP_NFS_EXPORT_ACCESS=

NTAP_NFS_EXPORT_PERSISTENT=

##################################

### Protection Manager Options ###

##################################

NTAP_PM_UPDATE=Y

NTAP_DFM_DATA_SET=fas3140b:snapcreator_testthin/testthin

NTAP_PM_RUN_BACKUP=Y

####################

### OSSV Options ###

####################

NTAP_OSSV_ENABLE=N

NTAP_OSSV_HOMEDIR=

NTAP_OSSV_FS_SNAPSHOT=N

NTAP_OSSV_FS_SNAPSHOT_CREATE_CMD01=

###################################

### Operations Manager Settings ###

###################################

OM_HOST=srvmgtnetapp01

OM_USER=mgtadm

OM_PWD=53616c7xxxxxxxxxxxxxx

OM_PORT=8443

OM_EVENT_GENERATE=Y

####################

### APP Commands ###

####################

ARCHIVE_CMD01=

####################

### Pre Commands ###

####################

PRE_APP_QUIESCE_CMD01=

PRE_NTAP_CMD01=

PRE_NTAP_CLONE_DELETE_CMD01=

PRE_APP_UNQUIESCE_CMD01=

PRE_RESTORE_CMD01=

PRE_CLONE_CREATE_CMD01=

#####################

### Post Commands ###

#####################

POST_APP_QUIESCE_CMD01=

POST_NTAP_CMD01=

POST_NTAP_DATA_TRANSFER_CMD01=

POST_APP_UNQUIESCE_CMD01=

POST_RESTORE_CMD01=

POST_CLONE_CREATE_CMD01=

###########################

### Event Configuration ###

###########################

NTAP_ASUP_ERROR_ENABLE=Y

SENDTRAP=

SUCCESS_TRAP=

SUCCESS_MSG=INFO: SnapCreator Backup completed successfully.

APP_QUIESCE_CMD01=/usr/local/snapcreator/scripts/quiece %SNAP_TYPE %SNAME

NTAP_SNAPSHOT_CREATE_CMD01=/usr/bin/snapdrive snap create -fs /testthin -snapname %SNAME-%SNAP_TYPE-%SNAP_TIME

ktenzer
5,088 Views

The reason you are getting an error is that OM_PORT=8443 is wrong. That is the https admin port we use the management port. Change it to OM_PORT=8488 and it should work for TRANSPORT=HTTPS. If TRANSPORT=HTTP then OM_PORT=8088.

Let us know if this works

Regards,

Keith

pascalc
5,087 Views

Thank you Keith, this was the right answer. It works perfectly now.  I hesitated on what OM_PORT to use from OM, maybe it could help to indicate where users can find the port number, since OM uses several ports.

Public