<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vertica 26.3.x – Database management with VCluster</title>
    <link>/en/admin/vcluster/</link>
    <description>Recent content in Database management with VCluster on Vertica 26.3.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/admin/vcluster/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Admin: Database management with VCluster CLI</title>
      <link>/en/admin/vcluster/vcluster-cli/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/vcluster/vcluster-cli/</guid>
      <description>
        
        
        &lt;p&gt;The &lt;a href=&#34;https://github.com/vertica/vcluster&#34;&gt;VCluster CLI&lt;/a&gt; is a tool for administering a single database. This tool is bundled with Vertica installations. VCluster CLI communicates with database nodes by leveraging the REST APIs provided by &lt;a href=&#34;../../../en/admin/managing-db/node-management-agent/#&#34;&gt;Node Management Agent&lt;/a&gt; and &lt;a href=&#34;../../../en/admin/managing-db/https-service/#&#34;&gt;HTTPS service&lt;/a&gt;.&lt;/p&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

The VCluster CLI is targeted primarily for managing &lt;a class=&#34;glosslink&#34; href=&#34;../../../en/glossary/eon/&#34; title=&#34;Eon Mode is the database mode that optimizes your database for scalability.&#34;&gt;Eon Mode&lt;/a&gt; databases. While you can create and manage &lt;a class=&#34;glosslink&#34; href=&#34;../../../en/glossary/enterprise/&#34; title=&#34;A database mode that optimizes your database for analytic speed.&#34;&gt;Enterprise Mode&lt;/a&gt; databases, the suite of commands for doing so is less complete. For a more complete set of Enterprise Mode management tools, see &lt;a href=&#34;../../../en/admin/using-admin-tools/admin-tools-reference/#&#34;&gt;Administration tools reference&lt;/a&gt;.

&lt;/div&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;To use the VCluster CLI, you must first configure the &lt;a href=&#34;../../../en/admin/managing-db/node-management-agent/#&#34;&gt;Node Management Agent&lt;/a&gt; (NMA), including running the following command on all nodes:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ /opt/vertica/bin/manage_node_agent.sh start node_management_agent
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

If the database host is stopped and restarted, you must restart the NMA to ensure proper functionality.

&lt;/div&gt;
&lt;h2 id=&#34;best-practices&#34;&gt;Best practices&lt;/h2&gt;
&lt;p&gt;The majority of VCluster CLI commands use the configuration file, which is automatically created when you create a database. You should always use this configuration file when using VCluster CLI, either by ensuring that the configuration file is in the default location (&lt;code&gt;/opt/vertica/config/vertica_cluster.yaml&lt;/code&gt;) or specifying it with &lt;code&gt;--config&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;To recreate a configuration file, use &lt;a href=&#34;../../../en/admin/vcluster/vcluster-cli/vcluster-commands/manage_config/manage_config-recover/&#34;&gt;&lt;code&gt;manage_config recover&lt;/code&gt;&lt;/a&gt;. This can be useful if you lose your configuration file or if it becomes corrupted.&lt;/p&gt;
&lt;p&gt;To view your current configuration file, use &lt;a href=&#34;../../../en/admin/vcluster/vcluster-cli/vcluster-commands/manage_config/manage_config-show/&#34;&gt;&lt;code&gt;manage_config show&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
The symbol &amp;quot;$&amp;quot; is stored as a numerical value when used in VCluster when used in a string. If you want to use the symbol as a character, use the escape characer &amp;quot;&amp;quot; before the symbol. If you have multiple &amp;quot;$&amp;quot; characters in a row, the escape character must be used before each one.
&lt;/div&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Database management with VCluster UI</title>
      <link>/en/admin/vcluster/vcluster-ui/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/vcluster/vcluster-ui/</guid>
      <description>
        
        
        &lt;p&gt;The VCluster UI is a tool for administering your database. This tool is bundled with Vertica installations. VCluster UI works with the VCluster CLI to manage your database. It works with both the EON and Enterprise database types.&lt;/p&gt;
