You can run the Policy Server process interactively in a separate window with debugging options turned on to troubleshoot problems. The following server executable may be run from the command line:
install_dir/siteminder/bin/smpolicysrv
Note: On Windows systems, do not run the smpolicysrv commands from a remote desktop or Terminal Services window. The smpolicysrv command depends on inter-process communications that do not work if you run the smpolicysrv process from a remote desktop or Terminal Services window.
Use the following options with the smpolicysrv command:
This option is used to modify the TCP port that the server binds to for Agent connections. If this switch is not used, the server defaults to the TCP port specified through the Policy Server Management Console.
This option is used to modify the UDP port that the server binds to for RADIUS connections. If this switch is not used, the server defaults to the UDP port specified through the Policy Server Management Console. This switch is applicable to the authentication and accounting servers only.
This switch stops the server in the most graceful manner possible. All database and network connections are closed properly using this method.
This switch stops the server immediately, without first closing database and network connections.
This switch produces current server runtime statistics such as thread pool limit, thread pool message, and the number of connections.
This switch resets the current server runtime statistics without restarting the Policy Server. This switch resets the following counters:
This switch does not reset the following counters:
Publishes information about the Policy Server.
Sets the TCP port for the administration service.
Sets the UDP port for Radius accounting.
Sets the UDP port for the administration service.
Sets the UDP port for Radius authentication.
Enables the servicing of Agent API requests.
Disables the servicing of Agent API requests.
Enables the servicing of administration requests.
Disables the servicing of administration requests.
Enables the servicing of RADIUS requests.
Disables the servicing of RADIUS requests.
Combines the following options into a single option:
The command:
If the Policy Server is already logging trace data, running the starttrace command causes the Policy server to:
For example, if the trace file name in Policy Server Management Console's Profiler tab is C:\temp\smtrace.log, the Policy Server generates a new file and saves the old one as c:\temp\smtrace.20051007_121807.log. The time stamp indicates that the Policy Server created the file on October 7, 2005 at 12:18 pm. If you have not enabled the tracing of a file feature using the Policy Server Management Console's Profiler tab, running this command does not do anything.
The command:
You can use two smpolicysrv command line options, -dumprequests and -flushrequests, to troubleshoot and recover more quickly from an overfull Policy Server message queue. Only use these options in the following case:
!Important Do not use -dumprequests and -flushrequests in normal operating conditions.
Outputs a summary of each request in the Policy Server message queue to the audit log.
Flushes the entire Policy Server message queue, so that no requests remain.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |