question

WesleyBaeyens-5818 avatar image
0 Votes"
WesleyBaeyens-5818 asked azure-cxp-api edited

Check if all vms in cluster are in DPM protection group

Hi Guys,

I have a small practical question... and since i don't see any subpage for DPM anymore, I think I try my luck here on this forum

Last week we had a crash on our production cluster, and one of the vm's on it is corrupt. We thought all the production vms are being backcupped ... guess not...

So we wondering if someone has a script or something, so we can monitor/ see if all vm's in the cluster are in the protection group. If anyone creates a new vm, we see that the new vm is not in the group, so we can add it to dpm, this way we never miss out backups anymore..

Thanks already for any feedback

greetings

not-supported
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@WesleyBaeyens-5818 Thanks for your comment. To retrieve the list of protection groups on DPM , use PowerShell command Get-DPMProtectionGroup and to retrieve the list of the virtual machines hosted in protection group , use PowerShell command Get-DPMProductionServer.

Whenever a virtual machine is created , you can create an activity log alert to notify. And check if the created virtual machine is part of protection group using above commands.

Reference Article : https://docs.microsoft.com/en-us/azure/backup/backup-azure-dpm-introduction


1 Vote 1 ·

@WesleyBaeyens-5818 Did you get chance to look at my previous comment? Let me know if you have questions related to it.

1 Vote 1 ·

Hi ,

thanks already for your reply. I see where you going with this. You have any examples maybe to automate this.

greetings


Wesley

0 Votes 0 ·

@WesleyBaeyens-5818 Apologies for late response. I do not have DPM set up so that I couldn't provide exact script. But here are some scripts which can help you in creating your scripts.

1 Vote 1 ·

0 Answers