<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Adding nodes</title>
    <link>/en/admin/managing-db/managing-nodes/adding-nodes/</link>
    <description>Recent content in Adding nodes on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/admin/managing-db/managing-nodes/adding-nodes/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Admin: Adding hosts to a cluster</title>
      <link>/en/admin/managing-db/managing-nodes/adding-nodes/adding-hosts-to-cluster/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-nodes/adding-nodes/adding-hosts-to-cluster/</guid>
      <description>
        
        
        &lt;p&gt;After you have backed up the database and configured the hosts you want to add to the cluster, you can now add hosts to the cluster using the 
&lt;code&gt;update_vertica&lt;/code&gt; script.&lt;/p&gt;
&lt;p&gt;You cannot use the MC to add hosts to a cluster in an on-premises environment. However, after the hosts are added to the cluster, the MC does allow you to add the hosts to a database as nodes.&lt;/p&gt;
&lt;h2 id=&#34;prerequisites-and-restrictions&#34;&gt;Prerequisites and restrictions&lt;/h2&gt;
&lt;p&gt;If you installed OpenText™ Analytics Database on a single node without specifying the IP address or hostname (you used localhost), it is not possible to expand the cluster. You must reinstall the database and specify an IP address or hostname.&lt;/p&gt;
&lt;h2 id=&#34;procedure-to-add-hosts&#34;&gt;Procedure to add hosts&lt;/h2&gt;
&lt;p&gt;From one of the existing cluster hosts, run the update_vertica script with a minimum of the &lt;code&gt;--add-hosts &lt;/code&gt;&lt;em&gt;&lt;code&gt;host(s)&lt;/code&gt;&lt;/em&gt; parameter (where &lt;em&gt;host(s)&lt;/em&gt; is the hostname or IP address of the system(s) that you are adding to the cluster) and the &lt;code&gt;--rpm&lt;/code&gt; or &lt;code&gt;--deb&lt;/code&gt; parameter:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# /opt/vertica/sbin/update_vertica --add-hosts &lt;span class=&#34;code-variable&#34;&gt;host(s)&lt;/span&gt; --rpm &lt;span class=&#34;code-variable&#34;&gt;package&lt;/span&gt;
&lt;/code&gt;&lt;/pre&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;

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; for the full list of parameters. You must also provide the same options you used when originally installing the cluster.

&lt;/div&gt;
&lt;p&gt;The 
&lt;code&gt;update_vertica&lt;/code&gt; ** script uses all the same options as 
&lt;code&gt;install_vertica&lt;/code&gt; and:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Installs the database RPM on the new host.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Performs post-installation checks, including RPM version and N-way network connectivity checks.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Modifies spread to encompass the larger cluster.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Configures the &lt;a href=&#34;../../../../../en/admin/using-admin-tools/admin-tools-reference/&#34;&gt;Administration Tools&lt;/a&gt; to work with the larger cluster.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Important Tips:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Consider using &lt;code&gt;--large-cluster&lt;/code&gt; with more than 50 nodes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A host can be specified by the hostname or IP address of the system you are adding to the cluster. However, internally the database stores all host addresses as IP addresses.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Do not use include spaces in the hostname/IP address list provided with &lt;code&gt;--add-hosts&lt;/code&gt; if you specified more than one host.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If a package is specified with &lt;code&gt;--rpm/--deb&lt;/code&gt;, and that package is newer than the one currently installed on the existing cluster, then, the database first installs the new package on the existing cluster hosts before the newly-added hosts.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use the same command line parameters for the database administrator username, password, and directory path you used when you installed the cluster originally. Alternatively, you can create a properties file to save the parameters during install and then re-using it on subsequent install and update operations. See &lt;a href=&#34;../../../../../en/setup/set-up-on-premises/install-using-command-line/install-silently/&#34;&gt;Installing the database silently&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you are installing using sudo, the database administrator user (dbadmin) must already exist on the hosts you are adding and must be configured with passwords and home directory paths identical to the existing hosts. The database sets up passwordless ssh from existing hosts to the new hosts, if needed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you initially used the &lt;code&gt;--point-to-point&lt;/code&gt; option to configure spread to use direct, point-to-point communication between nodes on the subnet, then use the &lt;code&gt;--point-to-point&lt;/code&gt; option whenever you run &lt;code&gt;install_vertica&lt;/code&gt; or &lt;code&gt;update_vertica&lt;/code&gt;. Otherwise, your cluster&#39;s configuration is reverted to the default (&lt;em&gt;broadcast&lt;/em&gt;), which may impact future databases.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The maximum number of spread daemons supported in point-to-point communication and broadcast traffic is 80. It is possible to have more than 80 nodes by using large cluster mode, which does not install a spread daemon on each node.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;--add-hosts host01 --rpm
--add-hosts 192.168.233.101
--add-hosts host02,host03
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Admin: Adding nodes to a database</title>
      <link>/en/admin/managing-db/managing-nodes/adding-nodes/adding-nodes-to-db/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-nodes/adding-nodes/adding-nodes-to-db/</guid>
      <description>
        
        
        &lt;p&gt;After you add one or more hosts to the cluster, you can add them as nodes to the database with one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;admintools&lt;/code&gt; command line, to ensure nodes are added in a specific order&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Administration Tools&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Management Console&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have previously created storage locations using &lt;a href=&#34;../../../../../en/sql-reference/statements/create-statements/create-location/&#34;&gt;CREATE LOCATION...ALL NODES&lt;/a&gt;, you must create those locations on the new nodes.&lt;/p&gt;
