From 1b5bd8d4b499c0e91e22fa57e70881d3877ed41e Mon Sep 17 00:00:00 2001 From: LINxiansheng Date: Wed, 21 Feb 2024 03:48:42 +0000 Subject: [PATCH] [CP] annotate the systemd default ip --- tools/rpm/systemd/profile/oceanbase.cnf | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tools/rpm/systemd/profile/oceanbase.cnf b/tools/rpm/systemd/profile/oceanbase.cnf index f5dd0221c7..0746911b27 100644 --- a/tools/rpm/systemd/profile/oceanbase.cnf +++ b/tools/rpm/systemd/profile/oceanbase.cnf @@ -1,7 +1,9 @@ -# The ip only can be set when first start up. -# If you want to change ip you have to uninstall oceanbase and delete the data folder. -# And then install and start the oceanbase with the new ip -ip=127.0.0.1 +# The IP can only be configured during the initial startup. +# By default, the IP is set to the output of hostname -i unless specified otherwise. +# To modify the observer IP after startup, you must uninstall OceanBase and remove the data directory. +# Afterward, you can reinstall and launch OceanBase with the new IP address. +# For instance, to set the observer IP to 127.0.0.1, you would use the line: +# ip=127.0.0.1 mysqlPort=2881 rpcPort=2882 obshellPort=2886 @@ -18,4 +20,4 @@ log_disk_size=13G enable_syslog_wf=false enable_syslog_recycle=true max_syslog_file_count=4 -__min_full_resource_pool_memory=1073741824 \ No newline at end of file +__min_full_resource_pool_memory=1073741824