&lt;h2 id=&#34;setting-up-vcluster-ui&#34;&gt;Setting up VCluster UI&lt;/h2&gt;
&lt;p&gt;Setting up the VCluster UI for your system depends on whether you already have a database set up and how you created your database: AdminTools or VCluster CLI. Use the section below that corresponds to your setup:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;#setup-vui&#34;&gt;Configure VCluster server&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;#createdb-vui&#34;&gt;Create a database from VCluster UI&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;#configure-vcli&#34;&gt;Access existing database from VCluster UI&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;#migrate-admintools&#34;&gt;Migrate your database from AdminTools to VCluster UI&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;setup-vui&#34;&gt;Configure VCluster Server&lt;/h3&gt;
&lt;p&gt;To set up VCluster UI and create a new database:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Start the node management agent on all of the nodes:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$  /opt/vertica/bin/manage_node_agent.sh start node_management_agent
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Here is an example script that can be used to start the node management agent on multiple nodes:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;for x in 10.20.71.10 10.20.71.11 10.20.71.12 10.20.71.13; do echo &amp;#34;host is $x&amp;#34;; ssh $x /opt/vertica/bin/manage_node_agent.sh 
start node_management_agent; done;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start the VCluster Server service on one of the hosts (this is the host that you will connect to in order to use VCluster Server):&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$  /opt/vertica/bin/manage_vcluster_server.sh start vcluster_server
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create and grant TLS authentication methods for both IPv4 and IPv6 (replace &lt;code&gt;&amp;lt;dbadmin user&amp;gt;&lt;/code&gt; with your dbadmin user or the users that will operate the database):&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sql&#34; data-lang=&#34;sql&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;CREATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;AUTHENTICATION&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;tls_for_all_ipv4&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;METHOD&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;tls&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;HOST&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;TLS&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;0.0.0.0/0&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;FALLTHROUGH&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;GRANT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;AUTHENTICATION&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;tls_for_all_ipv4&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;dbadmin&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;user&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;CREATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;AUTHENTICATION&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;tls_for_all_ipv6&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;METHOD&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;tls&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;HOST&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;TLS&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;::/0&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;FALLTHROUGH&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;GRANT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;AUTHENTICATION&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;tls_for_all_ipv6&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;dbadmin&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;user&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;pre&gt;&lt;code&gt;Using `FALLTHROUGH` authentication is optional and is used as an example in the command above. Please refer to [Fallthrough authentication]({{ref &amp;quot;fallthrough-authentication.md&amp;quot;}}) for more information aobut using `FALLTHROUGH`.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Verify that TLS authentication exists and has the required priority for the user that will connect with client certificates:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sql&#34; data-lang=&#34;sql&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;SELECT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;FROM&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;client_auth&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Example output:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;     auth_oid      |         auth_name         | is_auth_enabled | auth_host_type | auth_host_address | auth_method | auth_parameters | auth_priority | method_priority | address_priority | is_fallthrough_enabled | enforce_mfa
-------------------+---------------------------+-----------------+----------------+-------------------+-------------+-----------------+---------------+-----------------+------------------+------------------------+-------------
 45035996273705224 | default_hash_network_ipv4 | True            | HOST           | 0.0.0.0/0         | HASH        |                 |            -1 |               2 |               96 | False                  | f
 45035996273705228 | default_hash_network_ipv6 | True            | HOST           | ::/0              | HASH        |                 |            -1 |               2 |                0 | False                  | f
 45035996273705232 | default_hash_local        | True            | LOCAL          |                   | HASH        |                 |            -1 |               2 |                0 | False                  | f
 45035996390865984 | tls_for_all_ipv4          | True            | HOSTSSL        | 0.0.0.0/0         | TLS         |                 |             0 |               5 |               96 | True                   | f
 45035996390865988 | tls_for_all_ipv6                 | True            | HOSTSSL       |                   | TLS         |                 |             0 |               5 |                0 | True                   | f
