Cleaning up IBM value-add services
This topic describes how to remove IBM value-added services (such as Text Analytics) from your system as part of a migration.
About this task
Important: DO NOT remove Big SQL using the script described in this
topic.
These clean-up processes do not remove the Ambari server, nor do they impact any of
the configurations. The scripts will remove the top-level value-add RPMs. The value-add services you
might see include:
- Text Analytics (service name: TEXTANALYTICS)
- BigInsights Home (service name: WEBUIFRAMEWORK)
- BigSheets (service name: BIGSHEETS)
- Big R (service name: BIGR)
- Data Server Manager (service name: DATASERVERMANAGER)
If you are upgrading from 5.0.0.0 to 5.0.1.0, the only value-add service you need to remove is DATASERVERMANAGER as described in step 1. If you are upgrading from 4.x to 5.0.1.0, you must follow steps 2 to 4 to remove all value-add services.
Note: The cleanup process for removing
BigSheets removes data on HDFS for the child workbooks. If you want to save any of the child
workbook data, use the Export Data option from the BigSheets home page for
each of the child workbooks and save the data on HDFS. For information on how to export data, see
Exporting data from a BigSheets workbook.
In the Ambari
UI, when you navigate to the service page for a service, the last action listed under
Service Actions is Delete Service. The
Delete Service option should NOT be used for these services, as it can leave
the service in an undefined state. The proper way to remove any of these four services is to follow
the steps on this page. If you already used the Delete Service option for
one of the services, you still must follow the steps on this page for proper removal of the service.
In such a scenario, you will see a message like the following during removal (using Text Analytics
as an example). You must type in y or Y to finish the removal
successfully.Current TEXTANALYTICS status: EMPTY
Unable to detect TEXTANALYTICS in Ambari. It may have already been removed.
Would you like to continue cleanup? (Y/n) y
Procedure
Example
- Service cleanup examples:
-
- Normal removal
- Remove the BigR
service:
sudo remove_value_add_services.sh -u admin -p admin -x 8081 BIGR
- Removal including users
- Remove the Big R service including the
users:
sudo remove_value_add_services.sh -u admin -p admin -x 8081 BIGR -r
- Run as non-root user
- Remove the Big R service as non-root user (with sudo privilege)
biadmin:
sudo remove_value_add_services.sh -u admin -p admin -x 8081 BIGR -r -c biadmin