<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Upgrading Vertica</title>
    <link>/en/setup/upgrading/</link>
    <description>Recent content in Upgrading Vertica on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/setup/upgrading/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Setup: Before you upgrade</title>
      <link>/en/setup/upgrading/before-you-upgrade/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/setup/upgrading/before-you-upgrade/</guid>
      <description>
        
        
        &lt;p&gt;Before you upgrade the database, perform the following steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Verify that you have enough RAM available to run the upgrade. The upgrade requires approximately three times the amount of memory your database catalog uses.&lt;/p&gt;
&lt;p&gt;You can calculate catalog memory usage on all nodes by querying system table &lt;a href=&#34;../../../en/sql-reference/system-tables/v-monitor-schema/resource-pool-status/#&#34;&gt;RESOURCE_POOL_STATUS&lt;/a&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT node_name, pool_name, memory_size_kb FROM resource_pool_status WHERE pool_name = &amp;#39;metadata&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/admin/backup-and-restore/creating-backups/creating-full-backups/&#34;&gt;Perform a full database backup.&lt;/a&gt; This precautionary measure allows you to restore the current version if the upgrade is unsuccessful.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/setup/upgrading/before-you-upgrade/backing-up-and-restoring-grants/&#34;&gt;Perform a backup of your grants&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/setup/upgrading/before-you-upgrade/verifying-platform-requirements/&#34;&gt;Verify platform requirements&lt;/a&gt; for the new version.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Determine whether you are using any third-party user-defined extension libraries (UDxs). UDx libraries that are compiled (such as those developed using C++ or Java) may need to be recompiled with a new version of the OpenText™ Analytics Database SDK libraries to be compatible with the new version of the database. See &lt;a href=&#34;../../../en/extending/udxs/updating-udx-libraries/udx-library-compatibility-with-new-server-versions/#&#34;&gt;UDx library compatibility with new server versions&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/setup/upgrading/before-you-upgrade/checking-catalog-storage-space/&#34;&gt;Check catalog storage space&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Note that any user or role with the same name as a &lt;a href=&#34;../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/&#34;&gt;predefined role&lt;/a&gt; is renamed to &lt;code&gt;OLD_&lt;/code&gt;&lt;em&gt;&lt;code&gt;n_name&lt;/code&gt;&lt;/em&gt;, where &lt;em&gt;n&lt;/em&gt; is an integer that increments from zero until the resulting name is unique and &lt;em&gt;name&lt;/em&gt; is the previous name of the user or role.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you&#39;re upgrading from Vertica 9.2.x and have set the &lt;code&gt;PasswordMinCharChange&lt;/code&gt; or &lt;code&gt;PasswordMinLifeTime&lt;/code&gt; system-level &lt;a href=&#34;../../../en/sql-reference/config-parameters/security-parameters/&#34;&gt;security parameters&lt;/a&gt;, take note of their current values. You will have to set these parameters again, this time at the PROFILE-level, to reproduce your configuration. To view the current values for these parameters, run the following query:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT parameter_name,current_value from CONFIGURATION_PARAMETERS
    WHERE parameter_name IN (&amp;#39;PasswordMinCharChange&amp;#39;, &amp;#39;PasswordMinLifeTime&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After you complete these tasks, &lt;a href=&#34;../../../en/admin/operating-db/stopping-db/&#34;&gt;shut down the database gracefully&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Setup: Upgrade Vertica</title>
      <link>/en/setup/upgrading/upgrade/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/setup/upgrading/upgrade/</guid>
      <description>
        
        
        
&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
Before running the upgrade script, be sure to review the tasks described in &lt;a href=&#34;../../../en/setup/upgrading/before-you-upgrade/#&#34;&gt;Before you upgrade&lt;/a&gt;.
&lt;/div&gt;
&lt;p&gt;To upgrade your database to a new version, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Perform a &lt;a href=&#34;../../../en/admin/backup-and-restore/creating-backups/creating-full-backups/&#34;&gt;full backup&lt;/a&gt; of your existing database. This precautionary measure lets you restore from the backup, if the upgrade is unsuccessful. If the upgrade fails, you can reinstall the previous version of OpenText™ Analytics Database and &lt;a href=&#34;../../../en/admin/backup-and-restore/restoring-backups/restoring-hard-link-local-backups/&#34;&gt;restore your database&lt;/a&gt; to that version.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use admintools to &lt;a href=&#34;../../../en/admin/operating-db/stopping-db/&#34;&gt;stop the database&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On each host where an additional package is installed, such as the &lt;a href=&#34;../../../en/extending/developing-udxs/developing-with-sdk/r-sdk/installingupgrading-r-language-pack/&#34;&gt;R language pack&lt;/a&gt;, uninstall it. For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;rpm -e vertica-R-lang
&lt;/code&gt;&lt;/pre&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;
If you omit this step and do not uninstall additional packages, the database server package fails to install in the next step.
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Make sure you are logged in as root or sudo and use one of the following commands to run the RPM package installer:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you are root and installing an RPM:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# rpm -Uvh &lt;span class=&#34;code-variable&#34;&gt;pathname&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you are using sudo and installing an RPM:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo rpm -Uvh &lt;span class=&#34;code-variable&#34;&gt;pathname&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you are using Debian:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo dpkg -i &lt;span class=&#34;code-variable&#34;&gt;pathname&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the same node on which you just installed the RPM, run &lt;code&gt;update_vertica&lt;/code&gt; as root or sudo. This installs the RPM on all the hosts in the cluster. For example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Red Hat or CentOS:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# /opt/vertica/sbin/update_vertica --rpm /home/dbadmin/vertica-&lt;span class=&#34;code-variable&#34;&gt;version&lt;/span&gt;.RHEL8.x86_64.rpm --dba-user mydba
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Debian:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# /opt/vertica/sbin/update_vertica --deb /home/dbadmin/vertica_&lt;span class=&#34;code-variable&#34;&gt;version&lt;/span&gt;_amd64.deb --dba-user mydba
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&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;

You can upgrade the databse server running on AWS instances created from a OpenText™ Analytics Database AMI. To upgrade the database server on these AWS instances, you need to add the &lt;code&gt;--dba-user-password-disabled&lt;/code&gt; and &lt;code&gt;--point-to-point&lt;/code&gt; arguments to the upgrade script.

&lt;/div&gt;
&lt;p&gt;The following requirements and restrictions apply:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The DBADMIN user must be able to read the RPM or DEB file when upgrading. Some upgrade scripts are run as the DBADMIN user, and that user must be able to read the RPM or DEB file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use the same options that you used when you last installed or upgraded the database. You can find these options in &lt;code&gt;/opt/vertica/config/admintools.conf&lt;/code&gt;, on the &lt;code&gt;install_opts&lt;/code&gt; line. For details on all options, see &lt;a href=&#34;../../../en/setup/set-up-on-premises/install-using-command-line/install-with-installation-script/#&#34;&gt;Install Vertica with the installation script&lt;/a&gt;.&lt;/p&gt;

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

If you omit any previous options, their default settings are restored. If you do so, or if you change any options, the upgrade script uses the new settings to reconfigure the cluster. This can cause issues with the upgraded database.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Omit the &lt;code&gt;--hosts/-s &lt;/code&gt;&lt;em&gt;&lt;code&gt;host-list&lt;/code&gt;&lt;/em&gt; parameter. The upgrade script automatically identifies cluster hosts.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If the root user is not in /etc/sudoers, an error appears. The installer reports this issue with &lt;strong&gt;S0311&lt;/strong&gt;. See the &lt;a href=&#34;https://www.sudo.ws/man/1.8.15/sudoers.man.html&#34;&gt;Sudoers Manual&lt;/a&gt; for more information.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/admin/operating-db/starting-db/&#34;&gt;Start the database&lt;/a&gt;. The start-up scripts analyze the database and perform necessary data and catalog updates for the new version.&lt;/p&gt;
&lt;p&gt;If the database issues a warning stating that one or more packages cannot be installed, run the admintools &lt;code&gt;--force-reinstall&lt;/code&gt; option to force reinstallation of the packages. For details, see &lt;a href=&#34;../../../en/setup/upgrading/after-you-upgrade/reinstalling-packages/#&#34;&gt;Reinstalling packages&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When the upgrade completes, the database automatically restarts.&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;

Any user or role with the same name as a &lt;a href=&#34;../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/&#34;&gt;predefined role&lt;/a&gt; is renamed to &lt;code&gt;OLD_&lt;/code&gt;&lt;em&gt;&lt;code&gt;n_name&lt;/code&gt;&lt;/em&gt;, where &lt;em&gt;n&lt;/em&gt; is an integer that increments from zero until the resulting name is unique and &lt;em&gt;name&lt;/em&gt; is the previous name of the user or role.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Manually restart any nodes that fail to start.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Perform another database backup.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;upgrade-duration&#34;&gt;Upgrade duration&lt;/h2&gt;
&lt;p&gt;Duration depends on average in-memory size of catalogs across all cluster nodes. For every 20GB, you can expect the upgrade to last between one and two hours.&lt;/p&gt;
&lt;p&gt;You can calculate catalog memory usage on all nodes by querying system table &lt;a href=&#34;../../../en/sql-reference/system-tables/v-monitor-schema/resource-pool-status/#&#34;&gt;RESOURCE_POOL_STATUS&lt;/a&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT node_name, pool_name, memory_size_kb FROM resource_pool_status WHERE pool_name = &amp;#39;metadata&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;post-upgrade-tasks&#34;&gt;Post-upgrade tasks&lt;/h2&gt;
&lt;p&gt;After you complete the upgrade, review post-upgrade tasks in &lt;a href=&#34;../../../en/setup/upgrading/after-you-upgrade/#&#34;&gt;After you upgrade&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Setup: After you upgrade</title>
      <link>/en/setup/upgrading/after-you-upgrade/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/setup/upgrading/after-you-upgrade/</guid>
      <description>
        
        
        &lt;p&gt;After you finish upgrading the database server package on your cluster, a number of tasks remain.&lt;/p&gt;
&lt;h2 id=&#34;required-tasks&#34;&gt;Required tasks&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you created projections in earlier releases with &lt;a href=&#34;../../../en/data-analysis/data-aggregation/pre-aggregating-data-projections/&#34;&gt;pre-aggregated data&lt;/a&gt; (for example, LAPs and TopK projections) and the projections were partitioned with a GROUP BY clause, you must &lt;a href=&#34;../../../en/setup/upgrading/after-you-upgrade/rebuilding-partitioned-projections-with-pre-aggregated-data/&#34;&gt;rebuild these projections&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Verify on each node that the upgrade &lt;a href=&#34;../../../en/setup/upgrading/after-you-upgrade/verifying-catalog-memory-consumption/&#34;&gt;reduced database catalog memory usage&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Verify your database retained the grants from before you upgraded. See &lt;a href=&#34;../../../en/setup/upgrading/before-you-upgrade/backing-up-and-restoring-grants/#&#34;&gt;Backing up and restoring grants&lt;/a&gt; for more information.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/setup/upgrading/after-you-upgrade/reinstalling-packages/&#34;&gt;Reinstall packages&lt;/a&gt; such as the R language pack that you uninstalled before upgrading. For each package, see its install/upgrade instructions.&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;

Vertica Place is automatically reinstalled with the database server package.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If the upgrade was unable to install one or more packages, &lt;a href=&#34;../../../en/setup/upgrading/after-you-upgrade/reinstalling-packages/&#34;&gt;reinstall them with admintools&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/mc/configuring-mc/upgrading-mc-manually/&#34;&gt;Upgrade the Management Console&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If your installation is integrated with Hadoop, &lt;a href=&#34;../../../en/hadoop-integration/using-hcatalog-connector/configuring-hcatalog/#Upgrading&#34;&gt;upgrade the HCatalog connector&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;optional-tasks&#34;&gt;Optional tasks&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Import directed queries that you exported from the previous version. For details, see &lt;a href=&#34;../../../en/admin/managing-queries/directed-queries/batch-query-plan-export/#&#34;&gt;Batch query plan export&lt;/a&gt; and &lt;a href=&#34;../../../en/admin/managing-queries/directed-queries/managing-directed-queries/#export&#34;&gt;Managing directed queries&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you&#39;re upgrading from Vertica 9.2.x and have set the &lt;code&gt;PasswordMinCharChange&lt;/code&gt; or &lt;code&gt;PasswordMinLifeTime&lt;/code&gt; system-level &lt;a href=&#34;../../../en/sql-reference/config-parameters/security-parameters/&#34;&gt;security parameters&lt;/a&gt;, set them again at the &lt;a href=&#34;../../../en/security-and-authentication/client-authentication/hash-authentication/passwords/profiles/&#34;&gt;PROFILE-level&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

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