(5 rows)
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you have your own server certificates and CA certificate in PEM or key format, you can import them into VCluster UI by following the steps in [Generating TLS certificates &amp;amp; keys]({{ref &amp;quot;generating-tls-certificates-and-keys.md&amp;quot;}}) and skip this step. Otherwise, follow the steps below to create server certificates:&lt;/p&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;pre&gt;&lt;code&gt;Creating a new Certificate Authority (CA) is optional. Creating a server certifidate is required for Workload Replay, Health Watchdog, and Cluster Health.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sql&#34; data-lang=&#34;sql&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;CREATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;KEY&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;k_ca&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TYPE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;RSA&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;LENGTH&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;4096&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;CREATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CERTIFICATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ca&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SUBJECT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;/C=US/ST=Massachusetts/L=Cambridge/O=Vertica/OU=Vertica/CN=Vertica Root CA&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;VALID&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;FOR&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;3650&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;EXTENSIONS&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;nsComment&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;Vertica generated root CA cert&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;KEY&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;k_ca&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;CREATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;KEY&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;k_server&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TYPE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;RSA&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;LENGTH&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;2048&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;CREATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CERTIFICATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;server&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SUBJECT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;/C=US/ST=Massachusetts/L=Cambridge/O=Vertica/OU=Vertica/CN=Eng Vertica Cluster/emailAddress=Vertica-IT@vertica.com&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SIGNED&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;BY&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ca&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;KEY&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;k_server&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;CREATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;KEY&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;superuser_key&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TYPE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;RSA&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;LENGTH&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;2048&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;CREATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CERTIFICATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;superuser_cert&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SUBJECT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;/C=US/ST=Massachusetts/L=Cambridge/O=Vertica/OU=Vertica/CN=&amp;lt;your_dbadmin_user&amp;gt;/emailAddress=me@vertica.com&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SIGNED&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;BY&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ca&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;EXTENSIONS&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;nsComment&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;Vertica generated client cert&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;extendedKeyUsage&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;clientAuth&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;KEY&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;superuser_key&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Export the generated certificates to the file system.&lt;/p&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;pre&gt;&lt;code&gt;Optionally, back up the existing `/opt/vertica/config/https_certs` directory.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Export the CA certificate and key files:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;vsql -Atc &lt;span class=&#34;s2&#34;&gt;&amp;#34;SELECT key FROM cryptographic_keys WHERE name = &amp;#39;k_ca&amp;#39;;&amp;#34;&lt;/span&gt; -o /opt/vertica/config/https_certs/rootca.key
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;vsql -Atc &lt;span class=&#34;s2&#34;&gt;&amp;#34;SELECT certificate_text FROM certificates WHERE name = &amp;#39;ca&amp;#39;;&amp;#34;&lt;/span&gt; -o /opt/vertica/config/https_certs/rootca.pem
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Export the server certificate and key files:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;vsql -Atc &lt;span class=&#34;s2&#34;&gt;&amp;#34;SELECT key FROM cryptographic_keys WHERE name = &amp;#39;k_server&amp;#39;;&amp;#34;&lt;/span&gt; -o /opt/vertica/config/https_certs/vertica_https.key
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;vsql -Atc &lt;span class=&#34;s2&#34;&gt;&amp;#34;SELECT certificate_text FROM certificates WHERE name = &amp;#39;server&amp;#39;;&amp;#34;&lt;/span&gt; -o /opt/vertica/config/https_certs/vertica_https.pem
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Export the dbadmin user certificate and key files:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;vsql -Atc &lt;span class=&#34;s2&#34;&gt;&amp;#34;SELECT key FROM cryptographic_keys WHERE name = &amp;#39;superuser_key&amp;#39;;&amp;#34;&lt;/span&gt; -o /opt/vertica/config/https_certs/dbadmin.key
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;vsql -Atc &lt;span class=&#34;s2&#34;&gt;&amp;#34;SELECT certificate_text FROM certificates WHERE name = &amp;#39;superuser_cert&amp;#39;;&amp;#34;&lt;/span&gt; -o /opt/vertica/config/https_certs/dbadmin.pem
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Copy the dbadmin certificates to the NMA client certificate files:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cp /opt/vertica/config/https_certs/dbadmin.key /opt/vertica/config/https_certs/nma_client.key
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cp /opt/vertica/config/https_certs/dbadmin.pem /opt/vertica/config/https_certs/nma_client.pem
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Copy the generated files to every node in the cluster. At minimum, synchronize the following files under &lt;code&gt;/opt/vertica/config/https_certs&lt;/code&gt; on each host:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;rootca.key&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rootca.pem&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;vertica_https.key&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;vertica_https.pem&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;nma_client.key&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;nma_client.pem&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Configure the embedded HTTPS service to use the server certificate and CA:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sql&#34; data-lang=&#34;sql&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;TLS&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CONFIGURATION&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;https&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CERTIFICATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;server&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ADD&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CERTIFICATES&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ca&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;TLSMODE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;VERIFY_CA&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;TLS&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CONFIGURATION&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;server&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;TLSMODE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;ENABLE&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart the Node Management Agent on each host so it begins using the new certificates:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;for&lt;/span&gt; x in &amp;lt;cluster_host_list&amp;gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;do&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;host is &lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;$x&lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; ssh &lt;span class=&#34;nv&#34;&gt;$x&lt;/span&gt; /opt/vertica/bin/manage_node_agent.sh stop node_management_agent&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;done&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;for&lt;/span&gt; x in &amp;lt;cluster_host_list&amp;gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;do&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;host is &lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;$x&lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; ssh &lt;span class=&#34;nv&#34;&gt;$x&lt;/span&gt; /opt/vertica/bin/manage_node_agent.sh start node_management_agent&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;done&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Verify that the VCluster CLI can connect with the new client certificate:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;vcluster list_all_nodes
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Recreate the VCluster Server certificates so that the UI also uses the same CA. On the host where &lt;code&gt;vcluster_server&lt;/code&gt; runs, stop the service and remove the certificate files from &lt;code&gt;/opt/vertica/config/vcluster_server&lt;/code&gt;. Keep the directory and delete only the certificate files such as &lt;code&gt;ca.pem&lt;/code&gt;, &lt;code&gt;ca.key&lt;/code&gt;, &lt;code&gt;server.pem&lt;/code&gt;, &lt;code&gt;certchain.pem&lt;/code&gt;, &lt;code&gt;server.key&lt;/code&gt;, &lt;code&gt;admin.pem&lt;/code&gt;, &lt;code&gt;admin.key&lt;/code&gt;, &lt;code&gt;admin.p12&lt;/code&gt;, and &lt;code&gt;certs_db&lt;/code&gt;. Then restart &lt;code&gt;vcluster_server&lt;/code&gt; so it regenerates the certificates from &lt;code&gt;/opt/vertica/config/https_certs&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart the VCluster Server and, if installed, the MCP server:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;/opt/vertica/bin/manage_vcluster_server.sh stop vcluster_server
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;/opt/vertica/bin/manage_vcluster_server.sh start vcluster_server
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;/opt/vertica/bin/manage_vcluster_server.sh stop mcp_server
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;/opt/vertica/bin/manage_vcluster_server.sh start mcp_server
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Verify VCluster Server access:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;curl   https://&amp;lt;nodeip&amp;gt;:8443/v1/nodes --key /opt/vertica/config/https_certs/dbadmin.key  --cert /opt/vertica/config/https_certs/dbadmin.pem --cacert /opt/vertica/config/https_certs/rootca.pem &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt;jq
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;pre&gt;&lt;code&gt;If the embedded HTTPS service returns a `Wrong Certificate` error, inspect `vertica.log` for the most recent `Authenticating client certificates for user` entry. This usually indicates either missing TLS authentication or an incorrect TLS authentication priority for the connecting user.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Navigate to &lt;code&gt;/opt/vertica/config/vcluster_server&lt;/code&gt; and download the &lt;code&gt;admin.p12&lt;/code&gt; certificate to the local machine where you intend to access the VCluster Web UI. This is the admin certificate. For role based access controls, other client certificates should be creating in VCluster UI.&lt;/p&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;pre&gt;&lt;code&gt;If you need to create your own certificate, use the `vcluster_server --init` command.    
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In a browser, import the certificate by going to &lt;strong&gt;Settings&lt;/strong&gt; &amp;gt; &lt;strong&gt;Manage Certificate&lt;/strong&gt; and add the &lt;code&gt;admin.p12&lt;/code&gt; certificate. The password for the default certificate is &lt;code&gt;vertica&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Launch the VCluster Web UI by navigating to &lt;code&gt;https://&amp;lt;hostname&amp;gt;:8665&lt;/code&gt;. When prompted, select the certificate that you just imported and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the link in the &lt;code&gt;Dashboard&lt;/code&gt; to create your database and follow the steps in #createdb-vui to create your database or follow the steps in #configure-vcli if you already have a database created.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/vcluster-ui/vcluster-ui-create-db.png&#34; alt=&#34;VCluster UI create database&#34;&gt;&lt;/p&gt;
&lt;h4 id=&#34;createdb-vui&#34;&gt;Create a database from VCluster UI&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;After you click the link to create a database, you are directed to the &lt;code&gt;Create Database&lt;/code&gt; page.&lt;/li&gt;
&lt;li&gt;Choose &lt;strong&gt;Eon&lt;/strong&gt; or &lt;strong&gt;Enterprise&lt;/strong&gt; as the database type. The available fields change based on your selection.&lt;/li&gt;
&lt;li&gt;Specify the details of your database.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;pre&gt;&lt;code&gt;- Configuration parameters are mandatory when creating an Eon Mode database.
- The default time for **Startup Timeout** is 5 minutes. 
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Create&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Job Status&lt;/strong&gt; page, you can view the status of your new database.&lt;/li&gt;
&lt;li&gt;Continue with &lt;a href=&#34;#access-vui&#34;&gt;Accessing the VCluster UI&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;configure-vcli&#34;&gt;Access existing database from VCluster UI&lt;/h4&gt;
&lt;p&gt;Follow these steps if your database was created using the VCluster CLI:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Start the node management agent on all of the nodes:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$  /opt/vertica/bin/manage_node_agent.sh start node_management_agent
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Here is an example script that can be used to start the node management agent on multiple nodes:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;for x in 10.20.71.10 10.20.71.11 10.20.71.12 10.20.71.13; do echo &amp;#34;host is $x&amp;#34;; ssh $x /opt/vertica/bin/manage_node_agent.sh 
start node_management_agent; done;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start the VCluster service on one of the hosts (this is the host that you will connect to in order to use VCluster):&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$  /opt/vertica/bin/manage_vcluster_server.sh start vcluster_server
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Navigate to &lt;code&gt;/opt/vertica/config/vcluster_server&lt;/code&gt; and download the &lt;code&gt;admin.p12&lt;/code&gt; certificate to the local machine where you intend to access the VCluster Web UI.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In a browser, import the certificate by going to &lt;strong&gt;Settings&lt;/strong&gt; &amp;gt; &lt;strong&gt;Manage Certificate&lt;/strong&gt; and add the &lt;code&gt;admin.p12&lt;/code&gt; certificate. The password for the default certificate is &lt;code&gt;vertica&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The VCluster Web Server leverages an embedded HTTPS service, which requires TLS authentication for secure access. Run the following commands to set the client-server TLS setting:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;vsql -c &amp;#34;create authentication tls_for_all method &amp;#39;tls&amp;#39; host tls &amp;#39;0.0.0.0/0&amp;#39;;&amp;#34; 
vsql -c &amp;#34;grant authentication tls_for_all to &amp;lt;your_desired_roles_to_use_tls_auth_method&amp;gt;;&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Please specify your desired role(s) for TLS authentication. For example, you could set it to &lt;code&gt;dbadmin&lt;/code&gt; by updating the command to &lt;code&gt;vsql -c &amp;quot;grant authentication tls_for_all to dbadmin;&amp;quot;&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;understanding-vcluster-ui&#34;&gt;Understanding VCluster UI&lt;/h2&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/vcluster-ui/vcluster-ui-dashboard.png&#34; alt=&#34;VCluster UI dashboard&#34;&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;b&gt;Vertica version information&lt;/b&gt;: Displays the current version of the database.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;b&gt;Help&lt;/b&gt;: Access the VCluster UI documentation and Swagger documentation.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;b&gt;Left navigation:&lt;/b&gt; Shows the available pages and highlights the current page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;b&gt;Landing page:&lt;/b&gt; Displays the different tiles to manage your database.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Migrate your database from AdminTools to VCluster</title>
      <link>/en/admin/vcluster/admintools-migration/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/vcluster/admintools-migration/</guid>
      <description>
        
        
        &lt;p&gt;You can migrate an AdminTools managed database to VCluster, and then manage the database using the VCluster CLI or VCluster UI.&lt;/p&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;A database created using AdminTools (Enterprise or Eon Mode)&lt;/li&gt;
