NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

SnapManager to SnapCenter Transition

How to stop Snapcenter clone Lifecycle job from prescript

RoyKops2006
2,469 Views

I'm using SnapCenter Server 4.4 Build 4.4.0.5053 for a database SQL clone Lifecycle job.

I'm using a powershell prescript to test if the database needs to be replaced by means of a clone lifecycle process.
Q: What command do I use to stop the clone lifecycle process from the prescript?
My Snapcenter clone Lifecycle job calls a powershell prescription script. The Powershell script contains 1 line that starts a SQL job. In the SQL job the value of a cell is checked. If that value is "no", the Snapcenter clone lifecycle process should stop.

1 REPLY 1

aladd
2,411 Views

I assume you're generating the clone in the pre-script as well?

 

Depending on what you're doing in the script currently, it may be easier to simply allow snapdir access on the SQL client and make the comparison against that.

 

Can you provide a bit more context about what is occurring in the scripting process, that may help with providing a solution.

Public