Skip to main content
Solved

Ransomware protection enable on Linux

  • 4 November 2021
  • 2 replies
  • 1231 views

Forum|alt.badge.img+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

Best answer by MichaelCapon

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

View original
Did this answer your question?

2 replies

MichaelCapon
Vaulter
Forum|alt.badge.img+14
  • Vaulter
  • 348 replies
  • Answer
  • November 4, 2021

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


Forum|alt.badge.img+1
  • Author
  • 3 replies
  • November 4, 2021

Hi @MichaelCapon ,

 

That's it, thanks!

MichaelCapon wrote:

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

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings