Data Backup and Recovery

how OSSV configuration work on Snap Creator?

PINYOUUDK
7,477 Views

As we know that in snap creator document mention about how enable OSSV and i try to follow document by set NTAP_OSSV_ENABLE=Y, NTAP_OSSV_HOMEDIR=/usr/snapvault. The OSSV relation already setup and initial baseline. but i didn't see any update data from OSSV relation whenever perform OSSV action in snap creator. What task i still not? or way to check?

1 ACCEPTED SOLUTION

ktenzer
7,475 Views

Yep as I suspected VOLUMES is incorrect

You should only ever have primary volumes listed in SC config, never secondary volume for anything

Make following changes:

VOLUMES=linuxom:/boot

NTAP_USERS=Padma:pinyo/password

Regards,

Keith

View solution in original post

12 REPLIES 12

ktenzer
7,427 Views

Probably a configuration issue, format of VOLUMES is I am guessing issue.

1) please share your config file settings

2) ensure you have agent running and are using agent

3) ensure you have SC 3.5 or 3.6

Regards,

Keith

PINYOUUDK
7,427 Views

Hi, here is my configuration file:-

CONFIG_TYPE=STANDARD

SNAME=testx

SNAP_TIMESTAMP_ONLY=Y

VOLUMES=172.32.0.57:pinyo_nfstest2

NTAP_SNAPSHOT_RETENTIONS=daily:0

NTAP_USERS=172.32.0.57:pinyo/password

NTAP_PWD_PROTECTION=N

TRANSPORT=HTTP

PORT=80

LOG_NUM=30

LOG_TRACE_ENABLE=Y

SC_TMP_DIR=

MANAGEMENT_INTERFACES=

SECONDARY_INTERFACES=

USE_PROXY=N

ALLOW_IP_ADDR=N

CMODE_CLUSTER_USERS=

CMODE_CLUSTER_NAME=

CMODE_SNAPSHOT_FORCE_DELETE=Y

NTAP_SNAPSHOT_RETENTION_AGE=

SNAPDRIVE=N

SNAPDRIVE_DISCOVERY=N

NTAP_SNAPSHOT_DISABLE=N

NTAP_SNAPSHOT_NODELETE=N

NTAP_CONSISTENCY_GROUP_SNAPSHOT=N

NTAP_CONSISTENCY_GROUP_TIMEOUT=medium

NTAP_CONSISTENCY_GROUP_WAFL_SYNC=N

NTAP_SNAPSHOT_DELETE_BY_AGE_ONLY=N

NTAP_SNAPSHOT_DEPENDENCY_IGNORE=N

NTAP_SNAPSHOT_RESTORE_AUTO_DETECT=Y

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=60

NTAP_SNAPVAULT_MAX_TRANSFER=

NTAP_SNAPMIRROR_UPDATE=N

NTAP_SNAPMIRROR_CASCADING_UPDATE=N

SNAPMIRROR_VOLUMES=

SNAPMIRROR_CASCADING_VOLUMES=

NTAP_SNAPMIRROR_WAIT=60

NTAP_SNAPMIRROR_USE_SNAPSHOT=N

NTAP_SNAPMIRROR_MAX_TRANSFER=

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=0

NTAP_NFS_EXPORT_HOST=

NTAP_NFS_EXPORT_ACCESS=

NTAP_NFS_EXPORT_PERSISTENT=false

NTAP_PM_UPDATE=N

NTAP_DFM_DATA_SET=

NTAP_PM_RUN_BACKUP=N

NTAP_DFM_SNAPSHOT_FORMAT=

NTAP_OSSV_ENABLE=Y

NTAP_OSSV_HOMEDIR=/usr/snapvault

NTAP_OSSV_FS_SNAPSHOT=N

NTAP_OSSV_FS_SNAPSHOT_CREATE_CMD01=

OM_HOST=

OM_USER=

OM_PWD=

OM_PORT=

OM_EVENT_GENERATE=N

ARCHIVE_CMD01=

MOUNT_CMD01=

UMOUNT_CMD01=

PRE_APP_QUIESCE_CMD01=

PRE_NTAP_CMD01=

