cloudera.exe.prereq_smm_database role – Set up database and user accounts for Streams Messaging Manager

Note

This role is part of the cloudera.exe collection (version 3.0.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install cloudera.exe..

To use it in a playbook, specify: cloudera.exe.prereq_smm_database.

Entry point main – Set up database and user accounts for Streams Messaging Manager

New in cloudera.exe 3.0.0

Synopsis

  • Set up the Streams Messaging Manager database and its associated user accounts, ensuring proper configuration for Streams Messaging Manager operations.

  • Default values are used for the username, password, and database name, but these can be overwritten by setting the smm_username, smm_password, and smm_database variables.

Parameters

Parameter

Comments

database_admin_password

string / required

The password for the database administrative user.

database_admin_user

string / required

The username with administrative privileges to manage the database.

database_host

string / required

The hostname or IP address of the database server to establish the connection.

database_type

string / required

Specifies the type of database to connect to (e.g., PostgreSQL, MySQL, Oracle).

Choices:

  • "postgresql"

  • "mysql"

  • "oracle"

smm_database

string

The name of the database to be created for Streams Messaging Manager.

Default: "streamsmsgmgr"

smm_password

string

The password for the Streams Messaging Manager database user.

Default: "streamsmsgmgr"

smm_username

string

The username for the Streams Messaging Manager database user and owner of the database.

Default: "streamsmsgmgr"

Authors

  • Cloudera Labs