&lt;li&gt;Passwordless SSH access to all cluster nodes&lt;/li&gt;
&lt;li&gt;Vertica version 24.3 or later (required for VCluster CLI migration)&lt;/li&gt;
&lt;li&gt;Vertica version 25.3 or later (required for VCluster UI migration)&lt;/li&gt;
&lt;li&gt;The following ports are open on all nodes:
&lt;ul&gt;
&lt;li&gt;5554: Node Management Agent (NMA)&lt;/li&gt;
&lt;li&gt;8665: VCluster UI&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;additional-prerequisites-for-eon-mode&#34;&gt;Additional prerequisites for Eon Mode&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Communal storage is configured (for example, S3 or S3-compatible storage such as MinIO)&lt;/li&gt;
&lt;li&gt;Access key, secret key, and endpoint are available&lt;/li&gt;
&lt;li&gt;Bucket path for communal storage (for example, s3://&lt;bucket&gt;/&lt;path&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;migrate-your-database-from-admintools-to-vcluster-cli&#34;&gt;Migrate your database from AdminTools to VCluster CLI&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Start the node management agent on all of the nodes:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;for x in &amp;lt;host1&amp;gt; &amp;lt;host2&amp;gt; &amp;lt;host3&amp;gt;; do echo &amp;#34;host is $x&amp;#34;; ssh $x /opt/vertica/bin/manage_node_agent.sh start node_management_agent; done;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following command to convert the AdminTools managed database to VCluster:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;admintools -t convert_to_vcluster
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This command converts the AdminTools configuration to VCluster and generates the configuration file at &lt;code&gt;/opt/vertica/config/vertica_cluster.yaml&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;After conversion, use VCluster CLI commands to manage the database. You can verify the conversion by stopping and starting the database:&lt;/p&gt;
&lt;p&gt;Stop the database:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;vcluster stop_db --db-name &amp;lt;db-name&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Example output:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;✔ Collect node information
✔ Collect cluster information
✔ Update node state from running database
✔ Collect information for all up nodes
✔ Stop database
✔ Verify database is not running
[INFO] Successfully stopped a database with name &amp;lt;db-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Start the database:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;vcluster start_db --db-name &amp;lt;db-name&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Example output:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;✔ Check NMA service health
✔ Verify database is running
✔ Collect nodes information
✔ Read catalog
✔ Check Vertica version
✔ Get contents of vertica.conf
✔ Get contents of spread.conf
✔ Start 3 node(s)
✔ Wait for 3 node(s) to come up: all nodes are up
✔ Collect node information
✔ Collect cluster information
✔ Update node state from running database
[INFO] Started database &amp;lt;db-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;These commands confirm that the database is now managed by VCluster.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;migrate-admintools&#34;&gt;Migrate your database from AdminTools to VCluster UI&lt;/h2&gt;
&lt;p&gt;Follow these steps if your database was created using AdminTools:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Start the node management agent on all of the nodes:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$  /opt/vertica/bin/manage_node_agent.sh start node_management_agent
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Here is an example script that can be used to start the node management agent on multiple nodes:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;for x in 10.20.71.10 10.20.71.11 10.20.71.12 10.20.71.13; do echo &amp;#34;host is $x&amp;#34;; ssh $x /opt/vertica/bin/manage_node_agent.sh 
start node_management_agent; done;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following script to convert the database configuration to be compatible with VCluster:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/opt/vertica/bin/vcluster manage_config recover --db-name migrate_to_vcluster --hosts &amp;lt;list of node IP address separated by commas&amp;gt; --catalog-path /scratch_b/disk_a  --depot-path /scratch_b/disk_a
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This command registers the database with the VCluster Framework and generates the configuration file at &lt;code&gt;/opt/vertica/config/vertica_cluster.yaml&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start the VCluster service on one of the hosts (this is the host that you will connect to in order to use VCluster):&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$  /opt/vertica/bin/manage_vcluster_server.sh start vcluster_server
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This will create a certificate for the UI that you need to import into your browser.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Navigate to &lt;code&gt;/opt/vertica/config/vcluster_server&lt;/code&gt; and download the &lt;code&gt;admin.p12&lt;/code&gt; certificate to the local machine where you intend to access the VCluster Web UI.&lt;/p&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;pre&gt;&lt;code&gt;If you need to create your own certificate, use the `vcluster_server --init` command.    
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In a browser, import the certificate by going to Settings &amp;gt; Manage Certificate and add the &lt;code&gt;admin.p12&lt;/code&gt; certificate. The password for the default certificate is &lt;code&gt;vertica&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Launch the VCluster Web UI by navigating to &lt;code&gt;https://&amp;lt;hostname&amp;gt;:8665&lt;/code&gt;. When prompted, select the certificate that you just imported and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
  </channel>
</rss>
