<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – System user configuration</title>
    <link>/en/setup/set-up-on-premises/before-you-install/system-user-config/</link>
    <description>Recent content in System user configuration on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/setup/set-up-on-premises/before-you-install/system-user-config/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Setup: System user requirements</title>
      <link>/en/setup/set-up-on-premises/before-you-install/system-user-config/system-user-requirements/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/setup/set-up-on-premises/before-you-install/system-user-config/system-user-requirements/</guid>
      <description>
        
        
        &lt;p&gt;Vertica has specific requirements for the system user that runs and manages Vertica. If you specify a user during install, but the user does not exist, then the installer reports this issue with the identifier: &lt;strong&gt;S0200&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id=&#34;system-user-requirement-details&#34;&gt;System user requirement details&lt;/h2&gt;
&lt;p&gt;Vertica requires a system user to own database files and run database processes and administration scripts. By default, the install script automatically configures and creates this user for you with the username &lt;em&gt;dbadmin&lt;/em&gt;. See &lt;a href=&#34;../../../../../en/setup/set-up-on-premises/install-using-command-line/linux-users-created-by/#&#34;&gt;Linux users created by Vertica&lt;/a&gt; for details on the default user created by the install script. If you decide to manually create your own system user, then you must create the user &lt;strong&gt;before&lt;/strong&gt; you run the install script. If you manually create the user:

&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;

Instances of &lt;code&gt;dbadmin&lt;/code&gt; and &lt;code&gt;verticadba&lt;/code&gt; are placeholders for the names you choose if you do not use the default values.

&lt;/div&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;the user must have the same username and password on all nodes&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the user must use the BASH shell as the user&#39;s default shell. If not, then the installer reports this issue with identifier &lt;strong&gt;[S0240]&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the user must be in the &lt;em&gt;verticadba&lt;/em&gt; group (for example: &lt;code&gt;usermod -a -G verticadba &lt;/code&gt;&lt;em&gt;&lt;code&gt;userNameHere&lt;/code&gt;&lt;/em&gt;). If not, the installer reports this issue with identifier &lt;strong&gt;[S0220]&lt;/strong&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;

You must create a verticadba group on all nodes. If you do not, then the installer reports the issue with identifier &lt;strong&gt;[S0210]&lt;/strong&gt;.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the user&#39;s login group must be either &lt;em&gt;verticadba&lt;/em&gt; or a group with the same name as the user (for example, the home group for dbadmin is dbadmin). You can check the groups for a user with the id command. For example: &lt;code&gt;id dbadmin&lt;/code&gt;. The &amp;quot;gid&amp;quot; group is the user&#39;s primary group. If this is not configured correctly then the installer reports this issue with the identifier &lt;strong&gt;[S0230]&lt;/strong&gt;. Vertica recommends that you use &lt;em&gt;verticadba&lt;/em&gt; as the user&#39;s primary login group. For example: &lt;code&gt;usermod -g verticadba &lt;/code&gt;&lt;em&gt;&lt;code&gt;userNameHere&lt;/code&gt;&lt;/em&gt;. If the user&#39;s primary group is not &lt;em&gt;verticadba&lt;/em&gt; as suggested, then the installer reports this with HINT &lt;strong&gt;[S0231]&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the user must have a home directory. If not, then the installer reports this issue with identifier &lt;strong&gt;[S0260]&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the user&#39;s home directory must be owned by the user. If not, then the installer reports the issue with identifier &lt;strong&gt;[S0270]&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the system must be aware of the user&#39;s home directory (you can set it with the usermod command: &lt;code&gt;usermod -m -d /path/to/new/home/dir &lt;/code&gt;&lt;em&gt;&lt;code&gt;userNameHere&lt;/code&gt;&lt;/em&gt;). If this is not configured correctly then the installer reports the issue with &lt;strong&gt;[S0250]&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the user&#39;s home directory must be owned by the dbadmin&#39;s primary group (use the &lt;code&gt;chown&lt;/code&gt; and &lt;code&gt;chgrp&lt;/code&gt; commands if necessary). If this is not configured correctly, then the installer reports the issue with identifier &lt;strong&gt;[S0280]&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the user&#39;s home directory &lt;em&gt;should&lt;/em&gt; have secure permissions. Specifically, it should not be writable by anyone or by the group. Ideally the permissions should be, when viewing with &lt;em&gt;ls&lt;/em&gt;, &amp;quot;&lt;code&gt;---&lt;/code&gt;&amp;quot; (nothing), or &amp;quot;&lt;code&gt;r-x&lt;/code&gt;&amp;quot; (read and execute). If this is not configured as suggested then the installer reports this with HINT &lt;strong&gt;[S0290]&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Setup: TZ environment variable</title>
      <link>/en/setup/set-up-on-premises/before-you-install/system-user-config/tz-environment-variable/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/setup/set-up-on-premises/before-you-install/system-user-config/tz-environment-variable/</guid>
      <description>
        
        
        &lt;p&gt;This topic details how to set or change the TZ environment variable and update your tzdata package. If this variable is not set, then the installer reports this issue with the identifier: &lt;strong&gt;S0305&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Before installing OpenText™ Analytics Database, update the tzdata package for your system and set the default time zone for your database administrator account by specifying the &lt;code&gt;TZ&lt;/code&gt; environmental variable. If your database administrator is being created by the &lt;code&gt;install_vertica&lt;/code&gt; script, then set the &lt;code&gt;TZ&lt;/code&gt; variable after you have installed the database.&lt;/p&gt;
