Running the Bootstrap Script
Run a shell-based bootstrap script on all the cluster nodes. A Python-based bootstrap script can only be executed from mn0, however, you can use Python-based bootstrap helper functions to run them on multiple nodes. This script can be executed on demand from a Big Data Service cluster. You can employ this script to install, configure, and manage custom components in a cluster.
The custom bootstrap script is run as an
opc
user. To run a command that needs root
access, add sudo
.For more information on shell, Python, and cluster bootstrap helper functions, see Bootstrap Script Helper Functions.
Use the oci bds instance execute-bootstrap-script command and required parameters to execute the bootstrap script.
oci bds instance execute-bootstrap-script --bds-instance-id <bds_instance_id> --cluster-admin-password <cluster_admin_password> [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Big Data.
Use the ExecuteBootstrapScript operation to execute the bootstrap script.