Community

Subscribe
Highlighted

change DFM Backup from file to Snap Drive

Hi all,

we actually have an dfm 5.0.2 (5.0.2P1) running on Linux VMware ClientOS and the conventional backup takes to long, so we want to the Snapdrive Backup feature.

Is there any known howto for the steps to go through ?

or is there anyone who has done this and wants to share Informations about

best regards

imho

Re: change DFM Backup from file to Snap Drive

The key to configuring snapshot backups (after ensuring all your data is present on an ONTAP LUN) is to run the command "dfm backup diag ".

How to configure Operations Manager snapshot backups.

https://kb.netapp.com/support/index?page=content&id=1011875

What are the DFM database backup types - file based vs. LUN?

https://kb.netapp.com/support/index?page=content&id=3011237

Re: change DFM Backup from file to Snap Drive

cannot get the snapdrive working in my test environment:

  • vmware fusion 5.0.3
  • ontap sim 8.12 7 Mode
  • DFM on Command 5.1 @ Oracle Linux (Linux dfm 2.6.32-300.39.4.el5uek64 Bit)

  1. installed 3g_utils and host utilities @ Linuxhost (netapp_linux_host_utilities-6-1.x86_64.rpm)
  2. created and mapped a LUN via System Manager @ ontap7 sim
  3. started iscsci and mounted the lun @ linuxhost lvm (no partition, separate Volume Group)
  4. installed snapdrive configured root user to ontap7 and dfm server (netapp.snapdrive.linux_4_2.rpm)
  5. moved the datastore to LUN located fs /DDFMdata

2a. second try successfully created a fs,LUN.iGroup with  # snapdrive storage wizard create

6. changed datastore location to the new LUN based fs with # dfm datastore setup /DFMdata

what have i done wrong, or do have to do some additional configuration tasks !?

even after create fs incl


best regards claus

# dfm backup diag

Sybase Data Directory:      /DFMdata/data/

Sybase Log Directory :      /DFMdata/data/

Performance Data Directory: /DFMdata/perfdata

Script-plugins Directory:   /DFMdata/script-plugins

Reports Archive Directory:  /DFMdata/reports/

Plugins Directory:          /DFMdata/plugins

Database Hosting System:    localhost

SnapDrive Installed:        Yes

SnapDrive Version:          4.2

SnapDrive Status:           Passed(Data not present on LUN)

Volume Snapshot Status:     NA

Backup Destination:         /DFMdata/data/

Number of backups possible: 175

Backup Retention Count:     no limit

Allowed Backup Type:        Archive (ndb)

# snapdrive config list

username    appliance name   appliance type

-------------------------------------------

root        ontap7           StorageSystem

root        dfm.fritz.box    DFM

# /opt/NetApp/snapdrive/bin/sdconfcheck detect

Detected Intel/AMD x64 Architecture

Detected Linux OS

Detected NFS FileSystem on Linux

Detected Software iSCSI on Linux

Detected   Ext3 File System

Detected   Linux Native LVM2

Detected   Linux Native MPIO

Did not find any supported cluster solutions.

Did not find any supported HU tool kits.

# sanlun lun show

controller(7mode)/                            device          host                  lun   

vserver(Cmode)       lun-pathname             filename        adapter    protocol   size    mode

------------------------------------------------------------------------------------------------

ontap7               /vol/lun_dfm_vol/lun_dfm /dev/sdc        host3      iSCSI      20g     7   

# snapdrive config list

username    appliance name   appliance type

-------------------------------------------

root        ontap7           StorageSystem

root        dfm    DFM

# rpm -qai netapp.snapdrive

Name        : netapp.snapdrive             Relocations: (not relocatable)

Version     : 4.2                               Vendor: Network Appliance

Release     : 1                             Build Date: Sat 02 Oct 2010 08:10:37 PM CEST

Install Date: Mon 25 Mar 2013 01:23:39 PM CET      Build Host: bldlsvl205.eng.netapp.com

Group       : Applications                  Source RPM: netapp.snapdrive-4.2-1.src.rpm

Size        : 30597556                         License: netapp

Signature   : (none)

Packager    : Network Appliance

URL         : http://now.netapp.com/

Summary     : SnapDrive for Linux

Description :

SnapDrive is a SAN storage management utility.

It provides an easy to use interface that allows

the user to create snapshots of LVM objects

(i.e. volume groups) and restore from those

snapshots.  SnapDrive also provides a simple

interface to allow for the provisioning of LUNs

for mapping LVM objects to them.

# rpm -qai netapp_linux_host_utilities

