Sequential Exchange Backup Workflow

Last post 04-04-2018, 12:55 AM by mmutha. 1 replies.
Sort Posts: Previous Next
  • Sequential Exchange Backup Workflow
    Posted: 04-02-2018, 12:48 PM

    Hi all,

     

    I'm attempting to create a workflow to run Exchange backups one subclient at a time using QCommands\Operations\Backup and then WaitForJobCompletion before running the next.

    But Q_MSEXCH_DB is not an option for dataAgent so my plan stalls right there.

    As seen below, I use QCommands\List\DataAgent to get the dataAgent name\type to confirm it's Q_MSEXCH_DB but thereafter the workflow does not like it.

     

    1006 WorkflowManager : starting workflow [Backup Exchange 01] with inputs [<inputs />]
    1009 SetActivityInputs : [Start (Start_1)] starting activity with inputs [<inputs />]
    1037 WorkflowStep : [Start (Start_1)] completing activity with status [COMPLETED], outputs [<Start_1><system><startTime>1522687259</startTime><endTime></endTime><status>RUNNING</status><timedOut>false</timedOut></system></Start_1>]
    1055 SetActivityInputs : [DataAgent (DataAgent_1)] starting activity with inputs [<inputs><client><clientName>EXCHANGEVIRTUALNAME</clientName><clientId /></client><sessionOptions><useImpersonatedAccount>true</useImpersonatedAccount><tokenFile /><token /></sessionOptions></inputs>]
    1073 CommandActivity : [DataAgent (DataAgent_1)] executing command [qlist dataagent -c "EXCHANGEVIRTUALNAME" -cs "COMMSERVE" -tk 36197a8086a9669e7a228c3c06a406750b8921560fb8b199d5376996c4b12c6bb914c5e9d5e611d15870d9f170a4f9497514742a036cde73bae510091d061652c372b4eb2a61255b4d5bcc68a225b0572a240ca721dd42bf3d1ec8e5eb34acb0b5960b256b9385f32fdbd459e2206f5e87bf10708bc5ea370e801c99ce99edee3b77c8f72ca503af1f5a540459c219220492ddda8284705c30585ce4e042b8203f38e24d86be6053ac4f99cb52badf736e6626fb3f9a391b5a5f079f68b7dcb14052552ba220163b46dc2a9d28fb1872c25ebfeb2059fb5e9]
    1073 CommandActivity : [DataAgent (DataAgent_1)] command succeeded with result [NAME DESCRIPTION ACTIVE
    ---- ----------- ------
    Q_MSEXCH_DB Exchange Database Yes]
    1073 WorkflowStep : [DataAgent (DataAgent_1)] completing activity with status [COMPLETED], outputs [<DataAgent_1><system><startTime>1522687263</startTime><endTime></endTime><status>RUNNING</status><timedOut>false</timedOut></system><dataAgent><dataAgent>Q_MSEXCH_DB</dataAgent><description>Exchange Database</description><active>true</active></dataAgent><exitCode>0</exitCode><commandOutput>NAME DESCRIPTION ACTIVE &#xD;
    ---- ----------- ------ &#xD;
    Q_MSEXCH_DB Exchange Database Yes</commandOutput></DataAgent_1>]
    1093 SetActivityInputs : [Instance (Instance_1)] starting activity with inputs [<inputs><client><clientName>EXCHANGEVIRTUALNAME</clientName><clientId /></client><sessionOptions><useImpersonatedAccount>true</useImpersonatedAccount><tokenFile /><token /></sessionOptions><dataAgent>Q_MSEXCH_DB</dataAgent></inputs>]
    java.lang.IllegalArgumentException: No enum constant workflow.types.cmd.DataAgent.Q_MSEXCH_DB
    at java.lang.Enum.valueOf(Enum.java:238)
    at commvault.cte.workflow.stream.converters.EnumConverter.unmarshal(Unknown Source)
    at commvault.cte.workflow.stream.XMLStream.decode(Unknown Source)
    at commvault.cte.workflow.stream.XMLStream.unmarshal(Unknown Source)
    at commvault.cte.workflow.stream.XMLStream.unmarshal(Unknown Source)
    at commvault.cte.workflow.handler.SetActivityInputs.executeHandler(Unknown Source)
    at commvault.cte.workflow.executor.StepExecutor.executeStep(Unknown Source)
    at commvault.cte.workflow.executor.StepExecutor.execute(Unknown Source)
    at commvault.cte.workflow.executor.AttemptExecutor.execute(Unknown Source)
    at commvault.cte.workflow.executor.StepExecutor$1.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:748)

    1116 DetermineInputs : [Instance (Instance_1)] skipping input determination for activity since it has been assigned with [<inputs><client><clientName>EXCHANGEVIRTUALNAME</clientName><clientId /></client><sessionOptions><useImpersonatedAccount>true</useImpersonatedAccount><tokenFile /><token /></sessionOptions><dataAgent>Q_MSEXCH_DB</dataAgent></inputs>]
    1116 SetActivityInputs : [Instance (Instance_1)] starting activity with inputs [<inputs><client><clientName>EXCHANGEVIRTUALNAME</clientName><clientId /></client><sessionOptions><useImpersonatedAccount>true</useImpersonatedAccount><tokenFile /><token /></sessionOptions><dataAgent>Q_MSEXCH_DB</dataAgent></inputs>]
    java.lang.IllegalArgumentException: No enum constant workflow.types.cmd.DataAgent.Q_MSEXCH_DB
    at java.lang.Enum.valueOf(Enum.java:238)
    at commvault.cte.workflow.stream.converters.EnumConverter.unmarshal(Unknown Source)
    at commvault.cte.workflow.stream.XMLStream.decode(Unknown Source)
    at commvault.cte.workflow.stream.XMLStream.unmarshal(Unknown Source)
    at commvault.cte.workflow.stream.XMLStream.unmarshal(Unknown Source)
    at commvault.cte.workflow.handler.SetActivityInputs.executeHandler(Unknown Source)
    at commvault.cte.workflow.executor.StepExecutor.executeStep(Unknown Source)
    at commvault.cte.workflow.executor.StepExecutor.execute(Unknown Source)
    at commvault.cte.workflow.executor.RestartExecutor.execute(Unknown Source)
    at commvault.cte.workflow.executor.StepExecutor$1.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:748)

    1006 BuildOutputs : built workflow outputs []
    1006 WorkflowManager : workflow [Backup Exchange 01] exiting with status [FAILED], failed activities [Instance_1(1116)]

    Should I be using another DataAgent for Exchange backups? I did try using the prepopulated MSEX... types but the backups fail. Or is this a bug?

    Many thanks, Shane

  • Re: Sequential Exchange Backup Workflow
    Posted: 04-04-2018, 12:55 AM

    What is the use case here? 

     

    I am assuming you are doing this so that you do not want to overload your exchange server.

    If this is the case, then you can add all the databases to a single subclient and then configure the number of streams for backup appropriately. This will ensure only the required number of databases are being processed at any given time.

     

    Thanks,

    Manas

The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Close
Copyright © 2019 Commvault | All Rights Reserved. | Legal | Privacy Policy