<?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 Re: Global Expert Mode Commands in Hyperscale Firewall (Maestro)</title>
    <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144255#M841</link>
    <description>&lt;P&gt;I would try using gexec command and execute it on remote SGM&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 07:59:23 GMT</pubDate>
    <dc:creator>Anatoly</dc:creator>
    <dc:date>2022-03-21T07:59:23Z</dc:date>
    <item>
      <title>Global Expert Mode Commands</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144131#M834</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Other than the global expert mode commands specified in the R80.30 SP documentation, it it possible to run a custom global command in expert mode? I want to run a mgmt_cli command in the gaia api context to create user accounts on all SGMs. This needs to be run in expert mode.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this supported?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simon&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 05:13:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144131#M834</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2022-03-18T05:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Global Expert Mode Commands</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144132#M835</link>
      <description>&lt;P&gt;Just put a &lt;CODE&gt;g_all&lt;/CODE&gt; or &lt;CODE&gt;gexec&lt;/CODE&gt; in front of your command to run it globally on all SGMs of your security group.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 08:16:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144132#M835</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2022-03-21T08:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Global Expert Mode Commands</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144133#M836</link>
      <description>&lt;P&gt;Unfortunately this only works for the mgmt_cli login command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sid.txt is created but only on the local SGM its running on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to run the second mgm_cli command with g_all&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1_01:&lt;/P&gt;&lt;P&gt;Failed to open login output file [sid.txt]&lt;/P&gt;&lt;P&gt;1_02:&lt;/P&gt;&lt;P&gt;code: generic_err_session_expired&lt;/P&gt;&lt;P&gt;errors: Unauthorized sid, session may have expired&lt;/P&gt;&lt;P&gt;message: Session expired&lt;/P&gt;&lt;P&gt;1_03:&lt;/P&gt;&lt;P&gt;Failed to open login output file [sid.txt]&lt;/P&gt;&lt;P&gt;Not sure why the message for SGM2 specified unauthorized sid. There is no existing sid in the home folder of the account Im authorizing with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed when I create the accounts in the SMO webui, the accounts are replicate to the other SGMs. However when I try to create them in the gaia api context using mgmt_cli add user, the accounts are not replicated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 06:13:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144133#M836</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2022-03-18T06:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Global Expert Mode Commands</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144139#M837</link>
      <description>&lt;P&gt;I do not think you can run a single mgmt_cli command on all SGMs at once, as each one of them needs a separate authorisation for the API session. Please do scripting instead, sending commands to each SGM separately, including authentication.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 09:27:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144139#M837</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-03-18T09:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Global Expert Mode Commands</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144144#M838</link>
      <description>&lt;P&gt;The authenticated session ID for each SGMs is in the sid.txt on SGM1. Seems the sid.txt is only created on SGM1, even though the mgmt_cli login command is being run on all SGMs with g_all. I would expect a copy of the sid.txt to be created in the /home folder of the account I'm using to authenticate with on each SGM It seems when the command is run on each SGM, its expectedly looking for the file locally and not being able to locate it. Odd though that it can't find the file for SGM&amp;nbsp;1_01, as that is where the sid.txt is being created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 10:30:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144144#M838</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2022-03-18T10:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Global Expert Mode Commands</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144238#M839</link>
      <description>&lt;P&gt;Do you know how to change SGM members in a bash script without the script terminating?&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to change members, the script terminates after the change is performed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 02:28:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144238#M839</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2022-03-21T02:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Global Expert Mode Commands</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144245#M840</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/4113"&gt;@Anatoly&lt;/a&gt;&amp;nbsp; can you comment please?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 07:38:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144245#M840</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-03-21T07:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Global Expert Mode Commands</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144255#M841</link>
      <description>&lt;P&gt;I would try using gexec command and execute it on remote SGM&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 07:59:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144255#M841</guid>
      <dc:creator>Anatoly</dc:creator>
      <dc:date>2022-03-21T07:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Global Expert Mode Commands</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144256#M842</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/16342"&gt;@Simon_Macpherso&lt;/a&gt;, you seem to be interested in creating Gaia user accounts globally on all SGMs, so I suggest to use &lt;CODE&gt;gClish&lt;/CODE&gt; or an expert command / script that executes commands in &lt;CODE&gt;gClish&lt;/CODE&gt; context. Commands exectuted in &lt;CODE&gt;gClish&lt;/CODE&gt; are replicated to all SGMs automatically, just as you described for SMO WebUI changes.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 08:18:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144256#M842</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2022-03-21T08:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Global Expert Mode Commands</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144847#M853</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/4113"&gt;@Anatoly&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This worked for 2 x 2 gw Maestro clusters.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm having an issue with a 3rd cluster we recently deployed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When I run the script on this 3 member cluster, it only runs on member 2 and fails to parse the sid.txt on the other gateways (note the accounts already exist on member 2 from when the script first ran against the cluster).&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1_01]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_01]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_01]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_01]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_01]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_01]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_01]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_01]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_01]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_01]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_01]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_01]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_02]code: object_already_exist&lt;BR /&gt;[1_02]errors: User already exists&lt;BR /&gt;[1_02]message: Object Already Exist&lt;BR /&gt;[1_02]&lt;BR /&gt;[1_02]code: object_already_exist&lt;BR /&gt;[1_02]errors: User already exists&lt;BR /&gt;[1_02]message: Object Already Exist&lt;BR /&gt;[1_02]&lt;BR /&gt;[1_02]code: object_already_exist&lt;BR /&gt;[1_02]errors: User already exists&lt;BR /&gt;[1_02]message: Object Already Exist&lt;BR /&gt;[1_02]&lt;BR /&gt;[1_02]code: object_already_exist&lt;BR /&gt;[1_02]errors: User already exists&lt;BR /&gt;[1_02]message: Object Already Exist&lt;BR /&gt;[1_02]&lt;BR /&gt;[1_02]code: object_already_exist&lt;BR /&gt;[1_02]errors: User already exists&lt;BR /&gt;[1_02]message: Object Already Exist&lt;BR /&gt;[1_02]&lt;BR /&gt;[1_02]code: object_already_exist&lt;BR /&gt;[1_02]errors: User already exists&lt;BR /&gt;[1_02]message: Object Already Exist&lt;BR /&gt;[1_02]&lt;BR /&gt;[1_02]code: object_already_exist&lt;BR /&gt;[1_02]errors: User already exists&lt;BR /&gt;[1_02]message: Object Already Exist&lt;BR /&gt;[1_02]&lt;BR /&gt;[1_02]code: object_already_exist&lt;BR /&gt;[1_02]errors: User already exists&lt;BR /&gt;[1_02]message: Object Already Exist&lt;BR /&gt;[1_02]&lt;BR /&gt;[1_02]code: object_already_exist&lt;BR /&gt;[1_02]errors: User already exists&lt;BR /&gt;[1_02]message: Object Already Exist&lt;BR /&gt;[1_02]&lt;BR /&gt;[1_02]code: object_already_exist&lt;BR /&gt;[1_02]errors: User already exists&lt;BR /&gt;[1_02]message: Object Already Exist&lt;BR /&gt;[1_02]&lt;BR /&gt;[1_02]code: object_already_exist&lt;BR /&gt;[1_02]errors: User already exists&lt;BR /&gt;[1_02]message: Object Already Exist&lt;BR /&gt;[1_02]&lt;BR /&gt;[1_02]message: OK&lt;BR /&gt;[1_02]&lt;BR /&gt;[1_03]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_03]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_03]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_03]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_03]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_03]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_03]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_03]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_03]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_03]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_03]Failed to parse login output file [sid.txt]&lt;BR /&gt;[1_03]Failed to parse login output file [sid.txt]&lt;/P&gt;&lt;P&gt;I also notice when I ssh to this cluster, I'm connected to member 3 instead of the SMO member 1.&amp;nbsp; On the other clusters, I'm always connected to the SMO which is member 1.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;asg stat -i tasks output on 3 member cluster.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;--------------------------------------------------------------------------------&lt;BR /&gt;| Task (Task ID) | Chassis 1 |&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;| SMO (0) | 1 |&lt;BR /&gt;| General (1) | 1 |&lt;BR /&gt;| LACP (2) | 1 |&lt;BR /&gt;| CH Monitor (3) | 1 |&lt;BR /&gt;| DR Manager (4) | 1 |&lt;BR /&gt;| UIPC (5) | 1 |&lt;BR /&gt;| Alert (6) | 1 |&lt;BR /&gt;--------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 00:11:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/144847#M853</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2022-03-28T00:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Global Expert Mode Commands</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/145198#M861</link>
      <description>&lt;P&gt;Any ideas? I'll also log a TAC case.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 01:05:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/Global-Expert-Mode-Commands/m-p/145198#M861</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2022-04-01T01:05:48Z</dc:date>
    </item>
  </channel>
</rss>

