<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>FAQ on PIGSTY</title>
    <link>https://v27.pgsty.pro/categories/faq/</link>
    <description>Recent content in FAQ on PIGSTY</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    
    
    
      <lastBuildDate>Mon, 01 Jan 0001 00:00:00 +0000</lastBuildDate>
    
    
      <atom:link href="https://v27.pgsty.pro/categories/faq/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>FAQ</title>
        <link>https://v27.pgsty.pro/docs/docker/faq/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://v27.pgsty.pro/docs/docker/faq/</guid>
        <description>&lt;hr&gt;&#xA;&lt;h2 id=&#34;how-to-install-docker-&#34;&gt;How to install Docker ？&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Install with the &lt;a href=&#34;https://v27.pgsty.pro/docs/docker/#dockeryml&#34;&gt;&lt;code&gt;docker.yml&lt;/code&gt;&lt;/a&gt; playbook, targeting at any node managed by Pigsty.&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-4c06b157-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;bash&#34; data-td-line-count=&#34;1&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-4c06b157-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;./docker.yml -l &amp;lt;selector&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;</description>
      </item>
    <item>
        <title>FAQ</title>
        <link>https://v27.pgsty.pro/docs/etcd/faq/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://v27.pgsty.pro/docs/etcd/faq/</guid>
        <description>&lt;hr&gt;&#xA;&lt;h2 id=&#34;what-is-the-impact-of-etcd-failure&#34;&gt;What is the impact of ETCD failure?&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://v27.pgsty.pro/docs/etcd/&#34;&gt;ETCD&lt;/a&gt; availability is critical for the PGSQL cluster&amp;rsquo;s HA, which is guaranteed by using multiple nodes.&#xA;With a 3-node ETCD cluster, if one node is down, the other two nodes can still function normally; and with a 5-node ETCD cluster, two-node failure can still be tolerated.&#xA;If more than half of the ETCD nodes are down, the ETCD cluster and its service will be unavailable.&#xA;Before Patroni 3.0, this could lead to a global &lt;a href=&#34;https://v27.pgsty.pro/docs/pgsql/&#34;&gt;PGSQL&lt;/a&gt; outage; all primary will be demoted and reject write requests.&lt;/p&gt;</description>
      </item>
    <item>
        <title>FAQ</title>
        <link>https://v27.pgsty.pro/docs/infra/faq/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://v27.pgsty.pro/docs/infra/faq/</guid>
        <description>&lt;hr&gt;&#xA;&lt;h2 id=&#34;which-components-are-included-in-infra&#34;&gt;Which components are included in INFRA&#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Ansible for automation, deployment, and administration;&lt;/li&gt;&#xA;&lt;li&gt;Nginx for exposing any WebUI service and serving the yum/apt repo;&lt;/li&gt;&#xA;&lt;li&gt;Self-Signed CA for SSL/TLS certificates;&lt;/li&gt;&#xA;&lt;li&gt;Prometheus for monitoring metrics&lt;/li&gt;&#xA;&lt;li&gt;Grafana for monitoring/visualization&lt;/li&gt;&#xA;&lt;li&gt;Loki for logging collection&lt;/li&gt;&#xA;&lt;li&gt;AlertManager for alerts aggregation&lt;/li&gt;&#xA;&lt;li&gt;Chronyd for NTP time sync on the admin node.&lt;/li&gt;&#xA;&lt;li&gt;DNSMasq for DNS registration and resolution.&lt;/li&gt;&#xA;&lt;li&gt;ETCD as DCS for PGSQL HA; (dedicated module)&lt;/li&gt;&#xA;&lt;li&gt;PostgreSQL on meta nodes as CMDB; (optional)&lt;/li&gt;&#xA;&lt;li&gt;Docker for stateless applications &amp;amp; tools (optional)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;how-to-restore-prometheus-targets&#34;&gt;How to restore Prometheus targets&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;If you accidentally deleted the Prometheus targets dir, you can register monitoring targets to Prometheus again with the:&lt;/p&gt;</description>
      </item>
    <item>
        <title>FAQ</title>
        <link>https://v27.pgsty.pro/docs/minio/faq/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://v27.pgsty.pro/docs/minio/faq/</guid>
        <description>&lt;hr&gt;&#xA;&lt;h2 id=&#34;fail-to-launch-multi-node--multi-driver-minio-cluster&#34;&gt;Fail to launch multi-node / multi-driver MinIO cluster.&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;In &lt;a href=&#34;https://v27.pgsty.pro/docs/minio/#single-node-multi-drive&#34;&gt;Multi-Driver&lt;/a&gt; or &lt;a href=&#34;https://v27.pgsty.pro/docs/minio/#multi-node-multi-drive&#34;&gt;Multi-Node&lt;/a&gt; mode, MinIO will refuse to start if the data dir is not a valid mount point.&lt;/p&gt;&#xA;&lt;p&gt;Use mounted disks for MinIO data dir rather than some regular directory. You can use the regular directory only in the &lt;a href=&#34;https://v27.pgsty.pro/docs/minio/#single-node-single-drive&#34;&gt;single node, single drive&lt;/a&gt; mode.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;how-to-deploy-a-multi-node-multi-drive-minio-cluster&#34;&gt;How to deploy a multi-node multi-drive MinIO cluster?&#xA;&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Check &lt;a href=&#34;https://v27.pgsty.pro/docs/minio/#multi-node-multi-drive&#34;&gt;Create Multi-Node Multi-Driver MinIO Cluster&lt;/a&gt;&lt;/p&gt;</description>
      </item>
    <item>
        <title>FAQ</title>
        <link>https://v27.pgsty.pro/docs/mongo/faq/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://v27.pgsty.pro/docs/mongo/faq/</guid>
        <description>&lt;hr&gt;&#xA;&lt;h2 id=&#34;install-mongosh&#34;&gt;Install mongosh&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-15176f3d-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;bash&#34; data-td-line-count=&#34;12&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-15176f3d-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cat &amp;gt; /etc/yum.repos.d/mongo.repo &lt;span class=&#34;s&#34;&gt;&amp;lt;&amp;lt;EOF&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s&#34;&gt;[mongodb-org-7.0]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s&#34;&gt;name=MongoDB Repository&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s&#34;&gt;baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/7.0/x86_64/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s&#34;&gt;gpgcheck=0&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s&#34;&gt;enabled=1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s&#34;&gt;EOF&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;yum install -y mongodb-mongosh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# or just install via rpm &amp;amp; links&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/mongodb/yum/el7/RPMS/mongodb-mongosh-1.9.1.x86_64.rpm&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;</description>
      </item>
    <item>
        <title>FAQ</title>
        <link>https://v27.pgsty.pro/docs/node/faq/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://v27.pgsty.pro/docs/node/faq/</guid>
        <description>&lt;hr&gt;&#xA;&lt;h2 id=&#34;how-to-configure-ntp-service&#34;&gt;How to configure NTP service?&#xA;&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;If NTP is not configured, use a public NTP service or sync time with the admin node.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;If your nodes already have NTP configured, you can leave it there by setting &lt;code&gt;node_ntp_enabled&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Otherwise, if you have Internet access, you can use public NTP services such as &lt;code&gt;pool.ntp.org&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;If you don&amp;rsquo;t have Internet access, at least you can sync time with the admin node with the following:&lt;/p&gt;</description>
      </item>
    <item>
        <title>FAQ</title>
        <link>https://v27.pgsty.pro/docs/pgsql/faq/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://v27.pgsty.pro/docs/pgsql/faq/</guid>
        <description>&lt;hr&gt;&#xA;&lt;h2 id=&#34;abort-due-to-postgres-exists&#34;&gt;ABORT due to postgres exists&#xA;&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Set &lt;code&gt;pg_clean&lt;/code&gt; = &lt;code&gt;true&lt;/code&gt; and &lt;code&gt;pg_safeguard&lt;/code&gt; = &lt;code&gt;false&lt;/code&gt; to force clean postgres data during &lt;code&gt;pgsql.yml&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This happens when you run &lt;code&gt;pgsql.yml&lt;/code&gt; on a node with postgres running, and &lt;a href=&#34;https://v27.pgsty.pro/docs/reference/param/#pg_clean&#34;&gt;&lt;code&gt;pg_clean&lt;/code&gt;&lt;/a&gt; is set to &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;If &lt;code&gt;pg_clean&lt;/code&gt; is true (and the &lt;code&gt;pg_safeguard&lt;/code&gt; is &lt;code&gt;false&lt;/code&gt;, too), the &lt;code&gt;pgsql.yml&lt;/code&gt; playbook will remove the existing pgsql data and re-init it as a new one, which makes this playbook fully idempotent.&lt;/p&gt;</description>
      </item>
    <item>
        <title>FAQ</title>
        <link>https://v27.pgsty.pro/docs/redis/faq/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://v27.pgsty.pro/docs/redis/faq/</guid>
        <description>&lt;hr&gt;&#xA;&lt;h2 id=&#34;abort-due-to-existing-redis-instance&#34;&gt;ABORT due to existing redis instance&#xA;&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;use &lt;code&gt;redis_clean = true&lt;/code&gt; and &lt;code&gt;redis_safeguard = false&lt;/code&gt; to force clean redis data&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This happens when you run &lt;code&gt;redis.yml&lt;/code&gt; to init a redis instance that is already running, and &lt;a href=&#34;https://v27.pgsty.pro/docs/reference/param/#redis_clean&#34;&gt;&lt;code&gt;redis_clean&lt;/code&gt;&lt;/a&gt; is set to &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;If &lt;code&gt;redis_clean&lt;/code&gt; is set to &lt;code&gt;true&lt;/code&gt; (and the &lt;code&gt;redis_safeguard&lt;/code&gt; is set to &lt;code&gt;false&lt;/code&gt;, too), the &lt;code&gt;redis.yml&lt;/code&gt; playbook will remove the existing redis instance and re-init it as a new one, which makes the &lt;code&gt;redis.yml&lt;/code&gt; playbook fully idempotent.&lt;/p&gt;</description>
      </item>
    <item>
        <title>FAQ</title>
        <link>https://v27.pgsty.pro/docs/setup/faq/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://v27.pgsty.pro/docs/setup/faq/</guid>
        <description>&lt;blockquote&gt;&#xA;&lt;p&gt;If you have any unlisted questions or suggestions, please create an &lt;a href=&#34;https://github.com/Vonng/pigsty/issues/new&#34;&gt;Issue&lt;/a&gt; or ask the &lt;a href=&#34;https://v27.pgsty.pro/docs/#about&#34;&gt;community&lt;/a&gt; for help.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;how-to-get-the-pigsty-source-package&#34;&gt;How to Get the Pigsty Source Package?&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Use the following command to install Pigsty with one click: &lt;code&gt;bash -c &amp;quot;$(curl -fsSL https://get.pigsty.cc/install)&amp;quot; -- v2.7.0&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;This command will automatically download the latest stable version &lt;code&gt;pigsty.tgz&lt;/code&gt; and extract it to the &lt;code&gt;~/pigsty&lt;/code&gt; directory. You can also manually download a specific version of the Pigsty source code from the following locations.&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
