Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sJxCQ-007YJV-5I for pgsql-general@arkaria.postgresql.org; Wed, 19 Jun 2024 15:26:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sJxCN-000xof-QI for pgsql-general@arkaria.postgresql.org; Wed, 19 Jun 2024 15:26:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sJxCN-000xno-FE for pgsql-general@lists.postgresql.org; Wed, 19 Jun 2024 15:26:12 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sJxCM-002UUG-Fi for pgsql-general@lists.postgresql.org; Wed, 19 Jun 2024 15:26:11 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1f44b45d6abso50281725ad.0 for ; Wed, 19 Jun 2024 08:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718810768; x=1719415568; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=5lw4afkonXYT4TOuLBdqqNj0lgaT7aEp7Tsu2kYwEaQ=; b=Skq37JrbhcTlm6lyZEFqCwfWIY6c0iCofg3Rvl/9dofGboQb6tVzd1h8U5M0wiD+f0 SJOXVUD8lZsZOZqXz8kf4ktSpJCu+PfVaZaMq0HZVEu2nhJ8UHCUXSKpz+Q41GYt+DIO 48KZVHTwhedwh+1E5xZflcCuONEeuLDOvardiw6OZc7/QrJa/RPL+A5E9TvsoX8TM7ib VVbPO8RWmPKF0qNylkZWa5ardCUUh9tkZRvojWgnFr9PM7ennRMAlG5OrwHxcOKklP6/ YVCU0wbN0BCsEGe0tI0dSgg/qHnUi0r/+itW1hYE1+VFNEcI6ktLh678mZoQhK6NUVJu VDEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718810768; x=1719415568; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5lw4afkonXYT4TOuLBdqqNj0lgaT7aEp7Tsu2kYwEaQ=; b=vQoWyc84CzDcnW3yEDypcFi/hBLdafCm0aqOyxCemo825lolUw4kQFUEgItxi3X37D IghCVwqul8xCpnf330KR7WfAHYKQIyjmdXIABNOmuVsuXJsPi69m2IS68amL20H6H9ul MGgyJ8SwzmquHiI/tfND1DdAto8mt7FfK7wVTnAF1/F7XkpsbZTpwxLmtoiDDWf8eVAy X/1U4gnRKcNtmtGBOdBs1NFCl6xOqZRzlvx42gvoycfEnellKYWM84jbmcBrbl1XTY/4 sAJDHNGvnbREYGjNOchxh+4Ztx5bhHnzt/Zyf0t4HuE601+WUFF4c1nguFKcWiOFL7js DblQ== X-Gm-Message-State: AOJu0YzlSz/hKy75w+cWCLgeSQtIuSx+z/G28Iw7E1FDNw4PCtfHW+Hf hWLBIIIb65vmSRaaWE919TQmG3dLHN7oF7tWhNhDUzcI5i7t7adKmKmvZg== X-Google-Smtp-Source: AGHT+IHon95Of38iROvga+n7RawQISu037Xy9AtMEDGHrU6DUlWmalPAhGf4WhGDF6lb7WSrNDZE9w== X-Received: by 2002:a17:902:f682:b0:1f8:67e4:3979 with SMTP id d9443c01a7336-1f9aa450beemr32763285ad.47.1718810767898; Wed, 19 Jun 2024 08:26:07 -0700 (PDT) Received: from ?IPV6:2601:681:5a00:f790:c2c0:6ca3:3228:84d5? ([2601:681:5a00:f790:c2c0:6ca3:3228:84d5]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f9b69839a9sm13157465ad.103.2024.06.19.08.26.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Jun 2024 08:26:07 -0700 (PDT) Message-ID: Date: Wed, 19 Jun 2024 09:26:06 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Manual Failover To: pgsql-general@lists.postgresql.org References: Content-Language: en-CA From: Rob Sargent In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/19/24 09:03, Yongye Serkfem wrote: > Hello Engineers, > I am facing an issue with the manual failover of the standby to the > master role. I was able to promote the standby and got it out of > recovery mode. How do I direct applications to point to the standby > which has assumed the role of the current master, and what should I do > after completing maintenance on the previous master to assume its > original role as master? > I would appreciate any input, and thank you for your time. > > Yongye Serkfem You need to show your set up (failover script, etc) but usually the standby get the ip address of the now-dead master and the apps are none the wiser.