From dev-return-7610-archive-asf-public=cust-asf.ponee.io@hawq.incubator.apache.org Wed May 30 14:35:18 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 68067180676 for ; Wed, 30 May 2018 14:35:17 +0200 (CEST) Received: (qmail 24836 invoked by uid 500); 30 May 2018 12:35:16 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 24512 invoked by uid 99); 30 May 2018 12:35:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2018 12:35:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 43015180314 for ; Wed, 30 May 2018 12:35:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.299 X-Spam-Level: * X-Spam-Status: No, score=1.299 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id l0dDfwtPE0KE for ; Wed, 30 May 2018 12:35:12 +0000 (UTC) Received: from mx0b-00296801.pphosted.com (mx0b-00296801.pphosted.com [148.163.153.148]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0E9515F57F for ; Wed, 30 May 2018 12:35:11 +0000 (UTC) Received: from pps.filterd (m0114584.ppops.net [127.0.0.1]) by mx0b-00296801.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4UCW37m031497 for ; Wed, 30 May 2018 12:35:10 GMT Received: from mail-ot0-f199.google.com (mail-ot0-f199.google.com [74.125.82.199]) by mx0b-00296801.pphosted.com with ESMTP id 2j9euv8fbw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 30 May 2018 12:35:10 +0000 Received: by mail-ot0-f199.google.com with SMTP id y90-v6so11579485ota.12 for ; Wed, 30 May 2018 05:35:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=gm/f3ouxTXZQTE9KIYRVn4It03A+k88cI2jlvQlRbFk=; b=p3pU2vcs3nVUwM3zm45AuaB5JJACWIPnMvUoChSpowT0xC7pr+b8OUVTLr4g/DhGMq kH1dxHToLDkHZ5D75kQU7ZJxXDp2xIEOqsfrY178zg7SgwMype6YG6NCj+sDXBlfCLuz CXCqNxozfkQKrZRX8A9llyOQVijPKlwHsVfY57LzHTcmCDKJnnWROu6VHVjLKthQFtTg mYmqlcQR+tj0egR46/xw9oTcQJnrLn1s56GnrOEP70RRXo6Qn2tcNV9OVZBKxFvYubSY C+H3mimBHfqut160NyVGA96jPcRkHaaqfniztaZOYaGqr4YsjXY0n3Y/7JBT7RuYxZDi 0NPQ== X-Gm-Message-State: ALKqPwegFg9cPdYBS0ilk9FYXNIv6iS7Oz4Hkh2/bVxJesx72fAYhULI j4O41X+0tC/TCH22KktaE+8zNcn7E1+3F0dK7QEhCDR9ej0Bteg04BSpMGxAXjp8q4bbKTyK7D7 aKQcG6PbPsRu4iEvfmEMKfyswy64eHf86G6cbBn8Ou4EC2xEXMEQIeNqxAgSFogZMcw8= X-Received: by 2002:a9d:14b9:: with SMTP id d54-v6mr1682670ote.380.1527683710285; Wed, 30 May 2018 05:35:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIo9+0YJe9hrYEffMbp1C4ZMz2/r0YR0bvfEubpZOf1HLEUyBvBoUdeTp1aK4j/GVTCOKhjzFv0bCLdVz1BE7I= X-Received: by 2002:a9d:14b9:: with SMTP id d54-v6mr1682661ote.380.1527683710150; Wed, 30 May 2018 05:35:10 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:3a05:0:0:0:0:0 with HTTP; Wed, 30 May 2018 05:34:49 -0700 (PDT) In-Reply-To: <243687037.2519330.1527682974067.JavaMail.zimbra@sky-data.cn> References: <243687037.2519330.1527682974067.JavaMail.zimbra@sky-data.cn> From: Radar Lei Date: Wed, 30 May 2018 20:34:49 +0800 Message-ID: Subject: Re: how hawq auto active standby To: user@hawq.incubator.apache.org, dev Content-Type: multipart/alternative; boundary="000000000000df8028056d6b9424" X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-30_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=44 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=727 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1805300143 --000000000000df8028056d6b9424 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable There is no command line tools to activate standby automatically yet. Maybe you can write a script to do it by yourself, just need to be more carefull. Regards, Radar On Wed, May 30, 2018 at 8:22 PM, wrote: > Hi=EF=BC=81 > > I has add a standby node for hawq, and it can active to master by hand i= f > master failed. > > But i do not find details about how to config hawq auto active standby to > master. > > I google and only find with ambari, hawq can auto active standby to maste= r. > > Is there any doc about how to make it with command line? > > Thanks > --000000000000df8028056d6b9424--