4 Post-Installation Tasks
This section describes the following post-installation tasks.
- Validating the Installation With bdschecksw and Other Tests
- Checking the Installation Log Files
- Installing and Configuring Oracle SQL Access to Kafka (OSAK)
- Perform Network ACL Setup for Object Store Access
- Run bds_cluster_node_helper.sh to Get Information About the Oracle Big Data SQL Installation on a Node
- Other Post-Installation Steps to Consider
4.1 Validating the Installation With bdschecksw and Other Tests
The script bdschecksw.sh
runs automatically as part of the
installation, but you can also run it at any time.
$ORACLE_HOME/bin
on the Oracle
Database server.$ bdschecksw --help
- See Running Diagnostics With bdachecksw in the Oracle Big Data SQL User’s Guide for a complete description.
-
Also see How to do a Quick Test in the user’s guide for some additional functionality tests.
4.2 Checking the Installation Log Files
You can examine these log files after the installation.
On the Hadoop cluster side:
/var/log/bigdatasql
/var/log/oracle
On the Oracle Database side:
$ORACLE_HOME/install/bds* (This is a set of files, not a directory)
$ORACLE_HOME/bigdatasql/logs
/var/log/bigdatasql
Tip:
If you make a support request, create a zip archive that includes all of these logs and include it in your email to Oracle Support.
4.3 Installing and Configuring Oracle SQL Access to Kafka (OSAK)
You have the option to install and configure OSAK after completing the Hadoop and Oracle Database sides of the Big Data SQL installation.
After performing the Big Data SQL installation, see Installing and Configuring Oracle SQL Access to Kafka
4.4 Perform Network ACL Setup for Object Store Access
This topic applies to Oracle Database 18c and 19c environments only.
Run these scripts generated by the Oracle Big Data SQL installer
(bds-database-install.sh
) to enable access to object stores.
Notice the following messages in the
bds-database-install.sh
output:
bds-database-setup: Object Store scripts templates have been created
bds-database-setup: set_parameters_cdb.sql should be executed in CDB$ROOT
bds-database-setup: allow_proxy_pdb.sql should be executed on required PDBs
You can find these scripts in the installer staging directory (for
example: $ORACLE_HOME/BDSJaguar-4.1.2/cdh510-6-node1.<cluster
name>.<domain name>.com
).
If you intend to support connects to object stores from Oracle Database 18c or 19c, run the corresponding script on the CDB and the other on PDBs. For example, on the CDB:
# @set_parameters_cdb.sql
./bds-database-install --reconfigure
), the reconfigure
operation prompts you to run the scripts
again:bds-database-reconfigure: Object Store scripts templates have been created
bds-database-reconfigure: set_parameters_cdb.sql should be executed in CDB$ROOT
bds-database-reconfigure: allow_proxy_pdb.sql should be executed on required PDBs
You can edit and the re-run the scripts to customize them for different roles and URLs.
4.5 Run bds_cluster_node_helper.sh to Get Information About the Oracle Big Data SQL Installation on a Node
The script bds_cluster_node_helper.sh
aggregates information about a Hadoop cluster node that is useful for Oracle Big Data SQL maintenance purposes.
- Show Oracle Big Data SQL status information via bdscli, the Oracle Big Data SQL command line interface.
- Collect and archive log data that is pertinent to Oracle Big Data SQL operations. There are three levels to the scope of the data collection.
- Set some parameters that control the level of debug information in logs that are collected.
You can find this script at <Oracle Big Data SQL installation directory>/BDSJaguar
. It must be run as root.
Usage
# bds_cluster_node_helper.sh [OPTIONS]
Table 4-1 Parameters for bds_cluster_node_helper.sh
Parameter | Description |
---|---|
-h, --help |
Show usage information. |
-v, --version |
Show the Oracle Big Data Appliance release version. |
--skip-bdscli-info |
Skip bdscli information gathering.
Default: Runs the following bdscli commands and returns the output:
|
--get-logs [--log-level=<1|2|3>] [--bundle-name=<name>] [--wrap, --envelop] |
Generates a gzipped tar file of logs.
Default: Options:
Note: See the table below for more detail on each-get-logs sub-option.
|
--set-debug=<on| |
--set-debug=<supported value> Set or remove the
|
bds_cluster_node_helper.sh --get-logs
sub-options.
Table 4-2 Sub-Parameters for --get-logs Option of bds_cluster_node_helper.sh
bds_cluster_node_helper.sh --get-logs sub-options | Description |
---|---|
--get-logs --log-level=<1|2|3> |
Specifies the log level. Default: The scope of the recovery for each log level is as follows:
Example: |
--get-logs --bundle-name=<name> |
Give a name to the created tar.gz bundle.
Default: The customer can use this option to specify a
different name. For example:
|
--get-logs [--wrap | --envelop] |
Prepares the bundle for email transmission.
Default: Examples:
These sub-options are equivalent. |
4.6 Other Post-Installation Steps to Consider
Some additional steps that are recommended after installation are:
-
Read about measures you can take to secure the installation. (See Securing the Oracle Big Data SQL Installation.)
-
Learn how to modify the Oracle Big Data SQL configuration when changes occur on the Hadoop cluster and in the Oracle Database installation. (See Expanding or Shrinking an Installation.)
-
If you have used Copy to Hadoop in earlier Oracle Big Data SQL releases, learn how Oracle Shell for Hadoop Loaders can simplify Copy to Hadoop tasks. (See Additional Tools Installed.)