暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
NAC介绍及演示.docx
94
8页
1次
2024-08-07
免费下载
NAC
介绍及演示
NAC
Near application cluster
NAC
NAC
WORK-DATA
WORK
DATA
间使有协行通
NAC
成功
SQL
Oracle RAC
RAC
RAC
NAC
统一集群名称:
Nac
统一数据库名称:
metadata
统一用户名:
ww
统一用户密码:
123456
统一
servername
foreign_server_01
主数据节点
IP
10.16.6.196
主数据节点端口:
1940
工作节点一
IP: 10.16.6.196
工作节点一端口:
1941
工作节点二
IP: 10.16.6.196
工作节点二端口:
1942
Etcd
服务
IP
10.16.16.155 Etcd
服务端口:
2379
1.1
/data/nac_dn
The files belonging to this database system will be owned by user "wangjiajia".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /home/wangjiajia/Workspace/Halo_Database/.build/data/nac_
dn ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Asia/Shanghai
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
initdb: warning: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using:
/home/wangjiajia/Workspace/Halo_Database/.build/product/dbms/14NAC/bin/pg_ctl -D
home/wangjiajia/Workspace/Halo_Database/.build/data/nac_dn -l logfile start
1.2
#
修改配置文件
vi postgresql.conf
#
修改内容
listen_addresses = '*'
#
端口设置
port = 1940
#
模式设置
database_compat_mode = 'oracle'
#
集群名设置
cluster_name = 'nacww'
1.3
1.4
pg_hba.conf
host all all 0.0.0.0/0 md5
1.5
pg_ctl start
waiting for server to start....2024-07-15 10:59:48.693 CST [1431117] LOG: starting
羲和
(Halo) 1.0.
14.11 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15), 64-bit
2024-07-15 10:59:48.694 CST [1431117] LOG: listening on IPv4 address "0.0.0.0", port 1940
2024-07-15 10:59:48.694 CST [1431117] LOG: listening on IPv6 address "::", port 1940
2024-07-15 10:59:48.709 CST [1431117] LOG: listening on Unix socket "/var/run/halo/.s.PGSQL.1940"
2024-07-15 10:59:48.744 CST [1431118] LOG: database system was shut down at 2024-07-15 10:44:18 C
ST
2024-07-15 10:59:48.763 CST [1431117] LOG: database system is ready to accept connections
of 8
免费下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