&lt;h2 id=&#34;command-line&#34;&gt;Command line&lt;/h2&gt;
&lt;p&gt;With the admintools db_add_node tool, you can control the order in which nodes are added to the database cluster. It specifies the hosts of new nodes with its &lt;code&gt;-s&lt;/code&gt; or &lt;code&gt;--hosts&lt;/code&gt; option, which takes a comma-delimited argument list. OpenText™ Analytics Database adds new nodes in the list-specified order. For example, the following command adds three nodes:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ admintools -t db_add_node \
      -d VMart \
      -p &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;password&lt;/span&gt;&amp;#39; \
      -s 192.0.2.1,192.0.2.2,192.0.2.3
&lt;/code&gt;&lt;/pre&gt;
&lt;div class=&#34;alert admonition tip&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Tip&lt;/h4&gt;

When adding nodes to an Eon Mode database, you can also specify the subcluster that the new nodes should belong to. See &lt;a href=&#34;../../../../../en/eon/managing-subclusters/adding-and-removing-nodes-from-subclusters/#&#34;&gt;Adding and removing nodes from subclusters&lt;/a&gt; for more information.

&lt;/div&gt;
&lt;h2 id=&#34;administration-tools&#34;&gt;Administration tools&lt;/h2&gt;
&lt;p&gt;You add nodes to a database with the Administration Tools as follows:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open the Administration Tools.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the &lt;strong&gt;Main Menu&lt;/strong&gt;, select &lt;strong&gt;View Database Cluster State&lt;/strong&gt; to verify that the database is running. If it is not, start it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From the &lt;strong&gt;Main Menu&lt;/strong&gt;, select &lt;strong&gt;Advanced Menu&lt;/strong&gt; and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Advanced Menu&lt;/strong&gt;, select &lt;strong&gt;Cluster Management&lt;/strong&gt; and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Cluster Management&lt;/strong&gt; menu, select &lt;strong&gt;Add Host(s)&lt;/strong&gt; and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the database to which you want to add one or more hosts, and then select &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;A list of unused hosts is displayed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the hosts you want to add to the database and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When prompted, click &lt;strong&gt;Yes&lt;/strong&gt; to confirm that you want to add the hosts.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When prompted, enter the password for the database, and then select &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When prompted that the hosts were successfully added, select &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The database now automatically starts the rebalancing process to populate the new node with data. When prompted, enter the path to a temporary directory that the Database Designer can use to rebalance the data in the database and select &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Either press Enter to accept the default &lt;a class=&#34;glosslink&#34; href=&#34;../../../../../en/glossary/k-safety/&#34; title=&#34;For more information, see Designing for K-Safety.&#34;&gt;K-safety&lt;/a&gt; value, or enter a new higher value for the database and select &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select whether to &lt;a href=&#34;../../../../../en/admin/managing-db/managing-nodes/rebalancing-data-across-nodes/&#34;&gt;rebalance the database immediately,&lt;/a&gt; or later. In both cases, the database creates a script, which you can use to rebalance at any time.&lt;/p&gt;
&lt;p&gt;Review the summary of the rebalancing process and select &lt;strong&gt;Proceed&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;If you choose to automatically rebalance, the rebalance process runs. If you chose to create a script, the script is generated and saved. In either case, you are shown a success screen.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;OK&lt;/strong&gt; to complete the Add Node process.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;management-console&#34;&gt;Management Console&lt;/h2&gt;
&lt;p&gt;To add nodes to an Eon Mode database using MC, see &lt;a href=&#34;../../../../../en/mc/cloud-platforms/aws-mc/add-nodes-to-cluster-aws-using-mc/#&#34;&gt;Add nodes to a cluster in AWS using Management Console&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To add hosts to an Enterprise Mode database using MC, see &lt;a href=&#34;../../../../../en/admin/managing-db/managing-nodes/adding-nodes/adding-hosts-to-cluster/#&#34;&gt;Adding hosts to a cluster&lt;/a&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Add nodes to a cluster in AWS</title>
      <link>/en/admin/managing-db/managing-nodes/adding-nodes/add-nodes-to-cluster-aws/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/managing-db/managing-nodes/adding-nodes/add-nodes-to-cluster-aws/</guid>
      <description>
        
        
        &lt;p&gt;This section gives an overview on how to add nodes if you are managing your cluster using admintools. Each main step points to another topic with the complete instructions.&lt;/p&gt;
