MongoDB

Channel Revision Published Runs on
6/stable 199 04 Oct 2024
Ubuntu 22.04
6/candidate 199 04 Oct 2024
Ubuntu 22.04
6/beta 199 04 Oct 2024
Ubuntu 22.04
6/edge 201 10 Oct 2024
Ubuntu 22.04
5/stable 117 20 Apr 2023
Ubuntu 22.04
5/candidate 117 20 Apr 2023
Ubuntu 22.04
5/edge 139 21 Nov 2023
Ubuntu 22.04 Ubuntu 20.04
5/edge 109 06 Mar 2023
Ubuntu 22.04 Ubuntu 20.04
3.6/stable 100 28 Apr 2023
Ubuntu 20.04 Ubuntu 18.04
3.6/candidate 100 13 Apr 2023
Ubuntu 20.04 Ubuntu 18.04
3.6/edge 100 03 Feb 2023
Ubuntu 20.04 Ubuntu 18.04
juju deploy mongodb --channel 6/beta
Show information

Platform:

Ubuntu
22.04 20.04 18.04

Learn about actions >

  • create-backup

    Create a database backup. S3 credentials are retrieved from a relation with the S3 integrator charm.

  • force-refresh-start

    Force refresh of this unit. Potential of data loss and downtime.

  • get-password

    Fetch the password of the provided internal user of the charm, used for internal charm operations. It is for internal charm users only, and SHOULD NOT be used by applications.

    Params
    • username string

      The username, the default value 'operator'. Possible values - operator, backup, monitor.

  • get-primary

    Report primary replica

  • list-backups

    List available backup_ids in the S3 bucket and path provided by the S3 integrator charm.

  • pre-refresh-check

    Check if charm is ready to refresh

  • restore

    Restore a database backup. S3 credentials are retrieved from a relation with the S3 integrator charm.

    Params
    • backup-id string

      A backup-id to identify the backup to restore. Format of <%Y-%m-%dT%H:%M:%SZ>

    • remap-pattern string

      Optional, a pattern used to remap cluster component names when performing a restore. Format of old_config_server_name=new_config_server_name,old_shard_name=new_shard_name

  • resume-refresh

    Refresh next unit(s) (after you have manually verified that refreshed units are healthy)

  • set-password

    Change the admin user's password, which is used by charm. It is for internal charm users and SHOULD NOT be used by applications.

    Params
    • password string

      The password will be auto-generated if this option is not specified.

    • username string

      The username, the default value 'operator'. Possible values - operator, backup, monitor.

  • set-tls-private-key

    Set the privates key, which will be used for certificate signing requests (CSR). Run for each unit separately.

    Params
    • external-key string

      The content of private key for external communications with clients. Content will be auto-generated if this option is not specified.

    • internal-key string

      The content of private key for internal communications with clients. Content will be auto-generated if this option is not specified.