<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to monitor remote sas servers' metadata server logs in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-monitor-remote-sas-servers-metadata-server-logs/m-p/875635#M26624</link>
    <description>&lt;P&gt;Good Day, everyone!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am managing SAS 9.4 and viya3.5 running in each different Server and make&amp;nbsp;a data table referencing these MetadatServer logs with filename statement in order to track users' activities&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say SAS9.4 is running in server A with an example ip&amp;nbsp;192.168.&amp;nbsp;123.132 and viya3.5 is running in server B with IP 192.168.123.60.&amp;nbsp;MetadataServer Logs are in /sas/config/Lev1/SASMeta/MetadataServer/Logs/ of Ser&lt;BR /&gt;ver A, and it keep tracks of both sas9.4 and viya3.5 's activities such as user log in and out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, my company installed new SAS9.4 in each Server C (192.168.&amp;nbsp;123.140) and D (192.168.&amp;nbsp;123.141) and I have to manage users of new SAS9.4 in Server C and D too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I thought of 2 ways of managing this situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Case 1 is to make MetadataServer Logs keep track of SAS9.4 in Server C and D just like viya3.5 of Server B thru configuration of SAS Management Console(?).&lt;/P&gt;&lt;P&gt;-&amp;gt; Since viya3.5 is kept track of, i thought it would be possible. but I dont know how to add new SAS servers in the track.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Case 2 is to connect Server C or D using rsubmit statement in Serve A and reference their own MetadataServer Logs.&lt;/P&gt;&lt;P&gt;-&amp;gt; But I keep getting Error from rsubmit statement.. is there other way to reference their logs?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Server A, It is possible to create and delete sas user accounts on Server C and D using "options metaserver =&amp;nbsp;metaport = metauser = metapass =&amp;nbsp; metarepository = Foundation; options mprint mlogic symbolgen;" statement. So I guess there is no network problem between them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please read the situation I wrote carefully and let me know if you have any ideas on how to solve this problem or any advice on the solutions I proposed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 14 May 2023 04:53:06 GMT</pubDate>
    <dc:creator>KIIMCL</dc:creator>
    <dc:date>2023-05-14T04:53:06Z</dc:date>
    <item>
      <title>How to monitor remote sas servers' metadata server logs</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-monitor-remote-sas-servers-metadata-server-logs/m-p/875635#M26624</link>
      <description>&lt;P&gt;Good Day, everyone!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am managing SAS 9.4 and viya3.5 running in each different Server and make&amp;nbsp;a data table referencing these MetadatServer logs with filename statement in order to track users' activities&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say SAS9.4 is running in server A with an example ip&amp;nbsp;192.168.&amp;nbsp;123.132 and viya3.5 is running in server B with IP 192.168.123.60.&amp;nbsp;MetadataServer Logs are in /sas/config/Lev1/SASMeta/MetadataServer/Logs/ of Ser&lt;BR /&gt;ver A, and it keep tracks of both sas9.4 and viya3.5 's activities such as user log in and out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, my company installed new SAS9.4 in each Server C (192.168.&amp;nbsp;123.140) and D (192.168.&amp;nbsp;123.141) and I have to manage users of new SAS9.4 in Server C and D too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I thought of 2 ways of managing this situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Case 1 is to make MetadataServer Logs keep track of SAS9.4 in Server C and D just like viya3.5 of Server B thru configuration of SAS Management Console(?).&lt;/P&gt;&lt;P&gt;-&amp;gt; Since viya3.5 is kept track of, i thought it would be possible. but I dont know how to add new SAS servers in the track.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Case 2 is to connect Server C or D using rsubmit statement in Serve A and reference their own MetadataServer Logs.&lt;/P&gt;&lt;P&gt;-&amp;gt; But I keep getting Error from rsubmit statement.. is there other way to reference their logs?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Server A, It is possible to create and delete sas user accounts on Server C and D using "options metaserver =&amp;nbsp;metaport = metauser = metapass =&amp;nbsp; metarepository = Foundation; options mprint mlogic symbolgen;" statement. So I guess there is no network problem between them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please read the situation I wrote carefully and let me know if you have any ideas on how to solve this problem or any advice on the solutions I proposed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 04:53:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-monitor-remote-sas-servers-metadata-server-logs/m-p/875635#M26624</guid>
      <dc:creator>KIIMCL</dc:creator>
      <dc:date>2023-05-14T04:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor remote sas servers' metadata server logs</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-monitor-remote-sas-servers-metadata-server-logs/m-p/875636#M26625</link>
      <description>&lt;P&gt;RSUBMIT needs either a CONNECT server listening, or an open telnet (something which is frowned on because of security reasons).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your servers should have ssh running, which will allow FILENAME SFTP to read files there.&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 05:25:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-monitor-remote-sas-servers-metadata-server-logs/m-p/875636#M26625</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-05-14T05:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor remote sas servers' metadata server logs</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-monitor-remote-sas-servers-metadata-server-logs/m-p/875711#M26626</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How Do I check if the servers are ok to run Filename sftp?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to run Filename sftp but keep getting error which says&amp;nbsp; "ERROR: Directory or file (/directory/log file) doesn't exist.". (I replaced the real dir and file name.)&lt;/P&gt;&lt;P&gt;I think codes are ok (maybe?) but the servers might not be configured to&amp;nbsp;run this statement. But I don't know how to check. Sorry, but would you let me know?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Those are the codes I tried:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename in sftp 'directory' host='the ip address' dir;&lt;BR /&gt;data metadata_log (keep=timestamp username success);&lt;BR /&gt;infile in(log file name) truncover;&lt;BR /&gt;length&lt;BR /&gt;infile_line $200&lt;BR /&gt;timestamp 8&lt;BR /&gt;type $10&lt;BR /&gt;username $32&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename in sftp '/directory/logfile' host='the ip address' dir;&lt;BR /&gt;data metadata_log (keep=timestamp username success);&lt;BR /&gt;infile in truncover;&lt;BR /&gt;length&lt;BR /&gt;infile_line $200&lt;BR /&gt;timestamp 8&lt;BR /&gt;type $10&lt;BR /&gt;username $32&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 00:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-monitor-remote-sas-servers-metadata-server-logs/m-p/875711#M26626</guid>
      <dc:creator>KIIMCL</dc:creator>
      <dc:date>2023-05-15T00:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor remote sas servers' metadata server logs</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-monitor-remote-sas-servers-metadata-server-logs/m-p/875766#M26629</link>
      <description>&lt;P&gt;FILENAME SFTP in SAS requires that you set up passwordless authentication for SSH first (using public/private key pairs). SSH software does not allow passwords on the commandline, and SAS calls the external sftp that way.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 09:15:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-monitor-remote-sas-servers-metadata-server-logs/m-p/875766#M26629</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-05-15T09:15:32Z</dc:date>
    </item>
  </channel>
</rss>

