vertica5x multiple database instance port configuration

Source: Internet
Author: User

This article address: http://blog.csdn.net/kongxx/article/details/6656658

Today upgraded Vertica from 4.0.x to 5.0.4 version, found vertica4x multiple database instance port configuration The method mentioned in the article is no longer applicable, do some research findings can be achieved through the following steps:

1. First stop all the database instances;

2. Create multiple database instances, such as MYDB1 and MYDB2;

3. Edit the/opt/vertica/config/admintools.conf file and change the ports in the MYDB1 and MYDB2 configuration sections to their desired ports as follows:

[Configuration]
install_opts = ['-U ', ' Fkong ']
default_base =/home/dbadmin
show_hostnames = False
format = 3

[Cluster]
hosts = 127.0.0.1
spread_hosts = 

[Nodes]
node0001 = 127.0.0.1,/opt/dbadmin,/opt/dbadmin
v_ mydb1_node0001 = 127.0.0.1,/opt/vertica/db/mydb1,/opt/vertica/db/mydb1
v_mydb2_node0001 = 127.0.0.1,/opt/ VERTICA/DB/MYDB2,/OPT/VERTICA/DB/MYDB2

[DATABASE:MYDB1]
host = 127.0.0.1
Restartpolicy = Ksafe
port = 5551
Path =/opt/vertica/db/mydb1
nodes = v_mydb1_node0001

[DATABASE:MYDB2]
host = 127.0.0.1
restartpolicy = ksafe
port = 5552
Path =/OPT/VERTICA/DB/MYDB2 nodes
= v_mydb2_node0001
4. Restart the vertica5x service.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.