&lt;h2 id=&#34;update-tzdata-package&#34;&gt;Update tzdata package&lt;/h2&gt;
&lt;p&gt;The tzdata package is a public-domain time zone database that is pre-installed on most Linux systems. The tzdata package is updated periodically for time-zone changes across the world. You should update to the latest tzdata package before installing or updating the database.&lt;/p&gt;
&lt;p&gt;Update your tzdata package with the following command:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;RedHat based systems: &lt;code&gt;yum update tzdata&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Debian and Ubuntu systems: &lt;code&gt;apt-get install tzdata&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;setting-the-default-time-zone&#34;&gt;Setting the default time zone&lt;/h2&gt;
&lt;p&gt;When a client receives the result set of a SQL query, all rows contain data adjusted, if necessary, to the same time zone. That time zone is the default time zone of the initiator node unless the client explicitly overrides it using the SQL &lt;a href=&#34;../../../../../en/sql-reference/statements/set-statements/set-time-zone/#&#34;&gt;SET TIME ZONE&lt;/a&gt; command described in the SQL Reference Manual. The default time zone of any node is controlled by the &lt;code&gt;TZ&lt;/code&gt; environment variable. If &lt;code&gt;TZ&lt;/code&gt; is undefined, the operating system time zone.

&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 &lt;code&gt;TZ&lt;/code&gt; variable must be set to the same value on all nodes in the cluster.&lt;br /&gt;
&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;If your operating system timezone is not set to the desired timezone of the database then make sure that the Linux environment variable &lt;code&gt;TZ&lt;/code&gt; is set to the desired value on all cluster hosts.&lt;/p&gt;
&lt;p&gt;The installer returns a warning if the TZ variable is not set. If your operating system timezone is appropriate for your database, then the operating system timezone is used and the warning can be safely ignored.&lt;/p&gt;
&lt;h2 id=&#34;setting-the-time-zone-on-a-host&#34;&gt;Setting the time zone on a host&lt;/h2&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 explicitly set the &lt;code&gt;TZ&lt;/code&gt; environment variable at a command line before you start the &lt;a class=&#34;glosslink&#34; href=&#34;../../../../../en/glossary/admin-tools/&#34; title=&#34;OpenText&amp;amp;trade; Analytics Database Administration Tools provides a graphical user interface for managing the database.&#34;&gt;Administration tools&lt;/a&gt;, the current setting will not take effect. The Administration Tools uses SSH to start copies on the other nodes, so each time SSH is used, the &lt;code&gt;TZ&lt;/code&gt; variable for the startup command is reset. &lt;code&gt;TZ&lt;/code&gt; must be set in the &lt;code&gt;.profile&lt;/code&gt; or &lt;code&gt;.bashrc&lt;/code&gt; files on all nodes in the cluster to take affect properly.
&lt;/div&gt;
&lt;p&gt;You can set the time zone several different ways, depending on the Linux distribution or the system administrator’s preferences.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;To set the system time zone on Red Hat and SUSE Linux systems, edit:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/etc/sysconfig/clock
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To set the &lt;code&gt;TZ&lt;/code&gt; variable, edit, &lt;code&gt;/etc/profile&lt;/code&gt;, or &lt;code&gt;/home/dbadmin/.bashrc&lt;/code&gt; or &lt;code&gt;/home/dbadmin/.bash_profile&lt;/code&gt; and add the following line (for example, for the US Eastern Time Zone):&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;export TZ=&amp;#34;America/New_York&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;For details on which timezone names are recognized by OpenText™ Analytics Database, see the appendix: &lt;a href=&#34;../../../../../en/admin/configuring-db/config-procedure/using-time-zones-with/#&#34;&gt;Using time zones&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Setup: LANG environment variable settings</title>
      <link>/en/setup/set-up-on-premises/before-you-install/system-user-config/lang-environment-variable-settings/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/setup/set-up-on-premises/before-you-install/system-user-config/lang-environment-variable-settings/</guid>
      <description>
        
        
        &lt;p&gt;This topic details how to set or change the LANG environment variable. The LANG environment variable controls the locale of the host. If this variable is not set, then the installer reports this issue with the identifier: &lt;strong&gt;S0300&lt;/strong&gt;. If this variable is not set to a valid value, then the installer reports this issue with the identifier: &lt;strong&gt;S0301&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id=&#34;set-the-host-locale&#34;&gt;Set the host locale&lt;/h2&gt;