PRE_NTAP_CLONE_DELETE_CMD01=

PRE_APP_UNQUIESCE_CMD01=

PRE_RESTORE_CMD01=

PRE_CLONE_CREATE_CMD01=

POST_APP_QUIESCE_CMD01=

POST_NTAP_CMD01=

POST_NTAP_DATA_TRANSFER_CMD01=

POST_APP_UNQUIESCE_CMD01=

POST_RESTORE_CMD01=

POST_CLONE_CREATE_CMD01=

NTAP_ASUP_ERROR_ENABLE=N

SENDTRAP=

SUCCESS_TRAP=

SUCCESS_MSG=INFO: Snap Creator finished successfully ( Action: %ACTION )

SC_AGENT=

SC_AGENT_TIMEOUT=60

SC_AGENT_UNQUIESCE_TIMEOUT=

SC_CLONE_TARGET=

SC_AGENT_WATCHDOG_ENABLE=Y

SC_AGENT_LOG_ENABLE=Y

APP_NAME=

FS_NAME=

APP_IGNORE_ERROR=N

APP_DEFINED_RESTORE=N

APP_DEFINED_CLONE=N

APP_AUTO_DISCOVERY=N

APP_CONF_PERSISTENCE=Y

VALIDATE_VOLUMES=

META_DATA_VOLUME=

JAVA_HOME=

JVM_ARGS=

JAVA_CLASSPATH=

PERL_HOME=

PERL_OPTS=

PYTHON_HOME=

PYTHON_OPTS=

ARCHIVE_LOG_ENABLE=N

ARCHIVE_LOG_RETENTION=1

ARCHIVE_LOG_DIR=/tmp/log

ARCHIVE_LOG_EXT=log

ARCHIVE_LOG_RECURSIVE_SEARCH=N

DB2_DATABASES=

DB2_CMD=/path/to/db2

MYSQL_DATABASES=

HOST=

PORTS=

MASTER_SLAVE=N

ORACLE_DATABASES=

SQLPLUS_CMD=/path/to/sqlplus

CNTL_FILE_BACKUP_DIR=/path/to/cntl_files

ORA_TEMP=/path/to/oratemp

ARCHIVE_LOG_ONLY=N

ORACLE_HOME=/path/to/orahome

ORACLE_EXPORT_PARAMETERS=Y

SME_PS_CONF=

SME_BACKUP_OPTIONS=

SME_SERVER_NAME=servername

SME_32bit=N

SYBASE_SERVER=

SYBASE_DATABASES=

SYBASE_DATABASES_EXCLUDE=

SYBASE_TRAN_DUMP=

SYBASE_TRAN_DUMP_FORMAT=

SYBASE_TRAN_DUMP_COMPRESS=Y

SYBASE_ISQL_CMD=/path/to/isql

SYBASE=/path/to/sybase

SYBASE_LOGDIR=/path/to/logs

SYBASE_MANIFEST=

SYBASE_MANIFEST_FORMAT=

SYBASE_MANIFEST_DELETE=Y

VIBE_VCLOUD_IPADDR=

VIBE_VCLOUD_USER=

VIBE_VCLOUD_PASSWD=

VIBE_VCENTER_USER=

VIBE_VCENTER_PASSWD=

VIBE_VCLOUD_NAMES=

VIBE_VSPHERE_NAMES=

SMSQL_PS_CONF=

SMSQL_BACKUP_OPTIONS=

SMSQL_SERVER_NAME=servername

SMSQL_32bit=N

DOMINO_DATA_PATH=

DOMINO_INI_PATH=

DOMINO_CHANGE_INFO_PATH=

DOMINO_DATABASE_TYPE=0

LOTUS=

Notes_ExecDirectory=

DOMINO_RESTORE_DATA_PATH=

POSTGRES_DATABASES=

PSQL_CMD=/path/to/psql

NO_PASSWORD_OPTION=Y

XUSER_ENABLE=N

HANDLE_LOGWRITER=Y

DBMCLICMD=/path/to/dbmcli

SQLCLICMD=/path/to/sqlcli

MAXDB_UPDATE_HIST_LOG=N

MAXDB_DATABASES=

