Data Backup and Recovery

Action dpstatus reports nothing

f_duranti
2,408 Views

Hi, I was trying to check how dpstatus work but I don't get any result. I'm not sure I've configured all correctly but I was expecting a status of the mirror between primary and secondary volumes.

I run the command on a configuration that has a perl plugin that take offline/online oracle as quiesce/unquiesce. The volumes are backed up by DFM Protection Manager.

This is the debug output I receive:

root@ITROMBK02 TestProfile]# /opt/SnapCreator/scServer3.4.0/snapcreator --profile TestProfile --config testoracleoff --verbose --action dpstatus --global --debug

[Tue Aug 23 14:10:21 2011] DEBUG: Loaded Global Profile Config File /opt/SnapCreator/scServer3.4.0/configs/TestProfile/global.conf Successfully

[Tue Aug 23 14:10:21 2011] DEBUG: Loaded Config File /opt/SnapCreator/scServer3.4.0/configs/TestProfile/testoracleoff.conf Successfully

[Tue Aug 23 14:10:21 2011] DEBUG: GMT - Tue Aug 23 12:10:21 2011

[Tue Aug 23 14:10:21 2011] DEBUG: Version: NetApp Snap Creator Framework 3.4.0

[Tue Aug 23 14:10:21 2011] DEBUG: Profile: TestProfile

[Tue Aug 23 14:10:21 2011] DEBUG: Config Type: STANDARD

[Tue Aug 23 14:10:21 2011] DEBUG: Action: dpstatus

[Tue Aug 23 14:10:21 2011] DEBUG: Plugin: ORAOFFLINE

[Tue Aug 23 14:10:21 2011] DEBUG: Policy: null

[Tue Aug 23 14:10:21 2011] DEBUG: Snapshot Name: null

[Tue Aug 23 14:10:21 2011] DEBUG: Timestamp: 20110823141021

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

[Tue Aug 23 14:10:21 2011] DEBUG: Parsing VOLUMES - filer: itromfs20 volume: tst_oraarch

[Tue Aug 23 14:10:21 2011] DEBUG: Parsing VOLUMES - filer: itromfs20 volume: tst_oradata

[Tue Aug 23 14:10:21 2011] DEBUG: Parsing VOLUMES - filer: itromfs20 volume: tst_oralog

[Tue Aug 23 14:10:21 2011] DEBUG: Parsing NTAP_USERS - filer: itromfs20 user: root

[Tue Aug 23 14:10:21 2011] DEBUG: Parsing NTAP_USERS - filer: itnapfs20 user: root

[Tue Aug 23 14:10:21 2011] DEBUG: Parsing NTAP_SNAPSHOT_RETENTIONS - policy: daily retention: 7

[Tue Aug 23 14:10:21 2011] DEBUG: Parsing SNAPMIRROR_VOLUMES - filer: itromfs20 sm volume: tst_oraarch

[Tue Aug 23 14:10:21 2011] DEBUG: Parsing SNAPMIRROR_VOLUMES - filer: itromfs20 sm volume: tst_oradata

[Tue Aug 23 14:10:21 2011] DEBUG: Parsing SNAPMIRROR_VOLUMES - filer: itromfs20 sm volume: tst_oralog

[Tue Aug 23 14:10:21 2011] DEBUG: Parsing NTAP_DFM_DATA_SET - filer: itromfs20 volume: tst_oradata DFM dataset: SC_ORA_OFFLINE

[Tue Aug 23 14:10:21 2011] DEBUG: Parsing NTAP_DFM_DATA_SET - filer: itromfs20 volume: tst_oralog DFM dataset: SC_ORA_OFFLINE

[Tue Aug 23 14:10:21 2011] DEBUG: Parsing NTAP_DFM_DATA_SET - filer: itromfs20 volume: tst_oraarch DFM dataset: SC_ORA_OFFLINE

[Tue Aug 23 14:10:21 2011] DEBUG: ZAPI REQUEST

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

[Tue Aug 23 14:10:21 2011] DEBUG: ZAPI RESULT

<results status="passed">

        <major-version>1</major-version>

        <minor-version>14</minor-version>

</results>

[Tue Aug 23 14:10:21 2011] DEBUG: creating filer/vfiler executor for filer itromfs20

########## Detecting Data OnTap mode for itromfs20 ##########

[Tue Aug 23 14:10:21 2011] INFO: Data OnTap 7 mode detected

[Tue Aug 23 14:10:21 2011] DEBUG: Connected to itromfs20 using API Version 1.14

1 REPLY 1

ktenzer
2,408 Views

Either NTAP_SNAPVAULT_UPDATE=Y and/or NTAP_SNAPMIRROR_UPDATE=Y must be set along with SNAPVAULT_VOLUMES and SNAPMIRROR_VOLUMES.

What dpstatus does is show the status of relationships for snapvault, snapmirror, or both depending on config. The idea was since there are limits to how many active relationships, etc you can have to give some visibility to backup admin.

Here is example (using beta code, 3.5.0 doesnt exist yet) in a config that has snapmirror

ktenzer@scdev:~/sandbox/SC-Framework/core> ./snapcreator --profile 443 --action dpstatus --verbose

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

########## Detecting Data OnTap mode for aruba1 ##########

[Tue Aug 23 14:21:52 2011] INFO: Data OnTap 7 mode detected

[Tue Aug 23 14:21:52 2011] INFO: Management interface for aruba1 detected, using 10.65.53.20 for communications

[Tue Aug 23 14:21:52 2011] INFO: Getting NetApp Snapmirror Status for aruba1

[Tue Aug 23 14:21:52 2011] INFO: NetApp Snapmirror Status for aruba1 finished successfully

########## Detecting Data OnTap mode for cuba2 ##########

[Tue Aug 23 14:21:52 2011] INFO: Data OnTap 7 mode detected

[Tue Aug 23 14:21:52 2011] INFO: Management interface for cuba2 detected, using 10.65.53.11 for communications

[Tue Aug 23 14:21:52 2011] INFO: Getting NetApp Snapvault Status for cuba2:sc_qa_pri1

[Tue Aug 23 14:21:54 2011] INFO: NetApp Snapvault Status for cuba2:sc_qa_pri1 finished successfully

########## Detecting Data OnTap mode for cuba2 ##########

[Tue Aug 23 14:21:54 2011] INFO: Data OnTap 7 mode detected

[Tue Aug 23 14:21:54 2011] INFO: Management interface for cuba2 detected, using 10.65.53.11 for communications

########## Snap Creator Community Release 3.5.0c Data Protection (SnapMirror) List for Secondary cuba2 #########

cuba2 : aborting     : 0

cuba2 : idle         : 6

cuba2 : in_sync      : 0

cuba2 : migrating    : 0

cuba2 : paused       : 0

cuba2 : pending      : 0

cuba2 : quiescing    : 0

cuba2 : resyncing    : 0

cuba2 : syncing      : 0

cuba2 : transferring : 0

cuba2 : waiting      : 0

Public