2013-10-23 02:09 PM
What do you want to do with that list? There is a PowerShell command that will return the Snapshots for a given volume so you could write a Command in WFA fairly easily but there may be other ways of tacking this with the default commands depending on what you want to do with that snap. Any more details you could share would help.
2013-10-23 04:10 PM
Right, I know how to get a list of snapshots with power-shell in a command. But I'd like it in the data cache so that I can have them available when the WFA inputs are processed, like you can with volume names, etc.
2013-10-23 04:43 PM
It looks like the data is not in the schema, and having checked the OCUM 6.0 database I don't have any snapshot objects populated in my view, which may be why.
I have a need for this information in the cache too, so will either create a new dictionary entry and collection, or create a new datasource that uses the OCUM controller list and gets snapshot list directly from the controllers. Will let you know how it goes!
2013-10-23 05:51 PM
I am using the 6.0RC1 so will install the 6.0 GA version this afternoon and see if I have any more luck.
It should be possible to define a new type in cm_storage called snapshot with a volume/name/timestamp attribute similar to the storage schema object, and write a cache query that uses the view from OCUM 5.2 to get the snapshots out.
I'll grab 5.2 as well and see if I can create a snapshot support pack for both in the next day or two.
2013-10-28 07:21 PM
Just to keep you updated, it appears from the beta notes that OCUM 6.1 will fix the snapshot issue in 6.0. Am trying to get a hold of it to test this out now.
From the 5.2 point of view, I've included a dictionary entry and cache query that should work for OCUM 5.2. They are based on the 7-mode snapshot model, database format appears the same. Let me know if it works, unfortunately I can't seem to get any storage controllers registering to my OCUM 5.2 instance to test it out.
You'd also need to add a finder but that should be simpler if the object type and cache query is there.