本篇内容介绍了“GBase8s cm配置方法有哪些”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!g_west group – – i=10ol_54_pri onsoctcp 192.168.152.25 23701 g=g_westol_54_sds onsoctcp 192.168.152.26 23702 g=g_westcm_update group – – i=12,c=0oltp onsoctcp 192.168.152.25 25000 g=cm_updateNAME cm1LOGFILE ${GBASEDBTDIR}/tmp/cm1.logCM_TIMEOUT 40SECONDARY_EVENT_TIMEOUT 20EVENT_TIMEOUT 30SQLHOSTS LOCALLOG 1DEBUG 1CLUSTER main{GBASEDBTSERVER g_westSLA oltp DBSERVERS=PRI+SDS WORKERS=16FOC ORDER=ENABLED TIMEOUT=10 RETRY=1 PRIORITY=1}启动cmexport GBASEDBTSQLHOSTS=$GBASEDBTDIR/etc/sqlhosts.cm1oncmsm -c $GBASEDBTDIR/etc/config.cm1关闭CMoncmsm -kcm1在主节点创建sqlhosts.cm1:内容g_west group – – i=10ol_54_pri onsoctcp 192.168.152.25 23701 g=g_westol_54_sds onsoctcp 192.168.152.26 23702 g=g_westcm_update group – – i=12,c=0oltp_all1 onsoctcp 192.168.152.25 23000 g=cm_updateoltp_all2 onsoctcp 192.168.152.26 23000 g=cm_updatecm_read group – – i=14,c=0oltp_read1 onsoctcp 192.168.152.25 23001 g=cm_readoltp_read2 onso免费主机域名ctcp 192.168.152.26 23001 g=cm_readNAME cm1LOGFILE ${GBASEDBTDIR}/tmp/cm1.logCM_TIMEOUT 40SECONDARY_EVENT_TIMEOUT 20EVENT_TIMEOUT 30SQLHOSTS LOCALLOG 1DEBUG 1CLUSTER main{GBASEDBTSERVER g_westSLA oltp_all1 DBSERVERS=PRI WORKERS=16SLA oltp_read1 DBSERVERS=SDS WORKERS=16FOC ORDER=ENABLED TIMEOUT=10 RETRY=1 PRIORITY=1}chown GBASEDBT:GBASEDBTsqlhosts.cm1 onconfig.cm1chmod 660 sqlhosts.cm1 onconfig.cm1export GBASEDBTDIR=/home/54_For_SSC/export GBASEDBTSQLHOSTS=/home/54_For_SSC/etc/sqlhosts.cm1g_west group – – i=10ol_54_pri onsoctcp 192.168.152.25 23701 g=g_westol_54_sds onsoctcp 192.168.152.26 23702 g=g_westcm_update group – – i=12,c=0oltp_all1 onsoctcp 192.168.152.25 23000 g=cm_updateoltp_all2 onsoctcp 192.168.152.26 23000 g=cm_updatecm_read group – – i=14,c=0oltp_read1 onsoctcp 192.168.152.25 23001 g=cm_readoltp_read2 onsoctcp 192.168.152.26 23001 g=cm_readNAME cm2LOGFILE ${GBASEDBTDIR}/tmp/cm2.logCM_TIMEOUT 40SECONDARY_EVENT_TIMEOUT 20EVENT_TIMEOUT 30SQLHOSTS LOCALLOG 1DEBUG 1CLUSTER main{GBASEDBTSERVER g_westSLA oltp_all2 DBSERVERS=PRI WORKERS=16SLA oltp_read2 DBSERVERS=SDS WORKERS=16FOC ORDER=ENABLED TIMEOUT=10 RETRY=1 PRIORITY=2}chownGBASEDBT:GBASEDBTsqlhosts.cm免费主机域名2 onconfig.cm2chmod 660 sqlhosts.cm2 onconfig.cm2export GBASEDBTDIR=/home/54_For_SDS/export GBASEDBTSQLHOSTS=/home/54_For_SDS/etc/sqlhosts.cm1oncmsm -c /home/54_For_SSC/etc/config.cm1在SDS节点启动cm2管理器:oncmsm -c /home/54_For_SSC/etc/config.cm2onstat -g cmsm“GBase8s cm配置方法有哪些”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注云技术网站,小编将为大家输出更多高质量的实用文章!
这篇文章主要介绍“怎么执行SQL语句进行归档备份”,在日常操作中,相信很多人在怎么执行SQL语句进行归档备份问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”怎么执行SQL语句进行归档备份”的疑惑有所帮助!接下来,请跟着小编一起来学…