UNSOLVED

fpjansen

updated

17 years ago

F

fpjansen

2 Posts

0

520

August 17th, 2009 14:00

Parameter(s) for Post-Replication Script?

In a virtualizing environment, I am looking to do the following:

- create a replica (in this case, it is a CLARiiON Snapshot Snap)
- after the replica completes, execute a script to make the newly created snapshot session available to a virtual server

The conundrum I am trying to solve is how to identify the snapshot session; in the RM documentation it talks about XML files existing for application callout scripts, but I didn't see a similar option for a post-replication script.

Is it possible to get RM to indicate what storage was just created?

thanks,

Frank
  • JamesBEMC

    257 Posts

    254

    1

    Posted August 18th, 2009 01:00

    Hi Frank

    Interesting idea.

    There would be a few ideas in figuring out what storage was just created. Getting this information to a script in a digestible format is the trick.

    You could use RMCLI to pull what the latest snapshot is from that source LUN(s)
    eg
    /Storage/CKM000XXX00063/RMSERVER-0075-1152
    /Storage/CKM000XXX00063/RMSERVER-0075-1280
    /Storage/CKM000XXX00063/RMSERVER-0075-1333

    Say 1333 (a number generated by the RM database), then parse that number in the list of snapshots via NaviSecCli and then present that to the ESX server?

    James.
  • fpjansen

    2 Posts

    254

    0

    Posted August 18th, 2009 05:00

    Hi James,

    thank you for the response. I was thinking along the lines of using RMCLI to get the information, but struggled with a good method for ensuring that this is indeed the correct snapshot. My concern is that in an environment where a number of snapshots are taken close together (i.e. it's time to start the backup jobs), it may be impossible to guarantee that I have the right one, in which case I could be exposing someone else's data to the virtual server.

    I'd welcome your thoughts on this,.

    thanks,

    Frank