hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ictmalili <...@git.apache.org>
Subject [GitHub] incubator-hawq-docs pull request #120: HAWQ-1473 - document ranger plugin se...
Date Sat, 27 May 2017 02:22:56 GMT
Github user ictmalili commented on a diff in the pull request:

    --- Diff: markdown/ranger/ranger-integration-config.html.md.erb ---
    @@ -129,6 +129,62 @@ Once the connection between HAWQ and Ranger is configured, you may
choose to set
     5. Click **Save** to save your changes.
     6. Select **Service Actions > Restart All** and confirm that you want to restart the
HAWQ cluster.
    +## <a id="enableha"></a>Step 3: (Optional) Register a Standby Ranger Plug-in
    +The HAWQ Ranger Plug-in Service runs on the HAWQ master node. If this service goes down,
all HAWQ database operations will fail. Configure a highly available HAWQ Ranger Plug-in Service
to eliminate possible downtime should this situation occur.
    +### Prerequisites <a id="rps_ha_cfg_prereq"></a>
    +Before you configure HAWQ Ranger authentication in high availability mode, ensure that
you have:
    +- Installed or upgraded to a version of HAWQ that includes support for HAWQ Ranger Authentication.
    +- Configured Ranger Admin for high availability.
    +- Configured a HAWQ standby master node for your HAWQ cluster.
    +    You must configure a standby master for your HAWQ deployment before enabling HAWQ
Ranger high availability mode. If you have not configured your HAWQ standby master, follow
the instructions in [Adding a HAWQ Standby Master](../admin/ambari-admin.html#amb-add-standby)
(if you manage your HAWQ cluster with Ambari) or [Configuring Master Mirroring](../admin/MasterMirroring.html#standby_master_configure)
(for a command-line-managed HAWQ cluster).
    +- Registered the HAWQ Ranger Plug-in Service on your HAWQ master node.
    +    The HAWQ Ranger Plug-in Service runs on the HAWQ master node. If you have not yet
enabled the Ranger Plug-in Service, refer to [Install Ranger Connectivity to HAWQ](ranger-integration-config.html#jar)
for registration instructions. Make sure to identify the Ranger Admin HA proxy when you enable
the plug-in.
    +### Configuring the Standby Ranger Plug-in Service <a id="rps_ha_cfg_standbyrps"></a>
    +The standby Ranger Plug-in Service runs on the HAWQ standby master node, utilizing the
same port number as that when running on the master node. To enable HAWQ Ranger high availability,
you must register the standby Ranger Plug-in Service on the standby master node, and then
restart the standby.
    --- End diff --
    I think it's not "restart standby". 
    If there was only a HAWQ master configured with Ranger, the user wants to configure standby
master, he only needs to do "hawq init standby --standby-host=$standbyHost". 
    If there was a HAWQ cluster with standby master, the user wants to enable Ranger on whole
HAWQ cluster, he needs run the script "enable-ranger-plugin.sh" on both master and standby
master, and then restart HAWQ cluster.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message