docker run --name my_opengauss --rm --privileged=true -e GS_PASSWORD=Enmo@123 swr.cn-south-1.myhuaweicloud.com/opengauss/x86_64/opengauss:5.0.0 【预期输出】: 数据库服务启动日志 【实际输出】: Primary host is empty, at least one primary and one standby host are needed 【原因分析】: ...
Primary 节点操作:修改 XML 配置文件,添加新节点信息 [omm@prod ~]$ cd /soft/openGauss/ [omm@prod openGauss]$ vi cluster_config.xml 新增: <DEVICEsn="stb1.opengauss.com"><!-- node2的hostname --><PARAMname="name"value="stb1.opengauss.com"/><!-- 节点所在的AZ及AZ优先级 --><PARAMname...
预安装 openGauss 软件(在 Primary 主机执行) 3.1 配置 cluster_config.xml 文件 mkdir -p /soft/openGauss chmod 775 -R /soft cat >> /soft/openGauss/cluster_config.xml << EOF <DEVICEsn="stb1.opengauss.com"><!-- node2的hostname --><PARAMname="name"value="stb1.opengauss.com"/><!-- 节...
NODE_NAME=opengauss_primary \ -e 'REPL_CONN_INFO=replconninfo1 = '\''localhost=172.11.0.101 localport=5434 localservice=5432 remotehost=172.11.0.102 remoteport=5434 remoteservice=5432'\''\n' enmotech/opengauss:1.1.0 -M primary docker run --network opengauss_network --ip 172.11.0.102 \ --...
=Enmotech@2020 \ --env NODE_NAME=op_master \ --env REPL_CONN_INFO="replconninfo1 = 'localhost=***.***.***.*** localport=6439 localservice=6432 remotehost=***.***.***.*** remoteport=6439 remoteservice=6432 '\n" \ --cpuset-cpus="1,3" \ opengauss:1.0.1 -M primary ...
备库:hostnamectl set-hostname opengauss5B 内存 [root@Jeames ~]# free -m total used free shared buff/cache available Mem: 3020 281 2630 7 107 2684 Swap: 10239 0 10239 1. 2. 3. 4. 复制 字符集确认 [root@opengauss5m ~]# locale ...
使用用户opsadmin登录后台服务节点,节点地址为步骤 8中获取的hostIp。 默认密码请参考《华为云Stack8.2.0帐户一览表》中“数据库”页签。选择“云服务”为“DBSPlatform”、“帐户所在的管理虚拟机/节点”为“DBS-OpsAdmin”,获取“opsadmin”帐号名对应的密码。
primary - name: db_config value: volumes: - name: openGauss-volume hostPath: path: /data/opengauss-1/ type: DirectoryOrCreate --- apiVersion: v1 kind: Pod metadata: name: opengauss-2 labels: app: opengauss-2 spec: restartPolicy: Never containers: - name: opengauss-2 image: opengauss:1....
is completed.Starting cluster.===Successfully started primary instance. Wait for standby instance.===.Successfully started cluster.===cluster_state : Normalredistributing : Nonode
localport=$MASTER_LOCAL_PORT localservice=$MASTER_HOST_PORT remotehost=$SLAVE_1_IP remoteport=$SLAVE_1_LOCAL_PORT remoteservice=$SLAVE_1_HOST_PORT'\n" \ enmotech/opengauss:$VERSION -M primary \ || { echo "" echo "ERROR: OpenGauss Database Master Docker Container was NOT successfully ...