Name        : netapp_linux_host_utilities  Relocations: (not relocatable)

Version     : 6                                 Vendor: NetApp

Release     : 1                             Build Date: Mon 02 Jul 2012 07:38:55 PM CEST

Install Date: Mon 25 Mar 2013 12:57:27 PM CET      Build Host: bldlsvl28.eng.netapp.com

Group       : Applications/System           Source RPM: netapp_linux_host_utilities-6-1.src.rpm

Size        : 619019                           License: NetApp Base SW EULA

Signature   : (none)

Summary     : The NetApp sanlun tool.


Re: change DFM Backup from file to Snap Drive

Can you check if this version of Snapdrive is supported with 5.1 ? Pls check the same with IMT.

Regards

adai

Re: change DFM Backup from file to Snap Drive

i found a problem on mounting the iscsi LUN in fstab

changed the mount option to _netdev and it worked very well

/dev/mapper/DFMdata_SdDg-DFMdata_SdHv   /DFMdata        ext3 _netdev defaults        0 0

[root@dfm ~]# dfm backup diag

Sybase Data Directory:      /DFMdata/data/

Sybase Log Directory :      /DFMdata/data/

Performance Data Directory: /DFMdata/perfdata

Script-plugins Directory:   /DFMdata/script-plugins

Reports Archive Directory:  /DFMdata/reports/

Plugins Directory:          /DFMdata/plugins

Database Hosting System:    ontap7

Database Location:          /vol/lun_dfm_vol/lun_dfm

SnapDrive Installed:        Yes

SnapDrive Version:          4.2

SnapDrive Status:           Passed

Volume Snapshot Status:     Enabled (Recommended disabled)

Backup Retention Count:     no limit

Allowed Backup Types:       Snapshot (sndb), Archive (ndb)

but still getting this

[root@dfm bin]# ./sdconfcheck detect

Detected Intel/AMD x64 Architecture

Detected Linux OS

Detected NFS FileSystem on Linux

Detected Software iSCSI on Linux

Detected   Ext3 File System

Detected   Linux Native LVM2

Detected   Linux Native MPIO

Did not find any supported cluster solutions.

Did not find any supported HU tool kits.

do i have not the right host utilities ? tools are working !

[root@dfm ~]# rpm -qai netapp_linux_host_utilities

Name        : netapp_linux_host_utilities  Relocations: (not relocatable)

Version     : 6                                 Vendor: NetApp

Release     : 1                             Build Date: Mon 02 Jul 2012 07:38:55 PM CEST

Install Date: Mon 25 Mar 2013 12:57:27 PM CET      Build Host: bldlsvl28.eng.netapp.com

Group       : Applications/System           Source RPM: netapp_linux_host_utilities-6-1.src.rpm

Size        : 619019                           License: NetApp Base SW EULA

Signature   : (none)

Summary     : The NetApp sanlun tool.

Description :

This package provides the sanlun tool to display information related to NetApp LUNs. It can also display information related to the HBAs on the Linux host connected to a fabric containing NetApp controllers.

Re: change DFM Backup from file to Snap Drive

Snapdrive is working fine on vmware fusion with an iscsi lun, after the update with confcheck_data.tar.gz.

But Implementing Snapdrive on an ESX Linux Guest with an RDM fcp LUN is not working (do not get Access to smvi) .

With our vmWare Environment we do not have the option to use smvi

So what can i do now, is it possible to use Snapdrive with an NFS mount from a Netapp ??

looks like a never ending story



Re: change DFM Backup from file to Snap Drive

Hosting the dfm database on NAS ( CIFS and NFS) location is not supported, as underlying database sybase does not qualify or support the same.

The DFM db either has to be local drive or SAN based storage.

Regards

adai

Re: change DFM Backup from file to Snap Drive

okay, finished with that....:

you need to have:

SMVI connect (https)

have a user with access to VSC (vmware)

check all versions of VSC (vmware), Snapdrive (Netapp), Host Utilities (Netapp) with netapp support Matrix

freed all FW Port (Infrastructure)

need to get a disasterrecovery aware solution (snapmirror!?)

looks like a bit overloaded for this component, as it is not enabled to monitor clustered ontap and 7 mode (since 5.2) = more than one of these dfms if you have 7Mode and ClusterMode

Monitoring is not out of the box for all things of a filer (syslog, audit)

i think there are some things to improve monitoring for netapp, pls...

PS: if you are responsible for all components vmware/netapp/dfm/money this can be a useful solution, if not, try it and choose your solution.