gds_uninstall

Background

gds_uninstall is a script tool used to uninstall GDS in batches.

Precautions

Syntax

gds_uninstall --host [/path/to/hostfile | ipaddr1,ipaddr2...] –U gds_user [--delete-user | --delete-user-and-group]

Parameter Description

Example

Uninstall the GDS folders and environment variables installed and deployed by the gds_test user on nodes 192.168.1.100 and 192.168.1.101.

gds_uninstall -U gds_test --host 192.168.1.100,192.168.1.101

The user is deleted when GDS is uninstalled.

gds_uninstall -U gds_test --host 192.168.1.100,192.168.1.101 --delete-user

During the uninstallation, the user and user group are deleted at the same time.

gds_uninstall -U gds_test --host 192.168.1.100,192.168.1.101 --delete-user-and-group