<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Self-Hosted Secrets Manager/Conjur Cluster Migration in Secrets Management Articles</title>
    <link>https://live.paloaltonetworks.com/t5/secrets-management-articles/self-hosted-secrets-manager-conjur-cluster-migration/ta-p/1427372</link>
    <description>&lt;P&gt;This article provides a step-by-step process for migrating a Secrets Manager Self-Hosted cluster to new servers when an in-place operating system upgrade is not supported. The procedure preserves the existing Leader database by creating an evoke backup, transferring the encrypted backup and key to a newly built Leader, and restoring the data into a fresh container. It also covers validation of the restored Leader, handling FQDN changes and both self-signed and third-party certificates, and preparing new Standby nodes from clean containers. New Standbys are created from fresh seeds generated by the migrated Leader rather than reusing the original Standbys or their local database state. The guide additionally includes replication validation and the required Auto-Failover policy and evoke cluster enroll steps to establish a healthy three-node cluster.&lt;/P&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Migrating a Secrets Manager Cluster&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Since in-place OS upgrades of Idira products are not supported, a customer may need to migrate an existing Secrets Manager cluster to a new set of VMs with updated operating systems installed. If that is the case, use this process to successfully migrate the database from the original cluster to the new cluster.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Original Followers/Standbys&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The original Followers or Standbys should have no role in transferring the database. Once the new Leader is restored and validated, all new Followers/Standbys should be built cleanly from brand-new seeds generated by that new Leader.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;High-Level Process Overview&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The Idira upgrade procedure is as follows:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;Stop writes to the Leader → Run evoke backup → Start a fresh appliance container → Run evoke unpack backup → Run evoke restore&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The backup creates an encrypted archive plus its encryption key which will need to be transferred from the original Leader to the new Leader.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Docker/Podman&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The following commands use &lt;SPAN style="font-style: italic;"&gt;podman&lt;/SPAN&gt;. However, &lt;SPAN style="font-style: italic;"&gt;podman&lt;/SPAN&gt; can be replaced by &lt;SPAN style="font-style: italic;"&gt;docker&lt;/SPAN&gt; with no impact.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Container Names&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;For this setup, use one container per server/node. Each container can have the same container name. As a matter of fact, it is recommended to keep the same container name on all cluster nodes for operational consistency. There is no conflict because each container exists in a different Podman or Docker runtime on a different server. What distinguishes the nodes is the host/FQDN and appliance role, not the local container name.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 1: Prepare the New RHEL Leader&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Build the new host completely clean. Do not copy /var/lib/postgresql, etcd data, or any database directories from the original host. Doing so can cause PostgreSQL version mismatches and other issues down the road.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;On the new Leader, verify the hostname:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;hostname -f&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify DNS:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;getent hosts &amp;lt;New Leader's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;getent hosts &amp;lt;New Follower/Standby 1's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;getent hosts &amp;lt;New Follower/Standby 2's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note: &lt;/SPAN&gt;The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/13.9/en/content/deployment/dap/dap-before-deploy-vm.htm" target="_blank"&gt;documented&lt;/A&gt; Podman deployment requires the nodes to be able to communicate with one another and supports a dedicated container network with each container's FQDN as its network alias.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Create the host directories:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo mkdir -p /opt/cyberark/conjur/{security,config,backups,seeds,logs}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;If using the recommended bridge network:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman network create conjur&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;If it already exists:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman network ls&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman network inspect conju&lt;/SPAN&gt;r&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 2: Verify the Existing Leader Before Backup&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;On the original Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman ps&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Then:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/health" target="_blank"&gt;&lt;SPAN style="font-weight: bold;"&gt;https://localhost/health&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;The application/database portions must be healthy before taking the migration backup.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify the role:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Original Contain Name&amp;gt; evoke role show&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Expected:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;master&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Record the current product version:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Original Contain Name&amp;gt; evoke version&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Preserve the current configuration for reference:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Original Contain Name&amp;gt; evoke configuration show -o text &amp;gt; /tmp/conjur_configuration_before_migration.txt&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; If that command isn't supported by their exact build, simply capture:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Original Contain Name&amp;gt; cat /etc/conjur/config/conjur.yml &amp;gt; /tmp/conjur.yml.before-migration&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 3: Establish the Migration Outage/Consistency Point&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important! &lt;/SPAN&gt;The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documentation&lt;/A&gt; says to stop the Conjur service on the Leader before creating the final backup specifically to prevent new database changes during the upgrade.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Once the customer is ready for the actual migration/cutover:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Original Contain Name&amp;gt; sv stop conjur&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;The docs describe this as preventing new changes from being introduced to the Leader.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Ensure applications/users are no longer writing to the original Leader during the migration window.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Preserve the Original Leader&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Do not delete or dismantle this Leader. It is the rollback source.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 4: Create the Final Leader Backup&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Run on the original Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Original Contain Name&amp;gt; evoke backup&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/tools/evoke-command-reference.htm" target="_blank"&gt;documented&lt;/A&gt; behavior is that evoke backup creates:&lt;/P&gt;
