Skip to main content

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 o-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

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 = mCS 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 = aDISPLAY NAME]
- Client Hostname = oHOSTNAME]
- Job Results Directory = /opt/commvault/iDataAgent/jobResults

 

Best Regards,

Michael


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 ---------------------------------
o 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
o Package ]
1002/CVGxBase 11(BUILD80) = File System Core
1101/CVGxIDA = File System
o Physical Machine/Cluster Groups ]
Display Name = sDISPLAY NAME]
- Client Hostname = thostname]
- Job Results Directory = /opt/commvault/iDataAgent/jobResults

 

Best Regards,

Michael

 


Reply