MAXDB_CHECK_SNAPSHOT_DIR=

and below is my screen output when perform OSSV action. It show successed but data still not update.

[root@linuxom testx]# snapcreator --profile testx --action ossv --policy daily --verbose --debug
[Fri Jul 27 18:31:31 2012] DEBUG: Loaded Config File /opt/scServer3.5.0/configs/testx/testx.conf Successfully
[Fri Jul 27 18:31:31 2012] DEBUG: GMT - Fri Jul 27 11:31:31 2012
[Fri Jul 27 18:31:31 2012] DEBUG: Version: NetApp Snap Creator Framework 3.5.0
[Fri Jul 27 18:31:31 2012] DEBUG: Profile: testx
[Fri Jul 27 18:31:31 2012] DEBUG: Config Type: STANDARD
[Fri Jul 27 18:31:31 2012] DEBUG: Action: ossv
[Fri Jul 27 18:31:31 2012] DEBUG: Application Plugin: null
[Fri Jul 27 18:31:31 2012] DEBUG: File System Plugin: null
[Fri Jul 27 18:31:31 2012] DEBUG: Policy: daily
[Fri Jul 27 18:31:31 2012] DEBUG: Snapshot Name: testx-daily_20120727183131
[Fri Jul 27 18:31:31 2012] INFO: Logfile timestamp: 20120727183131
[Fri Jul 27 18:31:31 2012] INFO: Removing log testx.out.20120727125027.log
[Fri Jul 27 18:31:31 2012] INFO: Removing log testx.debug.20120727125027.log
[Fri Jul 27 18:31:31 2012] INFO: Removing log testx.stderr.20120727125027.log

########## Parsing Environment Parameters ##########
[Fri Jul 27 18:31:31 2012] DEBUG: Parsing VOLUMES - controller: 172.32.0.57 volume: pinyo_nfstest2
[Fri Jul 27 18:31:31 2012] DEBUG: Parsing NTAP_USERS - controller: 172.32.0.57 user: pinyo
[Fri Jul 27 18:31:31 2012] DEBUG: Parsing NTAP_SNAPSHOT_RETENTIONS - policy: daily retention: 0

########## PRE APPLICATION QUIESCE COMMANDS ##########
[Fri Jul 27 18:31:31 2012] INFO: No commands defined

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

########## APPLICATION QUIESCE COMMANDS ##########
[Fri Jul 27 18:31:31 2012] INFO: No commands defined

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

########## POST APPLICATION QUIESCE COMMANDS ##########
[Fri Jul 27 18:31:31 2012] INFO: No commands defined

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

########## PRE NETAPP COMMANDS ##########
[Fri Jul 27 18:31:31 2012] INFO: No commands defined

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

########## PRE APPLICATION UNQUIESCE COMMANDS ##########
[Fri Jul 27 18:31:31 2012] INFO: No commands defined

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

########## APPLICATION UNQUIESCE COMMANDS ##########
[Fri Jul 27 18:31:31 2012] INFO: No commands defined

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

########## POST APPLICATION UNQUIESCE COMMANDS ##########
[Fri Jul 27 18:31:31 2012] INFO: No commands defined

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

########## POST NETAPP COMMANDS ##########
[Fri Jul 27 18:31:31 2012] INFO: No commands defined

########## POST NETAPP COMMANDS FINISHED SUCCESSFULLY ##########

########## ARCHIVE COMMANDS ##########
[Fri Jul 27 18:31:31 2012] INFO: No commands defined

########## ARCHIVE COMMANDS FINISHED SUCCESSFULLY ##########

########## NetApp Snap Creator Framework 3.5.0 finished successfully ##########
[Fri Jul 27 18:31:31 2012] INFO: INFO: Snap Creator finished successfully ( Action: ossv )
[Fri Jul 27 18:31:31 2012] DEBUG: Exiting with error code - 0
[root@linuxom testx]#

[root@linuxom testx]# snapvault status

Snapvault primary is ON

Source         Destination                     State   Lag       Status

linuxom:/boot  Padma:/vol/pinyo_nfstest2/boot  Source  03:58:21  Idle

[root@linuxom testx]#

Regards,

Pinyo

ktenzer
7,476 Views

Yep as I suspected VOLUMES is incorrect

You should only ever have primary volumes listed in SC config, never secondary volume for anything

Make following changes:

VOLUMES=linuxom:/boot

NTAP_USERS=Padma:pinyo/password

Regards,

Keith

PINYOUUDK
7,427 Views

Thanks Keith, you are right after i change as your mention. i fixed on linux.

anyway, how about in windows environment? if i want to set parameters VOLUMES for the path "WINDOWSCLI01

:C:\Program Files\IBM\Lotus\Domino"

i already set base line as below

C:\Program Files\netapp\snapvault\bin>snapvault status
Snapvault primary is ON
Source                                          Destination                   State   Lag       Status
WINDOWSCLI01:C:\Program Files\IBM\Lotus\Domino  Rowena:/vol/ossv_scg/Domino   Source  00:18:09  Idle

C:\Program Files\netapp\snapvault\bin>

but when perform OSSV action, it still show [scf-00026] No Snapvault Relationship


########## PRE COMMANDS FINISHED SUCCESSFULLY ##########
[Fri Jul 27 09:11:21 2012] INFO: Getting Snapvault Status for WINDOWSCLI01:C:\"Program Files"\IBM\Lotus\Domino
[Fri Jul 27 09:11:21 2012] INFO: Running OSSV snapvault status command
[Fri Jul 27 09:11:21 2012] CMD: "C:/Program Files/netapp/snapvault"/bin/snapvault status
[Fri Jul 27 09:11:21 2012] [172.32.8.52:9090(3.6.0.1)] DEBUG: Command ["C:/Program Files/netapp/snapvault"/bin/snapvault status] finished with
exit code: [0]
stdout: [Snapvault primary is ON
Source                                          Destination                   State   Lag       Status
WINDOWSCLI01:C:\Program Files\IBM\Lotus\Domino  Rowena:/vol/ossv_scg/Domino   Source  00:10:31  Idle

]
stderr: []
[Fri Jul 27 09:11:23 2012] ERROR: [scf-00026] No Snapvault Relationship for WINDOWSCLI01:C:\"Program Files"\IBM\Lotus\Domino exist! Exiting

########## Application unquiesce ##########
[Fri Jul 27 09:11:24 2012] [172.32.8.52:9090(3.6.0.1)] INFO: UnQuiescing databases

Regards,

Pinyo

jakob_bena
7,427 Views

hello,

how can i set in the snap creator gui, schedules, under the point action "ossv". my only choice is snap, clone_lun or clone_vol.

regards

jakob

ktenzer
7,427 Views

We only allow the three actions snap, vol_clone, or lun_clone to be scheduled.

Until we add more actions only thing you can do is not use SC scheduler for these or you can trick it. You could create a config and disable everything so no snapshot, etc. Then as APP_QUIESCE_CMD01 or any CMD really you could run SC with ossv as action. This requires two configs but would be a workaround.

I will ping dev and see what deal is and why we cant get more actions into scheduler

Keith

jakob_bena
7,427 Views

thaks for your fast reply,

with two configuration it works.

regards

jakob

ktenzer
7,427 Views

In addition I filed a bug with engineering so we will get this fixed soon so you can schedule ossv tasks

Sorry about that but glad workaround works

Keith

jakob_bena
7,427 Views

an other point maybe is, if you try to configure a backup. there is no way to choose a server. you have to add first a filer for volumes and change your config via editor.

ktenzer
6,400 Views

What do you mean choose a server? Just want to make sure I capture this correctly

Keith

jakob_bena
6,401 Views

sorry for my late response.

if i make a new backup configuration, i have to setup first a source location. in a second step i can choose a snapvault/snapmirror destination.

the source location must be a netapp system, i can't choose a ossv server.

regards

jakob

ktenzer
6,401 Views

Got it

Yeah OSSV is not possible to configure using wizzard you have to do it by hand

I think we can definitely add ability to add agent in future. So idea is SC will discover its agents and then if you have agent you can select it and we will do snapvault status through agent and then you can select a snapvault relationship.

I know we arent there yet but this would be possible in future

Keith

Public