ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bhuvnesh chaudhary (JIRA)" <>
Subject [jira] [Created] (AMBARI-14820) Implement Activate HAWQ Standby wizard to allow doing failover in HA mode
Date Wed, 27 Jan 2016 23:27:39 GMT
bhuvnesh chaudhary created AMBARI-14820:

             Summary: Implement Activate HAWQ Standby wizard to allow doing failover in HA
                 Key: AMBARI-14820
             Project: Ambari
          Issue Type: New Feature
          Components: stacks
    Affects Versions: trunk
            Reporter: bhuvnesh chaudhary

h1. Activate HAWQ Standby Wizard
h4. Abstract:
All configuration changes done on Ambari managed clusters must be done via Ambari, otherwise
during restart of services, Ambari pushes the configuration stored in its database and overwrites
the changes done manually.

Activation of HAWQ Standby to active master involves manual command execution which updates
the configuration files. In order to keep the configuration in sync and reflect the correct
state of the HAWQ components on Ambari, we need to introduce a wizard, i.e *“Activate HAWQ
Standby Wizard”*. 

This wizard will also automate the process of activating standby and the user now will need
to walk-through the wizard to activate standby. 

h4. Overview of activate standby operation:
*In HA configuration, HAWQ is configured with a master and standby component. 
*To activate / promote standby to a master, “hawq activate standby” command needs to be
executed on the standby
*This operation updates the value of hawq_master_address_host and hawq_standby_address_host
properties available in hawq-site.xml to below
**hawq_master_address_host : Initially Configured HAWQ Standby Host
**hawq_standby_address_host : This property is removed.
*After the operation is completed, HAWQ cluster will be running in non-ha mode and will  not
have a configured standby.

h4. Overview of the wizard pages and operation performed:
The wizard consists of 3 pages, a brief of them is as below:

#“Get Started”: This page is the first page seen by the user, and it gives introduction
of the activity going to be performed. 
#“Review”: This page is the second page which informs the user about the changes which
will happen.
#“Configure Components”: This page is the third and last page which shows the progress
for the steps executed. It does the below:
##Execute command to activate HAWQ standby
##Stop HAWQ service
##Reconfigure HAWQ to push updated configs
###hawq_standby_address_host is removed
###hawq_master_address_host is updated to previous standby
##Install HAWQ Master Ambari Component on the Standby Host
##Delete HAWQ Standby Ambari Component on the Standby Host
##Delete HAWQ Master Ambari Component on the Master host
##Start HAWQ Service

This message was sent by Atlassian JIRA

View raw message