Solved

Ransomware protection enable on Linux

  • 4 November 2021
  • 2 replies
  • 1062 views

Badge +1

Hi,

New commvault user here.

 

Trying to enable ransomware protection on a CentOS disk library, but when trying to do so, it asks for an instancename parameter, where I can find the instancename in order to execute the script?

 

 ./cvsecurity.py enable_protection -i
usage: cvsecurity.py enable_protection [-h] -i INSTANCENAME
cvsecurity.py enable_protection: error: argument -i/--instancename: expected one argument

 

System:

 

Commvault 12.4

Linux Disk Library: CentOS 7.9

Thanks

icon

Best answer by MichaelCapon 4 November 2021, 11:01

View original

2 replies

Userlevel 6
Badge +14

Hi @PALM2021 ,

 

Usually there would be only one instance on the Media Agent. You need to specify the instance name when running the script, Example:
./cvsecurity.py enable_protection -i Instance001

 

On the Linux MA you can issue a “Commvault Status” to list the Instance information, It’s most likely Instance001.
The output will be something like this:
--------------------------------- Instance001 ---------------------------------
[ General ] Version = 11(BUILD80) SPxx HPKxx(DATE)
CommServe = [CS NAME]
Home Directory = /opt/commvault/Base
Log Directory = /var/log/commvault/Log_Files
Core Directory = /opt/commvault
Temp Directory = /opt/commvault/Base/Temp
Platform Type = 4
Cvd Port Number = 8400
[ Package ]
1002/CVGxBase 11(BUILD80) = File System Core
1101/CVGxIDA = File System
[ Physical Machine/Cluster Groups ]
Display Name = [DISPLAY NAME]
- Client Hostname = [HOSTNAME]
- Job Results Directory = /opt/commvault/iDataAgent/jobResults

 

Best Regards,

Michael

Badge +1

Hi @MichaelCapon ,

 

That's it, thanks!

Hi @PALM2021 ,

 

Usually there would be only one instance on the Media Agent. You need to specify the instance name when running the script, Example:
./cvsecurity.py enable_protection -i Instance001

 

On the Linux MA you can issue a “Commvault Status” to list the Instance information, It’s most likely Instance001.
The output will be something like this:
--------------------------------- Instance001 ---------------------------------
[ General ] Version = 11(BUILD80) SPxx HPKxx(DATE)
CommServe = [CS NAME]
Home Directory = /opt/commvault/Base
Log Directory = /var/log/commvault/Log_Files
Core Directory = /opt/commvault
Temp Directory = /opt/commvault/Base/Temp
Platform Type = 4
Cvd Port Number = 8400
[ Package ]
1002/CVGxBase 11(BUILD80) = File System Core
1101/CVGxIDA = File System
[ Physical Machine/Cluster Groups ]
Display Name = [DISPLAY NAME]
- Client Hostname = [hostname]
- Job Results Directory = /opt/commvault/iDataAgent/jobResults

 

Best Regards,

Michael

 

Reply