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
评论