000012100 - How to set up lsmaint to run as schedule job in GUI

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000012100
Applies ToenVision 3.7, 4.0.0, 4.1.0
 
IssueHow to set up lsmaint to run as schedule job in GUI
You wish to schedule lsmaint to perform log maintenance. You might not have direct access to the appliance or you wish to perform this from the enVision GUI
ResolutionFollow below instructions to schedule a task in GUI to run lsmaint regularly
1. Go to overview -> System configuration -> Scheduler service -> manage scheduled Task
2. Create a new case, name it per your desired
3. Select executable name by pointing to e:\nic\<version>\<nodename>\bin\lsmaint.exe
4. In the Parameter string, fill in the rest of the lsmaint.exe parameters
e.g:

Lsmaint ?copy c:\nic ?time -1d now ?device 10.32.27.41 ?show


 


This will copy all the logs collected from yesterday till now. Target of the device 10.32.27.4. Target location is c:\nic. The ?show will print out all the log files involved, but no actual copy will take place


 


Lsmaint ?copy c:\nic ?time -1d now ?device 10.32.27.41


 


This will do the actual copy


 


Lsmaint ?move c:\nic ?time -1d now ?device 10.32.27.41


 


This will move all the logs collected from yesterday till now. Target device is 10.32.27.41. Target location is c:\nic.


 


Lsmaint ?move c:\nic ?time -1d now ?device *


 


This will move all the logs collected from yesterday till now. Target device is all


 


Lsmaint ?move c:\nic ?time start -90d ?device 10.32.27.41


 


This will move all the logs which are more than 90 days old. Target location is c:\nic


 


Lsmaint ?move ?\\10.32.28.75\My Documents\nic? ?time start -90d ?device 10.32.27.41


 


This will move all the logs which are more than 90 days old. Target location is on network drive specified by its unc path. Note that on the share drive, it needs to have sufficient access for the NIC_System user, as this is the user that runs most of the enVision service


 


Lsmaint ?move ?\\10.32.28.75\My Documents\nic? ?time start -90d ?device *


 


Similar to above but will apply to all devices

Legacy Article IDa50520

Attachments

    Outcomes