Clean-up utility

A clean-up utility is available to remove Big SQL after a problem during the installation process.

Run the fullBigSqlCleanup.sh utility on a Big SQL node when you do not want to retry installing Big SQL. The utility is located at:

/var/lib/ambari-agent/cache/extensions/IBM-Big_SQL/5.0.1.0/services/BIGSQL/package/scripts

The script can be run in standalone mode.

On the head node, run the script as the root user, or as the non-root install user with the required sudo privileges.

The following syntax describes how to use the Big SQL clean-up utility.

Syntax

fullBigSqlCleanup.sh [options]
The following [options] can be included:
-u ambari admin user

The Ambari administrator user name. The default value is admin. This parameter is mandatory.

-p ambari admin password

The administrator password for Ambari. The default value is admin. This parameter is mandatory.

-s ambari server host

The hostname of the Ambari server.

-c ambari cluster name

The name of the Ambari cluster where Big SQL is installed.

-x ambari server port

The port number set for the Ambari server.

Note: The Big SQL clean-up utility must be invoked from the Big SQL head node.

Example

Run the clean-up utility with required parameters.
./fullBigSqlCleanup.sh -u <ambari-admin-user> -p <ambari-admin-password> -c <ambari-cluster-name> -x <ambari-server-port> 
-s <ambari-server-host>