IBM Storage Defender

IBM Storage Defender

Early threat detection and secure data recovery

 View Only
  • 1.  Cluster drive backup is failing

    Posted Mon July 10, 2017 03:43 AM

    Hi Experts,

    Looking for your advice I need to backup cluster drive (file level) I have created another node for this created opt also and scheduler service also but when the script runs it fails to identify the drive or location.

    Cluster opt

    NODENAME DcPRCBSDBS01_cLS
    TCPSERVERADDRESS 10.101.7.25
    tcpport 1500
    ENABLELANFREE Yes
    LANFREECommmethod tcpip
    LANFREETCPPORT 1500
    PASSWORDAccess  generate
    lanfreetcpserveraddress 10.101.7.21
    SCHEDMODe Polling
    ERRORLOGName C:\Program Files\Tivoli\TSM\baclient\dsmerror.log
    ERRORLOGRetention 7 D
    SCHEDLOGName C:\Program Files\Tivoli\TSM\baclient\dsmsched.log
    CLUSTERnode yes
    CLUSTERDISKSOnly  Yes
    REVOKEREMOTEACCESS ACCESS
    HTTPport  1581
    DOMAIN "H:"
    DOMAIN "I:"

    Script-

    @ECHO OFF
    rem  ==================================================================
    rem  ==================================================================

    set backup_dir="C:\Program Files\Tivoli\TSM\baclient"

    cd /d %backup_dir%

    rem  ==================================================================
    rem   The 2 lines below put a date and time stamp in a log file for
    rem   you.
    rem
    rem   Note: You can change "backup.log" to whatever you prefer.
    rem  ==================================================================
    echo Current date is: >> clusterincr.log
    date /t < NUL >> clusterincr.log
    echo Current time is: >> clusterincr.log
    time /t < NUL >> clusterincr.log

    rem  ==================================================================
    rem   Now call the command line to do the full backup:
    rem
    rem   Note: You can change "backup.log" to whatever you prefer.
    rem  ==================================================================
    dsmc incr H:\* -su=yes >> clusterincr.log
    dsmc incr I:\* -su=yes >> clusterincr.log

    Error Log-

    Incremental backup of volume 'H:\*'
    ANS1228E Sending of object '\\drprcbsdbs01\h$\*' failed.
    ANS1153E '\\drprcbsdbs01\h$' is a cluster disk.

    IBM Tivoli Storage Manager
    Command Line Backup-Archive Client Interface
      Client Version 7, Release 1, Level 6.2
      Client date/time: 07/10/2017 11:32:45
    (c) Copyright by IBM Corporation and other(s) 1990, 2016. All Rights Reserved.

    Node Name: DCPRCBSDBS01
    Session established with server SPINST1: Windows
      Server Version 7, Release 1, Level 7.0
      Server date/time: 07/10/2017 11:32:57  Last access: 07/10/2017 11:32:41


    Incremental backup of volume 'I:\*'
    ANS1228E Sending of object '\\drprcbsdbs01\i$\*' failed.
    ANS1153E '\\drprcbsdbs01\i$' is a cluster disk.

    although cluster disk syntax is yes in opt.

    Prem

     



  • 2.  RE: Cluster drive backup is failing

    Posted Tue July 11, 2017 12:13 PM

    Hi Prem,

    It looks as though your DSMC command is connecting as the main, non-cluster node. The node connection info shows Node Name: DCPRCBSDBS01 instead of the Node Name: DCPRCBSDBS01_CLS node

    When using the DSMC command, how are you referencing the correct DSM.opt file for the cluster node? Are you creating a Shortcut to C:\program files\tivoli\tsm\baclient\dsmc.exe, then modifying the shortcut Target option with the -optfile="path to cluster node dsm.opt"?

     

    If not, please try the above. I would be happy to assist in configuring if needed.



  • 3.  RE: Cluster drive backup is failing

    Posted Wed July 12, 2017 12:44 AM

    Hi Bryan

    Thanks for the response it is been solved now I was using the command dsmc incr drive path -su=yes but that time it is not recognizing the drive it failed with error it's not a local disk it is a cluster disk then i change the command and in command I use dsmc incr domain then same after that Backup is happening yes you are right that time it is referring to dsm.opt only which has a different node name inside the opt but when I created scheduler I use the correct one for cluster node and cluster opt only.  which I don't like or convince is when I use dsmc incr I:\ -su=yes then why it's not recognizing the drive although domain "I" was there in opt don't know what's wrong with me and configuration but now all sorted out but still I am not convince with the solution.

     

    Prem



  • 4.  RE: Cluster drive backup is failing

    Posted Wed July 12, 2017 09:04 AM

    When you refer to the scheduler, I assume you are talking about the Windows service "TSM Client Scheduler". When you create this, you provide it a path to the dsm.opt file, which is sounds like you did this correctly. However, the scheduler service is independent of the DSMC command. You must still manually reference the dsm.opt file you desire to use during your backup process when you use the command line. This can be done using the guidelines provided in my last message (creating a shortcut to DSMC.exe, and updating the target path in the shortcut properties with -optfile=<dsm.opt path>). That way, you can 1. have a dsmc specific to the cluster node, and 2. keep the shortcut on one of the cluster drives so that it stays with your filesystems.



  • 5.  RE: Cluster drive backup is failing

    Posted Wed July 12, 2017 10:22 AM

    Hello Bryan,

    What is your view on this after your suggestion I modified in that way do let me know if any changes required.

    @ECHO OFF
    rem  ==================================================================
    rem  ==================================================================

    set backup_dir="C:\Program Files\Tivoli\TSM\baclient"

    cd /d %backup_dir%

    rem  ==================================================================
    rem   The 2 lines below put a date and time stamp in a log file for
    rem   you.
    rem
    rem   Note: You can change "backup.log" to whatever you prefer.
    rem  ==================================================================
    echo Current date is: >> clusterincr.log
    date /t < NUL >> clusterincr.log
    echo Current time is: >> clusterincr.log
    time /t < NUL >> clusterincr.log

    rem  ==================================================================
    rem   Now call the command line to do the full backup:
    rem
    rem   Note: You can change "backup.log" to whatever you prefer.
    rem  ==================================================================
    dsmc -optfile=C:\Program Files\Tivoli\TSM\baclient\dsm-cluster.opt
    dsmc incr DOMAIN "H:" -su=yes  >> clusterincr.log
    dsmc incr DOMAIN "I:" -su=yes >> clusterincr.log

    Now scheduler will call this command that will suffice to take cluster drive backup

     

    Prem



  • 6.  RE: Cluster drive backup is failing

    Posted Wed July 12, 2017 10:51 AM

    On quick glance, it appears that the script should work. I'd need to set up a test environment to validate.



  • 7.  RE: Cluster drive backup is failing

    Posted Wed July 12, 2017 11:34 PM

    Hi,

    But it is failing with same error it's a cluster disk. attaching the opt also.

    NODENAME DcPRCBSDBS01_cLS
    TCPSERVERADDRESS 10.101.7.25
    tcpport 1500
    ENABLELANFREE Yes
    LANFREECommmethod tcpip
    LANFREETCPPORT 1500
    PASSWORDAccess  generate
    lanfreetcpserveraddress 10.101.7.21
    SCHEDMODe Polling
    ERRORLOGName C:\Program Files\Tivoli\TSM\baclient\dsmerror.log
    ERRORLOGRetention 7 D
    SCHEDLOGName C:\Program Files\Tivoli\TSM\baclient\dsmsched.log
    CLUSTERnode YES
    CLUSTERDISKSOnly  NO
    REVOKEREMOTEACCESS ACCESS
    HTTPport  1581
    DOMAIN "H:"
    DOMAIN "I:"

    Prem



  • 8.  RE: Cluster drive backup is failing

    Posted Thu July 13, 2017 06:53 AM

    Hello Bryan,

    I think that is the problem in the script set command in referring to baclient directory. that is why it is pointing to dsm.opt and I wanted to point dsm-cluster.opt that is why I tried to change the location of OPT and move this into another drive that time it is not recognizing the dsmc which is true because on cluster drive dsmc is not available.

    @ECHO OFF
    rem  ==================================================================
    rem  ==================================================================

    set backup_dir="C:\Program Files\Tivoli\TSM\baclient"

    cd /d %backup_dir%

    Prem