we run smpolicysrv -publish command where policy server is installed and file is generated in log files.
Can we do it in remote server using batch files and get file generated in remote machine?
Yes, it should be okay to run the publish command remotely.
Thanks for quicker response.
My concern is when we run smpolicysrv -publish command ,log file is
generated in /siteminder-home/log folder.
Is their any option of getting XML file in remote server only?
On 18 Aug 2016 1:01 pm, "Ujwol" <email@example.com>
Yes, you can specify the path where you want to create the xml file.
smpolicysrv -publish <optional file_name>
Published information is written in XML format to a specified file. The specified file name is saved in the following registry key:
This key is located in the system registry on Windows systems, and in the install_dir/registry/sm.registry file on UNIX. The default value of the registry setting is:
If you execute smpolicysrv -publish from a command line, and you do not supply a path and file name, the value of the registry setting determines the location of the published XML file.
Note: On Windows systems, do not run the smpolicysrv command 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.
Publishing Diagnostic Information - CA Single Sign-On - 12.52 SP1 - CA Technologies Documentation
That shows file could be generated in same machine where PS is installed.
But remote server where PS is not installed , Any idea what could be done
in that case?
*Ankit Jain *| IAM Engineer | +91 9741336404
Identity: Secure, Intelligent, Managed
On Thu, Aug 18, 2016 at 2:48 PM, Ujwol <
Have you tried giving a network path?