We have installed some VNXe on small sites with only 1 antivirus server and Cava client for each site (small sites)
For some reasons (system maintenance, network), the antivirus server can be not available for many hours. In this case, the cava service - on the VNXe - is shutdown automatically to allow users to access to their files (without antivirus analyze) - any alert is sent. But, the CAVA service is not started when the antivirus server is available. Customer have to monitor directly the VNXe to know the status.
The first solution is to use an secondary antivirus server (best practices) -> Not possible. Small site (remember)
My question :
Is it possible to restart the CAVA service from the antivirus server (windows) with Unisphere CLI ?
Automatically ?
-> When the antivirus is rebooted (script)
and/or
-> Periodically -> Check the cava status on the VNXe -> If not enabled -> Start the service.
If you can configure SNMP traps to notify when the CAVA service stopped, you can issue a command to restart it. Unisphere CLI provides this functionality:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/cava show
-- shows the state of the CAVA service on the VNXe
The principal issue is that the VNXedoesn't generate alert when the Cava Service is stopped.
> When the "Shutdown" CAVA parameter is set to "viruschecking", the CAVA service is stopped and any event is sent.
Users can access to files but the CAVA service is not restarted automatically (never if you don't check the status yourself).
> When the "Shutdown" CAVA parameter is set to "no", a log event is sent to the VNXe Shared Folder Server. But I don't know if this parameter stop the file access to users (impact on the production).
Is it possible to do a script that check the Cava service status and start it of Cava Status is "no" ?
Schedule to run via Windows Task Scheduler as often as required.
It's a bit crude and basic, and you could add more functionality like email report if it wasn't started or if there's an error.
This is checking for the "Enabled = no" line in the /net/nas/cava show output. You could also check for the "State" information if that's more relevant.
If you want more detail let me know and I'll make something nicer
umichklewis
4 Apprentice
•
1190 Posts
1975
0
Posted March 26th, 2015 16:00
If you can configure SNMP traps to notify when the CAVA service stopped, you can issue a command to restart it. Unisphere CLI provides this functionality:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/nas/cava show
-- shows the state of the CAVA service on the VNXe
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! net/nas/cava -enabled yes
-- starts the CAVA service on the VNXe
If SNMP isn't option, you'll need to find another way to receive the notifications and act accordingly.
Let us know if that helps!
Karl