Solved

Exclude VM's automatically from SLA with a certain tag

  • 24 June 2021
  • 1 reply
  • 456 views

Badge +1

We are a service provider with a lot of VM backups on a lot of different customers. We let the customers on they own decide what WM's to backup and not with the tagging option. For example, if a customer tag the VM with "NoBackup", that VM will automatically be excluded from VM backup. And if they later remove the tag from the VM, it will automatically be included in backup. The problem is that even if the VM is excluded from backup it will still be included in SLA as missed backup. We got a tip that we can create a server group in command center with automatic rule that includes all VM's with "NoBackup" tag and then disable that server group and that way exclude that from SLA. The problem with that is that the whole client is disabled and excluded. Inclusive agent backups. This means that if a customer disables the VM backup and still need to backup an application via agent backup, above method isn?t applicable. We need a method where only VM backup automatically is excluded when it's tagged with a certain tag that doesn't affect agent backups.

icon

Best answer by Blaine Williams 25 June 2021, 08:45

View original

1 reply

Userlevel 5
Badge +8

Hi Lars,

Out of the box I cant think of anything that can perform this. However there are command lines to set sub clients for exclusions from the SLA report. 

SetSLAExclusionForSubclients Use this QScript to modify the 'Exclude From SLA' property for the clients and subclients from an input file. QScript QS_ListSLAExclusionForSubclients can be used to get the list of subclients in a file. Remove column headers and other information at the top and the bottom of the file. All the lines that do not include client information must be deleted from the text file. The file should contain below details so as to use it as input to QS_SetSLAExclusionForSubclients. Format: AppId ClientName AppTypeName InstanceName BackupsetName SubclientName ClientExcluded SubclientExcluded Example: 2 WinClient Windows File System DefaultInstanceName defaultBackupSet default 0 0 CommServ.QS_SetSLAExclusionForSubclients.Readme.html

https://documentation.commvault.com/commvault/v11_sp20/article?p=features/cli/qscripts.htm

You should be able to complete this by creating a workflow. This does need developer skills but is well documented. 

https://documentation.commvault.com/commvault/v11_sp20/article?p=49513.htm

Alternatively you can reach out to the Personalization through your account manager.  team https://documentation.commvault.com/commvault/v11_sp20/article?p=40854.htm

 

I hope this helps

 

 

Reply