Reference to this document to see how to modify database parameter: Create knobs object of database parameter

Turn Off the Private RPC

Modify parameters below through pxcknobs:

CONN_POOL_XPROTO_STORAGE_DB_PORT:-1 // Private RPC of DN, -1 demonstrates OFF, 0 demonstrates auto configure
CONN_POOL_XPROTO_META_DB_PORT: -1    // Private RPC of Meta DB, -1 demonstrates OFF, 0 demonstrates auto configure
apiVersion: polardbx.aliyun.com/v1
kind: PolarDBXClusterKnobs
metadata:
  name: polardbx-xcluster
  namespace: development
spec:
  ## Name of PolarDB-X cluster
  clusterName: "polardbx-xcluster"
  knobs:    
    CONN_POOL_XPROTO_STORAGE_DB_PORT: -1
    CONN_POOL_XPROTO_META_DB_PORT: -1

Turn On the Private RPC

Configure parameters below through pxcknobs:

apiVersion: polardbx.aliyun.com/v1
kind: PolarDBXClusterKnobs
metadata:
  name: polardbx-xcluster
  namespace: development
spec:
  ## PolarDB-X 的实例名
  clusterName: "polardbx-xcluster"
  knobs:    
    CONN_POOL_XPROTO_STORAGE_DB_PORT: 0
    CONN_POOL_XPROTO_META_DB_PORT: 0

results matching ""

    No results matching ""