gs_uninstall

Background

gs_uninstall, provided by , can be used to uninstall a cluster.

Syntax

  • Uninstall a cluster.

    gs_uninstall [--delete-data] [-L] [-l LOGFILE]
    
  • Display help information.

    gs_uninstall -? | --help
    
  • Display the version number.

    gs_uninstall -V | --version
    

Parameter Description

  • --delete-data

    Deletes the data file.

  • -L

    Uninstalls the local host only. If a host in the cluster is uninstalled, the cluster cannot undergo full uninstallation.

  • -?, --help

    Displays help information.

  • -V, --version

    Displays version information.

Example

Use the gs_uninstall script to uninstall a cluster.

gs_uninstall --delete-data
Checking uninstallation.
Successfully checked uninstallation.
Stopping the cluster.
Successfully stopped the cluster.
Successfully deleted instances.
Uninstalling application.
Successfully uninstalled application.
Uninstallation succeeded.

gs_install and gs_postuninstall

Feedback
编组 3备份
    openGauss 2025-07-19 22:43:15
    cancel