&lt;UL style="direction: ltr;unicode-bidi: embed;margin-top: 0in;margin-bottom: 0in;"&gt;&lt;LI style="margin-top: 0;margin-bottom: 0;vertical-align: middle;"&gt;&lt;SPAN style="font-family: Calibri;font-size: 11.0pt;"&gt;an encrypted backup archive&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-top: 0;margin-bottom: 0;vertical-align: middle;"&gt;&lt;SPAN style="font-family: Calibri;font-size: 11.0pt;"&gt;an encryption key needed to unlock it&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;under &lt;SPAN style="font-style: italic;"&gt;/opt/conjur/backup&lt;/SPAN&gt; inside the container.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;First identify the actual host mount:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman inspect &amp;lt;Original Contain Name&amp;gt; --format '{{range .Mounts}}{{println .Source "-&amp;gt;" .Destination}}{{end}}'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Find the source corresponding to &lt;SPAN style="font-style: italic;"&gt;/opt/conjur/backup&lt;/SPAN&gt;. Then list it. For example:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /opt/cyberark/conjur/backup&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;or:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /opt/cyberark/conjur/backups&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Expect to find two artifacts, typically something resembling:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;lt;timestamp&amp;gt;.tar.xz.gpg&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;key&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; The key is required to decrypt/unpack the archive.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Preserve both files by making a dedicated migration directory:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo mkdir -p /tmp/conjur-migration&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Then copy the generated backup and key into it, substituting the actual backup host directory:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo cp -a /opt/cyberark/conjur/backups/* /tmp/conjur-migration/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /tmp/conjur-migration&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Optional but Useful Integrity Hashes&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;cd /tmp/conjur-migration&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo sha256sum * | sudo tee SHA256SUMS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 5: Transfer the Backup to the New Leader&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;From the original Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo scp /tmp/conjur-migration/* &amp;lt;user&amp;gt;@&amp;lt;New Leader's FQDN&amp;gt;:/tmp/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;On the new Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /tmp/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Verify Hashes if Generated&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;cd /tmp&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo sha256sum -c SHA256SUMS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Then place the backup and key into the new host's backup mount:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo cp &amp;lt;backup-file&amp;gt;.tar.xz.gpg /opt/cyberark/conjur/backups/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo cp key /opt/cyberark/conjur/backups/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;For example:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /opt/cyberark/conjur/backups/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important!&lt;/SPAN&gt; Both files, &lt;SPAN style="font-style: italic;"&gt;&amp;lt;timestamp&amp;gt;.tar.xz.gpg &lt;/SPAN&gt;and &lt;SPAN style="font-style: italic;"&gt;key &lt;/SPAN&gt;must be present before the new container is restored.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 6: Start a Completely Fresh Container on the New Leader&lt;/H1&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;color: #c00000;"&gt;Caution!&lt;/SPAN&gt; This part is important. Do not run &lt;SPAN style="font-style: italic;"&gt;evoke configure leader&lt;/SPAN&gt; first. The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documented&lt;/A&gt; upgrade path starts a fresh appliance container and restores directly into it.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;For rootful Podman on the new RHEL host, use something along these lines:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman run \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --name &amp;lt;Container Name&amp;gt; \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --network conjur \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --network-alias &amp;lt;New Leader's FQDN&amp;gt; \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --detach \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --security-opt seccomp=/opt/cyberark/conjur/security/seccomp.json \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "443:443" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "444:444" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "5432:5432" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "1999:1999" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --cap-add AUDIT_WRITE \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --log-driver journald \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/config:/etc/conjur/config:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/security:/opt/cyberark/conjur/security:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/backups:/opt/conjur/backup:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/seeds:/opt/cyberark/conjur/seeds:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/logs:/var/log/conjur:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; registry.tld/conjur-appliance:13.9.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;That follows the current &lt;A href="https://docs.cyberark.com/secrets-manager-sh/13.9/en/content/deployment/dap/dap-before-deploy-vm.htm" target="_blank"&gt;documented&lt;/A&gt; rootful Podman pattern: &lt;SPAN style="font-style: italic;"&gt;Dedicated network + Container FQDN/Network alias + Ports + AUDIT_WRITE + Persistent Mounts with SELinux :z&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Restart Setting&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important! &lt;/SPAN&gt;For a Podman deployment, current documentation specifically says do not put &lt;SPAN style="font-style: italic;"&gt;--restart=unless-stopped&lt;/SPAN&gt; in "&lt;SPAN style="font-style: italic;"&gt;podman run&lt;/SPAN&gt;". Let systemd handle restart behavior instead. For a Docker deployment, however, &lt;SPAN style="font-style: italic;"&gt;--restart=unless-stopped&lt;/SPAN&gt; should be used in "&lt;SPAN style="font-style: italic;"&gt;podman run&lt;/SPAN&gt;".&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Security-Opt Setting&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;If their original deployment uses &lt;SPAN style="font-style: italic;"&gt;--security-opt seccomp=unconfined &lt;/SPAN&gt;rather than a supplied &lt;SPAN style="font-style: italic;"&gt;seccomp.json&lt;/SPAN&gt;, keep the same setting in the new environment to avoid container start failures.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Version Upgrade&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Initially use the same Secrets Manager product version as the original Leader. The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/tools/evoke-command-reference.htm" target="_blank"&gt;documentation&lt;/A&gt; says backup/restore is generally supported across releases, but moving platform + (optionally) changing FQDN + changing product release all in one operation makes troubleshooting unnecessarily difficult. The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documentation&lt;/A&gt; also requires all cluster nodes to run the same Secrets Manager image version.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;FQDN Change&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The upgrade &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documentation&lt;/A&gt; expects the new Leader to have the same FQDN/DNS Name as the original Leader. If a different FQDN is required, additional steps are provided in Phase 12 to validate the new appliance FQDN and regenerate or replace the associated certificate so it matches the new name.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 7: Confirm the Backup is Visible Inside the New Container&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Run:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; ls -lah /opt/conjur/backup&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Expected result:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;key&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;lt;timestamp&amp;gt;.tar.xz.gpg&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important!&lt;/SPAN&gt; Do not copy a PostgreSQL data directory into this container.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 8: Unpack the Original Leader Backup&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;First use the exact archive name rather than * while we're troubleshooting:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke unpack backup --key /opt/conjur/backup/key /opt/conjur/backup/&amp;lt;timestamp&amp;gt;.tar.xz.gpg&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note: &lt;/SPAN&gt;The Evoke &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/tools/evoke-command-reference.htm" target="_blank"&gt;reference&lt;/A&gt; requires the backup to be unpacked before restore and requires the encryption key.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;If successful, don't immediately perform the real restore.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 9: Run the Restore Preview&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; Idira explicitly recommends running &lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke restore --preview --accept-eula &lt;/SPAN&gt;before the real restore for customers using version &lt;SPAN style="font-weight: bold;"&gt;12.5 and older&lt;/SPAN&gt;. For those using newer versions, this step can be disregarded.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;--preview&lt;/SPAN&gt; displays policy roles that the migration would remove without applying the database migration. Idira says to review those roles and make sure they are no longer used before proceeding.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Capture it:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke restore --preview --accept-eula | sudo tee /tmp/evoke-restore-preview.txt&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important!&lt;/SPAN&gt; If it reports unexpected removals, stop here and notify customer support.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 10: Restore the Database to the New Leader&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Once the preview is acceptable:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke restore --accept-eula&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;This is the actual migration step. The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documentation&lt;/A&gt; specifically uses &lt;SPAN style="font-style: italic;"&gt;evoke unpack backup … &lt;/SPAN&gt;and &lt;SPAN style="font-style: italic;"&gt;evoke restore --accept-eula &lt;/SPAN&gt;to restore a fresh Leader container from the previous Leader's backup.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Wait&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Let it finish completely. Do not interrupt the container if PostgreSQL migration activity takes time.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 11: Validate the Restored Leader&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;First:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke role show&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Then:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/health" target="_blank"&gt;&lt;SPAN style="font-weight: bold;"&gt;https://localhost/health&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;The following should be trust at the minimum:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;services -&amp;gt; ok: true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;database -&amp;gt; ok: true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;overall -&amp;gt; ok: true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;role -&amp;gt; master&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documented&lt;/A&gt; upgrade validation is exactly the &lt;SPAN style="font-style: italic;"&gt;/health&lt;/SPAN&gt; check after restore.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Also test the application database through normal Conjur operations.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;For example:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/version" target="_blank"&gt;&lt;SPAN style="font-style: italic;"&gt;https://localhost/version&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Additional Validation Tests&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Test login/secrets retrieval through whatever test account/workload the customer normally uses.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Compare a few known objects/secrets/policies against the old environment before declaring the database migration successful.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 12: Critical FQDN/Certificate Clean-Up&lt;/H1&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note: &lt;/SPAN&gt;If the FQDN of the new Leader is the same as the original Leader, skip this section.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;The new Leader's FQDN was established during container creation in Phase 6 using &lt;SPAN style="font-style: italic;"&gt;--network-alias &amp;lt;New Leader FQDN&amp;gt;&lt;/SPAN&gt;. After restoring the backup from the original Leader, the restored certificate may still contain the original Leader's FQDN.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;To correct the certificate mismatch, there are two options depending on the signer of the certificate.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Self-Signed&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;For self-signed certificates, &lt;A href="https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/12.4/en/Content/Tools/Evoke-command-reference.htm#Regenerate" target="_blank"&gt;regenerate&lt;/A&gt; the CA/server certificate with the new hostname:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke ca regenerate &amp;lt;New Leader's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note: &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;evoke ca regenerate&lt;/SPAN&gt; commands are relevant for a self-signed certificate only.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;A more detailed how-to guide to regenerate the certificate for the new Leader's FQDN can be found here:&amp;nbsp; &lt;A href="https://community.cyberark.com/s/article/000003935" target="_blank"&gt;https://community.cyberark.com/s/article/000003935&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;3rd-Party Signed&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;For 3rd-party signed certificates, run the &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/tools/evoke-command-reference.htm#Import" target="_blank"&gt;import&lt;/A&gt; command twice (once for the CA/intermediates and once for the leaf cert + key):&lt;/P&gt;
&lt;OL style="direction: ltr;unicode-bidi: embed;margin-top: 0in;margin-bottom: 0in;font-family: Calibri;font-size: 11.0pt;font-weight: normal;font-style: normal;"&gt;&lt;LI style="margin-top: 0;margin-bottom: 0;vertical-align: middle;"&gt;&lt;SPAN style="font-family: Calibri;font-size: 11.0pt;font-weight: normal;font-style: normal;"&gt;Import the CA (and intermediates concatenated in the same pem file if applicable):&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P style="margin: 0in;margin-left: 1.5in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke ca import --root --force /path/to/root.pem&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL style="direction: ltr;unicode-bidi: embed;margin-top: 0in;margin-bottom: 0in;font-family: Calibri;font-size: 11.0pt;font-weight: normal;font-style: normal;"&gt;&lt;LI style="margin-top: 0;margin-bottom: 0;vertical-align: middle;"&gt;&lt;SPAN style="font-family: Calibri;font-size: 11.0pt;font-weight: normal;font-style: normal;"&gt;Import the server cert + key:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P style="margin: 0in;margin-left: 1.5in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke ca import --set --key /path/to/host.key /path/to/host.pem&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Verification Steps&lt;/H2&gt;
&lt;H2 style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify the certificate being presented by the new Leader:&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;openssl s_client -connect localhost:443 -servername &amp;lt;New Leader's FQDN&amp;gt; &amp;lt;/dev/null 2&amp;gt;/dev/null | openssl x509 -noout -subject -issuer -ext subjectAltName&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Confirm the output includes the new Leader FQDN in the certificate SANs, for example:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;DNS:&amp;lt;New Leader's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Then verify Secrets Manager health:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/health" target="_blank"&gt;&lt;SPAN style="font-weight: bold;"&gt;https://localhost/health&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The overall result should show:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;"ok": true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 13: Create the Standbys&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Build the new host completely clean. Do not copy /var/lib/postgresql, etcd data, or any database directories from the original host. Doing so can cause PostgreSQL version mismatches and other issues down the road.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;On the new host, verify the hostname:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;hostname -f&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify DNS:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;getent hosts &amp;lt;New Leader's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;getent hosts &amp;lt;New Follower/Standby 1's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;getent hosts &amp;lt;New Follower/Standby 2's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Create the host directories:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo mkdir -p /opt/cyberark/conjur/{security,config,backups,seeds,logs}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;If using the recommended bridge network:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman network create conjur&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;If it already exists:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman network ls&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman network inspect conju&lt;/SPAN&gt;r&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Create the Standby&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;For rootful Podman on the new RHEL host, use something along these lines:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman run \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --name &amp;lt;Container Name&amp;gt; \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --network conjur \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --network-alias &amp;lt;First Standby's FQDN&amp;gt; \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --detach \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --security-opt seccomp=/opt/cyberark/conjur/security/seccomp.json \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "443:443" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "444:444" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "5432:5432" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "1999:1999" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --cap-add AUDIT_WRITE \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --log-driver journald \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/config:/etc/conjur/config:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/security:/opt/cyberark/conjur/security:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/backups:/opt/conjur/backup:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/seeds:/opt/cyberark/conjur/seeds:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/logs:/var/log/conjur:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; registry.tld/conjur-appliance:13.9.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; The &lt;SPAN style="font-style: italic;"&gt;podman run&lt;/SPAN&gt; command has all the same options set as the Leader. It is important that nodes in the cluster are created consistently.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Restart Setting&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important! &lt;/SPAN&gt;For a Podman deployment, current &lt;A href="https://docs.cyberark.com/secrets-manager-sh/13.9/en/content/deployment/dap/dap-before-deploy-vm.htm" target="_blank"&gt;documentation&lt;/A&gt; specifically says do &lt;SPAN style="font-weight: bold;text-decoration: underline;"&gt;not&lt;/SPAN&gt; put &lt;SPAN style="font-style: italic;"&gt;--restart=unless-stopped&lt;/SPAN&gt; in "&lt;SPAN style="font-style: italic;"&gt;podman run&lt;/SPAN&gt;". Let systemd handle restart behavior instead. For a Docker deployment, however, &lt;SPAN style="font-style: italic;"&gt;--restart=unless-stopped&lt;/SPAN&gt; should be used in "&lt;SPAN style="font-style: italic;"&gt;podman run&lt;/SPAN&gt;".&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Security-Opt Setting&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;If their original deployment uses &lt;SPAN style="font-style: italic;"&gt;--security-opt seccomp=unconfined &lt;/SPAN&gt;rather than a supplied &lt;SPAN style="font-style: italic;"&gt;seccomp.json&lt;/SPAN&gt;, keep the same setting in the new environment to avoid container start failures.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Repeat this process for all additional Followers/Standbys adjusting the &lt;SPAN style="font-style: italic;"&gt;--network-alias&lt;/SPAN&gt; FQDN value for each.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 14: Reseed the Standbys&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important!&lt;/SPAN&gt; Discard all previous Standby seeds.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Generate brand-new seeds.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;For the first Follower/Standby, from the new Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;sudo podman exec &lt;SPAN style="font-weight: bold;"&gt;&amp;lt;Container Name&amp;gt;&lt;/SPAN&gt; evoke seed standby &amp;lt;First Standby's FQDN&amp;gt; &amp;lt;New Leader's FQDN&amp;gt; &amp;gt; /tmp/standby01.tar&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;For the second Follower/Standby, from the new Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;sudo podman exec &lt;SPAN style="font-weight: bold;"&gt;&amp;lt;Container Name&amp;gt;&lt;/SPAN&gt; evoke seed standby &amp;lt;Second Standby's FQDN&amp;gt; &amp;lt;New Leader's FQDN&amp;gt; &amp;gt; /tmp/standby02.tar&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Repeat the process for additional Followers/Standbys&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; The current deployment &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap/dap-deploy-dap.htm" target="_blank"&gt;documentation&lt;/A&gt; shows the Standby seed command with both the &lt;SPAN style="font-style: italic;"&gt;Standby DNS&lt;/SPAN&gt; and &lt;SPAN style="font-style: italic;"&gt;Leader FQDN/DNS Name&lt;/SPAN&gt;, not merely the Standby name. It is important &lt;SPAN style="font-weight: bold;text-decoration: underline;"&gt;not&lt;/SPAN&gt; to use shortnames.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Transfer each seed to its respective Follower/Standby.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;From the new Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo scp /tmp/standby01.tar&amp;nbsp; &amp;lt;user&amp;gt;@&amp;lt;First Standby's FQDN&amp;gt;:/tmp/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo scp /tmp/standby02.tar&amp;nbsp; &amp;lt;user&amp;gt;@&amp;lt;Second Standby's FQDN&amp;gt;:/tmp/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Repeat for additional Followers/Standbys.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify the copy on the first Standby:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /tmp/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify the copy on the second Standby:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /tmp/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Repeat on additional Followers/Standbys&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;Unpack each seed and configure the fresh Standby:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke unpack seed /tmp/standby&amp;lt;## for respective Standby&amp;gt;.tar&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke configure standby&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;The seed already carries the Leader information, and the &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap/dap-deploy-dap.htm" target="_blank"&gt;documented&lt;/A&gt; standard workflow simply runs&lt;SPAN style="font-style: italic;"&gt; evoke configure standby&lt;/SPAN&gt; after unpacking it.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Verify Standby Health&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;On each Standby, run:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/health" target="_blank"&gt;&lt;SPAN style="font-weight: bold;"&gt;https://localhost/health&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The minimum expected results&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;"role": "standby"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;"ok": true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Enable Replication&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Synchronous replication can be enabled from the new Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke replication sync start&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; Idira requires at least two Standbys for synchronous replication.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 15: Enable Auto-Failover&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;First confirm all three nodes are healthy and that both Standbys are replicating normally. On each node:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/health?all" target="_blank"&gt;&lt;SPAN style="font-weight: bold;"&gt;https://localhost/health?all&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;The Leader should show role: "&lt;SPAN style="font-style: italic;"&gt;master&lt;/SPAN&gt;" and both Standbys should show role: "&lt;SPAN style="font-style: italic;"&gt;standby&lt;/SPAN&gt;" with healthy database/replication status.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Next, create the &lt;A href="https://docs.cyberark.com/secrets-manager-sh/12.7/en/content/deployment/highavailability/auto-failover-setup-continue.htm" target="_blank"&gt;Auto-Failover policy&lt;/A&gt; for the new topology:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;vi /tmp/newconjurcluster.yml&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;- !policy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp; id: cluster/&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;font-style: italic;"&gt;&amp;lt;New Cluster Name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp; body:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - !layer&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &amp;amp;hosts&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - !host&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;font-style: italic;"&gt;&amp;lt;New Leader's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - !host&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;font-style: italic;"&gt;&amp;lt;First Standby's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - !host&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;font-style: italic;"&gt;&amp;lt;Second Standby's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - !grant&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; role: !layer&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; members: *hosts&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Load the policy&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;With ConjurCLI&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;conjur policy load -b root -f /tmp/newconjurcluster.yml&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;With REST&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="color: black;"&gt;Use the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/developer/conjur_api_append_policy.htm" target="_blank"&gt;Load a Policy&lt;/A&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;REST&amp;nbsp;API.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Then enroll the new Leader into the Auto-Failover cluster.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;On the new Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke cluster enroll --cluster-machine-name &amp;lt;New Leader's FQDN&amp;gt; &amp;lt;Cluster Name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Example:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec devconjur evoke cluster enroll --cluster-machine-name 1adcybrcnjr01.company.com new-conjurcluster&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; Idira &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/highavailability/auto-failover-setup-continue.htm" target="_blank"&gt;documents&lt;/A&gt; the syntax as evoke cluster enroll [options] &amp;lt;cluster-name&amp;gt;, with --cluster-machine-name defining the node name used in the AF cluster.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Then enroll the first Standby on the first Standby:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke cluster enroll --cluster-machine-name &amp;lt;First Standby's FQDN&amp;gt; --master-name &amp;lt;New Leader's FQDN&amp;gt; &amp;lt;Cluster Name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Example:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec devconjur evoke cluster enroll --cluster-machine-name 1adcybrcnjr02.company.com --master-name 1adcybrcnjr01.company.com new-conjurcluster&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Then repeat on the second Standby:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke cluster enroll --cluster-machine-name &amp;lt;Second Standby's FQDN&amp;gt; --master-name &amp;lt;New Leader's FQDN&amp;gt; &amp;lt;Cluster Name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Repeat for any additional Followers/Standbys.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;After all three are enrolled, verify membership from the Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke cluster member list&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;All members should be enrolled.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Then verify full health again:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/health?all" target="_blank"&gt;&lt;SPAN style="font-weight: bold;"&gt;https://localhost/health?all&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;At this point the cluster section should report healthy/running rather than unknown or failed.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Leader-Name/Master-Name&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The current Evoke &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/tools/evoke-command-reference.htm" target="_blank"&gt;documentation&lt;/A&gt; still defines &lt;SPAN style="font-style: italic;"&gt;-m, --master-name&lt;/SPAN&gt; as the Leader name for cluster enrollment. So use&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;--master-name&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;not:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;--leader-name&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Enable Auto-Failover&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;A separate “enable Auto-Failover” switch is not required after this. The &lt;SPAN style="font-style: italic;"&gt;evoke cluster enroll&lt;/SPAN&gt; operations are what establish the Leader and Standbys as members of the Auto-Failover cluster. Idira’s upgrade &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documentation&lt;/A&gt; describes this exact sequence as “Re-enroll the auto-failover cluster”: enroll the Leader first, then each Standby with the Leader supplied through --master-name.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Sep 2026 20:01:04 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2026-09-04T20:01:04Z</dc:date>
    <item>
      <title>Self-Hosted Secrets Manager/Conjur Cluster Migration</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management-articles/self-hosted-secrets-manager-conjur-cluster-migration/ta-p/1427372</link>
      <description>&lt;P&gt;This article provides a step-by-step process for migrating a Secrets Manager Self-Hosted cluster to new servers when an in-place operating system upgrade is not supported. The procedure preserves the existing Leader database by creating an evoke backup, transferring the encrypted backup and key to a newly built Leader, and restoring the data into a fresh container. It also covers validation of the restored Leader, handling FQDN changes and both self-signed and third-party certificates, and preparing new Standby nodes from clean containers. New Standbys are created from fresh seeds generated by the migrated Leader rather than reusing the original Standbys or their local database state. The guide additionally includes replication validation and the required Auto-Failover policy and evoke cluster enroll steps to establish a healthy three-node cluster.&lt;/P&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Migrating a Secrets Manager Cluster&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Since in-place OS upgrades of Idira products are not supported, a customer may need to migrate an existing Secrets Manager cluster to a new set of VMs with updated operating systems installed. If that is the case, use this process to successfully migrate the database from the original cluster to the new cluster.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Original Followers/Standbys&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The original Followers or Standbys should have no role in transferring the database. Once the new Leader is restored and validated, all new Followers/Standbys should be built cleanly from brand-new seeds generated by that new Leader.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;High-Level Process Overview&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The Idira upgrade procedure is as follows:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;Stop writes to the Leader → Run evoke backup → Start a fresh appliance container → Run evoke unpack backup → Run evoke restore&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The backup creates an encrypted archive plus its encryption key which will need to be transferred from the original Leader to the new Leader.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Docker/Podman&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The following commands use &lt;SPAN style="font-style: italic;"&gt;podman&lt;/SPAN&gt;. However, &lt;SPAN style="font-style: italic;"&gt;podman&lt;/SPAN&gt; can be replaced by &lt;SPAN style="font-style: italic;"&gt;docker&lt;/SPAN&gt; with no impact.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Container Names&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;For this setup, use one container per server/node. Each container can have the same container name. As a matter of fact, it is recommended to keep the same container name on all cluster nodes for operational consistency. There is no conflict because each container exists in a different Podman or Docker runtime on a different server. What distinguishes the nodes is the host/FQDN and appliance role, not the local container name.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 1: Prepare the New RHEL Leader&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Build the new host completely clean. Do not copy /var/lib/postgresql, etcd data, or any database directories from the original host. Doing so can cause PostgreSQL version mismatches and other issues down the road.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;On the new Leader, verify the hostname:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;hostname -f&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify DNS:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;getent hosts &amp;lt;New Leader's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;getent hosts &amp;lt;New Follower/Standby 1's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;getent hosts &amp;lt;New Follower/Standby 2's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note: &lt;/SPAN&gt;The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/13.9/en/content/deployment/dap/dap-before-deploy-vm.htm" target="_blank"&gt;documented&lt;/A&gt; Podman deployment requires the nodes to be able to communicate with one another and supports a dedicated container network with each container's FQDN as its network alias.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Create the host directories:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo mkdir -p /opt/cyberark/conjur/{security,config,backups,seeds,logs}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;If using the recommended bridge network:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman network create conjur&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;If it already exists:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman network ls&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman network inspect conju&lt;/SPAN&gt;r&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 2: Verify the Existing Leader Before Backup&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;On the original Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman ps&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Then:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/health" target="_blank"&gt;&lt;SPAN style="font-weight: bold;"&gt;https://localhost/health&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;The application/database portions must be healthy before taking the migration backup.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify the role:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Original Contain Name&amp;gt; evoke role show&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Expected:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;master&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Record the current product version:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Original Contain Name&amp;gt; evoke version&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Preserve the current configuration for reference:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Original Contain Name&amp;gt; evoke configuration show -o text &amp;gt; /tmp/conjur_configuration_before_migration.txt&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; If that command isn't supported by their exact build, simply capture:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Original Contain Name&amp;gt; cat /etc/conjur/config/conjur.yml &amp;gt; /tmp/conjur.yml.before-migration&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 3: Establish the Migration Outage/Consistency Point&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important! &lt;/SPAN&gt;The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documentation&lt;/A&gt; says to stop the Conjur service on the Leader before creating the final backup specifically to prevent new database changes during the upgrade.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Once the customer is ready for the actual migration/cutover:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Original Contain Name&amp;gt; sv stop conjur&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;The docs describe this as preventing new changes from being introduced to the Leader.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Ensure applications/users are no longer writing to the original Leader during the migration window.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Preserve the Original Leader&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Do not delete or dismantle this Leader. It is the rollback source.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 4: Create the Final Leader Backup&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Run on the original Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Original Contain Name&amp;gt; evoke backup&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/tools/evoke-command-reference.htm" target="_blank"&gt;documented&lt;/A&gt; behavior is that evoke backup creates:&lt;/P&gt;
