Layer7 Access Management

Expand all | Collapse all

SMPUBLISH in remote server

Jump to Best Answer
  • 1.  SMPUBLISH in remote server

    Posted 08-17-2016 08:59 AM

    Hello All,

     

    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?

     

     

    Thanks



  • 2.  Re: SMPUBLISH in remote server

    Posted 08-18-2016 03:30 AM

    Hi Ankit,

     

    Yes, it should be okay to run the publish command remotely.

     

    Regards,

    Ujwol



  • 3.  Re: SMPUBLISH in remote server

    Posted 08-18-2016 03:36 AM

    Hello Ujwol,

     

    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?

     

    Thanks

     

    Ankit Jain

     

    On 18 Aug 2016 1:01 pm, "Ujwol" <communityadmin@communities-mail.ca.com>



  • 4.  Re: SMPUBLISH in remote server
    Best Answer

    Posted 08-18-2016 05:18 AM

    Yes, you can specify the path where you want to create the xml file.

     

    e.g

     

    smpolicysrv -publish <optional file_name>

    Specify a Location for Published Information

    Published information is written in XML format to a specified file. The specified file name is saved in the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Netegrity\SiteMinder\CurrentVersion\ Publish 

    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:

    policy_server_install_dir>\log\smpublish.xml

    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



  • 5.  Re: SMPUBLISH in remote server

    Posted 08-18-2016 06:16 AM
      |   view attached

    Hello Ujwol,

     

    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?

     

    Thanks

     

     

     

     

     

    *Ankit Jain *|  IAM Engineer |  +91 9741336404

    Identity:  Secure, Intelligent, Managed

     

    On Thu, Aug 18, 2016 at 2:48 PM, Ujwol <



  • 6.  Re: SMPUBLISH in remote server

    Posted 08-18-2016 06:45 AM

    Have you tried giving a network path?