Storage Resource Manager Enterprise Edition Installation Guide

C22 Storage Resource Manager Enterprise Edition
SRM Troubleshooting Guide
How Can I Tell if a Scan is Running?
SRM scanning is a complex process. Note that for UNIX agents, there are two types of
scans, Computer and Partition (sometimes called file) scans. These are run from
a schedule, based on groups of Computers and Partitions.
When a group is scanned, SRM can scan up to ten (10) group members at one time. To
determine which SRM Groups are currently scanning, you can look at the Web page
SRMServerName/StorageResourceManager/Scans/Srmsched.asp
This URL must be typed in. There is not currently a link to it in the UI. Unfortunately
there is no way of determining from the UI which computers or partitions from a
particular group have been scanned or have yet to be scanned. You can check for
active NT agents by accessing each individual agent and opening Task Manager and
checking to see if the SRMAgent.exe process is getting CPU time.
When a scan is running on UNIX, a ps –ef | grep srmagent should show that
a process running. From this you cannot tell if it is a Computer scan or a File scan (or
if it is a File scan, which partition is being scanned.)
In addition, when a UNIX scan is complete, the agent attempts to post its results to
SRM via IIS. It will try to connect directly to the SRM service for a period (default 2
minutes). Then the scan results are placed in a file on the SRM NT server, and the
agent process terminates. A process named OEMSCANIO on NT will be in
execution to post the results, before and after these 2 minutes are up.
If the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Storeway\OEMScan\Log is set to 1,
you should be able to see individual UNIX scans starting in the NT Application Event
Log on the SRM Server. Also, if a line containing DUMP_REPORTS ALL is added
to the agentconfig file on a managed UNIX system, you should see a file in the
/usr/srmagent/dump directory showing the input to all file scans, and the output of all
completed scans (including computer scans).
NOTE: After scan results are posted, SRM still needs time to post results into the SRM
Database. This can take some time even after all UNIX srmagent and OEMSCANIO processes
have completed.
What Happens if the UNIX Agent Crashes?
It is supposed to write its core file to the /usr/srmagent/dump directory, in the
following format:
core_scantype from SRMServer_datetime[partitionname]