Unsolved
This post is more than 5 years old
2 Posts
0
1434
symconfigure command file
Hi All,
I am new to Symcli. I am going through someone's powershell script which delete's a data lun. It is done in multiple commands - unbind thin pools, dissolve meta device and each meta member is deleted one at a time. The commands commit after execution of a command. The commands can fail at any point in the execution of the script and might have orphan objects. Is it possible to execute all these commands as a transaction? either they all commit or none of them would. One option would be by passing file which has all these commands. In this case the file needs to generated with commands.
Let me know your thoughts.
Thanks,
PedalHarder
465 Posts
2
June 28th, 2015 16:00
The best way to determine if it is legal to have all the different changes in a change session is to run the symconfigure with the PREVIEW rather than the COMMIT parameter.
PREVIEW checks for syntax and the correctness of all of the changes to be run as a single set. It does not commit the change, it is just a test.