&lt;UL style="direction: ltr;unicode-bidi: embed;margin-top: 0in;margin-bottom: 0in;"&gt;&lt;LI style="margin-top: 0;margin-bottom: 0;vertical-align: middle;"&gt;&lt;SPAN style="font-family: Calibri;font-size: 11.0pt;"&gt;an encrypted backup archive&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-top: 0;margin-bottom: 0;vertical-align: middle;"&gt;&lt;SPAN style="font-family: Calibri;font-size: 11.0pt;"&gt;an encryption key needed to unlock it&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;under &lt;SPAN style="font-style: italic;"&gt;/opt/conjur/backup&lt;/SPAN&gt; inside the container.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;First identify the actual host mount:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman inspect &amp;lt;Original Contain Name&amp;gt; --format '{{range .Mounts}}{{println .Source "-&amp;gt;" .Destination}}{{end}}'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Find the source corresponding to &lt;SPAN style="font-style: italic;"&gt;/opt/conjur/backup&lt;/SPAN&gt;. Then list it. For example:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /opt/cyberark/conjur/backup&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;or:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /opt/cyberark/conjur/backups&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Expect to find two artifacts, typically something resembling:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;lt;timestamp&amp;gt;.tar.xz.gpg&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;key&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; The key is required to decrypt/unpack the archive.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Preserve both files by making a dedicated migration directory:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo mkdir -p /tmp/conjur-migration&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Then copy the generated backup and key into it, substituting the actual backup host directory:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo cp -a /opt/cyberark/conjur/backups/* /tmp/conjur-migration/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /tmp/conjur-migration&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Optional but Useful Integrity Hashes&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;cd /tmp/conjur-migration&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo sha256sum * | sudo tee SHA256SUMS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 5: Transfer the Backup to the New Leader&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;From the original Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo scp /tmp/conjur-migration/* &amp;lt;user&amp;gt;@&amp;lt;New Leader's FQDN&amp;gt;:/tmp/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;On the new Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /tmp/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Verify Hashes if Generated&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;cd /tmp&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo sha256sum -c SHA256SUMS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Then place the backup and key into the new host's backup mount:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo cp &amp;lt;backup-file&amp;gt;.tar.xz.gpg /opt/cyberark/conjur/backups/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo cp key /opt/cyberark/conjur/backups/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;For example:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /opt/cyberark/conjur/backups/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important!&lt;/SPAN&gt; Both files, &lt;SPAN style="font-style: italic;"&gt;&amp;lt;timestamp&amp;gt;.tar.xz.gpg &lt;/SPAN&gt;and &lt;SPAN style="font-style: italic;"&gt;key &lt;/SPAN&gt;must be present before the new container is restored.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 6: Start a Completely Fresh Container on the New Leader&lt;/H1&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;color: #c00000;"&gt;Caution!&lt;/SPAN&gt; This part is important. Do not run &lt;SPAN style="font-style: italic;"&gt;evoke configure leader&lt;/SPAN&gt; first. The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documented&lt;/A&gt; upgrade path starts a fresh appliance container and restores directly into it.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;For rootful Podman on the new RHEL host, use something along these lines:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman run \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --name &amp;lt;Container Name&amp;gt; \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --network conjur \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --network-alias &amp;lt;New Leader's FQDN&amp;gt; \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --detach \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --security-opt seccomp=/opt/cyberark/conjur/security/seccomp.json \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "443:443" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "444:444" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "5432:5432" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "1999:1999" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --cap-add AUDIT_WRITE \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --log-driver journald \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/config:/etc/conjur/config:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/security:/opt/cyberark/conjur/security:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/backups:/opt/conjur/backup:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/seeds:/opt/cyberark/conjur/seeds:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/logs:/var/log/conjur:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; registry.tld/conjur-appliance:13.9.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;That follows the current &lt;A href="https://docs.cyberark.com/secrets-manager-sh/13.9/en/content/deployment/dap/dap-before-deploy-vm.htm" target="_blank"&gt;documented&lt;/A&gt; rootful Podman pattern: &lt;SPAN style="font-style: italic;"&gt;Dedicated network + Container FQDN/Network alias + Ports + AUDIT_WRITE + Persistent Mounts with SELinux :z&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Restart Setting&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important! &lt;/SPAN&gt;For a Podman deployment, current documentation specifically says do not put &lt;SPAN style="font-style: italic;"&gt;--restart=unless-stopped&lt;/SPAN&gt; in "&lt;SPAN style="font-style: italic;"&gt;podman run&lt;/SPAN&gt;". Let systemd handle restart behavior instead. For a Docker deployment, however, &lt;SPAN style="font-style: italic;"&gt;--restart=unless-stopped&lt;/SPAN&gt; should be used in "&lt;SPAN style="font-style: italic;"&gt;podman run&lt;/SPAN&gt;".&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Security-Opt Setting&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;If their original deployment uses &lt;SPAN style="font-style: italic;"&gt;--security-opt seccomp=unconfined &lt;/SPAN&gt;rather than a supplied &lt;SPAN style="font-style: italic;"&gt;seccomp.json&lt;/SPAN&gt;, keep the same setting in the new environment to avoid container start failures.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Version Upgrade&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Initially use the same Secrets Manager product version as the original Leader. The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/tools/evoke-command-reference.htm" target="_blank"&gt;documentation&lt;/A&gt; says backup/restore is generally supported across releases, but moving platform + (optionally) changing FQDN + changing product release all in one operation makes troubleshooting unnecessarily difficult. The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documentation&lt;/A&gt; also requires all cluster nodes to run the same Secrets Manager image version.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;FQDN Change&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The upgrade &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documentation&lt;/A&gt; expects the new Leader to have the same FQDN/DNS Name as the original Leader. If a different FQDN is required, additional steps are provided in Phase 12 to validate the new appliance FQDN and regenerate or replace the associated certificate so it matches the new name.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 7: Confirm the Backup is Visible Inside the New Container&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Run:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; ls -lah /opt/conjur/backup&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Expected result:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;key&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;lt;timestamp&amp;gt;.tar.xz.gpg&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important!&lt;/SPAN&gt; Do not copy a PostgreSQL data directory into this container.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 8: Unpack the Original Leader Backup&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;First use the exact archive name rather than * while we're troubleshooting:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke unpack backup --key /opt/conjur/backup/key /opt/conjur/backup/&amp;lt;timestamp&amp;gt;.tar.xz.gpg&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note: &lt;/SPAN&gt;The Evoke &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/tools/evoke-command-reference.htm" target="_blank"&gt;reference&lt;/A&gt; requires the backup to be unpacked before restore and requires the encryption key.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;If successful, don't immediately perform the real restore.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 9: Run the Restore Preview&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; Idira explicitly recommends running &lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke restore --preview --accept-eula &lt;/SPAN&gt;before the real restore for customers using version &lt;SPAN style="font-weight: bold;"&gt;12.5 and older&lt;/SPAN&gt;. For those using newer versions, this step can be disregarded.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;--preview&lt;/SPAN&gt; displays policy roles that the migration would remove without applying the database migration. Idira says to review those roles and make sure they are no longer used before proceeding.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Capture it:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke restore --preview --accept-eula | sudo tee /tmp/evoke-restore-preview.txt&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important!&lt;/SPAN&gt; If it reports unexpected removals, stop here and notify customer support.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 10: Restore the Database to the New Leader&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Once the preview is acceptable:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke restore --accept-eula&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;This is the actual migration step. The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documentation&lt;/A&gt; specifically uses &lt;SPAN style="font-style: italic;"&gt;evoke unpack backup … &lt;/SPAN&gt;and &lt;SPAN style="font-style: italic;"&gt;evoke restore --accept-eula &lt;/SPAN&gt;to restore a fresh Leader container from the previous Leader's backup.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Wait&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Let it finish completely. Do not interrupt the container if PostgreSQL migration activity takes time.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 11: Validate the Restored Leader&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;First:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke role show&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Then:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/health" target="_blank"&gt;&lt;SPAN style="font-weight: bold;"&gt;https://localhost/health&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;The following should be trust at the minimum:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;services -&amp;gt; ok: true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;database -&amp;gt; ok: true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;overall -&amp;gt; ok: true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;role -&amp;gt; master&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;The &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documented&lt;/A&gt; upgrade validation is exactly the &lt;SPAN style="font-style: italic;"&gt;/health&lt;/SPAN&gt; check after restore.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Also test the application database through normal Conjur operations.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;For example:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/version" target="_blank"&gt;&lt;SPAN style="font-style: italic;"&gt;https://localhost/version&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Additional Validation Tests&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Test login/secrets retrieval through whatever test account/workload the customer normally uses.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Compare a few known objects/secrets/policies against the old environment before declaring the database migration successful.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 12: Critical FQDN/Certificate Clean-Up&lt;/H1&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note: &lt;/SPAN&gt;If the FQDN of the new Leader is the same as the original Leader, skip this section.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;The new Leader's FQDN was established during container creation in Phase 6 using &lt;SPAN style="font-style: italic;"&gt;--network-alias &amp;lt;New Leader FQDN&amp;gt;&lt;/SPAN&gt;. After restoring the backup from the original Leader, the restored certificate may still contain the original Leader's FQDN.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;To correct the certificate mismatch, there are two options depending on the signer of the certificate.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Self-Signed&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;For self-signed certificates, &lt;A href="https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/12.4/en/Content/Tools/Evoke-command-reference.htm#Regenerate" target="_blank"&gt;regenerate&lt;/A&gt; the CA/server certificate with the new hostname:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke ca regenerate &amp;lt;New Leader's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note: &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;evoke ca regenerate&lt;/SPAN&gt; commands are relevant for a self-signed certificate only.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;A more detailed how-to guide to regenerate the certificate for the new Leader's FQDN can be found here:&amp;nbsp; &lt;A href="https://community.cyberark.com/s/article/000003935" target="_blank"&gt;https://community.cyberark.com/s/article/000003935&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;3rd-Party Signed&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;For 3rd-party signed certificates, run the &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/tools/evoke-command-reference.htm#Import" target="_blank"&gt;import&lt;/A&gt; command twice (once for the CA/intermediates and once for the leaf cert + key):&lt;/P&gt;
&lt;OL style="direction: ltr;unicode-bidi: embed;margin-top: 0in;margin-bottom: 0in;font-family: Calibri;font-size: 11.0pt;font-weight: normal;font-style: normal;"&gt;&lt;LI style="margin-top: 0;margin-bottom: 0;vertical-align: middle;"&gt;&lt;SPAN style="font-family: Calibri;font-size: 11.0pt;font-weight: normal;font-style: normal;"&gt;Import the CA (and intermediates concatenated in the same pem file if applicable):&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P style="margin: 0in;margin-left: 1.5in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke ca import --root --force /path/to/root.pem&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL style="direction: ltr;unicode-bidi: embed;margin-top: 0in;margin-bottom: 0in;font-family: Calibri;font-size: 11.0pt;font-weight: normal;font-style: normal;"&gt;&lt;LI style="margin-top: 0;margin-bottom: 0;vertical-align: middle;"&gt;&lt;SPAN style="font-family: Calibri;font-size: 11.0pt;font-weight: normal;font-style: normal;"&gt;Import the server cert + key:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P style="margin: 0in;margin-left: 1.5in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke ca import --set --key /path/to/host.key /path/to/host.pem&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Verification Steps&lt;/H2&gt;
&lt;H2 style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify the certificate being presented by the new Leader:&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;openssl s_client -connect localhost:443 -servername &amp;lt;New Leader's FQDN&amp;gt; &amp;lt;/dev/null 2&amp;gt;/dev/null | openssl x509 -noout -subject -issuer -ext subjectAltName&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Confirm the output includes the new Leader FQDN in the certificate SANs, for example:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;DNS:&amp;lt;New Leader's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Then verify Secrets Manager health:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/health" target="_blank"&gt;&lt;SPAN style="font-weight: bold;"&gt;https://localhost/health&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The overall result should show:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;"ok": true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 13: Create the Standbys&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Build the new host completely clean. Do not copy /var/lib/postgresql, etcd data, or any database directories from the original host. Doing so can cause PostgreSQL version mismatches and other issues down the road.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;On the new host, verify the hostname:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;hostname -f&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify DNS:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;getent hosts &amp;lt;New Leader's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;getent hosts &amp;lt;New Follower/Standby 1's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;getent hosts &amp;lt;New Follower/Standby 2's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Create the host directories:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo mkdir -p /opt/cyberark/conjur/{security,config,backups,seeds,logs}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;If using the recommended bridge network:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman network create conjur&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;If it already exists:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman network ls&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman network inspect conju&lt;/SPAN&gt;r&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Create the Standby&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;For rootful Podman on the new RHEL host, use something along these lines:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman run \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --name &amp;lt;Container Name&amp;gt; \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --network conjur \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --network-alias &amp;lt;First Standby's FQDN&amp;gt; \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --detach \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --security-opt seccomp=/opt/cyberark/conjur/security/seccomp.json \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "443:443" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "444:444" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "5432:5432" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --publish "1999:1999" \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --cap-add AUDIT_WRITE \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --log-driver journald \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/config:/etc/conjur/config:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/security:/opt/cyberark/conjur/security:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/backups:/opt/conjur/backup:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/seeds:/opt/cyberark/conjur/seeds:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; --volume /opt/cyberark/conjur/logs:/var/log/conjur:z \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&amp;nbsp; registry.tld/conjur-appliance:13.9.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; The &lt;SPAN style="font-style: italic;"&gt;podman run&lt;/SPAN&gt; command has all the same options set as the Leader. It is important that nodes in the cluster are created consistently.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Restart Setting&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important! &lt;/SPAN&gt;For a Podman deployment, current &lt;A href="https://docs.cyberark.com/secrets-manager-sh/13.9/en/content/deployment/dap/dap-before-deploy-vm.htm" target="_blank"&gt;documentation&lt;/A&gt; specifically says do &lt;SPAN style="font-weight: bold;text-decoration: underline;"&gt;not&lt;/SPAN&gt; put &lt;SPAN style="font-style: italic;"&gt;--restart=unless-stopped&lt;/SPAN&gt; in "&lt;SPAN style="font-style: italic;"&gt;podman run&lt;/SPAN&gt;". Let systemd handle restart behavior instead. For a Docker deployment, however, &lt;SPAN style="font-style: italic;"&gt;--restart=unless-stopped&lt;/SPAN&gt; should be used in "&lt;SPAN style="font-style: italic;"&gt;podman run&lt;/SPAN&gt;".&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Security-Opt Setting&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;If their original deployment uses &lt;SPAN style="font-style: italic;"&gt;--security-opt seccomp=unconfined &lt;/SPAN&gt;rather than a supplied &lt;SPAN style="font-style: italic;"&gt;seccomp.json&lt;/SPAN&gt;, keep the same setting in the new environment to avoid container start failures.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Repeat this process for all additional Followers/Standbys adjusting the &lt;SPAN style="font-style: italic;"&gt;--network-alias&lt;/SPAN&gt; FQDN value for each.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 14: Reseed the Standbys&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Important!&lt;/SPAN&gt; Discard all previous Standby seeds.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Generate brand-new seeds.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;For the first Follower/Standby, from the new Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;sudo podman exec &lt;SPAN style="font-weight: bold;"&gt;&amp;lt;Container Name&amp;gt;&lt;/SPAN&gt; evoke seed standby &amp;lt;First Standby's FQDN&amp;gt; &amp;lt;New Leader's FQDN&amp;gt; &amp;gt; /tmp/standby01.tar&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;For the second Follower/Standby, from the new Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;sudo podman exec &lt;SPAN style="font-weight: bold;"&gt;&amp;lt;Container Name&amp;gt;&lt;/SPAN&gt; evoke seed standby &amp;lt;Second Standby's FQDN&amp;gt; &amp;lt;New Leader's FQDN&amp;gt; &amp;gt; /tmp/standby02.tar&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Repeat the process for additional Followers/Standbys&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; The current deployment &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap/dap-deploy-dap.htm" target="_blank"&gt;documentation&lt;/A&gt; shows the Standby seed command with both the &lt;SPAN style="font-style: italic;"&gt;Standby DNS&lt;/SPAN&gt; and &lt;SPAN style="font-style: italic;"&gt;Leader FQDN/DNS Name&lt;/SPAN&gt;, not merely the Standby name. It is important &lt;SPAN style="font-weight: bold;text-decoration: underline;"&gt;not&lt;/SPAN&gt; to use shortnames.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Transfer each seed to its respective Follower/Standby.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;From the new Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo scp /tmp/standby01.tar&amp;nbsp; &amp;lt;user&amp;gt;@&amp;lt;First Standby's FQDN&amp;gt;:/tmp/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo scp /tmp/standby02.tar&amp;nbsp; &amp;lt;user&amp;gt;@&amp;lt;Second Standby's FQDN&amp;gt;:/tmp/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Repeat for additional Followers/Standbys.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify the copy on the first Standby:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /tmp/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Verify the copy on the second Standby:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo ls -lah /tmp/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Repeat on additional Followers/Standbys&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;Unpack each seed and configure the fresh Standby:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke unpack seed /tmp/standby&amp;lt;## for respective Standby&amp;gt;.tar&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke configure standby&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;The seed already carries the Leader information, and the &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap/dap-deploy-dap.htm" target="_blank"&gt;documented&lt;/A&gt; standard workflow simply runs&lt;SPAN style="font-style: italic;"&gt; evoke configure standby&lt;/SPAN&gt; after unpacking it.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Verify Standby Health&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;On each Standby, run:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/health" target="_blank"&gt;&lt;SPAN style="font-weight: bold;"&gt;https://localhost/health&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The minimum expected results&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;"role": "standby"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;"ok": true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Enable Replication&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Synchronous replication can be enabled from the new Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke replication sync start&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; Idira requires at least two Standbys for synchronous replication.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 style="margin: 0in;font-family: Calibri;font-size: 16.0pt;color: #1e4e79;"&gt;Phase 15: Enable Auto-Failover&lt;/H1&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;First confirm all three nodes are healthy and that both Standbys are replicating normally. On each node:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/health?all" target="_blank"&gt;&lt;SPAN style="font-weight: bold;"&gt;https://localhost/health?all&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;The Leader should show role: "&lt;SPAN style="font-style: italic;"&gt;master&lt;/SPAN&gt;" and both Standbys should show role: "&lt;SPAN style="font-style: italic;"&gt;standby&lt;/SPAN&gt;" with healthy database/replication status.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Next, create the &lt;A href="https://docs.cyberark.com/secrets-manager-sh/12.7/en/content/deployment/highavailability/auto-failover-setup-continue.htm" target="_blank"&gt;Auto-Failover policy&lt;/A&gt; for the new topology:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;vi /tmp/newconjurcluster.yml&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;- !policy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp; id: cluster/&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;font-style: italic;"&gt;&amp;lt;New Cluster Name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp; body:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - !layer&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &amp;amp;hosts&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - !host&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;font-style: italic;"&gt;&amp;lt;New Leader's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - !host&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;font-style: italic;"&gt;&amp;lt;First Standby's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - !host&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;font-style: italic;"&gt;&amp;lt;Second Standby's FQDN&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - !grant&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; role: !layer&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; members: *hosts&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Load the policy&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;With ConjurCLI&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;conjur policy load -b root -f /tmp/newconjurcluster.yml&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;With REST&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="color: black;"&gt;Use the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/developer/conjur_api_append_policy.htm" target="_blank"&gt;Load a Policy&lt;/A&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;REST&amp;nbsp;API.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Then enroll the new Leader into the Auto-Failover cluster.&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;On the new Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke cluster enroll --cluster-machine-name &amp;lt;New Leader's FQDN&amp;gt; &amp;lt;Cluster Name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Example:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec devconjur evoke cluster enroll --cluster-machine-name 1adcybrcnjr01.company.com new-conjurcluster&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note:&lt;/SPAN&gt; Idira &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/highavailability/auto-failover-setup-continue.htm" target="_blank"&gt;documents&lt;/A&gt; the syntax as evoke cluster enroll [options] &amp;lt;cluster-name&amp;gt;, with --cluster-machine-name defining the node name used in the AF cluster.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Then enroll the first Standby on the first Standby:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke cluster enroll --cluster-machine-name &amp;lt;First Standby's FQDN&amp;gt; --master-name &amp;lt;New Leader's FQDN&amp;gt; &amp;lt;Cluster Name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;Example:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec devconjur evoke cluster enroll --cluster-machine-name 1adcybrcnjr02.company.com --master-name 1adcybrcnjr01.company.com new-conjurcluster&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Then repeat on the second Standby:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke cluster enroll --cluster-machine-name &amp;lt;Second Standby's FQDN&amp;gt; --master-name &amp;lt;New Leader's FQDN&amp;gt; &amp;lt;Cluster Name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;Repeat for any additional Followers/Standbys.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;After all three are enrolled, verify membership from the Leader:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;sudo podman exec &amp;lt;Container Name&amp;gt; evoke cluster member list&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;All members should be enrolled.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;Then verify full health again:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;curl -sk &lt;/SPAN&gt;&lt;A href="https://localhost/health?all" target="_blank"&gt;&lt;SPAN style="font-weight: bold;"&gt;https://localhost/health?all&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;At this point the cluster section should report healthy/running rather than unknown or failed.&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Leader-Name/Master-Name&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;The current Evoke &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/tools/evoke-command-reference.htm" target="_blank"&gt;documentation&lt;/A&gt; still defines &lt;SPAN style="font-style: italic;"&gt;-m, --master-name&lt;/SPAN&gt; as the Leader name for cluster enrollment. So use&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;--master-name&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;not:&lt;/P&gt;
&lt;P style="margin: 0in;margin-left: 1.125in;font-family: Calibri;font-size: 11.0pt;"&gt;&lt;SPAN style="font-style: italic;"&gt;--leader-name&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;font-family: Calibri;font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin: 0in;margin-left: .375in;font-family: Calibri;font-size: 14.0pt;color: #2e75b5;"&gt;Enable Auto-Failover&lt;/H2&gt;
&lt;P style="margin: 0in;margin-left: .75in;font-family: Calibri;font-size: 11.0pt;"&gt;A separate “enable Auto-Failover” switch is not required after this. The &lt;SPAN style="font-style: italic;"&gt;evoke cluster enroll&lt;/SPAN&gt; operations are what establish the Leader and Standbys as members of the Auto-Failover cluster. Idira’s upgrade &lt;A href="https://docs.cyberark.com/secrets-manager-sh/latest/en/content/deployment/dap-upgrade.htm" target="_blank"&gt;documentation&lt;/A&gt; describes this exact sequence as “Re-enroll the auto-failover cluster”: enroll the Leader first, then each Standby with the Leader supplied through --master-name.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2026 20:01:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management-articles/self-hosted-secrets-manager-conjur-cluster-migration/ta-p/1427372</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-09-04T20:01:04Z</dc:date>
    </item>
  </channel>
</rss>