&lt;h3 id=&#34;step-1-before-you-start&#34;&gt;Step 1: before you start&lt;/h3&gt;
&lt;p&gt;Before you add nodes to a cluster, verify that you have an AWS cluster up and running and that you have:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Created a database.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Defined a database schema.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Loaded data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the Database Designer.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Connected to your database.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;step-2-launch-new-instances-to-add-to-an-existing-cluster&#34;&gt;Step 2: launch new instances to add to an existing cluster&lt;/h3&gt;
&lt;p&gt;Perform the procedure in &lt;a href=&#34;../../../../../en/setup/set-up-on-cloud/on-aws/manually-deploy-on-aws/deploy-aws-instances-your-db-cluster/configure-and-launch-an-instance/#&#34;&gt;Configure and launch an instance&lt;/a&gt; to create new instances (hosts) that you then will add to your existing cluster. Be sure to choose the same details you chose when you created the original instances (VPC, placement group, subnet, and security group).&lt;/p&gt;
&lt;h3 id=&#34;step-3-include-new-instances-as-cluster-nodes&#34;&gt;Step 3: include new instances as cluster nodes&lt;/h3&gt;
&lt;p&gt;You need the IP addresses when you run the &lt;code&gt;install_vertica&lt;/code&gt; script to include new instances as cluster nodes.&lt;/p&gt;
&lt;p&gt;If you are configuring Amazon Elastic Block Store (EBS) volumes, be sure to configure the volumes on the node before you add the node to your cluster.&lt;/p&gt;
&lt;p&gt;To add the new instances as nodes to your existing cluster:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../../en/setup/set-up-on-cloud/on-aws/manually-deploy-on-aws/deploy-aws-instances-your-db-cluster/configure-and-launch-an-instance/&#34;&gt;Configure and launch your new instances&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Connect to the instance that is assigned to the Elastic IP. See &lt;a href=&#34;../../../../../en/setup/set-up-on-cloud/on-aws/manually-deploy-on-aws/deploy-aws-instances-your-db-cluster/connect-to-an-instance/#&#34;&gt;Connect to an instance&lt;/a&gt; if you need more information.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the OpenText™ Analytics Database installation script to add the new instances as nodes to your cluster. Specify the internal IP addresses for your instances and your &lt;code&gt;*.pem&lt;/code&gt; file name.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo /opt/vertica/sbin/install_vertica --add-hosts &lt;span class=&#34;code-variable&#34;&gt;instance-ip&lt;/span&gt; --dba-user-password-disabled \
  --point-to-point --data-dir /vertica/data --ssh-identity ~/&lt;span class=&#34;code-variable&#34;&gt;name-of-pem&lt;/span&gt;.pem
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;step-4-add-the-nodes&#34;&gt;Step 4: add the nodes&lt;/h3&gt;
&lt;p&gt;After you have added the new instances to your existing cluster, add them as nodes to your cluster, as described in &lt;a href=&#34;../../../../../en/admin/managing-db/managing-nodes/adding-nodes/adding-nodes-to-db/#&#34;&gt;Adding nodes to a database&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;step-5-rebalance-the-database&#34;&gt;Step 5: rebalance the database&lt;/h3&gt;
&lt;p&gt;After you add nodes to a database, always rebalance the database.&lt;/p&gt;

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