&lt;p&gt;Each host has a system setting for the Linux environment variable &lt;code&gt;LANG&lt;/code&gt;. &lt;code&gt;LANG&lt;/code&gt; determines the locale category for native language, local customs, and coded character set in the absence of the &lt;code&gt;LC_ALL&lt;/code&gt; and other LC_ environment variables. &lt;code&gt;LANG&lt;/code&gt; can be used by applications to determine which language to use for error messages and instructions, collating sequences, date formats, and so forth.&lt;/p&gt;
&lt;p&gt;To change the &lt;code&gt;LANG&lt;/code&gt; setting for the database administrator, edit, &lt;code&gt;/etc/profile&lt;/code&gt;, or &lt;code&gt;/dbadmin/.bashrc&lt;/code&gt; or &lt;code&gt;/home/dbadmin/.bash_profile&lt;/code&gt; on all cluster hosts and set the environment variable; for example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;export LANG=en_US.UTF-8
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The &lt;code&gt;LANG&lt;/code&gt; setting controls the following in Vertica:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;OS-level errors and warnings, for example, &amp;quot;file not found&amp;quot; during &lt;a href=&#34;../../../../../en/sql-reference/statements/copy/&#34;&gt;COPY&lt;/a&gt; operations.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Some formatting functions, such as &lt;a href=&#34;../../../../../en/sql-reference/functions/formatting-functions/to-char/#&#34;&gt;TO_CHAR&lt;/a&gt; and &lt;a href=&#34;../../../../../en/sql-reference/functions/formatting-functions/to-number/&#34;&gt;TO_NUMBER&lt;/a&gt;. See also &lt;a href=&#34;../../../../../en/sql-reference/functions/formatting-functions/template-patterns-numeric-formatting/#&#34;&gt;Template patterns for numeric formatting&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The &lt;code&gt;LANG&lt;/code&gt; setting does not control the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Vertica specific error and warning messages. These are always in English at this time.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Collation of results returned by SQL issued to Vertica. This must be done using a database parameter instead. See &lt;a href=&#34;../../../../../en/admin/configuring-db/config-procedure/implement-locales-international-data-sets/#&#34;&gt;Implement locales for international data sets&lt;/a&gt; section for details.&lt;/p&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;

If the &lt;code&gt;LC_ALL&lt;/code&gt; environment variable is set, it supersedes the setting of &lt;code&gt;LANG&lt;/code&gt;.

&lt;/div&gt;

      </description>
    </item>
    
    <item>
      <title>Setup: Package dependencies</title>
      <link>/en/setup/set-up-on-premises/before-you-install/system-user-config/package-dependencies/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/setup/set-up-on-premises/before-you-install/system-user-config/package-dependencies/</guid>
      <description>
        
        
        &lt;p&gt;For successful Vertica installation, you must first install three packages on all nodes in your cluster before installing the database platform.&lt;/p&gt;
&lt;p&gt;The required packages are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;openssh—Required for &lt;a class=&#34;glosslink&#34; href=&#34;../../../../../en/glossary/admin-tools/&#34; title=&#34;OpenText&amp;amp;trade; Analytics Database Administration Tools provides a graphical user interface for managing the database.&#34;&gt;Administration tools&lt;/a&gt; connectivity between nodes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;which—Required for Vertica operating system integration and for validating installations.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;dialog—Required for interactivity with Administration Tools.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;installing-the-required-packages&#34;&gt;Installing the required packages&lt;/h2&gt;
&lt;p&gt;The procedure you follow to install the required packages depends on the operating system on which your node or cluster is running. See your operating system&#39;s documentation for detailed information on installing packages.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;For CentOS/Red Hat Systems&lt;/strong&gt;—Typically, you manage packages on Red Hat and CentOS systems using the yum utility.&lt;/p&gt;
&lt;p&gt;Run the following yum commands to install each of the package dependencies. The yum utility guides you through the installation:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# yum install openssh
# yum install which
# yum install dialog
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;For Debian/Ubuntu Systems&lt;/strong&gt;—Typically, you use the apt-get utility to manage packages on Debian and Ubuntu systems.&lt;/p&gt;
&lt;p&gt;Run the following apt-get commands to install each of the package dependencies. The apt-get utility guides you through the installation:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;
# apt-get install openssh
# apt-get install which
# apt-get install dialog
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;

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