# OCP deploy config # Note: # Do not use 127.0.0.1 or hostname as server address # When a server has both public ip and private ip, if private ip is connectable, use private ip for faster connection # If a vip is configured, it should be already created and bonded to the right server and port, the installation script won't do any work with vip maintainance, just use it to connect to the service # Ignore precheck errors # It's recommanded to not ignore precheck errors precheck_ignore: true # Create an obcluster as OCP's metadb create_metadb_cluster: true # Clean OCP's metadb cluster when uninstall clean_metadb_cluster: true # Metadb cluster deploy config ob_cluster: name: ocpcluster home_path: /home/admin/oceanbase root_password: 'qwer1234' # The directory for data storage, it's recommanded to use an independent path data_path: /data/1 # The directory for clog, ilog, and slog, it's recommanded to use an independent path. redo_path: /redo/log1 sql_port: 2581 rpc_port: 2582 zones: - name: zone1 servers: - 192.xxx.xxx.179 ## custom obd config for obcluster custom_config: - key: devname value: ens160 # - key: cpu_count # value: 0 - key: memory_limit value: 9G - key: system_memory value: 2G # - key: log_disk_size # value: 21G # - key: __min_full_resource_pool_memory # value: 5368709120 # - key: datafile_maxsize # value: 0 # - key: datafile_next # value: 0 # Meta user info meta: tenant: meta_tenant user: meta_user password: 'meta1234' database: meta_db cpu: 2 # Memory configs in GB, 4 means 4GB memory: 2 # Monitor user info monitor: tenant: monitor_tenant user: monitor_user password: 'monitor123' database: monitor_db cpu: 4 # Memory configs in GB, 8 means 8GB memory: 2 # Obproxy to connect metadb cluster obproxy: home_path: /home/admin/obproxy port: 2583 servers: - 192.xxx.xxx.179 ## custom config for obproxy custom_config: - key: clustername value: ocpcluster ## Vip is optional, if vip is not configured, one of obproxy servers's address will be used # vip: # address: 1.1.1.1 # port: 2583 # Ssh auth config ssh: port: 22 user: admin # auth method, support password and pubkey auth_method: password timeout: 10 password: admin # OCP config ocp: # ocp container's name name: 'ocp' # OCP process listen port and log dir on host process: port: 8080 log_dir: /tmp/ocp/log servers: - 192.xxx.xxx.179 # OCP container's resource resource: cpu: 4 # Memory configs in GB, 8 means 8GB memory: 8 # Vip is optional, if vip is not configured, one of ocp servers's address will be used # vip: # address: 1.1.1.1 # port: 8080 # OCP basic auth config, used when upgrade ocp auth: user: admin password: admin options: # enable front-end tracking, non-business sensitive data such as system information, user behavior, and front-end anomalies will be collected to improve the product experience and stability enable_web_tracking: true # OCP metadb config, for ocp installation, if "create_metadb_cluster" is configured true, this part will be replaced with the configuration of metadb cluster and obproxy metadb: host: 192.xxx.xxx.179 port: 2583 meta_user: meta_user@meta_tenant#ocpcluster meta_password: 'meta1234' meta_database: meta_db monitor_user: monitor_user@monitor_tenant#ocpcluster monitor_password: 'monitor123' monitor_database: monitor_db