Data Protection Software

Expand all | Collapse all

Stretch Cluster backup missed always at one site

  • 1.  Stretch Cluster backup missed always at one site

    Posted Mon May 25, 2020 09:11 AM
    Hi All,

    I am facing a situation where I am looking for all of your advise how to achieve this. I have 2 standalone Spectrum Protect Server version 8.1.5.

    * I have 100 +  stretch cluster server backup is configured. (database/windows cluster drive backup)
    * I have configured cluster aware service.
    * Backup is completing at one site without any issue.
    *  on the other site backup is getting missed which is correct because cluster resources/database backup is happening from primary node.

    I need some sort of script or process on the secondary node where cluster resources is not available.script can check if cluster resources/Database is not available/active on secondary node somehow it returned the exit code 0 so that on tsm side backup will display completed, whole idea to avoid backup success rate reduction.




    ------------------------------
    Thanks
    Prem

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


  • 2.  RE: Stretch Cluster backup missed always at one site

    Posted Mon May 25, 2020 10:38 AM
    Hi Prem,
    you have to configure the TSM client instance to come up with the cluster resource.
    So the backup will be executed on the active node only.

    Put the TSM config files on the cluster resource and configure the corresponding TSM services to start up with the cluster resource.
    It's quite a while since I have configured such a scenario, so please consult the MS Cluster documentation for services configuration.

    Best regards,
    Jochen

    ------------------------------
    Jochen Meixner
    Principal Consultant Storage & Backup Solutions
    CONET Services GmbH
    Duesseldorf, Germany
    ------------------------------



  • 3.  RE: Stretch Cluster backup missed always at one site

    Posted Mon May 25, 2020 11:12 AM
    Hi Jochen,

    Thanks for the response I think there is a confusion. As i said everything is as working as expected. I will try to rephrase here.

    1 Assume we have 2 node strech cluster
    2 both the nodes register on 2 different TSM server.
    3 we have configured cluster aware service.
    4 service and schedule will work and successful only where your cluster resources is available or active.
    5 secondary node in all cases on one of the TSM server schedule will show missed.

    I think now it's clear, now expectation here is on both the TSM server schedule backup will show successful. On one TSM server actually data will backup and another instance it will just check the cluster resources and since cluster resources is not available, it just return code 0 so that in TSM it will display successful.

    Thanks
    Prem






  • 4.  RE: Stretch Cluster backup missed always at one site

    Posted Tue May 26, 2020 04:45 AM
    Hi Prem,
    ok, interesting scenario.
    I would solve this with a command schedule on each TSM Server.
    Test the existence of the cluster drive (I assume it is a drive). And when it is present, then execute the backup. 

    This is a example code, I did not test it to the end. But it should give you an idea....

    @echo off
    SETLOCAL ENABLEEXTENSION
    SET /A errno=0

    vol x: >nul 2>nul
    if errorlevel 1 ( GOTO no)
    else (GOTO yes)


    :yes
    >>>> your dsm command(s) here <<<<<<<<
    exit

    :no
    exit /B %errno%

    Best regards,
    Jochen


    ------------------------------
    Jochen Meixner
    Principal Consultant Storage & Backup Solutions
    CONET Services GmbH
    Duesseldorf, Germany
    ------------------------------



  • 5.  RE: Stretch Cluster backup missed always at one site

    Posted Tue May 26, 2020 05:04 AM
    Hi Jochen,

    Thanks let me test this as of now I am not using any script to run fs cluster backup on schedule we have just mentioned command and incremental.i will create one script and will test it.

    Thanks
    Prem





  • 6.  RE: Stretch Cluster backup missed always at one site

    Posted Tue June 02, 2020 08:48 PM
    Hi Jochen,

    I tried and route a log file as well to see if it's giving any log but no luck. I am not able to identify it's working or not. do you know some sort of message to route in the log in the script where if it doesn't found and cluster drive it will write a message in the log file. and sorry for replying late.



    --
    Regards
    Prem Singh Bathyal
    Contact- 8527337214