ERROR 4012 (HY000): RPC send error

admin 27152 1 29 13:59 ? 00:00:07 /home/admin/node4/bin/observer -i ens160 -p 5881 -P 5882 -z zone4 -d /home/admin/node4/store/obdemo -r 10.11.253.40:2882:2881;10.11.253.40:3882:3881;10.11.253.40:4882:4881;10.11.253.40:5882:5881;10.11.253.40:6882:6881 -c 20201010 -n obdemo -o memory_limit=20G,cache_wash_threshold=1G,row_purge_thread_count=1,net_thread_count=1,enable_syslog_recycle=True,enable_merge_by_turn=FALSE,cpu_count=16,location_refresh_thread_count=2,max_syslog_file_count=3,major_freeze_duty_time=Disable,__easy_memory_limit=2G,schema_history_expire_time=1d,merge_thread_count=1,writing_throttling_trigger_percentage=70,_max_trx_size=2M,workers_per_cpu_quota=4,enable_separate_sys_clog=0,datafile_disk_percentage=50,__min_full_resource_pool_memory=536870912,system_memory=5G,memory_chunk_cache_size=128M,trace_log_slow_query_watermark=10s,writing_throttling_maximum_duration=1m,switchover_process_thread_count=1,datafile_size=10G,minor_freeze_times=500,stack_size=1536K,disk_io_thread_coun=1,config_additional_dir=/data/1/node4/obdemo/etc3;/data/log1/node4/obdemo/etc2

admin 28085 1 32 13:59 ? 00:00:07 /home/admin/node5/bin/observer -i ens160 -p 6881 -P 6882 -z zone5 -d /home/admin/node5/store/obdemo -r 10.11.253.40:2882:2881;10.11.253.40:3882:3881;10.11.253.40:4882:4881;10.11.253.40:5882:5881;10.11.253.40:6882:6881 -c 20201010 -n obdemo -o memory_limit=20G,cache_wash_threshold=1G,row_purge_thread_count=1,net_thread_count=1,enable_syslog_recycle=True,enable_merge_by_turn=FALSE,cpu_count=16,location_refresh_thread_count=2,max_syslog_file_count=3,major_freeze_duty_time=Disable,__easy_memory_limit=2G,schema_history_expire_time=1d,merge_thread_count=1,writing_throttling_trigger_percentage=70,_max_trx_size=2M,workers_per_cpu_quota=4,enable_separate_sys_clog=0,datafile_disk_percentage=50,__min_full_resource_pool_memory=536870912,system_memory=5G,memory_chunk_cache_size=128M,trace_log_slow_query_watermark=10s,writing_throttling_maximum_duration=1m,switchover_process_thread_count=1,datafile_size=10G,minor_freeze_times=500,stack_size=1536K,disk_io_thread_coun=1,config_additional_dir=/data/1/node5/obdemo/etc3;/data/log1/node5/obdemo/etc2

admin 28814 25885 0 13:59 pts/3 00:00:00 grep --color=auto observer

$ mysql -h127.1 -uroot@sys -P2881 -p123456 -c -A oceanbase

MySQL [oceanbase]> alter system add server ‘10.11.253.40:5882’ zone ‘zone4’;

ERROR 4012 (HY000): RPC send error

集群扩容和缩容, 如果是黑屏操作会比较繁琐, 不是这样一个sql 就能搞定的, 需要比较多的操作.  

推荐做法, 12月底, 社区版会推出ocp社区版, 使用OCP 社区版能很好的扩容和缩容


另外, 我们12月28号会把伸缩容教程文档放出来, 届时可以学习一下

好的,谢谢大神。