Solved

uninstall agents on windows machines (ansible)

  • 25 August 2022
  • 6 replies
  • 182 views

Userlevel 4
Badge +14

Dear all,

I am trying to find a way to uninstall the commvault file system agent on some Windowss Virtual machines. We want to keep only Vmware Snapshot backup and sql agent inside the VM.

Do you have any clue on where to find the rights commands

We use ansible, and actually it works only for linuw machines.

 

Thanks !

 

icon

Best answer by Onno van den Berg 26 August 2022, 07:52

View original

6 replies

Userlevel 7
Badge +23

@Bloopa , are you saying you have some agents installed directly on the vms, but want to remove the FS install?  You may need that as a pre-req for some other agents.

That aside, are you looking for an automated way to do this through ansible?

Userlevel 7
Badge +16

Transfer the installer to the remote host and then use win_shell to run the following command on the remote host:

Setup.exe /uninstall /silent

Is this what you are looking for?

Userlevel 4
Badge +14

@Bloopa , are you saying you have some agents installed directly on the vms, but want to remove the FS install?  You may need that as a pre-req for some other agents.

That aside, are you looking for an automated way to do this through ansible?

Hello Mike, yes that's exactly it !

Userlevel 7
Badge +19

Is there any specific reason why you want to remove them from the systems? Having a restore-only client installed can be very beneficial for example in case you need to perform a FS recovery which is much faster when using an agent. Also you have all machines connected so just like @Mike Struening mentioned you can very easily push out specific application agents which can even be done automatically (you will have to turn it on) once Commvault performs an application discovery. 

Userlevel 4
Badge +14

Thaks to all for your answer, I will test and keep you informed !

Userlevel 4
Badge +10

You mentioned that you had the SQL agent inside the VM running backups as well. All of our agents require the FS Core as a minimum and agents that might use VSS etc, which SQL might, may also need File system Advanced (as it used to be called). So be cautious in removing the FS iDA if you are still backing up other applications. 

 

The safest way would be to simply release the license from Commvault and leave it installed.

Reply