Quantcast
Channel: VMware Communities : Discussion List - Site Recovery Manager
Viewing all articles
Browse latest Browse all 3691

SRM API - Detach disk programatically

$
0
0

I'm trying to set a VM's Disk (really many VM's with many disks that change frequently) to "Detached" in SRM protection, however I'm unable to determine a programatic way to perform this action. I've scoured the SRM API (using SRM version 8.1.0.4 FYI), but it doesn't look like this is exposed with any method or spec I can find.

 

Using PGadmin, I've drilled into the DB, and found the tables in question, however it looks like there might be some enumerating function at work that I can backward engineer from my vantage point.

 

Has anyone ever tried this? Anyone successful?

 

For those interested/more skilled than I:

postgresdb tables involved (as far as I can tell):

pdr_protectedvm (interested field is excludeddevicekey)

g_int32_array(link to excludeddevicekey)

 

 

Any help would be great, thanks everyone!


Viewing all articles
Browse latest Browse all 3691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>