Create or rebuild cluster components

更新时间:
复制 MD 格式

Use the pdbcli rebuild command to rebuild the database engine or other components on a specified node.

  • If the target component does not exist on the specified node, the command creates it.

  • If a component is not specified, the database engine is rebuilt or created by default.

  • If you rebuild the database engine of a standby node, it is rebuilt from the primary node. You cannot directly rebuild the database engine of the primary node.

Examples

  • Rebuild the database engine of the target node:

    pdbcli rebuild db --target 'IP address of the target node'
  • Rebuild the high availability (HA) component of the target node:

    pdbcli rebuild cm --target 'IP address of the target node'
  • Rebuild the cluster proxy component of the target node:

    pdbcli rebuild proxy --target 'IP address of the target node'
  • Rebuild all cluster components on the target node:

    pdbcli rebuild node --target 'IP address of the target node'

To get help with cluster rebuild commands, run the pdbcli rebuild help or pdbcli rebuild --help command.